Evaluate
\left(x-y\right)^{2}
Expand
x^{2}-2xy+y^{2}
Share
Copied to clipboard
\left(\left(\sqrt{x}\right)^{2}+2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)\left(\sqrt{x}-\sqrt{y}\right)^{2}
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(\sqrt{x}+\sqrt{y}\right)^{2}.
\left(x+2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)\left(\sqrt{x}-\sqrt{y}\right)^{2}
Calculate \sqrt{x} to the power of 2 and get x.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(\sqrt{x}-\sqrt{y}\right)^{2}
Calculate \sqrt{y} to the power of 2 and get y.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(\left(\sqrt{x}\right)^{2}-2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(\sqrt{x}-\sqrt{y}\right)^{2}.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(x-2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)
Calculate \sqrt{x} to the power of 2 and get x.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(x-2\sqrt{x}\sqrt{y}+y\right)
Calculate \sqrt{y} to the power of 2 and get y.
x^{2}+2xy-4\left(\sqrt{x}\right)^{2}\left(\sqrt{y}\right)^{2}+y^{2}
Use the distributive property to multiply x+2\sqrt{x}\sqrt{y}+y by x-2\sqrt{x}\sqrt{y}+y and combine like terms.
x^{2}+2xy-4x\left(\sqrt{y}\right)^{2}+y^{2}
Calculate \sqrt{x} to the power of 2 and get x.
x^{2}+2xy-4xy+y^{2}
Calculate \sqrt{y} to the power of 2 and get y.
x^{2}-2xy+y^{2}
Combine 2xy and -4xy to get -2xy.
\left(\left(\sqrt{x}\right)^{2}+2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)\left(\sqrt{x}-\sqrt{y}\right)^{2}
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(\sqrt{x}+\sqrt{y}\right)^{2}.
\left(x+2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)\left(\sqrt{x}-\sqrt{y}\right)^{2}
Calculate \sqrt{x} to the power of 2 and get x.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(\sqrt{x}-\sqrt{y}\right)^{2}
Calculate \sqrt{y} to the power of 2 and get y.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(\left(\sqrt{x}\right)^{2}-2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(\sqrt{x}-\sqrt{y}\right)^{2}.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(x-2\sqrt{x}\sqrt{y}+\left(\sqrt{y}\right)^{2}\right)
Calculate \sqrt{x} to the power of 2 and get x.
\left(x+2\sqrt{x}\sqrt{y}+y\right)\left(x-2\sqrt{x}\sqrt{y}+y\right)
Calculate \sqrt{y} to the power of 2 and get y.
x^{2}+2xy-4\left(\sqrt{x}\right)^{2}\left(\sqrt{y}\right)^{2}+y^{2}
Use the distributive property to multiply x+2\sqrt{x}\sqrt{y}+y by x-2\sqrt{x}\sqrt{y}+y and combine like terms.
x^{2}+2xy-4x\left(\sqrt{y}\right)^{2}+y^{2}
Calculate \sqrt{x} to the power of 2 and get x.
x^{2}+2xy-4xy+y^{2}
Calculate \sqrt{y} to the power of 2 and get y.
x^{2}-2xy+y^{2}
Combine 2xy and -4xy to get -2xy.
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}