Tutorials › Calculus I › Leading Coefficients and Polynomial Arithmetic

Algebraic Function Structures · Tutorial 40 of 1495

Leading Coefficients and Polynomial Arithmetic

Add, subtract, and multiply polynomials while tracking which terms determine the degree and leading coefficient of each result.

Beginner 9 min read

What You'll Learn

  • Combine like powers when adding and subtracting polynomials.
  • Determine the degree and leading coefficient of a sum or difference when the input degrees differ.
  • Handle equal-degree sums and differences, including cancellation of leading terms.
  • Multiply polynomials and track the degree and leading coefficient of the product.
  • Recognize when a polynomial result is zero and its degree is undefined.
  • Check polynomial arithmetic by evaluating the expressions at a chosen input.

Introduction

Polynomial arithmetic uses the familiar operations of addition, subtraction, and multiplication, but each operation also has a predictable effect on the degree and leading coefficient. Tracking those features helps you check a calculation and understand the shape of the resulting expression.

The key caution is that the highest-degree terms can cancel when polynomials are added or subtracted. Thus, the degree of a sum or difference is not always the larger of the two input degrees. Multiplication behaves more consistently: for two nonzero polynomials, the degrees add and the leading coefficients multiply.

Polynomial Form and Leading Coefficient

A polynomial with real coefficients can be written in standard form, with powers of \(x\) in descending order. For a nonzero polynomial, its degree is the greatest exponent with a nonzero coefficient, and its leading coefficient is the coefficient of that term. For example, \(5x^3-2x+7\) has degree \(3\) and leading coefficient \(5\).

When comparing terms, it is useful to include missing powers with coefficient zero. For instance, \(5x^3-2x+7\) can be viewed as \(5x^3+0x^2-2x+7\). This makes it clear which coefficients combine during addition and subtraction.

Definition: For a nonzero polynomial \(P(x)=a_nx^n+\cdots+a_1x+a_0\), where \(a_n\ne 0\), the degree is \(n\), written \(\deg(P)=n\), and the leading coefficient is \(a_n\). The zero polynomial has no degree under this convention, because it has no nonzero term with a greatest exponent.

Throughout, the polynomials have real coefficients. If an operation produces the zero polynomial, statements about its degree or leading coefficient do not apply. Keeping this case separate avoids treating a missing leading term as though it had a nonzero coefficient.

Adding and Subtracting Polynomials

To add or subtract polynomials, combine the coefficients of matching powers. Subtraction means subtracting every term of the second polynomial: in \(P(x)-Q(x)\), each coefficient of \(Q\) changes sign before like powers are combined.

If the degrees of two nonzero polynomials differ, the higher-degree term cannot be cancelled by any term of the other polynomial, because the other polynomial has no term of that power. This determines the degree of the result. The leading coefficient depends on whether the higher-degree polynomial is added or subtracted.

Theorem: Let \(P\) and \(Q\) be nonzero polynomials of different degrees. Then \(P+Q\) and \(P-Q\) both have degree equal to the larger of \(\deg(P)\) and \(\deg(Q)\). For \(P+Q\), the result's leading coefficient is the leading coefficient of the higher-degree polynomial. For \(P-Q\), it is that coefficient if \(P\) has higher degree, and its negative if \(Q\) has higher degree.

If the degrees are equal, the leading terms have the same power, so their coefficients combine. For a sum, those leading coefficients are added; for a difference, the leading coefficient of \(Q\) is subtracted from the leading coefficient of \(P\). If the resulting coefficient is nonzero, it is the leading coefficient of the result. If it is zero, the degree drops and must be found from the next nonzero term. The result might even be the zero polynomial.

Important: When \(\deg(P)=\deg(Q)=n\), the coefficient of \(x^n\) in \(P+Q\) is the sum of the two leading coefficients, and in \(P-Q\) it is their difference. If that coefficient is zero, it does not determine the degree of the result.

Worked Example: Adding and Subtracting Different-Degree Polynomials

Worked Example: Adding and Subtracting Different-Degree Polynomials

Let \(P(x)=4x^4-3x^2+2x-5\) and \(Q(x)=-2x^3+5x^2-7x+1\). Find \(P+Q\) and \(P-Q\), and state each result's degree and leading coefficient.

First, write in the missing \(x^4\) term of \(Q\) with coefficient zero, so the matching powers are visible:

$$ \begin{aligned} P(x)&=4x^4+0x^3-3x^2+2x-5,\\ Q(x)&=0x^4-2x^3+5x^2-7x+1. \end{aligned} $$

Add matching coefficients:

$$ \begin{aligned} (P+Q)(x) &=(4+0)x^4+(0-2)x^3+(-3+5)x^2\\ &\quad +(2-7)x+(-5+1)\\ &=4x^4-2x^3+2x^2-5x-4. \end{aligned} $$

The degree is \(4\), and the leading coefficient is \(4\). For the subtraction, subtract each coefficient of \(Q\):

$$ \begin{aligned} (P-Q)(x) &=(4-0)x^4+(0-(-2))x^3+(-3-5)x^2\\ &\quad +(2-(-7))x+(-5-1)\\ &=4x^4+2x^3-8x^2+9x-6. \end{aligned} $$

This result also has degree \(4\) and leading coefficient \(4\). As a check, at \(x=1\), \(P(1)=-2\) and \(Q(1)=-3\). The calculated sum gives \(-5=P(1)+Q(1)\), and the calculated difference gives \(1=P(1)-Q(1)\).

Why the Addition and Subtraction Rules Hold

Suppose \(P\) has degree \(m\) and \(Q\) has degree \(n\), with \(m>n\). Write the leading term of \(P\) as \(a_mx^m\), where \(a_m\ne0\). Since \(Q\) has degree \(n<m\), it contains no \(x^m\) term. Therefore, in both \(P+Q\) and \(P-Q\), the coefficient of \(x^m\) remains \(a_m\), and every other term has a lower power. The result has degree \(m\) and leading coefficient \(a_m\).

Now suppose \(n>m\), and write the leading term of \(Q\) as \(b_nx^n\), where \(b_n\ne0\). The polynomial \(P\) has no \(x^n\) term. Thus, \(P+Q\) has leading term \(b_nx^n\), whereas \(P-Q\) has leading term \(-b_nx^n\), because the entire polynomial \(Q\) is subtracted. This proves both cases in the different-degree rule.

If the degrees are equal, say \(m=n\), the coefficient of the shared highest power \(x^n\) is \(a_n+b_n\) in \(P+Q\) and \(a_n-b_n\) in \(P-Q\). If that coefficient is nonzero, the degree remains \(n\). If it is zero, the \(x^n\) terms cancel, so lower powers must be checked. This explains why equal degrees alone do not determine the degree of the sum or difference.

Worked Example: Equal-Degree Terms Cancel

Worked Example: Equal-Degree Terms Cancel

Let \(P(x)=3x^3+2x-4\) and \(Q(x)=3x^3-x^2+5x+1\). Find \(P-Q\), then determine its degree and leading coefficient.

Both polynomials have degree \(3\) and leading coefficient \(3\). Subtract coefficient by coefficient, including the missing \(x^2\) term in \(P\):

$$ \begin{aligned} (P-Q)(x) &=(3-3)x^3+(0-(-1))x^2+(2-5)x+(-4-1)\\ &=0x^3+x^2-3x-5\\ &=x^2-3x-5. \end{aligned} $$

The \(x^3\) terms cancel. The highest remaining nonzero power is \(x^2\), so the result has degree \(2\) and leading coefficient \(1\). Check at \(x=2\): \(P(2)=24\) and \(Q(2)=31\), giving \(P(2)-Q(2)=-7\). The calculated result gives \(2^2-3(2)-5=4-6-5=-7\), as required.

Multiplying Polynomials

To multiply polynomials, distribute each term of one polynomial across every term of the other, then combine like powers. When multiplying individual terms, multiply their coefficients and add their exponents: \( (ax^r)(bx^s)=abx^{r+s}\).

For two nonzero polynomials, the product has degree equal to the sum of their degrees, and its leading coefficient is the product of their leading coefficients. Unlike addition and subtraction, the highest-degree product term cannot be cancelled by another pair of terms: only the two leading terms can produce the sum of the two highest degrees.

Theorem: If \(P\) and \(Q\) are nonzero polynomials with degrees \(m\) and \(n\), and leading coefficients \(a_m\) and \(b_n\), respectively, then \(PQ\) has degree \(m+n\) and leading coefficient \(a_mb_n\). If either factor is the zero polynomial, the product is the zero polynomial.

Deriving the Multiplication Rule

Write \(P(x)=a_mx^m+\) terms of lower degree and \(Q(x)=b_nx^n+\) terms of lower degree, with \(a_m\ne0\) and \(b_n\ne0\). Multiplying the leading terms gives \(a_mb_nx^{m+n}\). Because all other terms in \(P\) have powers below \(m\), and all other terms in \(Q\) have powers below \(n\), every other pair of terms has a product whose exponent is less than \(m+n\). Therefore, no other product contributes to the power \(x^{m+n}\). Its coefficient is \(a_mb_n\ne0\), so the product has degree \(m+n\) and that leading coefficient.

Worked Example: Multiplying and Tracking the Leading Term

Worked Example: Multiplying and Tracking the Leading Term

Multiply \((2x^2-3x+1)(x^2+4x-2)\), and identify the degree and leading coefficient.

Distribute each term of the first factor across the second:

$$ \begin{aligned} (2x^2-3x+1)(x^2+4x-2) &=2x^2(x^2+4x-2)-3x(x^2+4x-2)\\ &\quad +1(x^2+4x-2)\\ &=(2x^4+8x^3-4x^2)\\ &\quad +(-3x^3-12x^2+6x)\\ &\quad +(x^2+4x-2)\\ &=2x^4+5x^3-15x^2+10x-2. \end{aligned} $$

The degrees add to \(2+2=4\), and the leading coefficients multiply to \(2\cdot1=2\). Thus the result has degree \(4\) and leading coefficient \(2\). Check by evaluating at \(x=2\): the factors give \(2(2^2)-3(2)+1=3\) and \(2^2+4(2)-2=10\), so their product is \(30\). The expanded result gives \(2(2^4)+5(2^3)-15(2^2)+10(2)-2=32+40-60+20-2=30\).

A Common Mistake: Forgetting the Sign in Subtraction

A frequent error is to copy the leading coefficient of the higher-degree polynomial without accounting for whether that polynomial is being subtracted. For example, let \(P(x)=1\) and \(Q(x)=2x\). Since \(Q\) has higher degree, it determines the degree of \(P-Q\), but its leading coefficient changes sign:

$$ P(x)-Q(x)=1-2x=-2x+1. $$

The result has degree \(1\) and leading coefficient \(-2\). The incorrect calculation \(P-Q=2x+1\) treats the leading term of \(Q\) as positive even though \(Q\) is subtracted. Check at \(x=1\): the original expression gives \(1-2=-1\), and the corrected polynomial gives \(-2+1=-1\); the incorrect expression would give \(3\).

Takeaway: For different-degree addition or subtraction, the higher-degree polynomial determines the degree. For subtraction, if that higher-degree polynomial is the second one, its leading coefficient is negated.

Why These Rules Matter

Degree and leading coefficient provide quick checks on polynomial calculations. Before expanding a product, you can predict its degree and leading coefficient. After adding or subtracting, you can check whether the highest terms should remain or cancel. These predictions do not replace the calculation, but they can reveal a sign error or an incorrectly combined term.

There are two limits to keep in mind. First, when equal-degree terms cancel, inspect lower powers rather than assuming the original degree remains. Second, a zero result has no leading coefficient and, under the convention used here, no degree. For instance, \(P-P=0\) for every polynomial \(P\); it would be incorrect to assign that result the degree of \(P\).

Summary

For addition and subtraction, combine coefficients of like powers. If two nonzero input polynomials have different degrees, their sum and difference have the larger degree. In subtraction, the leading coefficient is negated when the higher-degree polynomial is the one being subtracted. If the input degrees are equal, combine their leading coefficients; cancellation may lower the degree or produce zero.

For multiplication of nonzero polynomials, add the degrees and multiply the leading coefficients. The leading product term comes only from multiplying the two leading terms. These rules give both a way to calculate and a way to check polynomial arithmetic.

Check Your Understanding

Answer each question. For calculations, state the degree and leading coefficient whenever the result is nonzero.

  1. If \(P\) has degree \(5\) and leading coefficient \(3\), and \(Q\) has degree \(2\), what are the degree and leading coefficient of \(P+Q\)? What are they for \(P-Q\)?
  2. Let \(A(x)=4x^3+x\) and \(B(x)=4x^3-2x^2+3\). Find \(A-B\). Why is its degree less than \(3\)?
  3. Can the sum of two degree-\(4\) polynomials have degree less than \(4\)? Explain what must happen to their leading coefficients.
  4. If nonzero polynomials \(R\) and \(S\) have degrees \(3\) and \(6\), and leading coefficients \(-2\) and \(5\), respectively, what are the degree and leading coefficient of \(RS\)?
  5. What is the degree of the zero polynomial under the convention in this tutorial, and why is it different from the degree of a nonzero polynomial?

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