Skip to content
One hour with George, then a written plan the next working day. Book yours.

Solving linear equations, five steps

A linear equation is one in which the unknown is never squared, rooted or put under a fraction bar, so it can always be rearranged into ax + b = c. Solving it means undoing what has been done to the unknown, in reverse order, and keeping both sides balanced. A five-step routine covers every one-variable case, and the same facts about slope and intercepts then cover the lines that linear equations describe.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
The five steps with one computed case each
StepMoveCaseResult
1Expand parentheses3(2x - 5) = 4x + 96x - 15 = 4x + 9
2Clear fractions or decimals(x + 3) over 4 - (2x - 1) over 6 = 1multiply by 12: 3(x + 3) - 2(2x - 1) = 12
3Gather unknowns on one side6x - 15 = 4x + 92x = 24
4Combine like terms3x + 9 - 4x + 2 = 12-x + 11 = 12
5Divide by the coefficient2x = 24, and -x = 1x = 12, and x = -1

Step 2 uses the least common multiple of the denominators, or the power of ten that clears decimals. Every case in the last column was substituted back into the original equation.

Our own worked cases, each solved and then checked by substituting the answer

How do you work through a full example?

Take the equation with fractions from the table and carry it through every step.

Worked example: A fraction equation. Solve (x + 3) over 4 minus (2x - 1) over 6 equals 1.

  1. The denominators are 4 and 6, and their least common multiple is 12, so multiply every term by 12.
  2. The first term becomes 3(x + 3), the second becomes 2(2x - 1), and the right side becomes 12.
  3. Expand: 3x + 9 - (4x - 2) = 12, which is 3x + 9 - 4x + 2 = 12. Mind the sign: subtracting the bracket flips both terms.
  4. Combine: -x + 11 = 12, so -x = 1 and x = -1.
  5. Check: (-1 + 3) over 4 is 0.5, and (2 times -1 - 1) over 6 is -0.5, so 0.5 minus -0.5 is 1.

Answer: x = -1.

Method: clear denominators with the least common multiple, solve, then substitute into the original equation; the equation is an example.

For decimals, multiply by a power of ten instead. In 0.4x + 1.2 = 0.15x + 3.7, multiplying by 100 gives 40x + 120 = 15x + 370, so 25x = 250 and x = 10. The check is 4 + 1.2 = 5.2 on the left and 1.5 + 3.7 = 5.2 on the right.

What if the unknown disappears?

Two outcomes are possible when the unknown cancels. If you reach a false statement, there is no solution. In 2(x + 3) = 2x + 5, expanding gives 2x + 6 = 2x + 5, then 6 = 5, which is false for every x. If you reach a true statement, every number is a solution. In 3(x - 2) = 3x - 6, both sides expand to the same thing.

How do you solve for one letter in a formula?

Treat the other letters as numbers and undo operations in reverse. From ax + b = c, subtract b and divide by a to get x = (c - b) over a, provided a is not 0. From the perimeter formula P = 2l + 2w, subtract 2l and divide by 2 to get w = (P - 2l) over 2. From V = pi r squared h, divide by pi r squared to get h = V over (pi r squared).

How do lines come from linear equations?

An equation in two unknowns describes a line, and the same moves find its equation from conditions.

How do lines come from linear equations?
GivenSetupEquation
Slope 5 through (2, -3)y + 3 = 5(x - 2)y = 5x - 13
Through (1, 4), parallel to 3x - y = 7same slope 3, so y - 4 = 3(x - 1)y = 3x + 1
Through (6, -1), perpendicular to y = 2x + 5slope -1 over 2, so y + 1 = -(1 over 2)(x - 6)y = -0.5x + 2
Through (1, 2) and (5, 10)slope 8 over 4 is 2y = 2x

To classify two lines, compare slopes. The lines y = 2x + 1 and 4x - 2y = 3 both have slope 2, since the second solves to y = 2x - 1.5, so they are parallel and never meet. If the slopes multiply to -1 they are perpendicular. Otherwise the lines meet at a single point, and that point is the solution of the system of the two equations.

How do you use an equation in a word problem?

Name the unknown, write what each side costs or measures, set them equal and solve. A gym charges a $45 sign-up fee and $28 a month, and a second gym charges nothing to join and $36 a month. The costs are equal when 45 + 28m = 36m, so 45 = 8m and m = 5.625. At 5 months the first costs 185 and the second 180, so the second is cheaper. At 6 months the first costs 213 and the second 216, so the first is cheaper. The answer to the question "when does it pay to join the first?" is after the fifth month.

Practice exercises

Try these before you read the answers.

  1. Solve 5x - 7 = 3x + 9. Answer: 2x = 16, so x = 8.
  2. Solve 2(3x - 4) - 5 = 3(x + 1). Answer: 6x - 13 = 3x + 3, so 3x = 16 and x = 16 over 3.
  3. Solve (2x - 1) over 3 = (x + 4) over 2. Answer: 4x - 2 = 3x + 12, so x = 14.
  4. Solve 0.3x - 1.5 = 0.1x + 0.5. Answer: times 10, 3x - 15 = x + 5, so x = 10.
  5. Does 4(x - 1) = 4x + 3 have a solution? Answer: no, since it reduces to -4 = 3.
  6. Solve V = pi r squared h for h. Answer: h = V over (pi r squared).
  7. Find the line through (-2, 7) with slope -3. Answer: y - 7 = -3(x + 2), so y = -3x + 1.
  8. Find the line through (1, 2) and (5, 10). Answer: slope 2, so y = 2x.

Our original math practice set has more items. The math tutoring page describes sessions for SAT® and ACT® exam prep.

Common questions

What makes an equation linear?

The unknown stays on its own: no squares, no roots of it and no unknown in a denominator.

Should I clear fractions first?

It is usually the cleanest move. Multiply every term by the least common multiple of the denominators, including the terms without a fraction.

How do I check my answer?

Substitute it into the original equation, not your rewritten one. Both sides must come out equal.

What does it mean when the x terms cancel?

A false statement means no solution, and a true statement means every number is a solution.

Sources