Factor
\left(x-5\right)\left(x-2\right)\left(x+1\right)
Evaluate
\left(x-5\right)\left(x-2\right)\left(x+1\right)
Graph
Share
Copied to clipboard
\left(x-5\right)\left(x^{2}-x-2\right)
By Rational Root Theorem, all rational roots of a polynomial are in the form \frac{p}{q}, where p divides the constant term 10 and q divides the leading coefficient 1. One such root is 5. Factor the polynomial by dividing it by x-5.
a+b=-1 ab=1\left(-2\right)=-2
Consider x^{2}-x-2. Factor the expression by grouping. First, the expression needs to be rewritten as x^{2}+ax+bx-2. To find a and b, set up a system to be solved.
a=-2 b=1
Since ab is negative, a and b have the opposite signs. Since a+b is negative, the negative number has greater absolute value than the positive. The only such pair is the system solution.
\left(x^{2}-2x\right)+\left(x-2\right)
Rewrite x^{2}-x-2 as \left(x^{2}-2x\right)+\left(x-2\right).
x\left(x-2\right)+x-2
Factor out x in x^{2}-2x.
\left(x-2\right)\left(x+1\right)
Factor out common term x-2 by using distributive property.
\left(x-5\right)\left(x-2\right)\left(x+1\right)
Rewrite the complete factored expression.
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}