hanegreefs.com/Math I
Chapter 2 of 8

Polynomials, equations and inequalities

Factoring, long division and Horner's method, quadratic equations, sign tables for polynomial and rational inequalities, the five-step method for inequalities with roots, and systems of linear equations.

Syllabus: Syllabus ch. 3 · Sessions: Lectures 2 to 4, WPO 2 · About 60 minutes

Polynomials and factoringImportant

A polynomial of degree n is f(x) = anxn + ... + a1x + a0 with an ≠ 0. A root r satisfies f(r) = 0, and then (x − r) is a factor. A degree n polynomial has at most n real roots.

Product formulaExpanded
(a + b)2a2 + 2ab + b2
(a − b)2a2 − 2ab + b2
(a + b)(a − b)a2 − b2
(a + b)3a3 + 3a2b + 3ab2 + b3
a3 − b3(a − b)(a2 + ab + b2)
a3 + b3(a + b)(a2 − ab + b2)

Factoring order: take out a common factor, look for a product formula, then search for roots. With whole coefficients every rational root p/q has p dividing the constant term and q dividing the leading coefficient (rational root test). The multiplicity of a root is how often its factor appears; it decides whether the graph crosses the axis (odd) or only touches it (even).

Long division and Horner's methodImportant

Dividing a polynomial A(x) by B(x) gives a quotient Q(x) and a remainder R(x) of lower degree than B(x): A(x) = B(x) Q(x) + R(x). You need this for oblique asymptotes (chapter 4) and for integrating rational functions (chapter 7).

Worked example

Long division

Divide 2x3 + 3x2 − 1 by x2 + 1.

1

First term of the quotient

2x3 / x2 = 2x; subtract 2x(x2 + 1): left with 3x2 − 2x − 1
2

Next term

3x2 / x2 = 3; subtract 3(x2 + 1): left with −2x − 4
3

Stop

degree of −2x − 4 is below degree 2
Answer

2x3 + 3x2 − 1 = (x2 + 1)(2x + 3) + (−2x − 4).

Horner's method (synthetic division) is a short form for dividing by (x − r): write the coefficients in a row, bring the first one down, multiply by r, add to the next coefficient, and repeat. The last number is the remainder, and by the remainder theorem it equals f(r).

Worked example

Factor x3 − 2x2 − 5x + 6

Candidates for rational roots: ±1, ±2, ±3, ±6. Try r = 1.

1

Horner with r = 1

coefficients 1, −2, −5, 6 give 1, −1, −6, remainder 0
2

So

x3 − 2x2 − 5x + 6 = (x − 1)(x2 − x − 6)
3

Factor the quadratic

x2 − x − 6 = (x − 3)(x + 2)
Answer

(x − 1)(x − 3)(x + 2): roots 1, 3 and −2. Try it in the Horner lab.

Linear and quadratic equationsImportant

A linear equation ax + b = 0 (a ≠ 0) has the single solution x = −b/a. A quadratic equation ax2 + bx + c = 0 is solved with the discriminant D = b2 − 4ac:

Formula
D > 0: two real roots x = (−b ± √D) / 2aD = 0: one double root x = −b / 2aD < 0: no real roots (two complex roots)

Useful checks: the roots add up to −b/a and multiply to c/a. Equations that reduce to a quadratic, such as x4 − 5x2 + 4 = 0, are solved with a substitution u = x2.

Polynomial and rational inequalities: the sign tableImportant

A polynomial or rational function can only change sign where it is 0 (a root) or undefined (a pole). That gives a fixed method:

  1. Bring everything to one side: f(x) > 0, ≥ 0, < 0 or ≤ 0.
  2. Factor numerator and denominator fully.
  3. Put all roots and poles on a number line and fill in the sign of each factor on each piece.
  4. Read off the pieces with the wanted sign; include roots for ≤ or ≥, never include poles.
Worked example

Solve (x − 2)(x + 1)2 / (x − 3) ≤ 0

Roots −1 (double) and 2; pole 3.

1

x < −1

(−)(+)/(−) = +
2

−1 < x < 2

(−)(+)/(−) = +: no sign change at the double root
3

2 < x < 3

(+)(+)/(−) = −
4

x > 3

(+)(+)/(+) = +
Answer

Solution: {−1} ∪ [2, 3[. The double root counts because f(−1) = 0; 3 is excluded because f is undefined there.

Common trapNever multiply both sides by an expression with x in it, such as the denominator: its sign is unknown, and multiplying by a negative number flips the inequality. Bring everything to one side instead.

Inequalities with square roots: five stepsImportant

Inequalities with roots (called irrational inequalities in the course) appear on almost every exam. The lecture method:

  1. Introduce f(x) by bringing everything to one side and compare f(x) with 0.
  2. Write the existence conditions (EC): every expression under a square root must be ≥ 0.
  3. Solve f(x) = 0. Before squaring, isolate a root and write the squaring condition (SC): both sides must have the same sign, so the side without the root must be ≥ 0.
  4. Make a sign table of f on the EC domain, using the solutions of f(x) = 0.
  5. Read off the solution set.
Worked example

Solve √(x + 5) ≥ x − 1

f(x) = √(x + 5) − x + 1 ≥ 0.

1

Existence condition

x + 5 ≥ 0, so x ∈ [−5, +∞[
2

f(x) = 0 means √(x + 5) = x − 1

squaring condition x − 1 ≥ 0, so x ≥ 1
3

Square

x + 5 = x2 − 2x + 1, so x2 − 3x − 4 = 0 and x = 4 or x = −1
4

Apply the SC

x = −1 fails x ≥ 1, so the only zero is x = 4
5

Signs

f(−5) = 0 + 6 > 0 and f(5) = √10 − 4 < 0
Answer

f(x) ≥ 0 on [−5, 4]. Check: at x = 4 both sides equal 3.

Common trapSquaring an equation can create false solutions, because a = −b also gives a2 = b2. The squaring condition, or a check in the original equation, removes them.

Systems of linear equationsNeutral

A system of linear equations is solved by substitution (solve one equation for one unknown and plug it in), elimination (add multiples of equations to cancel an unknown) or, for square systems, Cramer's rule: each unknown equals a determinant with the right-hand side swapped in, divided by the main determinant D.

Formula
2 × 2: D = a11a22 − a12a21,   x = Dx / D,   y = Dy / D
DeterminantGeometry with two unknownsSolutions
D ≠ 0two lines that crossexactly one
D = 0, equations contradictparallel linesnone
D = 0, equations repeatthe same line twiceinfinitely many
Worked example

Solve by elimination

2x + y − z = 8, −3x − y + 2z = −11, −2x + y + 2z = −3.

1

Add equations 1 and 2

−x + z = −3
2

Subtract equation 1 from equation 3

−4x + 3z = −11
3

Solve the pair

z = x − 3, so −4x + 3x − 9 = −11 and x = 2, z = −1
4

Back substitute

y = 8 − 2x + z = 8 − 4 − 1 = 3
Answer

(x, y, z) = (2, 3, −1). The linear systems lab gives the same answer with Cramer's rule as a check.

Non-linear systems, for example a line and a circle, are usually solved by substitution, which leads to a quadratic equation.

Key takeaways

  • r is a root exactly when (x − r) is a factor; the remainder of division by (x − r) is f(r).
  • Rational root candidates are divisors of a0 over divisors of an.
  • D = b2 − 4ac decides the number of real roots of a quadratic.
  • Sign tables: signs change only at roots and poles, and not at roots of even multiplicity.
  • Root inequalities: existence conditions, squaring condition, solve f = 0, sign table, read off.
  • D ≠ 0 means a unique solution of a square linear system.

Loading cards
Question
Click, tap or press space to flip
Answer

Multiple choice (10)

Question 1 · Chapter 2

The remainder of x3 + 2x − 5 divided by (x − 2) is...

Why: Remainder theorem: f(2) = 8 + 4 − 5 = 7.
Question 2 · Chapter 2

Which is a possible rational root of 2x3 − x + 3?

Why: p must divide 3 and q must divide 2: ±1, ±3, ±1/2, ±3/2.
Question 3 · Chapter 2

x2 + 4x + 5 = 0 has...

Why: D = 16 − 20 = −4 < 0.
Question 4 · Chapter 2

The solution of (x − 1)/(x + 2) ≥ 0 is...

Why: Signs + − + around −2 and 1; the pole −2 is excluded, the root 1 included.
Question 5 · Chapter 2

(x − 4)2(x + 1) < 0 holds for...

Why: The square is never negative and is 0 at 4; the sign follows (x + 1).
Question 6 · Chapter 2

For √(x + 1) = x − 1 the squaring condition is...

Why: The right side must be at least 0, like the root.
Question 7 · Chapter 2

√(x + 1) = x − 1 has the solution set...

Why: Squaring gives x2 − 3x = 0, so 0 or 3, and 0 fails the squaring condition.
Question 8 · Chapter 2

A 2 × 2 system with D = 0 and inconsistent equations has...

Why: The lines are parallel and never meet.
Question 9 · Chapter 2

Which product formula is correct?

Why: Expand (a − b)(a − b).
Question 10 · Chapter 2

The quotient of (x3 − 8) by (x − 2) is...

Why: Difference of cubes: (x − 2)(x2 + 2x + 4).

Exam-style open questions (3)

Open question · Chapter 2

A root inequality

Solve √(2x + 3) < x in ℝ with the five-step method.

Show the worked outline
  • f(x) = √(2x + 3) − x < 0; EC: x ≥ −3/2.
  • f(x) = 0: √(2x + 3) = x with SC x ≥ 0; squaring gives x2 − 2x − 3 = 0, so x = 3 or x = −1, and only 3 meets the SC.
  • Signs: f(−3/2) = 3/2 > 0, f(0) = √3 > 0, f(4) = √11 − 4 < 0.
  • Solution: ]3, +∞[.
Open question · Chapter 2

Factor and sign

Solve x3 − 3x2 − 4x + 12 > 0.

Show the worked outline
  • Group: x2(x − 3) − 4(x − 3) = (x − 3)(x − 2)(x + 2).
  • Roots −2, 2, 3, all simple, leading coefficient positive.
  • Signs from the right: + on ]3, +∞[, − on ]2, 3[, + on ]−2, 2[, − below −2.
  • Solution: ]−2, 2[ ∪ ]3, +∞[.
Open question · Chapter 2

A small market system

Demand is q = 50 − 2p and supply is q = 3p − 10. Find the equilibrium price and quantity, then explain what D = 0 would mean here.

Show the worked outline
  • Set demand equal to supply: 50 − 2p = 3p − 10, so p = 12.
  • q = 50 − 24 = 26.
  • D = 0 would mean parallel demand and supply lines: no equilibrium, or the same line (any point).

LabQuadratic and inequality lab

Change a, b and c and watch the parabola, its roots and the sign of f(x).

LabHorner and rational root lab

Type the coefficients of a polynomial of degree up to 4.

LabLinear systems lab

Includes a parallel-lines example with no solution.