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