Skills

Polynomial Arithmetic and Factoring

see every function move

3 min readfreeNot practiced

Unit 1 studies functions built from powers of xx: their zeros, their turning points, how fast they change. The zeros come from factors, so this page collects the algebra: multiplying polynomials and factoring them.

Polynomials

A polynomial is a sum of terms of the form axnax^n, where nn is a whole number: x3+x2−7x+2x^3 + x^2 - 7x + 2, 4x2−254x^2 - 25, x4−5x2+4x^4 - 5x^2 + 4. No variables in denominators, no square roots of xx. Writing the terms from the highest power to the lowest makes them easy to compare.

Multiplying

Multiply each term of one factor by each term of the other, then combine like terms.

Worked example 1. Multiply (x−2)(x2+3x−1)(x - 2)(x^2 + 3x - 1).

x⋅(x2+3x−1)x \cdot (x^2 + 3x - 1)=x3+3x2−x= x^3 + 3x^2 - x.

−2⋅(x2+3x−1)-2 \cdot (x^2 + 3x - 1)=−2x2−6x+2= -2x^2 - 6x + 2.

Add: x3x^3+(3−2)x2+ (3 - 2)x^2+(−1−6)x+ (-1 - 6)x+2+ 2=x3= x^3+x2−7x+ x^2 - 7x+2+ 2.

Squares of sums have a middle term: (2x+1)2=4x2+4x+1(2x + 1)^2 = 4x^2 + 4x + 1, never 4x2+14x^2 + 1. When subtracting a product, put it in parentheses so the minus sign reaches every term.

Factoring: the order to try

Factoring undoes multiplying. Work through these in order:

  1. Common factor. x3−9x=x(x2−9)x^3 - 9x = x(x^2 - 9).
  2. Patterns. Check each factor against the table below.
  3. Grouping for four terms: pair them so each pair shares a binomial.
  4. Quadratic-style trinomials, including ones in x2x^2, like x4−5x2+4x^4 - 5x^2 + 4.
PatternFactoredExample
difference of squares a2−b2a^2 - b^2(a−b)(a+b)(a - b)(a + b)4x2−254x^2 - 25=(2x−5)(2x+5)= (2x - 5)(2x + 5)
difference of cubes a3−b3a^3 - b^3(a−b)(a2+ab+b2)(a - b)(a^2 + ab + b^2)x3−27x^3 - 27=(x−3)(x2+3x+9)= (x - 3)(x^2 + 3x + 9)
sum of cubes a3+b3a^3 + b^3(a+b)(a2−ab+b2)(a + b)(a^2 - ab + b^2)x3+8x^3 + 8=(x+2)(x2−2x+4)= (x + 2)(x^2 - 2x + 4)

A sum of squares, like x2+9x^2 + 9, does not factor with real numbers.

Worked example 2. Factor x3+2x2−4x−8x^3 + 2x^2 - 4x - 8.

Group: (x3+2x2)(x^3 + 2x^2)+(−4x−8)+ (-4x - 8)=x2(x+2)−4(x+2)= x^2(x + 2) - 4(x + 2).

Take out (x+2)(x + 2): (x2−4)(x+2)(x^2 - 4)(x + 2). Then x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2).

Result: (x−2)(x+2)2(x - 2)(x + 2)^2.

Worked example 3. Factor x4−5x2+4x^4 - 5x^2 + 4.

It is a quadratic in x2x^2. With u=x2u = x^2: u2−5u+4u^2 - 5u + 4=(u−1)(u−4)= (u - 1)(u - 4).

Put x2x^2 back: (x2−1)(x2−4)(x^2 - 1)(x^2 - 4)=(x−1)(x+1)(x−2)(x+2)= (x - 1)(x + 1)(x - 2)(x + 2).

Factors and zeros

If a product is 00, one of its factors is 00. So the solutions of x(x−3)(x+3)=0x(x - 3)(x + 3) = 0 are x=0x = 0, 33 and −3-3. The connection also runs backward: if p(a)=0p(a) = 0, then x−ax - a is a factor of p(x)p(x). For p(x)=x3−4x2+x+6p(x) = x^3 - 4x^2 + x + 6, p(2)=0p(2) = 0, so x−2x - 2 is a factor, and p(x)p(x)=(x−2)(x−3)(x+1)= (x - 2)(x - 3)(x + 1).

The graph of y = x³ − 9x = x(x − 3)(x + 3). It crosses the x-axis at x = −3, 0 and 3, one crossing for each factor: x + 3 = 0, x = 0 and x − 3 = 0.
Figure 1. Each factor of x(x−3)(x+3)x(x - 3)(x + 3) gives one xx-intercept. LevlPrep original diagram.

Do not divide an equation by xx to simplify it. Dividing assumes x≠0x \ne 0 and silently drops the solution x=0x = 0.

Spot a mistake on this page?