Expand
x^{3}+8x^{2}+33x+18
Evaluate
\left(x+3\right)^{3}-\left(3-x\right)^{2}
Graph
Share
Copied to clipboard
x^{3}+9x^{2}+27x+27-\left(3-x\right)^{2}
Use binomial theorem \left(a+b\right)^{3}=a^{3}+3a^{2}b+3ab^{2}+b^{3} to expand \left(x+3\right)^{3}.
x^{3}+9x^{2}+27x+27-\left(9-6x+x^{2}\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(3-x\right)^{2}.
x^{3}+9x^{2}+27x+27-9+6x-x^{2}
To find the opposite of 9-6x+x^{2}, find the opposite of each term.
x^{3}+9x^{2}+27x+18+6x-x^{2}
Subtract 9 from 27 to get 18.
x^{3}+9x^{2}+33x+18-x^{2}
Combine 27x and 6x to get 33x.
x^{3}+8x^{2}+33x+18
Combine 9x^{2} and -x^{2} to get 8x^{2}.
x^{3}+9x^{2}+27x+27-\left(3-x\right)^{2}
Use binomial theorem \left(a+b\right)^{3}=a^{3}+3a^{2}b+3ab^{2}+b^{3} to expand \left(x+3\right)^{3}.
x^{3}+9x^{2}+27x+27-\left(9-6x+x^{2}\right)
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(3-x\right)^{2}.
x^{3}+9x^{2}+27x+27-9+6x-x^{2}
To find the opposite of 9-6x+x^{2}, find the opposite of each term.
x^{3}+9x^{2}+27x+18+6x-x^{2}
Subtract 9 from 27 to get 18.
x^{3}+9x^{2}+33x+18-x^{2}
Combine 27x and 6x to get 33x.
x^{3}+8x^{2}+33x+18
Combine 9x^{2} and -x^{2} to get 8x^{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}