Simplifying Algebraic Expressions

Learning Outcomes

  • Identify the coefficient of a variable term
  • Recognize and combine like terms in an expression
  • Use the order of operations to simplify expressions containing like terms

Identify Terms, Coefficients, and Like Terms

In mathematics, we may see expressions such as [latex]x+5,\dfrac{4}{3}{r}^{3}[/latex], or [latex]5m-2n+6mn[/latex]. Algebraic expressions are made up of terms. A term is a constant or the product of a constant and one or more variables. Some examples of terms are [latex]7,y,5{x}^{2},9a,\text{ and }13xy[/latex].

In the expression [latex]x+5[/latex], [latex]5[/latex] is called a constant because it does not vary and [latex]x[/latex] is called a variable because it does. (In naming the variable, ignore any exponents or radicals containing the variable.) An algebraic expression is a collection of constants and variables joined together by the algebraic operations of addition, subtraction, multiplication, and division.

The constant that multiplies the variable(s) in a term is called the coefficient. We can think of the coefficient as the number in front of the variable. The coefficient of the term [latex]3x[/latex] is [latex]3[/latex]. When we write [latex]x[/latex], the coefficient is [latex]1[/latex], since [latex]x=1\cdot x[/latex]. The table below gives the coefficients for each of the terms in the left column.

Term Coefficient
[latex]7[/latex] [latex]7[/latex]
[latex]9a[/latex] [latex]9[/latex]
[latex]y[/latex] [latex]1[/latex]
[latex]5{x}^{2}[/latex] [latex]5[/latex]

An algebraic expression may consist of one or more terms added or subtracted. The table below gives some examples of algebraic expressions with various numbers of terms. Notice that we include the operation before a term with it. Think of the operation as belonging to the term it precedes.a

Expression Terms
[latex]7[/latex] [latex]7[/latex]
[latex]y[/latex] [latex]y[/latex]
[latex]x+7[/latex] [latex]x,7[/latex]
[latex]2x+7y+4[/latex] [latex]2x,7y,4[/latex]
[latex]3{x}^{2}+4{x}^{2}+5y+3[/latex] [latex]3{x}^{2},4{x}^{2},5y,3[/latex]

example

Identify each term in the expression [latex]9b+15{x}^{2}+a+6[/latex]. Then identify the coefficient of each term.

Solution:
The expression has four terms. They are [latex]9b,15{x}^{2},a[/latex], and [latex]6[/latex].

  • The coefficient of [latex]9b[/latex] is [latex]9[/latex].
  • The coefficient of [latex]15{x}^{2}[/latex] is [latex]15[/latex].
  • Remember that if no number is written before a variable, the coefficient is [latex]1[/latex]. So the coefficient of [latex]a[/latex] is [latex]1[/latex].
  • The coefficient of a constant is the constant, so the coefficient of [latex]6[/latex] is [latex]6[/latex].

 

try it

Some terms share common traits. Look at the following terms. Which ones seem to have traits in common?

[latex]5x,7,{n}^{2},4,3x,9{n}^{2}[/latex]
Which of these terms are like terms?

  • The terms [latex]7[/latex] and [latex]4[/latex] are both constant terms.
  • The terms [latex]5x[/latex] and [latex]3x[/latex] are both terms with [latex]x[/latex].
  • The terms [latex]{n}^{2}[/latex] and [latex]9{n}^{2}[/latex] both have [latex]{n}^{2}[/latex].

Terms are called like terms if they have the same variables and exponents. All constant terms are also like terms. So among the terms [latex]5x,7,{n}^{2},4,3x,9{n}^{2}[/latex],

  • [latex]7[/latex] and [latex]4[/latex] are like terms.
  • [latex]5x[/latex] and [latex]3x[/latex] are like terms.
  • [latex]{n}^{2}[/latex] and [latex]9{n}^{2}[/latex] are like terms.

Like Terms

Terms that are either constants or have the same variables with the same exponents are like terms.

Like terms are terms where the variables match exactly (exponents included). Examples of like terms would be [latex]5xy[/latex] and [latex]-3xy[/latex], or [latex]8a^2b[/latex] and [latex]a^2b[/latex], or [latex]-3[/latex] and [latex]8[/latex].

example

Identify the like terms:

  1. [latex]{y}^{3},7{x}^{2},14,23,4{y}^{3},9x,5{x}^{2}[/latex]
  2. [latex]4{x}^{2}+2x+5{x}^{2}+6x+40x+8xy[/latex]

 

try it

Simplify Expressions by Combining Like Terms

We can simplify an expression by combining the like terms. What do you think [latex]3x+6x[/latex] would simplify to? If you thought [latex]9x[/latex], you would be right!

We can see why this works by writing both terms as addition problems.

The image shows the expression 3 x plus 6 x. The 3 x represents x plus x plus x. The 6 x represents x plus x plus x plus x plus x plus x. The expression 3 x plus 6 x becomes x plus x plus x plus x plus x plus x plus x plus x plus x. This simplifies to a total of 9 x's or the term 9 x.
Add the coefficients and keep the same variable. It doesn’t matter what [latex]x[/latex] is. If you have [latex]3[/latex] of something and add [latex]6[/latex] more of the same thing, the result is [latex]9[/latex] of them. For example, [latex]3[/latex] oranges plus [latex]6[/latex] oranges is [latex]9[/latex] oranges. We will discuss the mathematical properties behind this later.

The expression [latex]3x+6x[/latex] has only two terms. When an expression contains more terms, it may be helpful to rearrange the terms so that like terms are together. The Commutative Property of Addition says that we can change the order of addends without changing the sum. So we could rearrange the following expression before combining like terms.

The image shows the expression 3 x plus 4 y plus 2 x plus 6 y. The position of the middle terms, 4 y and 2 x, can be switched so that the expression becomes 3 x plus 2 x plus 4 y plus 6 y. Now the terms containing x are together and the terms containing y are together.
Now it is easier to see the like terms to be combined.

Combine like terms

  1. Identify like terms.
  2. Rearrange the expression so like terms are together.
  3. Add the coefficients of the like terms.

If we have like terms, we are allowed to add (or subtract) the numbers in front of the variables, then keep the variables the same. Kind of like saying four pens plus three pens equals seven pens. But two pens plus six pencils can’t be combined and simplified because they are not “like terms”. As we combine like terms we need to interpret subtraction signs as part of the following term. This means if we see a subtraction sign, we treat the following term like a negative term. The sign always stays with the term.

This is shown in the following examples:

example

Simplify the expression: [latex]3x+7+4x+5[/latex].

Example

Combine like terms:  [latex]5x-2y-8x+7y[/latex]

try it

Example

Combine like terms:  [latex]x^2-3x+9-5x^2+3x-1[/latex]

In the video that follows, you will be shown another example of combining like terms.  Pay attention to why you are not able to combine all three terms in the example.

example

Simplify the expression: [latex]8x+7{x}^{2}+{x}^{2}+4x[/latex].

 

try it

In the following video, we present more examples of how to combine like terms given an algebraic expression.