## Solving Equations With Variables on Both Sides

### Learning Outcomes

• Identify the constant and variable terms in an equation
• Solve linear equations by isolating constants and variables
• Solve linear equations with variables on both sides that require several steps

The equations we solved in the last section simplified nicely so that we could use the division property to isolate the variable and solve the equation. Sometimes, after you simplify you may have a variable and a constant term on the same side of the equal sign.

Our strategy will involve choosing one side of the equation to be the variable side, and the other side of the equation to be the constant side. This will help us with organization. Then, we will use the Subtraction and Addition Properties of Equality, step by step, to isolate the variable terms on one side of the equation.

Read on to find out how to solve this kind of equation.

### Examples

Solve: $4x+6=-14$

Solution:

In this equation, the variable is only on the left side. It makes sense to call the left side the variable side. Therefore, the right side will be the constant side.

 Since the left side is the variable side, the 6 is out of place. We must “undo” adding $6$ by subtracting $6$, and to keep the equality we must subtract $6$ from both sides. Use the Subtraction Property of Equality. $4x+6\color{red}{-6}=-14\color{red}{-6}$ Simplify. $4x=-20$ Now all the $x$ s are on the left and the constant on the right. Use the Division Property of Equality. $\Large\frac{4x}{\color{red}{4}}\normalsize =\Large\frac{-20}{\color{red}{4}}$ Simplify. $x=-5$ Check: $4x+6=-14$ Let $x=-5$ . $4(\color{red}{-5})+6=-14$ $-20+6=-14$ $-14=-14\quad\checkmark$

Solve: $2y - 7=15$

Now you can try a similar problem.

### Solve Equations with Variables on Both Sides

You may have noticed that in all the equations we have solved so far, we had variables on only one side of the equation. This does not happen all the time—so now we’ll see how to solve equations where there are variable terms on both sides of the equation. We will start like we did above—choosing a variable side and a constant side, and then use the Subtraction and Addition Properties of Equality to collect all variables on one side and all constants on the other side. Remember, what you do to the left side of the equation, you must do to the right side as well.

In the next example, the variable, $x$, is on both sides, but the constants appear only on the right side, so we’ll make the right side the “constant” side. Then the left side will be the “variable” side.

### ExampleS

Solve: $5x=4x+7$

Solve: $7x=-x+24$.

Did you see the subtle difference between the two equations? In the first, the right side looked like this: $4x+7$, and in the second, the right side looked like this: $-x+24$, even though they look different, we still used the same techniques to solve both.

Now you can try solving an equation with variables on both sides where it is beneficial to move the variable term to the left side.

### try it

In our last examples, we moved the variable term to the left side of the equation. In the next example, you will see that it is beneficial to move the variable term to the right side of the equation. There is no “correct” side to move the variable term, but the choice can help you avoid working with negative signs.

### example

Solve: $5y - 8=7y$

Now you can try solving an equation where it is beneficial to move the variable term to the right side.

### Solve Equations with Variables and Constants on Both Sides

The next example will be the first to have variables and constants on both sides of the equation. As we did before, we’ll collect the variable terms to one side and the constants to the other side. You will see that as the number of variable and constant terms increases, so do the number of steps it takes to solve the equation.

### Examples

Solve: $7x+5=6x+2$

Solve: $6n - 2=-3n+7$

In the following video we show an example of how to solve a multi-step equation by moving the variable terms to one side and the constants to the other side. You will see that it doesn’t matter which side you choose to be the variable side; you can get the correct answer either way.

In the next example, we move the variable terms to the right side to keep a positive coefficient on the variable.

### EXAMPLE

Solve: $2a - 7=5a+8$

The following video shows another example of solving a multi-step equation by moving the variable terms to one side and the constants to the other side.

Try these problems to see how well you understand how to solve linear equations with variables and constants on both sides of the equal sign.

### try it

We just showed a lot of examples of different kinds of linear equations you may encounter. There are some good habits to develop that will help you solve all kinds of linear equations. We’ll summarize the steps we took so you can easily refer to them.

### Solve an equation with variables and constants on both sides

1. Choose one side to be the variable side and then the other will be the constant side.
2. Collect the variable terms to the variable side, using the Addition or Subtraction Property of Equality.
3. Collect the constants to the other side, using the Addition or Subtraction Property of Equality.
4. Make the coefficient of the variable $1$, using the Multiplication or Division Property of Equality.
5. Check the solution by substituting it into the original equation.