Tutorials › Calculus I › Factoring by Substitution in Higher-Degree Polynomials

Algebraic Function Structures · Tutorial 46 of 1495

Factoring by Substitution in Higher-Degree Polynomials

Use a temporary variable to turn certain higher-degree polynomials into quadratics, then substitute back and factor further when possible.

Beginner 8 min read

What You'll Learn

  • Recognize a polynomial that is quadratic in a power of its variable.
  • Substitute a power of the variable to form a quadratic trinomial.
  • Factor the quadratic and substitute the original expression back.
  • Apply familiar identities to factor the resulting expressions further.
  • Check a factorization by multiplying its factors.
  • Identify when this substitution does not produce a factorization.

Why Use a Substitution to Factor?

A polynomial can have a high degree while using only a few powers of its variable. For instance, \(x^4-5x^2+4\) has degree four, but its terms involve only \(x^2\), \(x^4\), and a constant. If we temporarily write \(u=x^2\), the expression becomes a quadratic in \(u\). We can factor that quadratic using the methods for quadratic trinomials, then replace \(u\) with \(x^2\).

The substitution is a way to reveal the structure already present in the polynomial. It does not change the expression or its value: it gives us a simpler form to factor before we return to the original variable.

Definition: A polynomial is quadratic in a power \(x^n\) if it has the form \(a x^{2n}+b x^n+c\), where \(n\) is a positive integer and \(a\), \(b\), and \(c\) are constants with \(a\ne 0\). The substitution \(u=x^n\) turns it into the quadratic \(a u^2+b u+c\).

The Substitution and Its Conditions

To use the method, first identify a repeated power in the terms. If the exponents are \(2n\), \(n\), and \(0\), set \(u=x^n\). Factor the resulting quadratic in \(u\), if it factors over the coefficient system you are using, and then substitute \(x^n\) back for every \(u\).

For example, when \(n=2\), a polynomial in \(x^4\), \(x^2\), and a constant becomes a quadratic in \(u=x^2\). When \(n=3\), a polynomial in \(x^6\), \(x^3\), and a constant becomes a quadratic in \(u=x^3\). The same reasoning works for any positive integer \(n\).

When the method applies: The polynomial must have the form \(a x^{2n}+b x^n+c\) for some positive integer \(n\). This substitution gives a factorization when the quadratic \(a u^2+b u+c\) factors over the chosen coefficients. Substitution alone does not guarantee that the quadratic factors.

Here, “factors” depends on the coefficients allowed in the answer. A quadratic might factor over the real numbers but not over the integers or rationals. In each example, the coefficient system will be stated where it matters. After substituting back, also check whether the resulting factors can be factored further using familiar identities, such as the difference of squares or the sum and difference of cubes.

Why the Method Works

The reasoning is based on substitution into an identity. Suppose the quadratic factors as \(a u^2+b u+c=(p u+q)(r u+s)\), with constants \(p\), \(q\), \(r\), and \(s\). Replacing \(u\) by \(x^n\) gives an identity in \(x\):

$$ a x^{2n}+b x^n+c = (p x^n+q)(r x^n+s). $$

To justify it, expand the right-hand side after substitution. Its product is \(prx^{2n}+(ps+qr)x^n+qs\), exactly the result of substituting \(x^n\) for \(u\) in the original quadratic product. Thus each value of \(x\) gives the same value on both sides. This is why the substitution preserves the factorization.

It is useful to think of \(u\) as a temporary name, not a new restriction on \(x\). In particular, when \(u=x^2\), we do not need to solve an equation for \(x\) or restrict \(x\) to make the algebraic identity valid. We are factoring an expression, not solving for values of a variable.

Worked Examples

Worked Example: Factor a Quartic and Continue Factoring

Factor \(x^4-5x^2+4\) into linear factors over the integers.

The terms have powers \(x^4=(x^2)^2\), \(x^2\), and a constant, so set \(u=x^2\). Then

$$ x^4-5x^2+4=u^2-5u+4. $$

We need two numbers with product \(4\) and sum \(-5\). They are \(-1\) and \(-4\), so

$$ u^2-5u+4=(u-1)(u-4). $$

Substitute \(x^2\) back for \(u\):

$$ x^4-5x^2+4=(x^2-1)(x^2-4). $$

Each factor is a difference of squares. Using \(A^2-B^2=(A-B)(A+B)\), factor both:

$$ x^2-1=(x-1)(x+1), \qquad x^2-4=(x-2)(x+2). $$

Therefore the complete factorization over the integers is

$$ x^4-5x^2+4=(x-1)(x+1)(x-2)(x+2). $$

Check by multiplying the paired factors: \((x-1)(x+1)=x^2-1\) and \((x-2)(x+2)=x^2-4\). Their product is \(x^4-4x^2-x^2+4=x^4-5x^2+4\), as required.

Worked Example: Factor a Quartic with a Leading Coefficient

Factor \(2x^4-7x^2+3\) over the integers as far as this substitution method allows.

Set \(u=x^2\), so the expression becomes

$$ 2u^2-7u+3. $$

To factor, split the middle term. The product of the leading coefficient and constant is \(2\cdot3=6\). The numbers \(-6\) and \(-1\) have product \(6\) and sum \(-7\):

$$ 2u^2-7u+3 =2u^2-6u-u+3 =2u(u-3)-1(u-3) =(2u-1)(u-3). $$

Now substitute \(x^2\) for \(u\):

$$ 2x^4-7x^2+3=(2x^2-1)(x^2-3). $$

Neither factor splits into factors with rational coefficients: their roots would involve \(\sqrt{1/2}\) and \(\sqrt{3}\), respectively. So this is the factorization over the rationals obtained here. Check it by multiplying:

$$ (2x^2-1)(x^2-3) =2x^4-6x^2-x^2+3 =2x^4-7x^2+3. $$

Worked Example: Factor Further Using Difference of Cubes

Factor \(x^6-9x^3+8\) over the integers, and continue factoring after substituting back.

The powers are \(x^6=(x^3)^2\), \(x^3\), and a constant. Set \(u=x^3\):

$$ x^6-9x^3+8=u^2-9u+8. $$

The numbers \(-1\) and \(-8\) have product \(8\) and sum \(-9\), giving

$$ u^2-9u+8=(u-1)(u-8). $$

Substitute \(x^3\) back:

$$ x^6-9x^3+8=(x^3-1)(x^3-8). $$

Both factors are differences of cubes. The identity \(A^3-B^3=(A-B)(A^2+AB+B^2)\) gives

$$ x^3-1=(x-1)(x^2+x+1), \qquad x^3-8=(x-2)(x^2+2x+4). $$

Thus

$$ x^6-9x^3+8 =(x-1)(x^2+x+1)(x-2)(x^2+2x+4). $$

Check: the first pair of factors multiplies to \(x^3-1\), and the second pair to \(x^3-8\). Multiplying those two results gives \(x^6-8x^3-x^3+8=x^6-9x^3+8\).

A Reliable Sequence of Steps

Use the following sequence when the exponents suggest that a polynomial is quadratic in a power of its variable.

1
Identify the repeated power.
Check whether the exponents are \(2n\), \(n\), and \(0\), and name \(x^n\) as \(u\).
2
Factor the quadratic in \(u\).
Use the appropriate quadratic factoring method, and keep the coefficients in the form required by the question.
3
Substitute back.
Replace every \(u\) in every factor with the original power \(x^n\).
4
Look for further factors.
Check the substituted factors for familiar patterns, including differences of squares and sums or differences of cubes.
5
Verify the product.
Multiply the final factors, or multiply in stages, to confirm that they reproduce the original polynomial.

When Substitution Does Not Give a Factorization

The method depends on the quadratic in \(u\) factoring in the chosen coefficient system. For example, \(x^4+3x^2+5\) becomes \(u^2+3u+5\) when \(u=x^2\). Its discriminant is \(3^2-4(1)(5)=9-20=-11\), so it has no real linear factors in \(u\). Consequently, this substitution does not produce a factorization into two linear factors in \(x^2\) over the real numbers.

This conclusion is deliberately limited: it says what the quadratic-substitution method yields, not that no other kind of factorization of the quartic is possible. Always distinguish “this substitution did not factor it” from “the polynomial cannot be factored in any way.”

Common Mistake: Substituting Back Incorrectly

A frequent error is to factor the quadratic in \(u\) correctly but then replace \(u\) with \(x\) instead of \(x^2\). For example, starting with \(x^4-5x^2+4\), one might write \(u=x^2\), obtain \((u-1)(u-4)\), and mistakenly claim

$$ x^4-5x^2+4=(x-1)(x-4). $$

This is wrong: multiplying the claimed factors gives \(x^2-5x+4\), which is not the original quartic. The correct substitution replaces each \(u\) with \(x^2\), not with \(x\):

$$ (u-1)(u-4)\ \longrightarrow\ (x^2-1)(x^2-4). $$

Multiplying the corrected expression gives \(x^4-5x^2+4\). Keeping track of exactly what \(u\) represents prevents this mistake.

Why This Pattern Matters

Recognizing a polynomial in a power lets you use a familiar quadratic structure even when the polynomial has a higher degree. It can also reveal factors that are not obvious from the original expression. The substitution is most useful when it shortens the algebra without hiding the original variable: write down what \(u\) means, factor, substitute back, and then inspect the result for further structure.

Three checks help keep the work precise: verify that the exponents really match the required pattern; replace every \(u\) with the entire power used in the substitution; and multiply the final factors to check the original expression. If the quadratic in \(u\) does not factor over the required coefficients, do not force factors that are not there.

Check Your Understanding

For each question, show the substitution and the algebra needed to support your answer.

  1. Write \(x^8-6x^4+8\) as a quadratic in a suitable temporary variable. What is that variable?
  2. Factor \(x^4-10x^2+9\) as far as possible over the integers. Verify your result by multiplying.
  3. Factor \(3x^4-10x^2+3\) by setting \(u=x^2\), and check the product after substituting back.
  4. For \(x^6-5x^3+4\), factor first as a quadratic in \(x^3\), then check whether either resulting factor can be factored further over the integers.
  5. Explain why a factorization of \(u^2+3u+5\) into real linear factors is unavailable. What does that tell you—and not tell you—about using \(u=x^2\) on \(x^4+3x^2+5\)?
  6. Correct this proposed step for \(x^4-5x^2+4\): with \(u=x^2\), \((u-1)(u-4)\) becomes \((x-1)(x-4)\).

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon