Solving Linear Equations
Learning goals
- Confirm a solution by substituting it into the original equation
- Recognize the standard form with
- Apply the properties of equality to make an equivalent equation
- Undo the operations in reverse order with inverse moves
- Collect the variable on one side when it appears on both
- Distribute and combine like terms before isolating
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, and the next lesson handles those. The name linear comes from the straight line such an equation graphs, a picture the graphing chapter will draw later. Here the point is that the variable stands alone to the first power, which makes these the most basic equations to solve and the foundation for everything after.
Keeping the balance: the properties of equality
Picture an equation as a balance scale. The equals sign is the pivot, and the two expressions are equal weights in the two pans, holding the beam level. This picture is the key to solving, because it tells you exactly which moves are legal. Anything you do to one pan alone tips the scale and breaks the equation. But if you do the same thing to both pans, the beam stays level and 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#
An equation makes a claim about a number. The claim is that for a particular value of the variable, the expression on the left and the expression on the right come out to the same number. Call a value a solution when that claim is true there.
Suppose is a solution of , so substituting makes both sides equal to one and the same number, call it . Now add the same quantity to each side, producing . At the left side becomes and the right side becomes , the very same number, so solves the new equation as well. Adding to both sides therefore never loses a solution.
It never gains one either, because the move can be undone. Subtracting from both sides of returns you to , and by the same reasoning any solution of the new equation is a solution of the old. Since neither equation has a solution the other lacks, the two have exactly the same solution set, which is what it means for them to be equivalent.
The identical argument works for multiplying both sides by a number , undone by dividing by , provided is not zero. That nonzero condition is essential. Multiplying both sides by turns any equation into , which is true for every value. So the step erases all information about the variable and cannot be reversed. That is the one move the balance forbids: you may 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. Subtract the smaller variable term, , 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 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 smaller variable term 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 smaller variable term from both sides, then finish the two-step equation.
Both sides of the original equal at , since and .
Putting the steps together
Every linear equation, however tangled, 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 smaller term 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 .