Solving Linear Equations
Learning goals
- Confirm a solution by substituting it into the original equation
- Apply the properties of equality to write an equivalent equation
- Undo the operations around the variable in reverse order with inverse moves
- Distribute and combine like terms before isolating the variable
- Collect the variable on one side when it appears on both
What a linear equation is
An equation is a statement that two expressions are equal, written with an equals sign between them, such as . A solution of an equation is a value of the variable that makes that statement true. You already have the tool for testing a candidate, namely substitution: replace the variable with the value and check whether the two sides come out equal.
Is a solution of ? Substitute and compute the left side:
The left side equals , the same as the right, so is a solution. The value is not, because , which is not . Solving an equation means finding every value that passes this test.
This lesson is about linear equations in one variable: equations in which the variable appears only to the first power. It is never squared, never under a root, never in a denominator, so , , and all fall outside our scope for now. The linear equations you will solve in this lesson can be rearranged into the standard form
where , , and are numbers and , which gives exactly one solution. A few one-variable equations instead collapse to the special case , with either no solution or infinitely many; the next lesson handles those. Here the point is that the variable stands alone to the first power, which makes these the simplest equations to solve.
Keeping the balance: the properties of equality
That balance picture is the key to solving, because it tells you exactly which moves are legal. Change one pan alone and the scale tips, so the equation breaks. Change both pans by the same amount, and the beam stays level, so the equality survives.
Four such moves, the properties of equality, are the only tools you need. If , then for any number :
- (add the same amount to both sides),
- (subtract the same amount from both sides),
- (multiply both sides by the same nonzero number),
- (divide both sides by the same nonzero number).
Each move produces a new equation, and the new equation has exactly the same solutions as the old one. Two equations with the same solution set are called equivalent. Solving works by walking through a chain of equivalent equations, each simpler than the last, until the variable stands alone. Here is why the moves preserve the solutions.
Why the same move on both sides keeps the same solutions#
Take , whose solution is : substituting gives , which checks. Subtract from both sides, as in the balance above, and you get : the new equation still has as its solution, and now the equation states that solution directly. That is no accident.
Call the left and right sides of any equation and , so the equation reads . A value of the variable is a solution when it makes and come out equal.
Suppose is a solution, so at both sides equal the same number, call it . Add the same amount to each side: the left becomes and the right becomes , still the very same number, so still solves . Adding to both sides therefore never loses a solution.
It never gains one either, because the move undoes itself. Subtracting from both sides of returns you to , by the same reasoning, so any solution of the new equation is a solution of the old one too. The two equations have exactly the same solutions, which is what it means for them to be equivalent.
The same argument works for multiplying or dividing both sides by a number , as long as is not zero. That condition matters: multiplying both sides by turns any equation into , true for every value, so the step throws away all information about the variable and cannot be undone. That is the one move the balance forbids: add, subtract, multiply, or divide both sides by the same number, but never multiply or divide by zero.
Isolating the variable
To solve is to transform the equation, one legal move at a time, into the form . The strategy is to undo the operations wrapped around the variable, in reverse order. Building an expression like from means first multiplying by and then adding . To take that expression apart, you reverse both the operations and their order, subtracting first and dividing by last. Each undoing uses an inverse operation: addition and subtraction undo each other, and multiplication and division undo each other.
Applied to the standard form, this reverse-order idea always lands on a single value.
Why has the single solution #
Take any linear equation in one variable, gathered into the standard form , where , , and are numbers and . Two moves isolate , each one an application of the properties of equality.
First subtract from both sides to strip away the constant:
Then divide both sides by , which is legal precisely because :
Because every step produced an equivalent equation, this value is the one and only solution. The formula itself is not worth memorizing; the two moves that built it are. Undo the added constant, then undo the multiplication by the coefficient, and any one-variable linear equation collapses to a single value of .
Worked example 1 Solve
Two operations wrap the variable: it is multiplied by , then is added. Undo them in reverse order. First subtract from both sides to peel off the constant:
Then divide both sides by , the coefficient of :
Check the answer in the original equation, not in a later line where a slip might already hide:
The left side equals , matching the right, so is correct.
Check your understanding
Solve .
Undo the operations in reverse: subtract from both sides, then divide by .
Checking in the original, , so .
Clearing parentheses and combining like terms
Most equations do not arrive in tidy standard form. They come with parentheses and with several like terms scattered on a side. So before you isolate the variable, you first simplify each side on its own, using the skills from the last two lessons. Distribute to clear any parentheses, then combine like terms, and only then start undoing operations. Keep the two jobs separate: finish simplifying a side before you move any term across the equals sign.
Worked example 2 Solve
The left side has parentheses and two terms, so tidy it before isolating anything. Distribute the across the parentheses:
Combine the like terms and :
The equation is now the two-step . Subtract , then divide by :
Substituting back into the original, , which matches.
Variables on both sides
So far the variable has lived on one side. When it appears on both, as in , you cannot isolate it until it occupies a single side, and the subtraction property is what gets it there. Compare the coefficients of the two variable terms, and , and subtract the term with the smaller coefficient, , from both sides. On the right, , so the variable leaves that side entirely; on the left, :
What remains is an ordinary two-step equation. Subtracting the term with the smaller coefficient, rather than , is a deliberate choice. That choice leaves the variable with a positive coefficient, which heads off the sign slips that a negative coefficient invites. From there you solve as before, and the balance never tipped, because every term you removed left from both pans at once.
Worked example 3 Solve
The variable sits on both sides, so first collect it on one. The term with the smaller coefficient is , so subtract from both sides; it vanishes on the right and drops the left to :
Now it is an ordinary two-step equation. Add , then divide by :
Check in the original, evaluating each side on its own. The left is and the right is . The two sides agree, so .
Check your understanding
Solve .
Subtract the term with the smaller coefficient, , from both sides, then finish the two-step equation.
Both sides of the original equal at , since and .
Putting the steps together
Every equation in this lesson, however tangled it looks, yields to the same ordered routine. Nothing in it is new; it just fixes the order in which to spend the tools you already have.
- Clear parentheses by distributing across each one.
- Combine like terms on each side separately.
- Collect the variable on one side and the constants on the other, using the addition and subtraction properties.
- Divide by the coefficient of the variable to leave it alone.
- Check by substituting the answer into the original equation.
The last step is not optional. A single arithmetic slip anywhere above produces a wrong value, and substituting back into the original equation is how you catch it. That check works because the original is the one line you know for certain was written correctly.
Worked example 4 Solve
Both sides carry parentheses, so clear them first:
Collect the variable on the left by subtracting the term with the smaller coefficient, , from both sides:
Add , then divide by :
Check: the left is and the right is , so the solution is .
Worked example 5 Solve
A fractional coefficient is handled the same way; the inverse of multiplying by is multiplying by its reciprocal . First subtract from both sides:
Now multiply both sides by to undo the :
Check in the original: . Multiplying by the reciprocal turns a fractional coefficient into , which is why it isolates in a single step.
Check your understanding
Solve .
Distribute on each side, then gather the variable on the side where its coefficient is larger.
Checking, and , so .