Recall, that like terms are terms that contain same variables, raised to the same powers. In other words, like terms are "like" each other. For example, 5x3y2 and 2x3y2.
Graphically we can represent like terms in the form of some figures. Then addition of terms means addition of similar figures. In the figure to the right like terms are represented by circles with different color.
Note, that we can add polynomials either horizontally or vertically.
Example 1. Simplify (5x+2y)+(3x+7y) (parenthesis are written to separate polynomials).
Horizontally.
We rewrite expression, using commutative property of addition, in the following way: 5x+2y+3x+7y=5x+3x+2y+7y.
Now, just use distributive property of multiplication: 5x+3x+2y+7y=(5+3)x+(2+7)y=8x+9y.
Vertically.
+5x3x8x+++2y7y9y
Thus, (5x+2y)+(3x+7y)=8x+9y.
Sometimes, there are some terms in one polynomial, that can be absent in another. In this case, for vertical addition, you need to correctly line up polynomials and leave gaps, where needed.
Also, terms in polynomials can be written in different order. When adding vertically, write like terms one under another.
Example 2. Simplify (3x4+x3+1)+(2x4−5−7x2).
Horizontally.
3x4+x3+1+2x4−5−7x2=3x4+2x4+x3−7x2+1−5=5x4+x3−7x2−4.
Vertically.
Remember to line up correctly.
+3x42x45x4+++x3x3x3+−−7x27x27x2+−−154
Thus, (3x4+x3+1)+(2x4−5−7x2)=5x4+x3−7x2−4.
Finally, you can add more than 2 polynomials.
Example 3. Perform addition: (2x2−3xy+5y2−4)+(7x2+xy−3)+(2xy−12y2+x2−7).
Horizontally.
2x2−3xy+5y2−4+7x2+xy−3+2xy−12y2+x2−7=
=2x2+7x2+x2−3xy+xy+2xy+5y2−12y2−4−3−7=
=(2+7+1)x2+(−3+1+2)xy+(5−12)y2−14=10x2+0⋅xy−7y2−14=
=10x2−7y2−14.
Vertically. Don't forget to write like terms under each other and fill gaps, where necessary.
+2x27x2x210x2−+++3xyxy2xy3xy++−−5y25y212y27y2−−−−43714
Answer: (2x2−3xy+5y2−4)+(7x2+xy−3)+(2xy−12y2+x2−7)=10x2−7y2−14.
Now, it is time to exercise.
Exercise 1. Simplify (x2+2xy+3y2)+(2y2+3x2−5xy).
Answer: 4x2−3xy+5y2.
Exercise 2. Perform addition: (−1+2x3)+(x2+4−5x3).
Answer: −3x3+x2+3.
Exercise 3. Simplify (xy2−2x2y2+3x3)+(2x2y2−5x3−7x2y)+(2x3−4x2y2).
Answer: −4x2y2−7x2y+xy2.