School math

How to solve linear equations

A linear equation is one where the variable appears only to the first power — no squares, no variable in a denominator. You solve it with a single idea, the balance: whatever you do to the left side, you do to the right side, and the equation stays true.

Updated
In this article

The balance principle#

An equation is a pair of scales in balance. Two moves are allowed: add (or subtract) the same number on both sides, and multiply (or divide) both sides by the same non-zero number. Every technique you learn at school is a special case of these two.

Moving a term across the equals sign and changing its sign is not a separate rule — it is shorthand for the first move. In x+5=12x + 5 = 12 you subtract 5 from both sides: xx is left on the left, and 7 appears on the right. On paper it looks as if "the five moved across and became minus five".

The order of work is always the same: expand brackets, clear fractions, collect the variable terms on the left and the numbers on the right, combine like terms, divide by the coefficient, check.

Example 1: the variable on both sides#

Solve 5x−7=3x+95x - 7 = 3x + 9.

Step 1. Move 3x3x to the left — its sign changes as it crosses: 5x−3x−7=95x - 3x - 7 = 9.

Step 2. Move −7-7 to the right, where it becomes +7+7: 5x−3x=9+75x - 3x = 9 + 7.

Step 3. Combine like terms on both sides: 2x=162x = 16.

Step 4. Divide both sides by the coefficient of the variable: x=8x = 8.

Step 5. Check by substituting into the original equation. The left side is 5⋅8−7=335 \cdot 8 - 7 = 33, the right side is 3⋅8+9=333 \cdot 8 + 9 = 33. They are equal, so the solution is right.

Example 2: with brackets#

Solve 3(x−2)=2x+53(x - 2) = 2x + 5.

Step 1. Expand the brackets: the 3 multiplies every term inside, not just the first: 3x−6=2x+53x - 6 = 2x + 5.

Step 2. Variables to the left, numbers to the right: 3x−2x=5+63x - 2x = 5 + 6.

Step 3. Combine like terms: x=11x = 11.

Step 4. Check: the left side is 3⋅(11−2)=273 \cdot (11 - 2) = 27, the right side is 2⋅11+5=272 \cdot 11 + 5 = 27. It matches.

If there is a minus sign in front of the bracket, every term inside changes sign: −(x−4)=−x+4-(x - 4) = -x + 4. This is where the most marks are lost in tests.

Example 3: with fractions#

Solve x+14=x−32\frac{x+1}{4} = \frac{x-3}{2}.

Step 1. Find the common denominator of the fractions — 4 — and multiply both whole sides of the equation by it. How to find a common denominator is covered in adding fractions with unlike denominators.

Step 2. On the left the fraction cancels and x+1x + 1 is left; on the right 4(x−3)2=2(x−3)\frac{4(x-3)}{2} = 2(x - 3). The equation no longer has fractions: x+1=2(x−3)x + 1 = 2(x - 3).

Step 3. Expand: x+1=2x−6x + 1 = 2x - 6.

Step 4. Move terms: x−2x=−6−1x - 2x = -6 - 1, that is −x=−7-x = -7.

Step 5. Divide both sides by −1-1: x=7x = 7.

Step 6. Check: the left side is 84=2\frac{8}{4} = 2, the right side is 42=2\frac{4}{2} = 2. Correct.

You have to multiply every term of the equation by the common denominator, including terms that have no fraction. A forgotten term is the most common reason for a wrong answer in equations of this kind.

When there is no solution or infinitely many#

Sometimes, after combining like terms, the variable disappears from both sides.

If you are left with a false statement — for example 0⋅x=50 \cdot x = 5 or 3=83 = 8 — there is no solution: no number works.

If you are left with a true statement such as 0=00 = 0, any number works: the equation turned out to be an identity. That happens with 2(x+3)=2x+62(x + 3) = 2x + 6 — both sides say the same thing.

Both cases are legitimate answers, not a sign that the solution broke. Writing x=0x = 0 here is wrong: zero either does not work, or works just like every other number.

Typical mistakes#

Moving a term without changing its sign. Substitution catches it: if the answer does not fit, look for the sign.

Dividing only one side by the coefficient. You have to divide both.

Multiplying only the first term in the brackets: turning 3(x−2)3(x - 2) into 3x−23x - 2 instead of 3x−63x - 6.

Cancelling the variable by dividing by an expression that could be zero. In linear equations you never need to divide by an expression with the variable — moving terms is enough.

Checking and what comes next#

The substitution check is not optional: it takes one line and catches every mistake listed above. Always substitute into the original equation, not into an intermediate line — otherwise a mistake made along the way is repeated in the check.

Once single equations stop causing trouble, the next topic is systems of linear equations: there you reduce two unknowns to one and solve with exactly the same moves.

Step-by-step plan

  1. Step 1 — the simplest onesTen equations of the form x + a = b and ax = b, each checked by substitution.
  2. Step 2 — variable on both sidesCollect variables on the left and numbers on the right; watch the sign change when you move a term.
  3. Step 3 — bracketsEquations with brackets, including a minus sign in front of a bracket.
  4. Step 4 — fractionsMultiply both sides by the common denominator without skipping terms that have no fraction.
  5. Step 5 — special casesRecognise equations with no solution and identities, and write the answer in words.

Start learning this in your own space

The plan goes into your repository: tick off stages, keep notes — the change history shows how far you have come.

Start the plan

Check yourself

1.Solve 5x − 7 = 3x + 9. What is x?

2.Solve 3(x − 2) = 2x + 5. What is x?

3.Solve (x + 1)/4 = (x − 3)/2. What is x?

Sources

Was this helpful?

More articles

School math Systems of linear equations A system of two equations in two unknowns is solved with one idea: reduce the two unknowns to one. There are two ways to do it — solve for one variable and substitute, or add the equations so that one variable disappears. School math Decimals A decimal is an ordinary fraction whose denominator is always 10, 100 or 1000 — only the denominator is not written, the decimal point stands in for it. Every rule follows from that: where the point goes when you add, how many digits to count off when you multiply, and what to do with the point in the divisor. School math Fractions with unlike denominators You can only add pieces of the same size — sixths to sixths, twenty-fourths to twenty-fourths. That is why any operation on fractions with different denominators starts with a common denominator, and only then do you add the numerators. School math Dividing fractions Dividing by a fraction means multiplying by that fraction turned upside down. The rule is short, but it only works under three conditions: you flip the second fraction, mixed numbers are first turned into improper fractions, and a whole number is written as a fraction over one. School math Laws of exponents An exponent is shorthand for multiplying the same factor by itself. All five laws of exponents follow from that shorthand in one line, so a forgotten rule can always be rebuilt rather than guessed. School math Percentage word problems A percent is one hundredth: 1% = 0.01. Almost every school percentage problem comes down to one of three types, and each one takes a single operation — once you have worked out what the problem treats as the whole.

More solutions