Solve cubic equations step by step
A cubic equation contains an x³ term and can have up to three roots. There is no need for a cubic formula at school level: find one root by testing, divide the cubic by the matching factor, and what remains is an ordinary quadratic.
Any whole-number root must be a factor of the constant term, so the list of candidates to test is short. The division is done with synthetic division — a compact table that uses only the coefficients.
Think first
Before reading the solution, try to answer these — they are the hints Arithly itself gives:
- A cubic can have up to three roots — start by finding just one root you can test.
- Any whole-number root must be a factor of the constant term, -6 — try its factors (with ±) in the equation one at a time.
- Once one root r is found, (x − r) is a factor, and dividing the cubic by it leaves a quadratic.
Worked example
Solve x³ − 6x² + 11x − 6 = 0
- Collect everything on the left-hand side: x³ - 6x² + 11x - 6 = 0.
- The rational root theorem says any fraction root is ±(a factor of 6) ÷ (a factor of 1): ±1, ±2, ±3, ±6.
- Try x = 1 first: (1)³ - 6(1)² + 11(1) - 6 = 0 ✓ — so (x − 1) is a factor.
- Now divide the cubic by (x − 1) using synthetic division — here is the division itself, step by step:
- Write the coefficients in a row: 1, -6, 11, -6. Divide by the root 1.
- Bring down the first coefficient: 1.
- Multiply by the root: 1 × 1 = 1; add to the next coefficient: -6 + 1 = -5.
- Multiply by the root: 1 × -5 = -5; add to the next coefficient: 11 + (-5) = 6.
- Multiply by the root: 1 × 6 = 6; add to the last coefficient: -6 + 6 = 0 — the remainder is 0 ✓.
- The bottom row 1, -5, 6 gives the quotient x² - 5x + 6 (the powers drop by one: x², x, constant), so x³ - 6x² + 11x - 6 = (x − 1)(x² - 5x + 6).
- Find two numbers that multiply to 6 and add to -5: -2 and -3 (check: -2 × (-3) = 6 and -2 + (-3) = -5).
- So x² - 5x + 6 = (x − 2)(x − 3), giving x = 2 or x = 3.
- Altogether: x = 1 or x = 2 or x = 3.
Answer: x = 1 or x = 2 or x = 3
Practice
Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:
- Solve x³ − 7x² + 14x − 8 = 0 Try it in Arithly →
- Solve x³ + 2x² − 5x − 6 = 0 Try it in Arithly →
- Solve x³ − 4x² + x + 6 = 0 Try it in Arithly →
More topics: all maths topics · Next topic: Simultaneous equations: two equations, two unknowns