Free factor theorem calculator: enter a cubic and a test value to get P(r) and an instant verdict on whether (x − r) is a factor, with the remainder shown.
Factor Theorem Calculator
Type a cubic, test a value, learn immediately whether (x − r) divides it — with the remainder to prove it.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Factor Theorem Result
Calculated locally in your browser
—
Name
—
Coefficient a (x³ term)
—
Coefficient b (x² term)
—
Coefficient c (x term)
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
The factor theorem says x minus r is a factor of a polynomial exactly when the polynomial evaluated at r equals zero. For x cubed minus six x squared plus eleven x minus six, evaluating at one, two and three all give zero, so it factorises into three linear factors.
- (x − r) is a factor ⇔ P(r) = 0
- P(r) is also the remainder on division by (x − r)
- Test candidates come from the rational root theorem: factors of constant ÷ factors of leading coefficient
Rational root candidates for x³ − 6x² + 11x − 6
Reference values for this calculator.
| Candidate r | P(r) | Factor? |
|---|---|---|
| 1 | 0 | Yes |
| 2 | 0 | Yes |
| 3 | 0 | Yes |
| -1 | -24 | No |
| 6 | 60 | No |
| 0 | -6 | No (equals constant) |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Enhancement: beyond a yes/no, it shows the remainder, restates the polynomial, and points you to the rational root theorem to choose the next test value when the answer is no.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Testing r = 1
a=1, b=−6, c=11, d=−6, r=1
| Calculation | Steps |
|---|---|
| P(1) = 1 − 6 + 11 − 6 = 0. | Remainder 0 — (x − 1) is a factor. |
Result
Example 2
Testing r = 2
Same cubic, r=2
| Calculation | Steps |
|---|---|
| P(2) = 8 − 24 + 22 − 6 = 0. | Remainder 0 — (x − 2) is also a factor. |
Result
Example 3
Testing r = 0
Same cubic, r=0
| Calculation | Steps |
|---|---|
| P(0) = −6, which always equals the constant term d. | Remainder −6 — (x − 0) is not a factor. |
Result
How to use this calculator
Step 1
Enter the cubic's coefficients a, b, c and d in order (watch the signs).
Step 2
Enter the test value r from the factor you are checking, (x − r).
Step 3
Press Calculate: the headline is P(r), the remainder on division by (x − r).
Step 4
Zero means (x − r) is a factor; any other value means it is not.
Step 5
If it is a factor, use synthetic division to reduce to a quadratic and finish factorising.
Frequently asked questions
What does the factor theorem say?
(x − r) is a factor of a polynomial P(x) exactly when P(r) = 0. It is the remainder theorem specialised to a remainder of zero, and it turns factorising into a search for roots.
How do I choose which r to test?
Use the rational root theorem: candidates are factors of the constant term divided by factors of the leading coefficient. For x³ − 6x² + 11x − 6 that means ±1, ±2, ±3, ±6.
Does it work for (x + 2)?
Yes — (x + 2) is (x − (−2)), so test r = −2. Sign slips here are the most common factor-theorem mistake.
What if no candidate gives zero?
Then the cubic has no linear factor with rational coefficients; its roots are irrational or complex and need numerical or cubic-formula methods.
Is the remainder useful when it is not zero?
Yes: P(r) is exactly the remainder when P(x) is divided by (x − r) (the remainder theorem), which this calculator reports as its headline value.
About this calculator
A factor theorem calculator evaluates a cubic polynomial at a test value r and reports P(r): if it is zero, (x − r) is a factor of the polynomial; if not, P(r) is the remainder you would get dividing by (x − r).
Factorising a cubic looks like guesswork until the factor theorem turns it into a procedure: a linear factor (x − r) exists exactly when substituting r makes the polynomial vanish. So the whole problem becomes testing a short list of candidate values, which the rational root theorem supplies from the factors of the constant and leading coefficients.
For x³ − 6x² + 11x − 6 the candidates are ±1, ±2, ±3 and ±6. Testing gives P(1) = 0, P(2) = 0 and P(3) = 0, so the cubic is (x − 1)(x − 2)(x − 3) — three factors found with nine substitutions at most, and in practice far fewer, since each factor found reduces the remaining work.
When P(r) is not zero the number is still meaningful: it is the remainder from dividing by (x − r). That is the remainder theorem, and it is a fast way to evaluate polynomials and to check division work. Watch signs, especially with factors like (x + 2), which correspond to r = −2.
Use it while factorising cubics in algebra class, when checking candidate roots from the rational root theorem, or to verify a factorisation before expanding it back out.
How to calculate it yourself
Step 1
Write the polynomial in the form ax³ + bx² + cx + d, noting every sign.
Step 2
List candidate r values: factors of d divided by factors of a.
Step 3
Substitute each candidate: compute ar³ + br² + cr + d.
Step 4
A result of zero confirms (x − r) is a factor; divide it out and repeat on the quotient.
Real-life examples
Homework factorisation sprint
A student must factorise x³ − 6x² + 11x − 6 in an exam-style question and has candidate roots ±1, ±2, ±3, ±6 to test.
P(1) = 0, P(2) = 0, P(3) = 0 — three zero remainders in three tests.
The cubic factorises completely as (x − 1)(x − 2)(x − 3), earning full marks without long division.
Checking a claimed root
A classmate claims x = 6 is a root of the same cubic because 6 is a factor of the constant term.
P(6) = 216 − 216 + 66 − 6 = 60, not zero.
The claim is wrong: 6 divides the constant but is not a root; the remainder is 60.
Ideas & use cases
- Race the candidates: test factors of the constant in size order and stop a branch as soon as one gives zero — then divide out and work on the smaller quotient.
- Verify an expansion: expand your factorised answer, then test its claimed roots here; all should return zero.
- Use the remainder deliberately: evaluate a cubic at awkward values (r = 0 gives d instantly) as a quick substitution drill.
Limitations & sources
- Handles cubic polynomials with numeric coefficients and one test value at a time; it does not perform the synthetic division step or solve for irrational/complex roots.
Sources: Factor and remainder theorems: OpenStax College Algebra, polynomial functions chapter
