TExcelTAD
Home › School Algebra, Identities & Quadratic Equations › Adding and Subtracting Polynomials in Horizontal and Vertical Form

Adding and Subtracting Polynomials in Horizontal and Vertical Form

Once you know how to combine like terms, adding and subtracting entire polynomials is a natural next step. In school examinations, you will encounter two primary methods for organizing this work on paper:

  1. The Horizontal Method: Grouping like terms across rows using brackets.
  2. The Vertical Column Method: Aligning terms of the same power in clean vertical columns, exactly like column addition and subtraction in elementary arithmetic.

Both methods yield identical results. Choosing the right layout on your notebook paper will prevent sign errors and keep your work neat and auditable.


1. Concepts & Paper Visuals

Addition: Removing Brackets Safely

When adding two polynomials P(x)P(x) and Q(x)Q(x):

(ax2+bx+c)+(dx2+ex+f)(a x^2 + b x + c) + (d x^2 + e x + f)

A plus sign in front of a bracket does not change any signs inside. You can simply remove the brackets and combine like terms:

=(a+d)x2+(b+e)x+(c+f)= (a + d)x^2 + (b + e)x + (c + f)

Subtraction: The Opposite Polynomial Rule

When subtracting polynomial Q(x)Q(x) from P(x)P(x):

P(x)−Q(x)P(x) - Q(x)

[!CAUTION] The Subtraction Rule on Paper: Subtracting a polynomial means adding its opposite. You must distribute the minus sign to every single term inside the second bracket:

−(ax2+bx−c)=−ax2−bx+c-(a x^2 + b x - c) = -a x^2 - b x + c

Failing to distribute the minus sign past the first term is the #1 exam error in algebra.


2. The Two Paper Layouts

Method A: The Horizontal Layout

Use this method for shorter polynomials (binomials and trinomials). Write the expression horizontally, distribute any negative signs, group like terms with matching underlines, and combine:

(3x2−5x+4)−(x2−8x−2)=3x2−5x+4−x2+8x+2=(3x2−x2)+(−5x+8x)+(4+2)=2x2+3x+6\begin{aligned} (3x^2 - 5x + 4) - (x^2 - 8x - 2) &= 3x^2 - 5x + 4 - x^2 + 8x + 2 \\ &= (3x^2 - x^2) + (-5x + 8x) + (4 + 2) \\ &= 2x^2 + 3x + 6 \end{aligned}

Method B: The Vertical Column Layout

Use this method for longer polynomials of degree 33 or higher, or when terms have missing powers.

  1. Write the first polynomial in descending standard form on the top line.
  2. Write the second polynomial directly beneath it, placing like terms in the exact same vertical column.
  3. If a term with a certain power is missing, insert a 00 placeholder (e.g. +0x2+ 0x^2) to keep columns straight.
  4. Draw a horizontal rule line --- and add or subtract vertically column-by-column.
      Column x³        Column x²        Column x¹        Column Constants
     ┌───────────┐    ┌───────────┐    ┌───────────┐    ┌────────────────┐
         4x³            - 2x²            + 5x                 - 7
   +     3x³            + 6x²            - 8x                 + 2
   ───────────────────────────────────────────────────────────────────────
         7x³            + 4x²            - 3x                 - 5

3. Step-by-Step Notebook Examples

Example 1: Horizontal Addition of Trinomials

Problem: Add the polynomials A=5x2−7x+9A = 5x^2 - 7x + 9 and B=−2x2+4x−11B = -2x^2 + 4x - 11.

Step-by-step Solution:

  1. Write the addition with brackets:

    A+B=(5x2−7x+9)+(−2x2+4x−11)A + B = (5x^2 - 7x + 9) + (-2x^2 + 4x - 11)
  2. Remove brackets (signs remain unchanged):

    A+B=5x2−7x+9−2x2+4x−11A + B = 5x^2 - 7x + 9 - 2x^2 + 4x - 11
  3. Group like terms:

    A+B=(5x2−2x2)+(−7x+4x)+(9−11)A + B = (5x^2 - 2x^2) + (-7x + 4x) + (9 - 11)
  4. Combine coefficients:

    5x2−2x2=3x2−7x+4x=−3x9−11=−2\begin{aligned} 5x^2 - 2x^2 &= 3x^2 \\ -7x + 4x &= -3x \\ 9 - 11 &= -2 \end{aligned}

Final Answer:

3x2−3x−23x^2 - 3x - 2

Example 2: Vertical Column Addition with Missing Powers

Problem: Add P(x)=6x4−3x2+5x−8P(x) = 6x^4 - 3x^2 + 5x - 8 and Q(x)=2x3+7x2−9x+4Q(x) = 2x^3 + 7x^2 - 9x + 4 using vertical column form.

Step-by-step Solution:

  1. Check for missing powers in standard descending order:

    • In P(x)P(x), the x3x^3 term is missing   ⟹  \implies insert +0x3+ 0x^3.
    • In Q(x)Q(x), the x4x^4 term is missing   ⟹  \implies leave empty or insert 0x40x^4.
  2. Align terms into columns on paper:

    6x4+0x3−3x2+5x−8+2x3+7x2−9x+46x4+2x3+4x2−4x−4\begin{array}{rrrrrr} & 6x^4 & + 0x^3 & - 3x^2 & + 5x & - 8 \\ + & & 2x^3 & + 7x^2 & - 9x & + 4 \\ \hline & 6x^4 & + 2x^3 & + 4x^2 & - 4x & - 4 \end{array}
  3. Verify column totals:

    • x4x^4 column: 6x46x^4
    • x3x^3 column: 0+2x3=2x30 + 2x^3 = 2x^3
    • x2x^2 column: −3x2+7x2=+4x2-3x^2 + 7x^2 = +4x^2
    • xx column: +5x−9x=−4x+5x - 9x = -4x
    • Constant column: −8+4=−4-8 + 4 = -4

Final Answer:

6x4+2x3+4x2−4x−46x^4 + 2x^3 + 4x^2 - 4x - 4

Example 3: Horizontal Subtraction with Sign Distribution

Problem: Subtract (7x3−4x2+2x−5)(7x^3 - 4x^2 + 2x - 5) from (4x3+5x2−6x+8)(4x^3 + 5x^2 - 6x + 8).

[!NOTE] Pay attention to the wording: "Subtract AA from BB" means calculate B−AB - A!

Step-by-step Solution:

  1. Write the expression in correct order:

    (4x3+5x2−6x+8)−(7x3−4x2+2x−5)(4x^3 + 5x^2 - 6x + 8) - (7x^3 - 4x^2 + 2x - 5)
  2. Distribute the minus sign across all terms of the second polynomial:

    • −(+7x3)=−7x3-(+7x^3) = -7x^3
    • −(−4x2)=+4x2-(-4x^2) = +4x^2
    • −(+2x)=−2x-(+2x) = -2x
    • −(−5)=+5-(-5) = +5
  3. Rewrite without brackets:

    4x3+5x2−6x+8−7x3+4x2−2x+54x^3 + 5x^2 - 6x + 8 - 7x^3 + 4x^2 - 2x + 5
  4. Group and combine like terms:

    x3 terms:4x3−7x3=−3x3x2 terms:5x2+4x2=+9x2x terms:−6x−2x=−8xConstants:8+5=+13\begin{aligned} x^3 \text{ terms:} &\quad 4x^3 - 7x^3 = -3x^3 \\ x^2 \text{ terms:} &\quad 5x^2 + 4x^2 = +9x^2 \\ x \text{ terms:} &\quad -6x - 2x = -8x \\ \text{Constants:} &\quad 8 + 5 = +13 \end{aligned}

Final Answer:

−3x3+9x2−8x+13-3x^3 + 9x^2 - 8x + 13

Example 4: Vertical Column Subtraction by Adding the Opposite

Problem: Compute (5x3−2x2+7)−(2x3+4x2−3x−11)(5x^3 - 2x^2 + 7) - (2x^3 + 4x^2 - 3x - 11) using vertical columns.

Step-by-step Solution:

  1. Write the top polynomial (inserting 0x0x for the missing linear term):

    5x3−2x2+0x+75x^3 - 2x^2 + 0x + 7
  2. Form the opposite (negated) of the second polynomial:

    • Original: 2x3+4x2−3x−112x^3 + 4x^2 - 3x - 11
    • Negated: −2x3−4x2+3x+11-2x^3 - 4x^2 + 3x + 11
  3. Set up vertical addition of the opposite on paper:

    5x3−2x2+0x+7+−2x3−4x2+3x+113x3−6x2+3x+18\begin{array}{rrrrr} & 5x^3 & - 2x^2 & + 0x & + 7 \\ + & -2x^3 & - 4x^2 & + 3x & + 11 \\ \hline & 3x^3 & - 6x^2 & + 3x & + 18 \end{array}
  4. Verify each column:

    • 5x3+(−2x3)=3x35x^3 + (-2x^3) = 3x^3
    • −2x2+(−4x2)=−6x2-2x^2 + (-4x^2) = -6x^2
    • 0x+3x=+3x0x + 3x = +3x
    • 7+11=+187 + 11 = +18

Final Answer:

3x3−6x2+3x+183x^3 - 6x^2 + 3x + 18

4. Common Mistakes & Paper Traps

Trap 1: The Half-Distributed Negative Sign

WRONG: −(3x2−5x+7)=−3x2−5x+7(Incorrect)\text{WRONG: } -(3x^2 - 5x + 7) = -3x^2 - 5x + 7 \quad \text{(Incorrect)}

The student only negated the first term and left the rest unchanged!

CORRECT: −(3x2−5x+7)=−3x2+5x−7✓\text{CORRECT: } -(3x^2 - 5x + 7) = -3x^2 + 5x - 7 \quad \text{\checkmark}

Trap 2: Column Misalignment

When using vertical form on blank paper without grid lines, writing terms crookedly can lead to adding an x2x^2 term to an xx term. Always write 0xk0x^k for missing powers to keep columns straight.

Trap 3: Reversing the Subtraction Order

Remember: "Subtract AA from BB" translates to B−AB - A, not A−BA - B.

  • If A=3A = 3 and B=10B = 10, subtracting 33 from 1010 is 10−3=710 - 3 = 7.
  • Never write A−BA - B when asked to subtract AA from BB.

5. Pencil & Paper Practice

Perform each polynomial operation on your notepad.

  1. Horizontal Addition: Simplify (9y3−4y2+6y−1)+(2y3+4y2−8y+5)(9y^3 - 4y^2 + 6y - 1) + (2y^3 + 4y^2 - 8y + 5).
  2. Vertical Subtraction: Compute (4x3−6x+9)−(x3+3x2−2x+14)(4x^3 - 6x + 9) - (x^3 + 3x^2 - 2x + 14) using the vertical column method.
  3. Word Problem Translation: The perimeter of a triangle is 12x2−5x+1812x^2 - 5x + 18. Two of its sides are 3x2+2x−43x^2 + 2x - 4 and 4x2−7x+104x^2 - 7x + 10. Find the expression for the third side.
Click to view step-by-step solutions

Solution to Practice 1

Remove brackets and combine like terms:

y3 terms:9y3+2y3=11y3y2 terms:−4y2+4y2=0y2=0y terms:6y−8y=−2yConstants:−1+5=+4\begin{aligned} y^3 \text{ terms:} &\quad 9y^3 + 2y^3 = 11y^3 \\ y^2 \text{ terms:} &\quad -4y^2 + 4y^2 = 0y^2 = 0 \\ y \text{ terms:} &\quad 6y - 8y = -2y \\ \text{Constants:} &\quad -1 + 5 = +4 \end{aligned}

Final Answer: 11y3−2y+411y^3 - 2y + 4

Solution to Practice 2

Insert 0x20x^2 in the first polynomial, negate the second polynomial, and set up columns:

4x3+0x2−6x+9+−x3−3x2+2x−143x3−3x2−4x−5\begin{array}{rrrrr} & 4x^3 & + 0x^2 & - 6x & + 9 \\ + & -x^3 & - 3x^2 & + 2x & - 14 \\ \hline & 3x^3 & - 3x^2 & - 4x & - 5 \end{array}

Final Answer: 3x3−3x2−4x−53x^3 - 3x^2 - 4x - 5

Solution to Practice 3

The third side S3S_3 is the perimeter minus the sum of the two given sides:

S3=(12x2−5x+18)−[(3x2+2x−4)+(4x2−7x+10)]S_3 = (12x^2 - 5x + 18) - \left[ (3x^2 + 2x - 4) + (4x^2 - 7x + 10) \right]

First, add the two known sides:

(3x2+4x2)+(2x−7x)+(−4+10)=7x2−5x+6(3x^2 + 4x^2) + (2x - 7x) + (-4 + 10) = 7x^2 - 5x + 6

Now subtract this sum from the perimeter:

S3=(12x2−5x+18)−(7x2−5x+6)=12x2−5x+18−7x2+5x−6=(12−7)x2+(−5+5)x+(18−6)=5x2+0x+12=5x2+12\begin{aligned} S_3 &= (12x^2 - 5x + 18) - (7x^2 - 5x + 6) \\ &= 12x^2 - 5x + 18 - 7x^2 + 5x - 6 \\ &= (12 - 7)x^2 + (-5 + 5)x + (18 - 6) \\ &= 5x^2 + 0x + 12 \\ &= 5x^2 + 12 \end{aligned}

Final Answer: 5x2+125x^2 + 12


6. Summary

  • When adding polynomials, simply drop brackets and combine like terms.
  • When subtracting polynomials, distribute the negative sign to every term inside the second bracket (add the opposite polynomial).
  • The vertical method provides excellent visual clarity for higher-degree polynomials; always insert 0xk0x^k placeholders for missing terms.
  • Next, explore how polynomials interact under multiplication in Monomial by Polynomial and Binomial by Binomial FOIL.

Test yourself

What is the result of (4x2−3x+7)−(2x2+5x−1)(4x^2 - 3x + 7) - (2x^2 + 5x - 1)?

  1. 2x2−8x+82x^2 - 8x + 8
  2. 2x2+2x+62x^2 + 2x + 6
  3. 2x2−8x+62x^2 - 8x + 6
  4. 6x2+2x+86x^2 + 2x + 8

When setting up the vertical subtraction (5x3−4x+2)−(2x3−3x2+1)(5x^3 - 4x + 2) - (2x^3 - 3x^2 + 1) on paper, how should the top polynomial be written?

  1. 5x3−4x+25x^3 - 4x + 2
  2. 5x3+0x2−4x+25x^3 + 0x^2 - 4x + 2
  3. 5x3−4x2+0x+25x^3 - 4x^2 + 0x + 2
  4. 5x3−4x+2+0x25x^3 - 4x + 2 + 0x^2

Subtract 3x2−5x+43x^2 - 5x + 4 from 7x2−2x+17x^2 - 2x + 1. What is the resulting polynomial?

  1. −4x2−3x+3-4x^2 - 3x + 3
  2. 4x2+3x−34x^2 + 3x - 3
  3. 4x2−7x+54x^2 - 7x + 5
  4. 10x2−7x+510x^2 - 7x + 5