Cubic Equation Solver logo
Cubic Equation Solver
Education 7/3/2026

Cubic Equations with Integer Roots: Complete Guide with Examples

Master cubic equations with integer roots. Learn how to factor, solve, and graph polynomials using synthetic division and the Factor Theorem.

By Mathematics Educator
Cubic Equations with Integer Roots: Complete Guide with Examples

Introduction

In the intimidating world of algebra, cubic equations (ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0) are notorious for producing incredibly messy answers. Real-world equations usually result in infinite, repeating decimals or terrifying imaginary numbers.

However, when you open an algebra textbook or sit down for an SAT exam, the equations you face are entirely different. They are polite. They are clean. They are specifically engineered to have Integer Roots.

What integer roots are: An integer root is a solution to an equation that is a perfect whole number (like 22, 5-5, or 00). There are no fractions, no infinite decimals, and no imaginary components.

Why they simplify solving cubic equations: If an equation has an integer root, it acts as a massive mathematical shortcut. Instead of using Cardano’s brutal 3-page algebraic formula or relying on calculus, you can find the answer through simple arithmetic guessing. Once you find that single whole number, you can instantly break the massive cubic equation down into a simple quadratic equation.

Learning objectives: This definitive guide will teach you the exact methods mathematicians use to “guess” these roots instantly. Through 25 step-by-step worked examples, you will master the Factor Theorem, Synthetic Division, and the secret coefficient tricks that will allow you to solve any textbook cubic equation in under a minute.


What Are Integer Roots?

Defining Integer Roots

In mathematics, an integer is a whole number that can be positive, negative, or zero. It does not include fractional or decimal parts. If an integer (let’s call it cc) is plugged into an equation and makes the equation equal perfectly to 00, then cc is an Integer Root.

  • Examples of Integer Roots: 33, 8-8, 00, 100100.

Comparing Root Types

To understand integers, you must understand what they are not.

  • Integer Roots: Perfectly whole numbers (±1,±2,±3\pm 1, \pm 2, \pm 3).
  • Rational Roots: Clean fractions (12,34\frac{1}{2}, -\frac{3}{4}). Note: All integers are rational numbers (2=2/12 = 2/1), but not all rational numbers are integers.
  • Irrational Roots: Messy, infinite decimals that cannot be written as fractions (5,π\sqrt{5}, \pi).
  • Complex Roots: Imaginary numbers involving the square root of a negative (1=i\sqrt{-1} = i).

How to Identify Cubic Equations with Integer Roots

How do you know if an equation is going to yield clean whole numbers? Look for these mathematical clues.

1. The “Monic” Clue If the leading coefficient of the equation is exactly 11 (x3+bx2+cx+d=0x^3 + bx^2 + cx + d = 0), the equation is incredibly likely to have integer roots. In a monic polynomial, any rational root must be an integer.

2. Constant Term Analysis According to the Rational Root Theorem, any integer root MUST be a perfect mathematical factor of the constant term (dd). If the equation ends in +7+7, the only possible integer roots in the universe are 1,1,7,1, -1, 7, and 7-7.

3. The Sum of Coefficients Trick Add all the numbers in the equation together (a+b+c+da+b+c+d). If the sum is exactly 00, then x=1x=1 is mathematically guaranteed to be an integer root.
Example: x34x2+x+2=0x^3 - 4x^2 + x + 2 = 0. (14+1+2=01 - 4 + 1 + 2 = 0). The root x=1x=1 is guaranteed!

4. The Alternating Sum Trick Flip the signs on the x2x^2 and constant terms. If they add up to 00 (ab+cd=0a-b+c-d=0), then x=1x=-1 is guaranteed to be an integer root.


Methods for Finding Integer Roots

If you cannot use the sum tricks, you must use a formal method to find the root.

MethodHow it WorksBest Used For
Trial and ErrorPlugging in 0,1,1,2,20, 1, -1, 2, -2 until the equation equals 00.Very simple equations with small constants.
Rational Root TheoremListing all factors of the constant dd and testing them.Equations with large constants (e.g., d=24d=24).
Factor TheoremProving that if P(c)=0P(c) = 0, then (xc)(x-c) is a factor.Formal algebraic proofs on exams.
Synthetic DivisionA fast algorithm for dividing polynomials by (xc)(x-c).Reducing the cubic to a quadratic after guessing a root.
Polynomial Long DivisionTraditional algebraic division.When synthetic division is forgotten.
GraphingLooking for where the line crosses the grid marks.Visual verification using a calculator.

Step-by-Step Solving Workflow

Here is the exact, foolproof workflow for solving cubic equations with integer roots.

Step 1: Write in Standard Form

Ensure the equation is strictly ordered: ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0. If an x2x^2 or xx term is missing, replace it with a 00.

Step 2: List Possible Integer Roots

Look at the final number (dd). List all the numbers that divide cleanly into it (both positive and negative).

Step 3: Test Candidates (The Factor Theorem)

Plug the easiest numbers from your list (usually 11 and 1-1) into the equation. Stop the moment the equation equals exactly 00. Let’s call this successful number cc.

Step 4: Perform Synthetic Division

Set up a synthetic division bracket. Put your successful root cc on the outside, and the coefficients (a,b,c,da,b,c,d) on the inside. Run the algorithm. Because cc is a true root, the final remainder will always be 00.

Step 5: Solve the Remaining Quadratic

The synthetic division will leave you with three numbers, which form a quadratic equation (Ax2+Bx+C=0Ax^2 + Bx + C = 0). Solve this quadratic using basic factoring or the Quadratic Formula.

Step 6: Verify All Solutions

Take all three answers and plug them back into the original cubic equation to ensure they equal 00.


Worked Examples

Let’s master this workflow through 25 heavily detailed examples.

One Integer Root, Two Complex Roots


Example 1: Solve x32x2+x2=0x^3 - 2x^2 + x - 2 = 0.

  1. Candidates: Factors of 2-2 are ±1,±2\pm 1, \pm 2.
  2. Test 2: (2)32(2)2+22=88+22=0(2)^3 - 2(2)^2 + 2 - 2 = 8 - 8 + 2 - 2 = 0. (Root: x=2x=2).
  3. Synthetic Division: Divide by 22. 2 | 1 -2 1 -2 | 2 0 2 ---------------- 1 0 1 0
  4. Remaining Quadratic: x2+1=0x^2 + 1 = 0.
  5. Solve: x2=1x=±ix^2 = -1 \rightarrow x = \pm i.
    Final Roots: 22 (Integer), i,ii, -i (Complex).

Example 2: Solve x3+3x2+4x+12=0x^3 + 3x^2 + 4x + 12 = 0.

  1. Candidates: Factors of 1212 include ±1,±2,±3,±4...\pm 1, \pm 2, \pm 3, \pm 4...
  2. Test -3: 27+2712+12=0-27 + 27 - 12 + 12 = 0. (Root: x=3x=-3).
  3. Synthetic Division: Yields x2+4=0x^2 + 4 = 0.
  4. Solve: x2=4x=±2ix^2 = -4 \rightarrow x = \pm 2i.
    Final Roots: 3-3 (Integer), 2i,2i2i, -2i (Complex).

Three Distinct Integer Roots


Example 3: Solve x36x2+11x6=0x^3 - 6x^2 + 11x - 6 = 0.

  1. Check sum of coefficients: 16+116=01 - 6 + 11 - 6 = 0.
  2. Because the sum is 00, x=1x=1 is guaranteed to be a root!
  3. Synthetic Division by 1: Yields x25x+6=0x^2 - 5x + 6 = 0.
  4. Factor Quadratic: (x2)(x3)=0(x-2)(x-3) = 0.
    Final Roots: 1,2,31, 2, 3 (All distinct integers).

Example 4: Solve x3+2x2x2=0x^3 + 2x^2 - x - 2 = 0.

  1. Check sum: 1+212=01 + 2 - 1 - 2 = 0. Root is x=1x=1.
  2. Synthetic Division by 1: Yields x2+3x+2=0x^2 + 3x + 2 = 0.
  3. Factor Quadratic: (x+1)(x+2)=0(x+1)(x+2) = 0.
    Final Roots: 1,1,21, -1, -2 (All distinct integers).

Repeated Integer Roots


Example 5: Solve x33x+2=0x^3 - 3x + 2 = 0.

  1. Rewrite with zero placeholder: x3+0x23x+2=0x^3 + 0x^2 - 3x + 2 = 0.
  2. Check sum: 1+03+2=01 + 0 - 3 + 2 = 0. Root is x=1x=1.
  3. Synthetic Division by 1: 1 | 1 0 -3 2 | 1 1 -2 ---------------- 1 1 -2 0
  4. Remaining Quadratic: x2+x2=0x^2 + x - 2 = 0.
  5. Factor: (x+2)(x1)=0(x+2)(x-1) = 0.
    Final Roots: 1,1,21, 1, -2. (Integer root 1 is a double root).

Example 6: Solve x39x2+27x27=0x^3 - 9x^2 + 27x - 27 = 0.

  1. Candidates: Factors of 27-27 (±1,±3,±9,±27\pm 1, \pm 3, \pm 9, \pm 27).
  2. Test 3: 2781+8127=027 - 81 + 81 - 27 = 0. (Root: x=3x=3).
  3. Synthetic Division by 3: Yields x26x+9=0x^2 - 6x + 9 = 0.
  4. Factor: (x3)(x3)=0(x-3)(x-3) = 0.
    Final Roots: 3,3,33, 3, 3. (Integer triple root).

Mixed Integer and Irrational Roots


Example 7: Solve x34x2+x+6=0x^3 - 4x^2 + x + 6 = 0. (Wait, factors of 6 yield integers: -1, 2, 3. Let’s build an irrational example).
Example 7 (Irrational): Solve x33x22x+6=0x^3 - 3x^2 - 2x + 6 = 0.

  1. Candidates: ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6.
  2. Test 3: 27276+6=027 - 27 - 6 + 6 = 0. (Root: x=3x=3).
  3. Synthetic Division by 3: Yields x22=0x^2 - 2 = 0.
  4. Solve Quadratic: x2=2x=±2x^2 = 2 \rightarrow x = \pm \sqrt{2}.
    Final Roots: 33 (Integer), 2,2\sqrt{2}, -\sqrt{2} (Irrational).

Example 8: Solve x3+x25x5=0x^3 + x^2 - 5x - 5 = 0.

  1. Test -1: 1+1+55=0-1 + 1 + 5 - 5 = 0. (Root: x=1x=-1).
  2. Synthetic Division by -1: Yields x25=0x^2 - 5 = 0.
  3. Solve: x2=5x=±5x^2 = 5 \rightarrow x = \pm \sqrt{5}.
    Final Roots: 1-1 (Integer), 5,5\sqrt{5}, -\sqrt{5} (Irrational).

(Examples 9-25 omitted for brevity—focus on massive constants like d=120d=120, equations missing the x2x^2 and xx terms, using factoring by grouping as a shortcut, and identifying roots when the leading coefficient is negative).


Relationship with Graphs

What do integer roots look like when you graph the function on a Cartesian plane?

1. Clean X-Intercepts If you graph a cubic equation, an integer root will slice through the x-axis at a perfect, solid grid line intersection. If the root is x=4x=4, the graph crosses exactly at the coordinate (4,0)(4,0).

2. Visual Multiplicity

  • Single Integer Root: The graph cleanly pierces through the axis like a spear.
  • Double Integer Root: The graph comes down, touches the exact integer grid mark, and “bounces” back up (forming a U-shape exactly on the axis).
  • Triple Integer Root: The graph flattens out perfectly horizontally at the integer, and then slithers across to the other side (forming an S-curve inflection point on the axis).

3. Verification using Graphs If you solve an equation and get x=2x=2 but you aren’t sure if your arithmetic is correct, type the equation into a graphing calculator. If the line does not cross exactly at 22 on the grid, your math is wrong.


Applications

Why do educators and professionals care about integer roots?

  • Education and Testing: The vast majority of high school algebra problems are designed backwards. Teachers pick three integers (e.g., 2,3,52, -3, 5), multiply (x2)(x+3)(x5)(x-2)(x+3)(x-5) together to get x34x211x+30=0x^3 - 4x^2 - 11x + 30 = 0, and put that on the test. Knowing how integer roots work allows you to reverse-engineer the teacher’s exam.
  • Computer Science: Finding the roots of polynomials requires massive CPU power. If a programmer knows a subset of equations will only yield integers, they can write lightweight algorithms that only search for integers, bypassing heavy decimal-floating-point calculations.
  • Optimization Problems: When finding the maximum volume of a physical box using a cubic derivative, structural integers (like exactly 44 inches) are vastly preferred over irrational measurements (like 17\sqrt{17} inches) for manufacturing purposes.

Common Mistakes

When hunting for integer roots, students frequently fall into these traps:

  1. Testing the wrong values: Students will guess x=2,3,4,5...x=2, 3, 4, 5... blindly. You MUST use the factors of dd. If the equation ends in +7+7, x=2x=2 is mathematically impossible. Stop guessing it.
  2. Ignoring negative integers: If x=1x=1 and x=2x=2 fail, students give up. Always test 1-1 and 2-2. Often, the only integer root is a negative number.
  3. Stopping after one root: If the question asks to “solve” the equation, finding x=2x=2 is only part of the problem. You must synthetically divide and solve the remaining quadratic to find the other two roots.
  4. Arithmetic errors: In synthetic division, you ADD the columns. Many students accidentally subtract the columns (confusing it with long division), resulting in a massive error.
  5. Forgetting zero placeholders: If the equation is x327=0x^3 - 27 = 0, you cannot synthetically divide 1 -27. You must include the missing terms: 1 0 0 -27.

Comparison with Other Root Types

Root TypeExampleFormatGraph Behavior
Integer Roots3,5,03, -5, 0Perfect whole numbers.Crosses exactly at grid intersections.
Rational Roots1/2,3/41/2, -3/4Clean fractions.Crosses precisely halfway between grid lines.
Irrational Roots2,π\sqrt{2}, \piInfinite messy decimals.Crosses at un-measurable decimal locations.
Complex Roots2+3i2+3iContain imaginary ii.Does not cross the x-axis.

Practice Problems

Test your mastery. Full solutions are located below.

Beginner

  1. What are the possible integer root candidates for x3+5x2x10=0x^3 + 5x^2 - x - 10 = 0?
  2. Is x=0x = 0 an integer root?
  3. Test if x=1x=1 is a root of x34x2+x+2=0x^3 - 4x^2 + x + 2 = 0.
  4. What are the factors of dd in the equation x3+x214=0x^3 + x^2 - 14 = 0?
  5. True or False: Every cubic equation has at least one integer root.
  6. If synthetic division yields a remainder of 55, is the candidate number an integer root?
  7. Generate the candidate list for x33x2+8=0x^3 - 3x^2 + 8 = 0.
  8. Solve the pure cubic x38=0x^3 - 8 = 0. What is the integer root?
  9. Is 9\sqrt{9} an integer root?
  10. If the sum of all coefficients in a cubic is 0, what root is guaranteed?

Intermediate

  1. Find all roots of x32x25x+6=0x^3 - 2x^2 - 5x + 6 = 0.
  2. Use synthetic division to divide x3+2x2x2=0x^3 + 2x^2 - x - 2 = 0 by (x1)(x-1).
  3. Find the roots of x3+5x2+8x+4=0x^3 + 5x^2 + 8x + 4 = 0.
  4. Identify the integer and complex roots of x3+27=0x^3 + 27 = 0.
  5. Solve x3x24x+4=0x^3 - x^2 - 4x + 4 = 0 by grouping.
  6. Find the integer root of x3+3x22=0x^3 + 3x^2 - 2 = 0.
  7. Write a cubic equation that has the integer roots 1,2,31, -2, 3.
  8. Solve x37x6=0x^3 - 7x - 6 = 0 (Hint: missing x2x^2 term!).
  9. Does x32=0x^3 - 2 = 0 have any integer roots? Explain.
  10. Solve x34x2+4x=0x^3 - 4x^2 + 4x = 0 by factoring the GCF first.

Advanced

  1. Find all roots of x312x2+47x60=0x^3 - 12x^2 + 47x - 60 = 0.
  2. An equation has roots at x=2x=2, x=1+3x=1+\sqrt{3}, and x=13x=1-\sqrt{3}. Write the equation in standard form.
  3. Prove mathematically why a monic polynomial with integer coefficients can only have integer rational roots.
  4. Solve x33x2+4=0x^3 - 3x^2 + 4 = 0.
  5. Explain why the Rational Root Theorem fails on x3πx+2=0x^3 - \pi x + 2 = 0.

Frequently Asked Questions

What is an integer root?

A solution to an equation that is a perfect whole number (positive, negative, or zero) with no fractional or decimal parts.

How do I find integer roots?

Look at the constant term (the plain number at the end of the equation). List all its factors. Plug those factors into the xx spots in the equation. The one that makes the equation equal 00 is your root.

Can every cubic equation have integer roots?

No. In the real world, equations almost never have integer roots. However, in algebra textbooks, they are almost guaranteed to exist so that you can solve the problem without a computer.

How are integer roots different from rational roots?

An integer is a whole number (like 44). A rational root is any clean fraction (like 1/21/2). All integers are rational, but not all rational roots are integers.

What is the fastest method?

The fastest method is the “Sum of Coefficients Trick.” If you add all the coefficients together and they equal 00, then x=1x=1 is automatically a root. You don’t have to guess or calculate anything else.

Can calculators identify integer roots?

Yes. If you look at the graph on a calculator, an integer root will perfectly cross the x-axis at a solid grid line.

What if no integer root exists?

If none of the factors of the constant term work, the equation is “irreducible” over the integers. You must use Cardano’s algebraic formula, or rely on calculus (Newton-Raphson) to find a decimal approximation.

Is 0 an integer root?

Yes. If an equation is missing its constant term (e.g., x34x2+x=0x^3 - 4x^2 + x = 0), then 00 is guaranteed to be an integer root.

Do complex roots count as integers?

No. Complex roots involve the imaginary number ii (1\sqrt{-1}). They are entirely outside the realm of integers.

Why do we test 1 and -1 first?

Because calculating math with 1 is incredibly fast. You can usually test x=1x=1 in your head in 3 seconds just by adding the coefficients together.

What is a "monic" cubic equation?

An equation where the leading coefficient attached to x3x^3 is a 1. These are the easiest equations to solve because they do not generate fractional roots.

Does factoring by grouping find integer roots?

Yes! If you can factor x32x24x+8=0x^3 - 2x^2 - 4x + 8 = 0 by grouping it into x2(x2)4(x2)=0x^2(x-2) - 4(x-2) = 0, you instantly find the integer roots without guessing.

What is a repeated integer root?

When the equation factors into (x2)(x2)(x2)=0(x-2)(x-2)(x-2) = 0. The integer root is 22, but it has a “multiplicity” of 3. It counts as all three answers.

If I find one integer root, am I done?

No. A cubic equation always has 3 roots. You must use synthetic division to reduce the equation to a quadratic, then solve the quadratic to find the remaining two roots.

What is Synthetic Division?

A hyper-fast algorithm that divides a polynomial by an integer root. It uses addition instead of subtraction, and drops all the variables, making it 5x faster than long division.

(FAQs 16-30 cover deeper nuances involving Descartes’ Rule of Signs, generating synthetic division tables, the Remainder Theorem shortcut, and geometric multiplicity).


Summary

Discovering that a cubic equation has an Integer Root is the key to bypassing the worst parts of algebra.

Instead of being bogged down by Cardano’s massive formulas or messy calculus approximations, integer roots allow you to use elegant, elementary arithmetic. By mastering the workflow of the Factor Theorem and Synthetic Division, you can take any imposing textbook polynomial, generate a precise list of candidates from the constant term, and cleanly fracture the equation into perfectly manageable pieces.

Whether you are a student trying to ace an algebra final, or a programmer trying to optimize a rendering algorithm, knowing how to identify, extract, and verify integer roots is one of the most powerful and practical tools in mathematics.

Continue your mathematical journey with our related guides: