01 / 21

Prime
Polynomials

Learn to identify polynomials that cannot be factored over the integers, and understand what "prime" means in the world of algebra.

Math 2

What Is Factoring?

Factoring a polynomial means rewriting it as a product of two or more simpler polynomials with integer coefficients. For example:

But what happens when no such factoring exists? That is exactly where prime polynomials come in.

The Prime Number Analogy

In arithmetic, a prime number like 7 cannot be written as a product of two smaller positive integers. The same idea applies to polynomials.

Prime Number
\( 7 \) has no integer factors other than \( 1 \) and itself.
Prime Polynomial
\( x^2 + 1 \) has no polynomial factors (over the integers) other than \( 1 \) and itself.

Why "Over the Integers" Matters

The phrase "over the integers" restricts us to factors whose coefficients are whole numbers. A polynomial may factor over the reals or complex numbers but still be prime over the integers.

Over the Integers
\( x^2 + 3 \) is prime: no integer-coefficient factors exist.
Over the Reals
\( x^2 - 3 = (x - \sqrt{3})(x + \sqrt{3}) \): factors exist, but coefficients are irrational.

The Discriminant Test for Quadratics

For a quadratic \( ax^2 + bx + c \) with integer coefficients, the discriminant reveals whether integer factors exist:

Compute \(\Delta\)
Perfect square? Yes Factorable No Prime

Formal Definition

This means every factoring attempt leaves you with a trivial split: the polynomial itself times 1. There is no "useful" factorization.

Prime vs. Factorable

Prime Factorable
Example \( x^2 + x + 1 \) \( x^2 + 3x + 2 \)
Discriminant \( 1^2 - 4(1)(1) = -3 \) \( 3^2 - 4(1)(2) = 1 \)
Perfect square? No Yes (\( 1 = 1^2 \))
Factored form None \( (x+1)(x+2) \)

Graphical Intuition

A quadratic that is prime over the integers either has no real roots or has irrational roots that don't produce integer factors.

x y
\(x^2 + 1\)
(prime: no x-intercepts)
1 2
\(x^2 - 3x + 2\)
(factorable: integer roots)

Step-by-Step Primality Check

1
Factor out the GCF first. If a common factor exists, extract it before testing.
2
Identify \( a \), \( b \), \( c \). Write the quadratic as \( ax^2 + bx + c \).
3
Compute the discriminant: \( \Delta = b^2 - 4ac \).
4
Check: Is \( \Delta \) a perfect square? If yes, the quadratic factors. If no, it is prime.
5
For non-quadratics: try grouping, sum/difference of cubes, or substitution. If nothing works, conclude prime.

Example 1: Is \( x^2 + 5x + 7 \) Prime?

1
GCF: No common factor among 1, 5, 7.
2
Identify: \( a = 1 \), \( b = 5 \), \( c = 7 \).
3
Discriminant: \( \Delta = 5^2 - 4(1)(7) = 25 - 28 = -3 \).
4
Result: \( \Delta = -3 \) is negative, so it is not a perfect square.

Example 2: Is \( 2x^2 + 7x + 3 \) Prime?

1
GCF: None (coefficients 2, 7, 3 share no common factor).
2
Identify: \( a = 2 \), \( b = 7 \), \( c = 3 \).
3
Discriminant: \( \Delta = 7^2 - 4(2)(3) = 49 - 24 = 25 \).
4
Check: \( 25 = 5^2 \) is a perfect square.

Example 3: Is \( x^2 + 4 \) Prime?

This looks like a sum of squares. Let us apply the discriminant test:

1
Identify: \( a = 1 \), \( b = 0 \), \( c = 4 \).
2
Discriminant: \( \Delta = 0^2 - 4(1)(4) = 0 - 16 = -16 \).
3
Result: \( \Delta < 0 \): not a perfect square.

Beyond Quadratics

For higher-degree polynomials, the discriminant test does not directly apply. Instead, use these strategies:

Grouping
Split the polynomial into groups and look for common binomial factors.
Special Forms
Check for sum/difference of cubes: \( a^3 \pm b^3 \).
Substitution
Use \( u = x^2 \) to reduce quartics to quadratic form, then test.

Sum vs. Difference of Squares

Difference of Squares Sum of Squares
Form \( a^2 - b^2 \) \( a^2 + b^2 \)
Factorization \( (a-b)(a+b) \) None (prime)
Example \( x^2 - 9 = (x-3)(x+3) \) \( x^2 + 9 \) is prime
Discriminant \( 0 - 4(1)(-9) = 36 \) (perfect sq.) \( 0 - 4(1)(9) = -36 \) (negative)

Common Mistakes

✕ Forgetting the GCF
Calling \( 3x^2 + 6x + 9 \) prime without first factoring out 3: \( 3(x^2 + 2x + 3) \). The inner trinomial is prime, but the GCF must still be extracted.
✕ Fake-Factoring Sums of Squares
Writing \( x^2 + 4 = (x+2)(x+2) \). This is wrong: \( (x+2)^2 = x^2 + 4x + 4 \neq x^2 + 4 \).
✕ Confusing "No Real Roots" with "Prime"
\( \Delta < 0 \) guarantees prime, but \( \Delta > 0 \) does not guarantee factorability: \( \Delta \) must be a perfect square.

Quick Reference Summary

Polynomial \( \Delta \) Perfect sq.? Verdict
\( x^2 + x + 1 \) \( -3 \) No Prime
\( x^2 - 5x + 6 \) \( 1 \) Yes Factorable
\( x^2 + 9 \) \( -36 \) No Prime
\( 2x^2 - 5x - 3 \) \( 49 \) Yes Factorable
\( x^2 + 2x + 5 \) \( -16 \) No Prime

Question 1 of 5

Which of the following polynomials is prime over the integers?

Question 2 of 5

What is the discriminant of \( 3x^2 + 2x + 5 \), and is the polynomial prime?

Question 3 of 5

A student claims that \( x^2 + 16 = (x+4)^2 \). What is wrong with this claim?

Question 4 of 5

Which statement best explains why \( x^2 + 25 \) is prime over the integers?

Question 5 of 5

After factoring out the GCF, is the polynomial \( 5x^2 + 10x + 30 \) prime?