A combination of variables, constants, and operators constitute an algebraic expression. The four basic operations of mathematics viz. addition, subtraction, multiplication, and division can also be performed on algebraic equations or expressions. Addition and subtraction of algebraic expressions are almost similar to the addition and subtraction of numbers. But in the case of algebraic expressions, like terms and the unlike terms must be sorted together.

## How to Add and Subtract Algebraic Expressions?

The knowledge of like and unlike terms is crucial while studying addition and subtraction of algebraic expressions because the operation of addition and subtraction can only be performed on like terms. The terms whose variables and their exponents are same are known as like terms and the terms having different variables are unlike terms.

Example: -5x^{2} + 12 xy – 3y + 7x^{2} + xy

In the given algebraic expression, -5x^{2} and 7x^{2} are like since both the terms have x^{2} as the common variable. Similarly, 12xy and xy are like terms.

## Addition of Algebraic Expressions

For adding two or more algebraic expression the like terms of both the expressions are grouped together. The coefficients of like terms are added together using simple addition techniques and the variable which is common is retained as it is. The, unlike terms, are retained as it is and the result obtained is the addition of two or more algebraic expressions.

**Example:**

Add 5xy – 3x^{2} – 12y +5x, xy – 3x – 12yz +5x^{3} and y – 6x^{2} – zy +5x^{3}

**Solution:**

For adding these three algebraic expressions the like terms are grouped together and added as shown below.

Arrange the terms of the given expressions in the same order.

## Subtraction of Algebraic Expressions

For subtracting two or more algebraic expressions, it’s a better practice to write the expressions to be subtracted below the expression from which it is to be subtracted from. Like terms are placed below each other. The sign of each term which is to be subtracted is reversed and then the resulting expression is added normally.

**Example:**

Subtract x^{2}y –2x^{2} -zy + 5 and –3x^{2 }+3x^{3} from y^{3} +3x^{2}y –6x^{2} -6zy +7x^{3 }

**Solution:**

The like terms of the expressions x^{2}y – 2x^{2} – zy + 5 and – 3x^{2 }+ 3x^{3 }are written below the like terms of the expression y^{3} +3x^{2}y – 6x^{2} – 6zy + 7x^{3}.

To know more about algebraic expression, download BYJU’S-The Learning App.