Solve Equations with Variables and Constants on Both Sides
Solve an equation with constants on both sides
You may have noticed that 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’ll see how to solve equations where the variable terms and/or constant terms 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, step by step, 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 started with variables and constants on both sides into the form . We already know how to solve equations of this form by using the Division or Multiplication Properties of Equality.
Example. Solve: .
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 is out of place. We must “undo” adding by subtracting from both sides:
Simplify:
Now all the are on the left and the constant is on the right. Use the Division Property of Equality to divide both sides by :
Simplify:
Check: substitute into :
Solve: .
Subtract from both sides, then divide both sides by .Solve: .
Subtract from both sides, then divide both sides by .Solve an equation with variables on both sides
What if there are variables 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 too.
Example. Solve: .
Here the variable, , is on both sides, but the constants appear only on the right side, so let’s make the right side the “constant” side. Then the left side will be the “variable” side.
We don’t want any variables on the right, so subtract from both sides:
Simplify:
We have all the variables on one side and the constants on the other. We have solved the equation.
Check: substitute for into :
Solve: .
Subtract from both sides to leave the variable alone.Sometimes the constant is on the left side and the variable on the right, or the coefficients pull the variable toward one side more naturally.
Example. Solve: .
The only constant, , is on the left side of the equation and the variable, , is on both sides. Let’s leave the constant on the left and collect the variables to the right.
Subtract from both sides:
Simplify:
We have the variables on the right and the constants on the left. Divide both sides by :
Simplify:
Rewrite with the variable on the left:
Check: substitute into :
Solve: .
Subtract from both sides, then divide both sides by .Example. Solve: .
The only constant, , is on the right, so let the left side be the variable side.
Remove the from the right side by adding to both sides:
Simplify:
All the variables are on the left and the constants are on the right. Divide both sides by :
Simplify:
Check: substitute into :
Solve: .
Add to both sides, then divide both sides by .Solve equations with variables and constants on both sides
The next examples are 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.
Example. Solve: .
Start by choosing which side will be the variable side and which side will be the constant side. The variable terms are and . Since is greater than , make the left side the variable side and so the right side will be the constant side.
Collect the variable terms to the left side by subtracting from both sides:
Simplify:
Now, collect the constants to the right side by subtracting from both sides:
Simplify:
Check: substitute into :
Solve an equation with variables and constants on both sides.
- Choose one side to be the variable side and then the other will be the constant side.
- Collect the variable terms to the variable side, using the Addition or Subtraction Property of Equality.
- Collect the constants to the other side, using the Addition or Subtraction Property of Equality.
- Make the coefficient of the variable , using the Multiplication or Division Property of Equality.
- Check the solution by substituting it into the original equation.
It is a good idea to make the variable side the one in which the variable has the larger coefficient. This usually makes the arithmetic easier.
Example. Solve: .
We have on the left and on the right. Since , make the left side the “variable” side.
We don’t want variables on the right side — add to both sides to leave only constants on the right:
Combine like terms:
We don’t want any constants on the left side, so add to both sides:
Simplify:
The variable term is on the left and the constant term is on the right. To get the coefficient of to be one, divide both sides by :
Simplify:
Check: substitute for into :
Solve: .
Add to both sides, then add to both sides, then divide by .Solve: .
Subtract from both sides, then add to both sides, then divide by .Example. Solve: .
This equation has on the left and on the right. Since , make the right side the variable side and the left side the constant side.
Subtract from both sides to remove the variable term from the left:
Combine like terms:
Subtract from both sides to remove the constant from the right:
Simplify:
Divide both sides by to make the coefficient of :
Simplify:
Check: substitute into :
Note that we could have made the left side the variable side instead of the right side, but it would have led to a negative coefficient on the variable term. While we could work with the negative, there is less chance of error when working with positives. Choosing the side with the larger coefficient as the variable side helps avoid the negatives.
Solve: .
Subtract from both sides, then subtract from both sides, then divide by .To solve an equation with fractions, we still follow the same steps to get the solution.
Example. Solve: .
Since , make the left side the variable side and the right side the constant side.
Subtract from both sides:
Combine like terms:
Subtract from both sides:
Simplify:
Check: substitute into :
Solve: .
Add to both sides to combine the -terms, then add to both sides, then divide by .We follow the same steps when the equation has decimals, too.
Example. Solve: .
Since , make the left side the variable side and the right side the constant side.
Subtract from both sides:
Combine like terms:
Subtract from both sides:
Simplify:
Use the Division Property of Equality:
Simplify:
Check: substitute into :
Solve: .
Add to both sides, then subtract from both sides, then divide by .Solve equations using a general strategy
Each of the first few sections of this chapter has dealt with solving one specific form of a linear equation. It’s time now to lay out an overall strategy that can be used to solve any linear equation. We call this the general strategy. Some equations won’t require all the steps to solve, but many will. Simplifying each side of the equation as much as possible first makes the rest of the steps easier.
Use a general strategy for solving linear equations.
- Simplify each side of the equation as much as possible. Use the Distributive Property to remove any parentheses. Combine like terms.
- Collect all the variable terms to one side of the equation. Use the Addition or Subtraction Property of Equality.
- Collect all the constant terms to the other side of the equation. Use the Addition or Subtraction Property of Equality.
- Make the coefficient of the variable term equal to . Use the Multiplication or Division Property of Equality. State the solution to the equation.
- Check the solution. Substitute the solution into the original equation to make sure the result is a true statement.
Example. Solve: .
Simplify each side of the equation as much as possible using the Distributive Property:
Collect all variable terms on one side of the equation — all are already on the left side.
Collect constant terms on the other side by subtracting from each side:
Simplify:
Make the coefficient of the variable term equal to . Divide each side by :
Simplify:
Check: substitute into :
Solve: .
Distribute the , then subtract from both sides, then divide by .Solve: .
Distribute the , then add to both sides, then divide by .Example. Solve: .
Simplify each side of the equation as much as possible by distributing. The only term is on the left side, so all variable terms are on the left side of the equation:
Add to both sides to get all constant terms on the right side of the equation:
Simplify:
Make the coefficient of the variable term equal to by multiplying both sides by :
Simplify:
Check: substitute into :
Solve: .
Distribute the negative sign, then add to both sides, then multiply both sides by .Example. Solve: .
Simplify each side of the equation as much as possible. Distribute, then combine like terms:
The only is on the left side, so all variable terms are on one side of the equation.
Add to both sides to get all constant terms on the other side of the equation:
Simplify:
Make the coefficient of the variable term equal to by dividing both sides by :
Simplify:
Check: substitute into :
Solve: .
Distribute the , combine like terms, then add to both sides, then divide by .Be careful when distributing a negative sign into parentheses.
Example. Solve: .
Simplify — use the Distributive Property:
Combine like terms:
Add to both sides to collect constants on the right:
Simplify:
Divide both sides by :
Simplify:
Check: substitute into :
Solve: .
Distribute the , combine like terms, then isolate the -term, then divide by .Example. Solve: .
Distribute:
Combine like terms:
Subtract to get all the variables on the right since :
Simplify:
Subtract to get the constants on the left:
Simplify:
Divide by :
Simplify:
Check: substitute into :
Solve: .
Distribute on both sides, combine like terms, collect the variable terms on the side with the larger coefficient, then isolate .Solve: .
Distribute the , add to both sides, then add to both sides, then divide by .In many applications, we will have to solve equations with decimals. The same general strategy will work for these equations.
Example. Solve: .
Distribute:
Subtract to get all the to the left:
Simplify:
Subtract to get the constants to the right:
Simplify:
Divide:
Simplify:
Check: substitute into :
Solve: .
Distribute both sides first, then collect the -terms on one side and the constants on the other.Key terms
variable side — the side of an equation chosen to collect all the variable terms. constant side — the side of an equation chosen to collect all the constant terms. general strategy — a five-step method (simplify each side, collect variable terms, collect constant terms, make the coefficient , check) that solves any linear equation, regardless of its starting form.
This section is adapted from Prealgebra 2e, Section 8.3: Solve Equations with Variables and Constants on Both Sides by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: omitted the Be Prepared quiz, Media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.