Examples

x3-6x2+12x-9
Step 1
Factor x3-6x2+12x-9 using the rational roots test.
Tap for more steps...
Step 1.1
If a polynomial function has integer coefficients, then every rational zero will have the form pq where p is a factor of the constant and q is a factor of the leading coefficient.
p=±1,±9,±3
q=±1
Step 1.2
Find every combination of ±pq. These are the possible roots of the polynomial function.
±1,±9,±3
Step 1.3
Substitute 3 and simplify the expression. In this case, the expression is equal to 0 so 3 is a root of the polynomial.
Tap for more steps...
Step 1.3.1
Substitute 3 into the polynomial.
33-632+123-9
Step 1.3.2
Raise 3 to the power of 3.
27-632+123-9
Step 1.3.3
Raise 3 to the power of 2.
27-69+123-9
Step 1.3.4
Multiply -6 by 9.
27-54+123-9
Step 1.3.5
Subtract 54 from 27.
-27+123-9
Step 1.3.6
Multiply 12 by 3.
-27+36-9
Step 1.3.7
Add -27 and 36.
9-9
Step 1.3.8
Subtract 9 from 9.
0
0
Step 1.4
Since 3 is a known root, divide the polynomial by x-3 to find the quotient polynomial. This polynomial can then be used to find the remaining roots.
x3-6x2+12x-9x-3
Step 1.5
Divide x3-6x2+12x-9 by x-3.
Tap for more steps...
Step 1.5.1
Set up the polynomials to be divided. If there is not a term for every exponent, insert one with a value of 0.
x-3x3-6x2+12x-9
Step 1.5.2
Divide the highest order term in the dividend x3 by the highest order term in divisor x.
x2
x-3x3-6x2+12x-9
Step 1.5.3
Multiply the new quotient term by the divisor.
x2
x-3x3-6x2+12x-9
+x3-3x2
Step 1.5.4
The expression needs to be subtracted from the dividend, so change all the signs in x3-3x2
x2
x-3x3-6x2+12x-9
-x3+3x2
Step 1.5.5
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
x2
x-3x3-6x2+12x-9
-x3+3x2
-3x2
Step 1.5.6
Pull the next terms from the original dividend down into the current dividend.
x2
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
Step 1.5.7
Divide the highest order term in the dividend -3x2 by the highest order term in divisor x.
x2-3x
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
Step 1.5.8
Multiply the new quotient term by the divisor.
x2-3x
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
-3x2+9x
Step 1.5.9
The expression needs to be subtracted from the dividend, so change all the signs in -3x2+9x
x2-3x
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
Step 1.5.10
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
x2-3x
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
+3x
Step 1.5.11
Pull the next terms from the original dividend down into the current dividend.
x2-3x
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
+3x-9
Step 1.5.12
Divide the highest order term in the dividend 3x by the highest order term in divisor x.
x2-3x+3
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
+3x-9
Step 1.5.13
Multiply the new quotient term by the divisor.
x2-3x+3
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
+3x-9
+3x-9
Step 1.5.14
The expression needs to be subtracted from the dividend, so change all the signs in 3x-9
x2-3x+3
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
+3x-9
-3x+9
Step 1.5.15
After changing the signs, add the last dividend from the multiplied polynomial to find the new dividend.
x2-3x+3
x-3x3-6x2+12x-9
-x3+3x2
-3x2+12x
+3x2-9x
+3x-9
-3x+9
0
Step 1.5.16
Since the remainder is 0, the final answer is the quotient.
x2-3x+3
x2-3x+3
Step 1.6
Write x3-6x2+12x-9 as a set of factors.
(x-3)(x2-3x+3)
(x-3)(x2-3x+3)
Step 2
Since the polynomial can be factored, it is not prime.
Not prime
Enter YOUR Problem
using Amazon.Auth.AccessControlPolicy;
Mathway requires javascript and a modern browser.
 [x2  12  π  xdx ] 
AmazonPay