Factor
\left(a-1\right)\left(a+2\right)\left(a^{2}+a+1\right)
Evaluate
\left(a+2\right)\left(a^{3}-1\right)
Share
Copied to clipboard
a^{3}\left(a+2\right)-\left(a+2\right)
Do the grouping a^{4}+2a^{3}-a-2=\left(a^{4}+2a^{3}\right)+\left(-a-2\right), and factor out a^{3} in the first and -1 in the second group.
\left(a+2\right)\left(a^{3}-1\right)
Factor out common term a+2 by using distributive property.
\left(a-1\right)\left(a^{2}+a+1\right)
Consider a^{3}-1. Rewrite a^{3}-1 as a^{3}-1^{3}. The difference of cubes can be factored using the rule: p^{3}-q^{3}=\left(p-q\right)\left(p^{2}+pq+q^{2}\right).
\left(a-1\right)\left(a^{2}+a+1\right)\left(a+2\right)
Rewrite the complete factored expression. Polynomial a^{2}+a+1 is not factored since it does not have any rational roots.
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}