How Do You Solve a Linear Equation With Variables on Both Sides?
To solve a linear equation with variables on both sides, your main goal is to gather all the terms containing the variable onto one side of the equal sign, and all the plain numbers (constants) onto the other. Once they are separated, you can isolate the variable just like you would in a standard two-step equation.
Think of the equation like a perfectly balanced scale with a mix of mystery boxes (the variables) and standard weights (the numbers) on both pans. To figure out the weight of one mystery box, you need to physically remove boxes from one side and weights from the other, always doing the exact same thing to both sides so the scale never tips. In algebra, we do this using inverse operations like addition and subtraction.
Step 1: Gather the Variables
The first step is to pick one side for your variable. It doesn't mathematically matter which side you choose, but a good trick is to move the smaller variable term toward the larger one. This helps you avoid dealing with negative numbers later. To move a term, you use the opposite operation. If you have a positive on the right, you subtract from both sides.
Step 2: Gather the Constants
Once all your variables are on one side, you need to get the plain numbers to the opposite side. If your variable is on the left, move any numbers on the left over to the right. Again, you do this by adding or subtracting the exact same amount from both sides of the equals sign.
Step 3: Isolate the Variable
After sorting the terms, you will usually be left with something like . The final step is to undo the multiplication or division attached to your variable. If the variable is multiplied by 3, you divide both sides by 3 to find out what a single equals.
Where Students Slip Up
The most common mistake is "moving" a term across the equal sign without actually changing its sign. For example, if a student wants to move to the other side, they might accidentally add instead of subtracting it. Always write out your steps and double-check your positive and negative signs.
Worked through
Solve the equation for :
First, we want to get the variables on one side. Let's move the from the right side to the left side. Since it's a positive , we subtract from both sides:
Next, we need to move the constant () to the right side. The opposite of subtracting 3 is adding 3, so we add 3 to both sides:
Finally, to get by itself, we divide both sides by 3:
You can check this by plugging back into the original equation: , and . It balances!
Questions students ask
Ask about this topic
Where this comes from: OpenStax Elementary Algebra, Chapter 2: Solving Linear Equations · Khan Academy, Algebra 1: Solving equations with one unknown
See also