Polynomials & Factoring

What Is a Polynomial? A Clear Guide to Polynomials

A polynomial is a sum of terms of the form axnax^n, where aa is any number and the exponent nn is a whole number (0,1,2,3,…0, 1, 2, 3, \dots). If a variable sits in a denominator, under a root sign or in an exponent, the expression is not a polynomial.

anxn+an−1xn−1+⋯+a1x+a0a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0

That single rule explains most of what follows: why polynomials add, subtract and multiply so cleanly, why their graphs are smooth, and why roots and factors are two views of the same fact. Along the way you will also meet the traps that cost points, such as reading the degree before simplifying.

What are polynomials in algebra?

Every polynomial in one variable fits this pattern:

anxn+an−1xn−1+⋯+a1x+a0a_nx^n + a_{n-1}x^{n-1} + \cdots + a_1x + a_0

The numbers an,…,a0a_n, \dots, a_0 are coefficients, and nn is the degree when an≠0a_n \neq 0. In 3x2−5x+23x^2 - 5x + 2 the coefficients are 33, −5-5 and 22. Terms are separated by plus and minus signs, and a sign belongs to the term that follows it, so the second term is −5x-5x, not 5x5x.

The constant term is secretly a0x0a_0x^0, and since x0=1x^0 = 1, a bare number like 77 counts as a polynomial. That is why zero is an allowed exponent.

The restriction is on the exponents of the variable, never on the coefficients. Coefficients can be 12\frac12, 2\sqrt{2} or π\pi. So x23\frac{x^2}{3} is a polynomial, because it equals 13x2\frac13x^2, while 3x2\frac{3}{x^2} is not, because it equals 3x−23x^{-2}. More than one variable is fine too: 2x3y−5xy2+72x^3y - 5xy^2 + 7 is a polynomial in xx and yy.

Two familiar objects are polynomials in disguise. A quadratic ax2+bx+cax^2 + bx + c is a degree 2 polynomial, and the quadratic formula (see these quadratic formula practice problems) finds where it equals zero. Setting any polynomial equal to zero gives a polynomial equation, which is the setting for most of algebra.

Which expressions are not polynomials?

Run two checks. Is every exponent on a variable a whole number? And is the variable only ever added, subtracted or multiplied, never divided into something, rooted or placed in an exponent? Here is how common cases sort out:

Expression Polynomial? Reason
4x3−x+124x^3 - x + \tfrac12 Yes Whole exponents; the fraction is only a coefficient
2 x+1\sqrt{2}\,x + 1 Yes 2\sqrt{2} is just a number
x+3\sqrt{x} + 3 No x=x1/2\sqrt{x} = x^{1/2}
5x+x\dfrac{5}{x} + x No 5x=5x−1\frac5x = 5x^{-1}
2x2^x No Variable in the exponent
x2+1x−3\dfrac{x^2+1}{x-3} No A ratio of polynomials (a rational expression)

Watch for expressions that look worse than they are. x(x+1)2x(x+1)^2 and (x+2)3(x+2)^3 are polynomials, because they expand into sums of whole-number powers. The reverse trap is x2−9x−3\frac{x^2-9}{x-3}. It simplifies to x+3x+3 only when x≠3x \neq 3, and as written it has a variable in the denominator, so it is a rational expression, not a polynomial.

Exponential and logarithmic expressions belong to a different family altogether. No finite polynomial equals 2x2^x, and the logarithm rules describe a structure (products turning into sums) that polynomials do not have.

Quick check

Is x34−πx\dfrac{x^3}{4} - \pi x a polynomial? Answer yes or no.

How do you find the degree and name of a polynomial?

Wrong versus right degree of (x+1)² − x², which simplifies to 2x + 1 with degree 1
The x² terms cancel, so (x + 1)² − x² is a degree 1 polynomial.

The degree of a term is the sum of the exponents on its variables. The degree of a polynomial is the largest term degree after like terms are combined. For a longer treatment, see the lesson on the degree of a polynomial.

Take 5x3y2−2xy4+75x^3y^2 - 2xy^4 + 7. The term degrees are 3+2=53+2 = 5, then 1+4=51+4 = 5, then 00. The largest is 55, so the polynomial has degree 55. Two terms can tie for the top spot, and that is fine.

The sign of a term’s exponent total matters less than where it comes from, and the next trap matters more.

Simplify first

(x+1)2−x2(x+1)^2 - x^2 looks like degree 2, but it expands to 2x+12x+1, which is degree 1. The x2x^2 terms cancel, so combine like terms before reading off the degree.

Polynomials get names two ways. By number of terms: monomial (one), binomial (two), trinomial (three). Beyond three, most classes just say polynomial. A common shorthand claims a polynomial needs four or more terms, but x+1x+1 is a polynomial too. Polynomial is the whole family, and the others are members of it. By degree:

  • Degree 0: constant, such as 77
  • Degree 1: linear, such as 2x−52x - 5
  • Degree 2: quadratic, such as x2−4x+4x^2 - 4x + 4
  • Degree 3: cubic, such as 2x3+x−82x^3 + x - 8
  • Degree 4 and 5: quartic and quintic

The zero polynomial, 00, is the one oddity. Every coefficient is zero, so there is no highest nonzero term and no degree.

Why do polynomials only allow whole-number exponents?

Here is the clean idea: polynomials are exactly what you can build from xx and ordinary numbers using only addition, subtraction and multiplication. Multiplying xx by itself gives x2x^2, x3x^3 and so on, and nothing else. Roots, reciprocals and exponentials need extra tools, so they fall outside the family.

The payoff is closure. Add, subtract or multiply two polynomials and the result is a polynomial, the same way integers stay integers under those operations. The degree rules are tidy: a sum has degree at most that of the larger one (less if leading terms cancel), and a product has degree equal to the sum of the degrees. Lessons on adding and subtracting polynomials and multiplying polynomials rest on this.

Expand (x+2)(x2−x+3)(x+2)(x^2 - x + 3):

x3−x2+3x+2x2−2x+6=x3+x2+x+6x^3 - x^2 + 3x + 2x^2 - 2x + 6 = x^3 + x^2 + x + 6

The degree is 1+2=31 + 2 = 3, as predicted. Now test with x=1x = 1: the left side gives 3⋅3=93 \cdot 3 = 9 and the right side gives 1+1+1+6=91 + 1 + 1 + 6 = 9. They match.

The one-number check

A correct expansion must agree with the original at every value of xx, so x=1x=1 (which sums the coefficients) is a fast test. A match is not proof, so try x=2x=2 as well: 4⋅5=204 \cdot 5 = 20 and 8+4+2+6=208+4+2+6 = 20.

Division is where closure breaks. Dividing one polynomial by another usually gives a rational expression, just as dividing integers gives fractions. The remedy is the same as in arithmetic: divide with a remainder. That is the job of polynomial long division.

How do you evaluate a polynomial quickly?

Four step cards evaluating 2x³ − 5x² + 4x − 7 at x = 3 in nested form to get 14
Multiply by x and add the next coefficient, and the last number is the value 14.

Rewrite the polynomial in nested form so you never compute a high power. For 2x3−5x2+4x−72x^3 - 5x^2 + 4x - 7:

((2x−5)x+4)x−7((2x - 5)x + 4)x - 7

Start with the leading coefficient. Multiply by xx, add the next coefficient, and repeat. This is the same arithmetic as synthetic division, and the last number is the remainder. The remainder theorem says that remainder equals f(a)f(a) when you divide by x−ax - a.

Evaluate at x=3x = 3:

2  →  2(3)−5=1  →  1(3)+4=7  →  7(3)−7=142 \;\to\; 2(3) - 5 = 1 \;\to\; 1(3) + 4 = 7 \;\to\; 7(3) - 7 = 14

Direct check: 2(27)−5(9)+4(3)−7=54−45+12−7=142(27) - 5(9) + 4(3) - 7 = 54 - 45 + 12 - 7 = 14. Both routes agree, and the nested route used three multiplications.

Two traps. First, a missing power needs a zero coefficient. For x3−4x+1x^3 - 4x + 1, run the process on 1,0,−4,11, 0, -4, 1, or every later step is off. Second, nested form protects you at negative inputs, where a slip like −22-2^2 versus (−2)2(-2)^2 turns 44 into −4-4. Each step only multiplies and adds, so the sign handling stays simple.

Quick check

Evaluate x3+2x2−5x^3 + 2x^2 - 5 at x=2x = 2 using nested form.

How do roots and factors connect in a polynomial?

A root is an input that makes the polynomial zero, and every root corresponds to a factor. The factor theorem states that x−ax - a is a factor of f(x)f(x) exactly when f(a)=0f(a) = 0. A degree nn polynomial has at most nn real roots, and exactly nn if you count complex and repeated ones.

To find roots by hand when the coefficients are integers, the rational root theorem gives a short candidate list: each rational root is ±pq\pm\frac{p}{q}, where pp divides the constant term and qq divides the leading coefficient. Factor x3−2x2−5x+6x^3 - 2x^2 - 5x + 6:

  1. The leading coefficient is 11, so candidates are the factors of 66: ±1,±2,±3,±6\pm1, \pm2, \pm3, \pm6.
  2. Test x=1x = 1: 1−2−5+6=01 - 2 - 5 + 6 = 0, so x−1x - 1 is a factor.
  3. Synthetic division of 1,−2,−5,61, -2, -5, 6 by 11 gives 1,−1,−6,01, -1, -6, 0, so the quotient is x2−x−6x^2 - x - 6.
  4. Factor the quadratic: x2−x−6=(x−3)(x+2)x^2 - x - 6 = (x-3)(x+2).

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

Check without expanding. For a monic cubic x3+bx2+cx+dx^3 + bx^2 + cx + d, the roots sum to −b-b and multiply to −d-d. Here the roots are 1,3,−21, 3, -2: the sum is 2=−(−2)2 = -(-2) and the product is −6=−6-6 = -6.

Try this: Evaluate x3+2x2−x−2x^3 + 2x^2 - x - 2 at x=−1x = -1. If it is zero, finish the factoring. The three roots should add up to −2-2.

The method has limits. x3−3x+1x^3 - 3x + 1 has no rational roots (testing ±1\pm1 gives −1-1 and 33), yet it crosses the axis three times. And for degree 5 and higher, no general formula in radicals exists at all, which is why numerical methods take over.

How can you read the degree from a table or graph?

Take outputs at equally spaced inputs and subtract neighbours repeatedly. For a polynomial of degree nn, the nnth differences are constant, and that constant equals n!n! times the leading coefficient. For x3x^3 at x=0,1,2,3,4x = 0, 1, 2, 3, 4 the outputs are 0,1,8,27,640, 1, 8, 27, 64. The first differences are 1,7,19,371, 7, 19, 37, the second are 6,12,186, 12, 18, and the third are 6,66, 6. The constant 66 equals 3!⋅13! \cdot 1.

Constant first differences mean a linear polynomial, which is an arithmetic sequence (the arithmetic series formula applies to its sums). If the differences never settle, the data is not polynomial, as with 2x2^x, whose differences are themselves powers of 22.

On a graph, a polynomial is smooth: no corners, no breaks, no asymptotes. A degree nn polynomial has at most n−1n - 1 turning points. The ends follow the leading term. With even degree, both ends point the same way; with odd degree, they point opposite ways. A positive leading coefficient sends the right end upward. A sharp corner like the one in ∣x∣|x| or a vertical asymptote rules out a polynomial immediately.

Quick check

A polynomial has outputs 2,5,12,23,382, 5, 12, 23, 38 at x=0,1,2,3,4x = 0, 1, 2, 3, 4. What is its degree?

Where are polynomials used in real life?

Gravity produces a quadratic. A ball thrown upward from 55 ft at 4848 ft/s has height

h(t)=−16t2+48t+5h(t) = -16t^2 + 48t + 5

The peak occurs at t=−b2a=−48−32=1.5t = \frac{-b}{2a} = \frac{-48}{-32} = 1.5 seconds, and h(1.5)=−16(2.25)+72+5=−36+72+5=41h(1.5) = -16(2.25) + 72 + 5 = -36 + 72 + 5 = 41 feet.

Polynomials are also what hardware can compute directly. A processor only adds and multiplies, so calculators estimate sin⁡x\sin x, cos⁡x\cos x and exe^x with polynomial approximations. Fonts and animation paths use cubic curves, and a box cut from a 10×810 \times 8 sheet with corner squares of side xx removed has volume x(10−2x)(8−2x)x(10-2x)(8-2x), a cubic you can maximize.

The same idea shows up in linear algebra. The eigenvalues of a 2×22 \times 2 matrix are roots of a quadratic found from the determinant of a 2×2 matrix with λ\lambda subtracted along the diagonal. QR codes and many storage systems rely on polynomials too, using them to detect and repair damaged data.

Practice problems

0 of 5 solved

  1. What is the degree of 3x2y3−4xy+8x43x^2y^3 - 4xy + 8x^4?

  2. Simplify (3x2−5x+4)−(x2−2x−6)(3x^2 - 5x + 4) - (x^2 - 2x - 6).

  3. Evaluate f(x)=2x3−5x2+x−4f(x) = 2x^3 - 5x^2 + x - 4 at x=−2x = -2.

  4. Find kk so that x−2x - 2 is a factor of x3+kx2−4x+4x^3 + kx^2 - 4x + 4.

  5. Factor completely: x3−7x+6x^3 - 7x + 6.

Common questions

Is a constant like 7 a polynomial?

Yes. The number 77 can be written as 7x07x^0, so it is a polynomial of degree 0. The number 00 is also a polynomial, called the zero polynomial, and it is usually said to have no degree.

Can a polynomial have fractions in it?

Yes, as coefficients. 23x2+x5\frac{2}{3}x^2 + \frac{x}{5} is a polynomial. A fraction with a variable in the denominator, such as 2x\frac{2}{x}, is not.

Is a binomial a polynomial?

Yes. Monomial, binomial and trinomial are names for polynomials with one, two and three terms. The word polynomial covers all of them, and any number of terms as long as the count is finite.

How do you find the degree of a polynomial with two variables?

Add the exponents of the variables in each term, then take the largest sum. For x2y2+3x3+4yx^2y^2 + 3x^3 + 4y the term degrees are 44, 33 and 11, so the degree is 44.

Is x\sqrt{x} a polynomial?

No. Since x=x1/2\sqrt{x} = x^{1/2}, the exponent is not a whole number. The same goes for x−1x^{-1}, 1x\frac{1}{x} and 2x2^x.

How many roots can a polynomial have?

A polynomial of degree nn has at most nn real roots. Counting complex roots and repeated roots, it has exactly nn.

Up next