Evaluate
2x-y-2
Expand
2x-y-2
Share
Copied to clipboard
\left(x-\frac{1}{2}y\right)^{2}-1-\left(x-\frac{1}{2}y-1\right)\left(x-\frac{1}{2}y-1\right)
Multiply x-\frac{1}{2}y and x-\frac{1}{2}y to get \left(x-\frac{1}{2}y\right)^{2}.
\left(x-\frac{1}{2}y\right)^{2}-1-\left(x-\frac{1}{2}y-1\right)^{2}
Multiply x-\frac{1}{2}y-1 and x-\frac{1}{2}y-1 to get \left(x-\frac{1}{2}y-1\right)^{2}.
x^{2}-xy+\frac{1}{4}y^{2}-1-\left(x-\frac{1}{2}y-1\right)^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-\frac{1}{2}y\right)^{2}.
x^{2}-xy+\frac{1}{4}y^{2}-1-\left(x^{2}-xy-2x+\frac{1}{4}y^{2}+y+1\right)
Square x-\frac{1}{2}y-1.
x^{2}-xy+\frac{1}{4}y^{2}-1-x^{2}-\left(-xy\right)-\left(-2x\right)-\frac{1}{4}y^{2}-y-1
To find the opposite of x^{2}-xy-2x+\frac{1}{4}y^{2}+y+1, find the opposite of each term.
x^{2}-xy+\frac{1}{4}y^{2}-1-x^{2}+xy-\left(-2x\right)-\frac{1}{4}y^{2}-y-1
The opposite of -xy is xy.
x^{2}-xy+\frac{1}{4}y^{2}-1-x^{2}+xy+2x-\frac{1}{4}y^{2}-y-1
The opposite of -2x is 2x.
-xy+\frac{1}{4}y^{2}-1+xy+2x-\frac{1}{4}y^{2}-y-1
Combine x^{2} and -x^{2} to get 0.
\frac{1}{4}y^{2}-1+2x-\frac{1}{4}y^{2}-y-1
Combine -xy and xy to get 0.
-1+2x-y-1
Combine \frac{1}{4}y^{2} and -\frac{1}{4}y^{2} to get 0.
-2+2x-y
Subtract 1 from -1 to get -2.
\left(x-\frac{1}{2}y\right)^{2}-1-\left(x-\frac{1}{2}y-1\right)\left(x-\frac{1}{2}y-1\right)
Multiply x-\frac{1}{2}y and x-\frac{1}{2}y to get \left(x-\frac{1}{2}y\right)^{2}.
\left(x-\frac{1}{2}y\right)^{2}-1-\left(x-\frac{1}{2}y-1\right)^{2}
Multiply x-\frac{1}{2}y-1 and x-\frac{1}{2}y-1 to get \left(x-\frac{1}{2}y-1\right)^{2}.
x^{2}-xy+\frac{1}{4}y^{2}-1-\left(x-\frac{1}{2}y-1\right)^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-\frac{1}{2}y\right)^{2}.
x^{2}-xy+\frac{1}{4}y^{2}-1-\left(x^{2}-xy-2x+\frac{1}{4}y^{2}+y+1\right)
Square x-\frac{1}{2}y-1.
x^{2}-xy+\frac{1}{4}y^{2}-1-x^{2}-\left(-xy\right)-\left(-2x\right)-\frac{1}{4}y^{2}-y-1
To find the opposite of x^{2}-xy-2x+\frac{1}{4}y^{2}+y+1, find the opposite of each term.
x^{2}-xy+\frac{1}{4}y^{2}-1-x^{2}+xy-\left(-2x\right)-\frac{1}{4}y^{2}-y-1
The opposite of -xy is xy.
x^{2}-xy+\frac{1}{4}y^{2}-1-x^{2}+xy+2x-\frac{1}{4}y^{2}-y-1
The opposite of -2x is 2x.
-xy+\frac{1}{4}y^{2}-1+xy+2x-\frac{1}{4}y^{2}-y-1
Combine x^{2} and -x^{2} to get 0.
\frac{1}{4}y^{2}-1+2x-\frac{1}{4}y^{2}-y-1
Combine -xy and xy to get 0.
-1+2x-y-1
Combine \frac{1}{4}y^{2} and -\frac{1}{4}y^{2} to get 0.
-2+2x-y
Subtract 1 from -1 to get -2.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}