• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Polynomial

Addition and Subtraction of Polynomials

Basic Concepts

The operations of addition and subtraction on polynomials are essentially the same as for other algebraic forms: we can only add or subtract like terms.

What Are Like Terms?

Like terms are terms that have the exact same variables and variable powers. The coefficients of these terms can be different.

Examples of Like Terms:

  • 3x, −7x, −15x3x, \space -7x, \space -\frac{1}{5}x3x, −7x, −51​x (all have the variable xxx to the power of 1)
  • 12x3, 4x3, −2x3\frac{1}{2}x^3, \space 4x^3, \space -2x^321​x3, 4x3, −2x3 (all have the variable xxx to the power of 3)
  • 2x2yz3, 34x2yz3, −5z3x2y2x^2yz^3, \space \frac{3}{4}x^2yz^3, \space -5z^3x^2y2x2yz3, 43​x2yz3, −5z3x2y (all have the variable xxx to the power of 2, yyy to the power of 1, and zzz to the power of 3)

Examples of Unlike Terms:

  • 11x11x11x and 4x24x^24x2 (different powers of xxx )
  • 4x34x^34x3 and −2x4-2x^4−2x4 (different powers of xxx )
  • 4x24x^24x2 and −x5-x^5−x5 (different powers of xxx )
  • 34x2yz3\frac{3}{4}x^2yz^343​x2yz3 and 2x2y2x^2y2x2y (missing the variable z3z^3z3)
  • 34x2yz3\frac{3}{4}x^2yz^343​x2yz3 and −7xy2z3-7xy^2z^3−7xy2z3 (different powers of xxx and yyy)

Polynomial Addition

To add two polynomials, we simply add the coefficients of like terms.

Horizontal Method:

  1. Write both polynomials in parentheses connected by a plus sign.
  2. Remove the parentheses.
  3. Group the like terms.
  4. Add the coefficients of each group of like terms (use the distributive property).

Example:

Find the result of (2x3+7x2+3x+5)+(6x3+2x2+4x+1)(2x^3 + 7x^2 + 3x + 5) + (6x^3 + 2x^2 + 4x + 1)(2x3+7x2+3x+5)+(6x3+2x2+4x+1).

(2x3+7x2+3x+5)+(6x3+2x2+4x+1)(2x^3 + 7x^2 + 3x + 5) + (6x^3 + 2x^2 + 4x + 1)(2x3+7x2+3x+5)+(6x3+2x2+4x+1)
=2x3+7x2+3x+5+6x3+2x2+4x+1(Remove parentheses)= 2x^3 + 7x^2 + 3x + 5 + 6x^3 + 2x^2 + 4x + 1 \quad \text{(Remove parentheses)}=2x3+7x2+3x+5+6x3+2x2+4x+1(Remove parentheses)
=(2x3+6x3)+(7x2+2x2)+(3x+4x)+(5+1)(Group like terms)= (2x^3 + 6x^3) + (7x^2 + 2x^2) + (3x + 4x) + (5 + 1) \quad \text{(Group like terms)}=(2x3+6x3)+(7x2+2x2)+(3x+4x)+(5+1)(Group like terms)
=(2+6)x3+(7+2)x2+(3+4)x+(5+1)(Distributive property)= (2 + 6)x^3 + (7 + 2)x^2 + (3 + 4)x + (5 + 1) \quad \text{(Distributive property)}=(2+6)x3+(7+2)x2+(3+4)x+(5+1)(Distributive property)
=8x3+9x2+7x+6(Final result)= 8x^3 + 9x^2 + 7x + 6 \quad \text{(Final result)}=8x3+9x2+7x+6(Final result)

Polynomial Subtraction

To subtract two polynomials, we change the sign of each term in the polynomial being subtracted, then add them as usual.

Horizontal Method:

  1. Write both polynomials in parentheses connected by a minus sign.
  2. Remove the parentheses. Remember: change the sign of each term in the second parenthesis (distribute the negative sign).
  3. Group the like terms.
  4. Add the coefficients of each group of like terms.

Example:

Find the result of (9x3+4x2+6x+5)−(2x3+3x2+3x+4)(9x^3 + 4x^2 + 6x + 5) - (2x^3 + 3x^2 + 3x + 4)(9x3+4x2+6x+5)−(2x3+3x2+3x+4).

(9x3+4x2+6x+5)−(2x3+3x2+3x+4)(9x^3 + 4x^2 + 6x + 5) - (2x^3 + 3x^2 + 3x + 4)(9x3+4x2+6x+5)−(2x3+3x2+3x+4)
=9x3+4x2+6x+5−2x3−3x2−3x−4(Change signs & remove parentheses)= 9x^3 + 4x^2 + 6x + 5 - 2x^3 - 3x^2 - 3x - 4 \quad \text{(Change signs \& remove parentheses)}=9x3+4x2+6x+5−2x3−3x2−3x−4(Change signs & remove parentheses)
=(9x3−2x3)+(4x2−3x2)+(6x−3x)+(5−4)(Group like terms)= (9x^3 - 2x^3) + (4x^2 - 3x^2) + (6x - 3x) + (5 - 4) \quad \text{(Group like terms)}=(9x3−2x3)+(4x2−3x2)+(6x−3x)+(5−4)(Group like terms)
=(9−2)x3+(4−3)x2+(6−3)x+(5−4)(Distributive property)= (9 - 2)x^3 + (4 - 3)x^2 + (6 - 3)x + (5 - 4) \quad \text{(Distributive property)}=(9−2)x3+(4−3)x2+(6−3)x+(5−4)(Distributive property)
=7x3+1x2+3x+1(Final result)= 7x^3 + 1x^2 + 3x + 1 \quad \text{(Final result)}=7x3+1x2+3x+1(Final result)
=7x3+x2+3x+1= 7x^3 + x^2 + 3x + 1=7x3+x2+3x+1

Note: When subtracting, the negative sign in front of the parenthesis changes the sign of every term inside that parenthesis.

Vertical Method

Besides the horizontal method, polynomial addition and subtraction can also be done using the vertical method, similar to adding and subtracting regular numbers.

Steps:

  1. Arrange both polynomials vertically.
  2. Ensure like terms are aligned in the same column.
  3. If a term is missing in one of the polynomials, leave a blank space or write a coefficient of 0.
  4. Add or subtract the coefficients in each column.

Example of Vertical Addition:

2x3+7x2+3x+5+6x3+2x2+4x+18x3+9x2+7x+6\begin{array}{rrrrr} & 2x^3 & +7x^2 & +3x & +5 \\ + & 6x^3 & +2x^2 & +4x & +1 \\ \hline & 8x^3 & +9x^2 & +7x & +6 \end{array}+​2x36x38x3​+7x2+2x2+9x2​+3x+4x+7x​+5+1+6​​

Example of Vertical Subtraction:

9x3+4x2+6x+5−2x3+3x2+3x+47x3+1x2+3x+1\begin{array}{rrrrr} & 9x^3 & +4x^2 & +6x & +5 \\ - & 2x^3 & +3x^2 & +3x & +4 \\ \hline & 7x^3 & +1x^2 & +3x & +1 \end{array}−​9x32x37x3​+4x2+3x2+1x2​+6x+3x+3x​+5+4+1​​

Both methods (horizontal and vertical) will yield the same answer. Choose the method that you find most comfortable and easiest to understand.

Graphical Addition and Subtraction of Polynomial Functions

Besides performing operations algebraically, we can also understand polynomial addition and subtraction visually through their graphs.

Suppose we have three graphs of polynomial functions:

Graph of f(x)=x+1f(x) = x + 1f(x)=x+1
Linear Function (Degree 1)
Graph of g(x)=0.5x4−2x2+1g(x) = 0.5x^4 - 2x^2 + 1g(x)=0.5x4−2x2+1
Degree 4 Function
Graph of h(x)=−0.5x3+1.5xh(x) = -0.5x^3 + 1.5xh(x)=−0.5x3+1.5x
Degree 3 Function

Sketching the Graph of the Sum/Difference

Without needing the exact equations of functions fff, ggg, or hhh, we can sketch the graph of their sum (e.g., f(x)+g(x)f(x) + g(x)f(x)+g(x)) or difference (e.g., f(x)−g(x)f(x) - g(x)f(x)−g(x)) as follows:

  1. Choose several identical xxx values on both graphs.
  2. For each xxx value, read the yyy value from each graph. Let yf=f(x)y_f = f(x)yf​=f(x) and yg=g(x)y_g = g(x)yg​=g(x).
  3. For addition (f(x)+g(x)f(x) + g(x)f(x)+g(x)): Calculate the value ynew=yf+ygy_{\text{new}} = y_f + y_gynew​=yf​+yg​.
  4. For subtraction (f(x)−g(x)f(x) - g(x)f(x)−g(x)): Calculate the value ynew=yf−ygy_{\text{new}} = y_f - y_gynew​=yf​−yg​.
  5. Plot the point (x,ynew)(x, y_{\text{new}})(x,ynew​).
  6. Repeat for several other xxx values.
  7. Connect the new points with a smooth curve.

Why does this work?

Because the definition of function addition or subtraction is to add or subtract their output values (yyy) for each corresponding input value (xxx).

Example Sketches

Here are example sketches of the graphs resulting from the sum f(x)+g(x)f(x) + g(x)f(x)+g(x) and difference f(x)−g(x)f(x) - g(x)f(x)−g(x), obtained by vertically adding/subtracting the y-values for each x.

Graph of f(x)+g(x)f(x) + g(x)f(x)+g(x), f(x)=x+1f(x) = x + 1f(x)=x+1, and g(x)=0.5x4−2x2+1g(x) = 0.5x^4 - 2x^2 + 1g(x)=0.5x4−2x2+1
The result of f(x)+g(x)f(x) + g(x)f(x)+g(x) is x+1+0.5x4−2x2+1x + 1 + 0.5x^4 - 2x^2 + 1x+1+0.5x4−2x2+1
Graph of f(x)−g(x)f(x) - g(x)f(x)−g(x), f(x)=x+1f(x) = x + 1f(x)=x+1, and g(x)=0.5x4−2x2+1g(x) = 0.5x^4 - 2x^2 + 1g(x)=0.5x4−2x2+1
The result of f(x)−g(x)f(x) - g(x)f(x)−g(x) is x+1−(0.5x4−2x2+1)x + 1 - (0.5x^4 - 2x^2 + 1)x+1−(0.5x4−2x2+1)

In the same way, you can sketch the graphs of f(x)+h(x), g(x)+h(x), f(x)−h(x), and g(x)−h(x)f(x) + h(x), \space g(x) + h(x), \space f(x) - h(x), \space \text{and} \space g(x) - h(x)f(x)+h(x), g(x)+h(x), f(x)−h(x), and g(x)−h(x). The key is to add or subtract the heights (y-values) of the original graphs at each corresponding x-value.

Previous

Polynomial Graph

Next

Multiplication of Polynomials

  • Addition and Subtraction of PolynomialsMaster polynomial addition and subtraction with step-by-step examples. Learn like terms, horizontal & vertical methods, plus graphical visualization.
On this page
  • Basic Concepts
    • What Are Like Terms?
  • Polynomial Addition
  • Polynomial Subtraction
  • Vertical Method
  • Graphical Addition and Subtraction of Polynomial Functions
    • Sketching the Graph of the Sum/Difference
    • Example Sketches
  • Comments
  • Report
  • Source code