3.3 Solve Equations with Variables and Constants on Both Sides
Learning Objectives
By the end of this section, you will be able to:
- Solve an equation with constants on both sides
- Solve an equation with variables on both sides
- Solve an equation with variables and constants on both sides
Try It
Before you get started, take this readiness quiz:
1) Simplify: [latex]4y-9+9[/latex].
Solve Equations with Constants on Both Sides
In all the equations we have solved so far, all the variable terms were on only one side of the equation with the constants on the other side. This does not happen all the time—so now we will learn to solve equations in which the variable terms, or constant terms, or both are on both sides of the equation.
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.” Then, we will use the Subtraction and Addition Properties of Equality to get all the variable terms together on one side of the equation and the constant terms together on the other side.
By doing this, we will transform the equation that began with variables and constants on both sides into the form [latex]ax=b[/latex]. We already know how to solve equations of this form by using the Division or Multiplication Properties of Equality.
Example 3.3.1
Solve: [latex]7x+8=-13[/latex].
Solution
In this equation, the variable is found 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. We will write the labels above the equation to help us remember what goes where.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{7x+8}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{-13}[/latex]
Since the left side is the “[latex]x[/latex]”, or variable side, the [latex]8[/latex] is out of place. We must “undo” adding 8 by subtracting 8, and to keep the equality we must subtract [latex]8[/latex] from both sides.
Step 1: Use the Subtraction Property of Equality.
[latex]\begin{align*}&\;&7x\;+\;8\;{\color{red}{-}}{\color{red}{\;}}{\color{red}{8}}\;&=\;-13\;{\color{red}{-}}{\color{red}{\;}}{\color{red}{8}}\\&\text{Simplify}\;&7x\;&=\;-21&\end{align*}[/latex]
Now all the variables are on the left and the constant on the right.
The equation looks like those you learned to solve earlier.
Step 2: Use the Division Property of Equality.
[latex]\begin{align*}&\;&\frac{7x}{\color{red}{7}}&=\frac{-21}{\color{red}{7}}\\ &\text{Simplify}\;&x&=-3\end{align*}[/latex]
Step 3: Check:
[latex]7x+8=-13[/latex]
Step 4: Let [latex]x=-3[/latex].
[latex]\begin{align*}7\left({\color{red}{-}}{\color{red}{3}}\right)+8&\overset?=-13\\ -21+8&\overset?=-13 \\ -13 &= -13\checkmark \end{align*}[/latex]
Try It
2) Solve: [latex]3x+4=-8[/latex].
Solution
[latex]x=-4[/latex]
3) Solve: [latex]5a+3=-37[/latex].
Solution
[latex]a=-8[/latex]
Example 3.3.2
Solve: [latex]8y-9=31[/latex].
Solution
Notice, the variable is only on the left side of the equation, so we will call this side the “variable” side, and the right side will be the “constant” side. Since the left side is the “variable” side, the [latex]9[/latex] is out of place. It is subtracted from the [latex]8y[/latex], so to “undo” subtraction, add [latex]9[/latex] to both sides. Remember, whatever you do to the left, you must do to the right.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{8y-9}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{31}[/latex]
Step 1: Add [latex]9[/latex] to both sides.
[latex]\begin{align*}&\;&8y-9{\color{red}{+}}{\color{red}{9}}&=31{\color{red}{+}}{\color{red}{9}}\\ &\text{Simplify}\;&8y&=40\end{align*}[/latex]
The variables are now on one side and the constants on the other.
We continue from here as we did earlier.
Step 2: Divide both sides by [latex]8[/latex].
[latex]\begin{align*}&\;&\frac{8y}{\color{red}{8}}&=\frac{40}{\color{red}{8}}\\ &\text{Simplify}\;&y&=5\end{align*}[/latex]
Step 3: Check:
[latex]8y-9=31[/latex]
Step 4: Let [latex]y=5[/latex].
[latex]\begin{align*} 8\cdot{\color{red}{5}}-9&\overset?=31 \\ 40-9&\overset?=31 \\ 31 &= 31\checkmark \end{align*}[/latex]
Try It
4) Solve: [latex]5y-9=16[/latex].
Solution
[latex]y=5[/latex]
5) Solve: [latex]3m-8=19[/latex].
Solution
[latex]m=9[/latex]
Solve Equations with Variables on Both Sides
What if there are variables on both sides of the equation? For equations like this, begin as we did above—choose 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.
Example 3.3.3
Solve: [latex]9x=8x-6[/latex].
Solution
Here the variable is on both sides, but the constants only appear on the right side, so let’s make the right side the “constant” side. Then the left side will be the “variable” side.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{9x}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{8x-6}[/latex]
Step 1: We don’t want any [latex]x[/latex]’s on the right, so subtract the [latex]8x[/latex] from both sides.
[latex]\begin{align*}&\;&9x{\color{red}{-}}{\color{red}{8}}{\color{red}{x}}&=8x{\color{red}{-}}{\color{red}{8}}{\color{red}{x}}-6\\ &\text{Simplify}\;&x&=6\end{align*}[/latex]
We succeeded in getting the variables on one side and the constants on the other, and have obtained the solution.
Step 3: Check:
[latex]9x=8x-6[/latex]
Step 4: Let [latex]x=-6[/latex].
[latex]\begin{align*}9x\left({\color{red}{-}}{\color{red}{6}}\right)&\overset?=8x\left({\color{red}{-}}{\color{red}{6}}\right)-6 \\ -54&\overset?=-48-6 \\ -54 &= -54\checkmark \end{align*}[/latex]
Try It
6) Solve: [latex]6n=5n-10[/latex].
Solution
[latex]n=-10[/latex]
7) Solve: [latex]-6c=-7c-1[/latex].
Solution
[latex]c=-1[/latex]
Example 3.3.4
Solve: [latex]5y-9=8y[/latex].
Solution
The only constant is on the left and the [latex]y[/latex]’s are on both sides. Let’s leave the constant on the left and get the variables to the right.
[latex]\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{5y-9}=\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{8y}[/latex]
Step 1: Subtract [latex]5y[/latex] from both sides.
[latex]\begin{align*}&\;&5y{\color{red}{-}}{\color{red}{5}}{\color{red}{y}}-9&=8y{\color{red}{-}}{\color{red}{5}}{\color{red}{y}}\\ &\text{Simplify}\;&-9&=3y\end{align*}[/latex]
Step 2: We have the [latex]y[/latex]’s on the right and the constants on the left. Divide both sides by [latex]3[/latex].
[latex]\begin{align*}&\;&\frac{-9}{\color{red}{3}}&=\frac{3y}{\color{red}{3}}\\ &\text{Simplify}\;&-3&=y\end{align*}[/latex]
Step 3: Check:
[latex]5y-9=8y[/latex]
Step 4: Let [latex]y=-3[/latex].
[latex]\begin{align*} 5\left({\color{red}{-}}{\color{red}{3}}\right)-9&\overset?=8\left({\color{red}{-}}{\color{red}{3}}\right) \\ -15-9&\overset?=-24 \\ -24 &= -24\checkmark \end{align*}[/latex]
Try It
8) Solve: [latex]3p-14=5p[/latex].
Solution
[latex]p=-7[/latex]
9) Solve: [latex]8m+9=5m[/latex].
Solution
[latex]m=-3[/latex]
Example 3.3.5
Solve: [latex]12x=−x+26[/latex].
Solution
The only constant is on the right, so let the left side be the “variable” side.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{12x}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{-x+26}[/latex]
Step 1: Remove the [latex]-x[/latex] from the right side by adding [latex]x[/latex] to both sides.
[latex]\begin{align*}&\;&12x{\color{red}{+}}{\color{red}{x}}&=-x{\color{red}{+}}{\color{red}{x}}+26\\ &\text{Simplify}\;&13x&=26\end{align*}[/latex]
Step 2: All the [latex]x[/latex]’s are on the left and the constants are on the right. Divide both sides by [latex]13[/latex].
[latex]\begin{align*}&\;&\frac{13x}{\color{red}{13}}&=\frac{26}{\color{red}{13}}\\ &\text{Simplify}\;&1x&=2\end{align*}[/latex]
Try It
10) Solve: [latex]12j=-4j+32[/latex].
Solution
[latex]j=2[/latex]
11) Solve: [latex]8h=-4h+12[/latex].
Solution
[latex]h=1[/latex]
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. It may take several steps to solve this equation, so we need a clear and organized strategy.
Example 3.3.6
Solve: [latex]7x+5=6x+2[/latex].
Solution
Step 1: Choose which side will be the “variable” side – the other side will be the “constant” side.
The variable terms are [latex]7x[/latex] and [latex]6x[/latex].
Since 7 is greater than 6, we will make the left side the “[latex]x[/latex]” side.
The right side will be the “constant” side.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{7x+5}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{6x+2}[/latex]
Step 2: Collect the variable terms to the “variable” side of the equation, using the addition or subtraction property of equality.
With the right side as the “constant” side, the [latex]6x[/latex] is out of place, so subtract [latex]6x[/latex] from both sides.
[latex]\begin{align*}&\;&7x{\color{red}{-}}{\color{red}{6}}{\color{red}{x}}+5&=6{\color{red}{-}}{\color{red}{6}}{\color{red}{x}}+2 \\ &\text{Combine like terms.}\;&x+5&=2 \end{align*}[/latex]
Now, the variable is only on the left side!
Step 3: Collect all the constants to the other side of the equation, using the addition or subtraction property of equality.
The right side is the “constant” side, so the 5 is out of place.
[latex]\begin{align*} &\text{Subtract from both sides.}\;&x+5{\color{red}{-}}{\color{red}{5}}&=2{\color{red}{-}}{\color{red}{5}}\\ &\text{Simplify.}\;&x&=-3 \end{align*}[/latex]
Step 4: Make the coefficient of the variable equal 1, using the multiplication or division property of equality.
The coefficient of [latex]x[/latex] is one.
The equation is solved.
Step 5: Check.
[latex]\begin{align*} &\text{Let x=-3.}\;&7x+6&=6x+2\\ &\text{Simplify.}\;&\left({\color{red}{-}}{\color{red}{3}}\right)+5&=6\left({\color{red}{-}}{\color{red}{3}}\right)+2\\ &\text{Add.}\;&-21+5&=-18+2\\ &\;&-16&=-16\checkmark \end{align*}[/latex]
Try It
12) Solve: [latex]12x+8=6x+2[/latex].
Solution
[latex]x=-1[/latex]
13) Solve: [latex]9y+4=7y+12[/latex].
Solution
[latex]y=4[/latex]
We’ll list the steps below so you can easily refer to them. But we’ll call this the ‘Beginning Strategy’ because we’ll be adding some steps later in this chapter.
HOW TO
Beginning Strategy for Solving Equations with Variables and Constants on Both Sides of the Equation.
- Choose which side will be the “variable” side—the other side will be the “constant” side.
- Collect the variable terms to the “variable” side of the equation, using the Addition or Subtraction Property of Equality.
- Collect all the constants to the other side of the equation, using the Addition or Subtraction Property of Equality.
- Make the coefficient of the variable equal 1, using the Multiplication or Division Property of Equality.
- Check the solution by substituting it into the original equation.
In Step 1, a helpful approach is to make the “variable” side the side that has the variable with the larger coefficient. This usually makes the arithmetic easier.
Example 3.3.7
Solve: [latex]8n-4=-2n+6[/latex].
Solution
In the first step, choose the variable side by comparing the coefficients of the variables on each side.
Step 1: Since [latex]8>-2[/latex], make the left side the “variable” side.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{8n-4}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{-2n+6}[/latex]
Step 2: We don’t want variable terms on the right side—add [latex]2n[/latex] to both sides to leave only constants on the right.
[latex]\begin{align*}&\;&8n{\color{red}{+}}{\color{red}{2}}{\color{red}{n}}-4&=-2n{\color{red}{+}}{\color{red}{2}}{\color{red}{n}}+6\\ &\text{Combine like terms.}\;&10n-4&=6 \end{align*}[/latex]
Step 3: We don’t want any constants on the left side, so add [latex]4[/latex] to both sides.
[latex]\begin{align*}&\;&10n-4{\color{red}{+}}{\color{red}{4}}&=6{\color{red}{+}}{\color{red}{4}}\\ &\text{Simplify}\;&10n&=10 \end{align*}[/latex]
Step 4: The variable term is on the left and the constant term is on the right. To get the coefficient of [latex]n[/latex] to be one, divide both sides by [latex]10[/latex].
[latex]\begin{align*}&\;&\frac{10n}{\color{red}{10}}&=\frac{10}{\color{red}{10}}\\ &\text{Simplify}\;&n&=1 \end{align*}[/latex]
Step 5: Check:
[latex]8n-4=-2n+6[/latex]
Step 6: Let [latex]n=1[/latex].
[latex]\begin{align*} 8\cdot{\color{red}{1}}-4&\overset?=2\cdot{\color{red}{1}}+6\\ 8-4&\overset?=-2+6\\ 4&=4\checkmark \end{align*}[/latex]
Try It
14) Solve: [latex]8q-5=-4q+7[/latex].
Solution
[latex]q=1[/latex]
15) Solve: [latex]7n-3=n+3[/latex].
Solution
[latex]n=1[/latex]
Example 3.3.8
Solve: [latex]7a-3=13a+7[/latex].
Solution
In the first step, choose the variable side by comparing the coefficients of the variables on each side.
Since [latex]13>7[/latex], make the right side the “variable” side and the left side the “constant” side.
[latex]\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{7a-3}=\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{13a+7}[/latex]
Step 1: Subtract [latex]7a[/latex] from both sides to remove the variable term from the left.
[latex]\begin{align*}&\;&7a{\color{red}{-}}{\color{red}{7}}{\color{red}{a}}-3&=13a{\color{red}{-}}{\color{red}{7}}{\color{red}{a}}+7\\ &\text{Combine like terms.}\;&-3&=6a+7 \end{align*}[/latex]
Step 2: Subtract [latex]7[/latex] from both sides to remove the constant from the right.
[latex]\begin{align*}&\;&-3{\color{red}{-}}{\color{red}{7}}&=6a+7{\color{red}{-}}{\color{red}{7}}\\ &\text{Simplify.}\;&-10&=6a \end{align*}[/latex]
Step 3: Divide both sides by [latex]6[/latex] to make [latex]1[/latex] the coefficient of [latex]a[/latex].
[latex]\begin{align*}&\;&\frac{-10}{\color{red}{6}}&=\frac{6a}{\color{red}{6}}\\ &\text{Simplify.}\;&-\frac53&=a \end{align*}[/latex]
Step 4: Check:
[latex]7a-3=13a+7[/latex]
Step 5: Let [latex]a=-\frac{5}{3}[/latex].
[latex]\begin{align*} 8\left({\color{red}{-}}{\color{red}{\frac53}}\right)-3&\overset?=13\left({\color{red}{-}}{\color{red}{\frac53}}\right)+7\\ -\frac{35}3-\frac93&\overset?=-\frac{65}3+\frac{21}3 \\-\frac{54}3&=-\frac{54}3\checkmark \end{align*}[/latex]
Try It
16) Solve: [latex]2a-2=6a+18[/latex].
Solution
[latex]a=-5[/latex]
17) Solve: [latex]4k-1=7k+17[/latex].
Solution
[latex]k=-6[/latex]
In the last example, we could have made the left side the “variable” side, but it would have led to a negative coefficient on the variable term. (Try it!) While we could work with the negative, there is less chance of errors when working with the positives. The strategy outlined above helps avoid the negatives!
To solve an equation with fractions, we just follow the steps of our strategy to get the solution!
Example 3.3.9
Solve: [latex]\frac{5}{4}x+6=\frac{1}{4}x-2[/latex].
Solution
Since [latex]\frac{5}{4}>\frac{1}{4}[/latex], make the left side the “variable” side and the right side the “constant” side.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}}{\frac54x+6}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}}{\frac14x-2}[/latex]
Step 1: Subtract [latex]\frac{1}{4}x[/latex] from both sides.
[latex]\begin{align*}&\;&\frac54x{\color{red}{-}}{\color{red}{\frac14}}{\color{red}{x}}+6&=\frac14x{\color{red}{-}}{\color{red}{\frac14}}{\color{red}{x}}-2\\ &\text{Combine like terms.}\;&x+6&=-2 \end{align*}[/latex]
Step 2: Subtract [latex]6[/latex] from both sides.
[latex]{x+6}{\color{red}{-}}{{\color{red}{6}}=-2{\color{red}{-}}}{\color{red}{6}}{}[/latex]
Step 3: Simplify.
[latex]x=-8[/latex]
Step 4: Check: Let [latex]x=-8[/latex]
[latex]\begin{align*} \frac54x+6&=\frac14x-2\\ \frac54\left(-8\right)+6&\overset?=\frac14\left(-8\right)-2\\ -10+6&\overset?=-2-2\\ -4&=-4\checkmark \end{align*}[/latex]
Try It
18) Solve: [latex]\frac{7}{8}x-12=-\frac{1}{8}x-2[/latex].
Solution
[latex]x=10[/latex]
19) Solve: [latex]\frac{7}{6}y+11=\frac{1}{6}y+8[/latex].
Solution
[latex]y=-3[/latex]
We will use the same strategy to find the solution for an equation with decimals.
Example 3.3.10
Solve: [latex]7.8x+4=5.4x-8[/latex].
Solution
Since [latex]7.8>5.4[/latex], make the left side the “variable” side and the right side the “constant” side.
[latex]\overset{{\color{red}{v}}{\color{red}{a}}{\color{red}{r}}{\color{red}{i}}{\color{red}{a}}{\color{red}{b}}{\color{red}{l}}{\color{red}{e}}{\color{red}{\;}}{\color{red}{s}}{\color{red}{i}}{\color{red}{d}}{\color{red}{e}}}{7.8x+4}=\overset{{\color{red}{c}}{\color{red}{o}}{\color{red}{n}}{\color{red}{s}}{\color{red}{t}}{\color{red}{a}}{\color{red}{n}}{\color{red}{t}}{\color{red}{\;}}{\color{red}{s}}{\color{red}{i}}{\color{red}{d}}{\color{red}{e}}}{5.4x-8}[/latex]
Step 1: Subtract [latex]5.4x[/latex] from both sides.
[latex]\begin{align*}&\;&7.8x{\color{red}{-}}{\color{red}{5}}{\color{red}{.}}{\color{red}{4}}{\color{red}{x}}+4&=5.4x{\color{red}{-}}{\color{red}{5}}{\color{red}{.}}{\color{red}{4}}{\color{red}{x}}-8\\ &\text{Combine like terms.}\;&2.4x+4&=-8 \end{align*}[/latex]
Step 2: Subtract [latex]4[/latex] from both sides.
[latex]\begin{align*}&\;&2.4x+4{\color{red}{-}}{\color{red}{4}}&=-8{\color{red}{-}}{\color{red}{4}}\\ &\text{Simplify.}\;&2.4x&=-12 \end{align*}[/latex]
Step 3: Use the Division Property of Equality.
[latex]\begin{align*}&\;&\frac{2.4x}{{\color{red}{2}}{\color{red}{.}}{\color{red}{4}}}&=\frac{-12}{{\color{red}{2}}{\color{red}{.}}{\color{red}{4}}}\\ &\text{Simplify.}\;&x&=-5 \end{align*}[/latex]
Step 4: Check:
[latex]7.8x+4=5.4x-5[/latex]
Step 5: Let [latex]x=-5[/latex].
[latex]\begin{align*} 7.8{\color{red}{\left(-5\right)}}+4&=5.4{\color{red}{\left(-5\right)}}-8\\ -39+4&\overset?=-27-8\\ -35&=-35\checkmark \end{align*}[/latex]
Try It
20) Solve: [latex]2.8x+12=-1.4x-9[/latex].
Solution
[latex]x=-5[/latex]
21) Solve: [latex]3.6y+8=1.2y-4[/latex].
Solution
[latex]y=-5[/latex]
Key Concepts
Beginning Strategy for Solving an Equation with Variables and Constants on Both Sides of the Equation
-
- Choose which side will be the “variable” side—the other side will be the “constant” side.
- Collect the variable terms to the “variable” side of the equation, using the Addition or Subtraction Property of Equality.
- Collect all the constants to the other side of the equation, using the Addition or Subtraction Property of Equality.
- Make the coefficient of the variable equal 1, using the Multiplication or Division Property of Equality.
- Check the solution by substituting it into the original equation.
Self Check
After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
What does this checklist tell you about your mastery of this section? What steps will you take to improve?