Evaluate
\left(x+2\right)\left(x\left(x+4\right)-4\right)
Expand
x^{3}+6x^{2}+4x-8
Graph
Share
Copied to clipboard
x\left(x+2\right)^{2}+2\left(x+2\right)\left(x-2\right)
Multiply x+2 and x+2 to get \left(x+2\right)^{2}.
x\left(x^{2}+4x+4\right)+2\left(x+2\right)\left(x-2\right)
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{3}+4x^{2}+4x+2\left(x+2\right)\left(x-2\right)
Use the distributive property to multiply x by x^{2}+4x+4.
x^{3}+4x^{2}+4x+\left(2x+4\right)\left(x-2\right)
Use the distributive property to multiply 2 by x+2.
x^{3}+4x^{2}+4x+2x^{2}-4x+4x-8
Apply the distributive property by multiplying each term of 2x+4 by each term of x-2.
x^{3}+4x^{2}+4x+2x^{2}-8
Combine -4x and 4x to get 0.
x^{3}+6x^{2}+4x-8
Combine 4x^{2} and 2x^{2} to get 6x^{2}.
x\left(x+2\right)^{2}+2\left(x+2\right)\left(x-2\right)
Multiply x+2 and x+2 to get \left(x+2\right)^{2}.
x\left(x^{2}+4x+4\right)+2\left(x+2\right)\left(x-2\right)
Use binomial theorem \left(a+b\right)^{2}=a^{2}+2ab+b^{2} to expand \left(x+2\right)^{2}.
x^{3}+4x^{2}+4x+2\left(x+2\right)\left(x-2\right)
Use the distributive property to multiply x by x^{2}+4x+4.
x^{3}+4x^{2}+4x+\left(2x+4\right)\left(x-2\right)
Use the distributive property to multiply 2 by x+2.
x^{3}+4x^{2}+4x+2x^{2}-4x+4x-8
Apply the distributive property by multiplying each term of 2x+4 by each term of x-2.
x^{3}+4x^{2}+4x+2x^{2}-8
Combine -4x and 4x to get 0.
x^{3}+6x^{2}+4x-8
Combine 4x^{2} and 2x^{2} to get 6x^{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}