📘 CodingMarble Learn

Solving Polynomial and Rational Equations

To solve a polynomial equation p(x) = 0, find where the graph of y = p(x) meets the x-axis. For a cubic or quartic: guess one root from the divisors of the constant term, divide it out, and solve what is left. Biquadratics like x⁴ − 5x² + 4 = 0 become quadratics with t = x². Rational equations P(x)/Q(x) = 0 need P(x) = 0 and Q(x) ≠ 0. Inequalities use a sign chart.

🎬 Step-by-step story

  1. The solutions of x³ − 6x² + 11x − 6 = 0 are the points where the curve meets the x-axis. Count the crossings.
  2. Find one root: test divisors of the constant term 6. p(−1) = −24, no. p(1) = 0, yes! So x = 1 is a root.
  3. Divide by (x − 1) with synthetic division. The remainder is 0 and a quadratic x² − 5x + 6 is left.
  4. Factor it: (x − 2)(x − 3). So x³ − 6x² + 11x − 6 = (x − 1)(x − 2)(x − 3) and the solutions are 1, 2 and 3.
  5. A biquadratic x⁴ − 5x² + 4 = 0: put t = x². Then t² − 5t + 4 = 0, so t = 1 or 4, and x = ±1 or ±2.
  6. Your turn: shift the curve up or down. Watch the number of solutions change, and see where p(x) is above or below zero.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why are the solutions where the curve meets the x-axis?

On the x-axis y = 0, and y = p(x). So those x values make p(x) = 0.

Why test only divisors of the constant term?

If a whole number a is a root, p(x) = (x − a)(...), and multiplying out shows a divides the constant term. Other whole numbers cannot work.

What if no divisor works?

Then there is no whole-number root. Try fractions p/q, or use a graph to estimate the roots.

Why does dividing make the problem easier?

Each division drops the degree by 1. A cubic becomes a quadratic, which you already know how to solve.

Why can't t = x² be negative?

Any real number squared is 0 or positive, so x² = −4 has no real answer.

Why does the number of roots change when the curve moves?

Moving the curve up or down changes how many times it crosses the x-axis. A cubic can cross 1, 2 (touching) or 3 times.

What is a polynomial equation?

A polynomial equation is p(x) = 0, where p(x) is a polynomial. The degree is the highest power of x.

A solution (or root) is a value of x that makes the equation true. On the graph y = p(x), each real solution is a point where the curve meets the x-axis.

A polynomial of degree n has at most n real roots. A cubic always has at least one real root, because its two ends go in opposite directions, so the curve must cross the axis somewhere.

Solving cubics and quartics with the factor theorem

The factor theorem says: if p(a) = 0, then (x − a) is a factor. We use it in three moves.

  1. Guess: list the divisors of the constant term (for 6: ±1, ±2, ±3, ±6). Test them until p(a) = 0.
  2. Divide: divide p(x) by (x − a), using synthetic or long division. The degree drops by 1.
  3. Finish: solve the smaller polynomial. A quadratic can be factored or solved with the quadratic formula.

If the leading coefficient is not 1, rational roots p/q are also possible, where p divides the constant term and q divides the leading coefficient.

Grouping

Sometimes terms pair up nicely: x³ + 2x² − 9x − 18 = x²(x + 2) − 9(x + 2) = (x + 2)(x² − 9) = (x + 2)(x − 3)(x + 3).

Common factor first

For 2x⁴ − 8x² = 0, take out 2x²: 2x²(x² − 4) = 0, so x = 0 (a double root), 2 or −2.

Equations that turn into quadratics

A biquadratic equation has only even powers: ax⁴ + bx² + c = 0. Put t = x² (so x⁴ = t²) and you get a quadratic in t.

Example: x⁴ − 5x² + 4 = 0 → t² − 5t + 4 = 0 → (t − 1)(t − 4) = 0 → t = 1 or t = 4. Then x² = 1 gives x = ±1, and x² = 4 gives x = ±2.

Careful: t = x² can never be negative. If you get t = −3, it gives no real x.

The same trick works for other repeated parts, e.g. (x² + x)² − 8(x² + x) + 12 = 0 with t = x² + x.

Polynomial inequalities with a sign chart

To solve p(x) > 0 or p(x) < 0:

  1. Factor p(x) and find its roots.
  2. Mark the roots on a number line. They cut it into intervals.
  3. Check the sign of p(x) in each interval (pick a test value).
  4. Choose the intervals you need.

Example: (x − 1)(x − 2)(x − 3) > 0. Roots 1, 2, 3. For x > 3 all brackets are positive, so p > 0. The sign flips at each single root: + for x > 3, − for 2 < x < 3, + for 1 < x < 2, − for x < 1. Answer: 1 < x < 2 or x > 3.

At a double root (like (x − 2)²) the sign does not flip; the curve only touches the axis.

Rational equations and inequalities

A rational expression is a fraction of two polynomials, P(x)/Q(x). We can never divide by 0, so first write the domain: all x with Q(x) ≠ 0.

P(x)/Q(x) = 0 means P(x) = 0 and Q(x) ≠ 0.

Example: (x² − 4)/(x − 2) = 0. The numerator is 0 at x = ±2, but x = 2 makes the denominator 0. So the only solution is x = −2.

Equations with fractions on both sides

Multiply both sides by the common denominator, solve the polynomial equation, then check every answer against the domain.

Example: 3/(x − 1) = x + 1. Domain x ≠ 1. Multiply: 3 = (x + 1)(x − 1) = x² − 1, so x² = 4, x = ±2. Both are allowed.

Rational inequalities

Do not multiply by an expression whose sign you do not know. Instead move everything to one side, write one fraction, and use a sign chart with the zeros of both the top and the bottom. Zeros of the bottom are never included.

Example: (x − 3)/(x + 1) ≥ 0 gives x < −1 or x ≥ 3.

Try it: a practical

In the 3D: in the last step, move the slider to shift the cubic up or down. Predict first: will it have 1 or 3 real solutions? Then check the counter. Find a value of k where two roots join into one (the curve just touches the axis).

At home: take an A4 sheet (about 30 cm × 21 cm). Cut equal squares of side x from the corners and fold a box. Measure the volume for x = 2, 3, 4, 5 cm. Which x gives the largest box? You are exploring the cubic V = x(30 − 2x)(21 − 2x).

Key formulas and definitions

Worked examples

1. Solve x³ − 6x² + 11x − 6 = 0.

Test x = 1: 1 − 6 + 11 − 6 = 0. Divide by (x − 1): quotient x² − 5x + 6 = (x − 2)(x − 3). Solutions x = 1, 2, 3.

2. Solve x³ + 2x² − 9x − 18 = 0.

Group: x²(x + 2) − 9(x + 2) = (x + 2)(x² − 9) = (x + 2)(x − 3)(x + 3). Solutions x = −2, 3, −3.

3. Solve x⁴ − 5x² + 4 = 0.

Let t = x²: t² − 5t + 4 = 0, (t − 1)(t − 4) = 0, t = 1 or 4. x² = 1 → x = ±1; x² = 4 → x = ±2.

4. Solve x⁴ + x² − 12 = 0 over the real numbers.

t = x²: t² + t − 12 = (t + 4)(t − 3) = 0, so t = −4 or 3. t = −4 is impossible (x² ≥ 0). x² = 3 gives x = ±√3.

5. Solve x³ − 3x² − 4x + 12 = 0, then solve x³ − 3x² − 4x + 12 < 0.

Group: x²(x − 3) − 4(x − 3) = (x − 3)(x − 2)(x + 2). Roots −2, 2, 3. Signs: − for x < −2, + for −2 < x < 2, − for 2 < x < 3, + for x > 3. So p < 0 when x < −2 or 2 < x < 3.

6. Solve (x² − 9)/(x + 3) = 0.

Domain x ≠ −3. Numerator zero at x = ±3, but −3 is not allowed. Solution x = 3.

7. Solve 2x³ − 3x² − 3x + 2 = 0.

Test x = 2: 16 − 12 − 6 + 2 = 0. Divide by (x − 2): 2x² + x − 1 = (2x − 1)(x + 1). Solutions x = 2, 1/2, −1.

8. Solve (x + 2)/(x − 1) ≤ 0.

Zeros: top at x = −2, bottom at x = 1. Sign chart: + for x < −2, − for −2 < x < 1, + for x > 1. Include −2 (top zero), exclude 1. Answer −2 ≤ x < 1.

Common mistakes

Practice quiz

1. The real solutions of p(x) = 0 are shown on the graph of y = p(x) as:
2. Which value should you test first for x³ − 7x + 6 = 0?
3. For x⁴ − 13x² + 36 = 0 the best substitution is:
4. The solution of (x² − 1)/(x − 1) = 0 is:
5. A cubic equation has how many real roots at most?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How do you solve a cubic equation easily?

Guess a root from the divisors of the constant term, divide by (x − root), then solve the quadratic that is left.

What is a biquadratic equation?

An equation with only x⁴, x² and a constant, like x⁴ − 5x² + 4 = 0. Put t = x² to turn it into a quadratic.

Why must I check answers of rational equations?

Multiplying by the denominator can create an answer that makes the denominator 0. That answer is not allowed and must be rejected.

Where this is taught

Canada (Ontario)Grade 12C. Polynomial and Rational Functions
PolandLiceum ogólnokształcące, klasa IEquations and inequalities
South Korea고등학교 1학년Equations and inequalities

Learn first

Learn next

Related lessons

All Maths lessons