Intermediate level

Linear equations

A linear equation is an equality with the unknown in the first power. Learn the operations that keep equations equivalent, solve one step by step, check the result, rearrange a formula to make another quantity its subject, and handle an unknown in a denominator.

Before you start

This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:

Where this is used

Real situations where you count exactly the way this lesson teaches:

  • The gym
    An unlimited monthly pass costs 129, a single visit 15. Solving 15x = 129 gives x = 8.6, so the pass only starts paying off on the ninth visit of the month — stop at eight and you spend 120 and come out cheaper without it.
  • Renting a car
    Offer A: 300 a month plus 0.90 per kilometre. Offer B: 1,200 a month plus 0.40 per kilometre. The equation 300 + 0.9k = 1200 + 0.4k gives k = 1,800 km — drive less and A wins, drive more and B does, and exactly there both cost 1,920.
  • Travel and navigation
    One formula, s = vt, answers three different questions depending on which letter you make its subject. Want the time — t = s/v, so 240 km at 80 km/h takes 3 h. Want the speed — v = s/t, so covering those 240 km in 2.5 h needs 96 km/h. A satnav redoes this arithmetic on every change of route.
  • Cake shop
    A slice sells for 8, its ingredients cost 3.20, and rent plus power come to 4,600 a month. Break-even is 8x = 4600 + 3.2x, so x = 959 slices, roughly 32 a day. Below that the shop loses money even though every single slice is sold at a profit.

All formulas

  • A linear equation in one unknown

    ax+b=c(a0)ax + b = c \quad (a \neq 0)

    the unknown appears in the first power

  • The solution

    x=cbax = \frac{c - b}{a}

    subtract the constant, divide by the coefficient

  • Adding a number to both sides

    a=b    a+c=b+ca = b \iff a + c = b + c

    an equivalent equation — same solutions

  • Multiplying both sides

    a=b    ac=bc(c0)a = b \iff a \cdot c = b \cdot c \quad (c \neq 0)

    multiply and divide only by a non-zero number

  • Special cases

    0x=0vs.0x=c00 \cdot x = 0 \quad \text{vs.} \quad 0 \cdot x = c \neq 0

    an identity (every x) and a contradiction (no solutions)

  • Rearranging a formula

    s=vt    t=sv(v0)s = vt \iff t = \frac{s}{v} \quad (v \neq 0)

    isolate one letter, treat the rest as numbers

  • An unknown in the denominator

    px+b=q    p=q(x+b)(xb)\frac{p}{x + b} = q \iff p = q(x + b) \quad (x \neq -b)

    state the domain first, multiply afterwards

An equation states that two expressions are equal and contains an unknown. To solve an equation means to find every number that makes the statement true when substituted for the unknown.

An equation is linear when the unknown appears in the first power — not squared, not in a denominator, not under a root:

ax+b=c(a0)ax + b = c \quad (a \neq 0)

A balance scale, or equivalent equations

The equals sign works like a balance scale: both sides weigh the same. As long as we do exactly the same thing to both sides, the balance holds and the set of solutions does not change. Equations related that way are called equivalent.

Two operations preserve equivalence:

a=b    a+c=b+ca = b \iff a + c = b + c a=b    ac=bc(c0)a = b \iff a \cdot c = b \cdot c \quad (c \neq 0)

The condition c0c \neq 0 is not a formality: multiplying both sides by zero turns any equation into the true 0=00 = 0, and dividing by zero cannot be done at all.

This is where the school phrase "move it across and change the sign" comes from. It is not a separate rule but shorthand: from x+5=12x + 5 = 12 we subtract 55 from both sides and are left with x=7x = 7.

Solving step by step

The plan is always the same: tidy up both sides, gather the unknowns on one side and the numbers on the other, then divide by the coefficient of the unknown.

Solve: 5x − 8 = 3x + 6.

Checking is part of the solution, not decoration: it costs two multiplications and catches every lost sign.

The solution on a graph

This one section needs the coordinate plane, so what it needs is here. Two perpendicular axes — the horizontal xx and the vertical yy — meet at the point (0,0)(0, 0). Every point of the plane is then described by a pair of numbers: the first says how far to go right, the second how far up. So the point (4,11)(4, 11) sits four squares right of the yy axis and eleven up from the xx axis. That is everything the drawing below asks for; the coordinate plane itself — quadrants, distances, the midpoint of a segment — is a topic of its own: the coordinate plane.

The equation 2x+3=112x + 3 = 11 can be read as a question: for which xx does the line y=2x+3y = 2x + 3 reach the height 1111?

−202468−40481216xyx = 4y = 2x + 3y = 11
The solution is the x-coordinate of the crossing point: x = 4.

The lines cross at a single point, so the equation has exactly one solution. The same picture explains both special cases below: parallel lines never meet, while lines that coincide share every point.

When there is no solution — and when there are infinitely many

Sometimes the unknowns vanish along the way. What is left is a statement about numbers alone, and that statement decides:

0x=c0— a contradictory equation, no solutions0 \cdot x = c \neq 0 \quad \text{— a contradictory equation, no solutions} 0x=0— an identity equation, satisfied by every number0 \cdot x = 0 \quad \text{— an identity equation, satisfied by every number}
Solve: 2(x + 3) = 2x + 1 and 3(x − 2) = 3x − 6.

An equation as a model

The power of equations comes from describing real situations. A taxi charges 8 for the ride plus 3 per kilometre; how far does 29 take us?

8+3x=2988 + 3x = 29 \quad \big| -8 3x=21:33x = 21 \quad \big| : 3 x=7x = 7

Seven kilometres. The hard part of such a task is rarely the arithmetic — it is writing the equation down.

Rearranging a formula

A formula is an equation in several letters: s=vts = vt ties distance, speed and time together, and P=abP = ab ties the area of a rectangle to its sides. It is always written with one of those letters as its subject, but the question is often about another one. Rather than substituting numbers and starting from scratch every time, it pays to make the wanted quantity the subject once — and get a ready-made formula out of it.

The rules are exactly the ones used with a single unknown. The letter we are after is the unknown; every other letter is treated as a number:

s=vt:vs = vt \quad \big| : v t=sv(v0)t = \frac{s}{v} \quad (v \neq 0)

The condition v0v \neq 0 is not decoration. In an ordinary equation you can see what you are dividing by and check that it is not zero; with a letter nobody checks for you, so the condition has to be written down.

Make r the subject of the circumference formula C = 2πr, and h the subject of the cylinder volume V = πr²h.

When the wanted letter appears in more than one place, gather it on one side first and factor it out — just as in algebraic expressions. From the perimeter of a rectangle P=2(a+b)P = 2(a + b), the letter aa comes out in two moves:

P=2(a+b):2P = 2(a + b) \quad \big| : 2 P2=a+bb\frac{P}{2} = a + b \quad \big| -b a=P2ba = \frac{P}{2} - b

An unknown in the denominator

The equation 12x+1=4\dfrac{12}{x + 1} = 4 is not linear — the unknown sits in a denominator. One multiplication reduces it to a linear one, though, and from there the plan of this lesson takes over. The order of the steps is different from usual: the assumption comes before the arithmetic.

A denominator cannot be zero, because division by zero cannot be done. So the number that makes it zero is excluded:

x+10    x1x + 1 \neq 0 \iff x \neq -1

The set of numbers for which the equation makes sense at all is its domain. For a linear equation ax+b=cax + b = c the domain is the whole of R\mathbb{R}, which is why nobody mentions it. Here one number drops out of it — and it has to be written down before any rearranging, because multiplying by the denominator erases every trace of it.

The assumption, once written, is also the permission for the next step: since x+10x + 1 \neq 0, both sides may be multiplied by that bracket.

px+b=q    p=q(x+b)(xb)\frac{p}{x + b} = q \iff p = q(x + b) \quad (x \neq -b)
Solve: 12/(x + 1) = 4.

That last step — comparing the result against the domain — is not a formality. Sometimes the only candidate is exactly the excluded number, and then the equation has no solutions, even though the arithmetic was flawless. So it goes with xx3=3x3\dfrac{x}{x - 3} = \dfrac{3}{x - 3}: the domain is x3x \neq 3, multiplying by the denominator gives x=3x = 3, and that number is not in the domain. The solution set is empty.

Equations with more fractions than one, or with a polynomial in the denominator, are the subject of rational expressions and equations. The scheme stays the same: domain, arithmetic, then check the candidates.

In the exercises below, enter the solution in the form x=5x = 5 (a bare 55 is accepted too). Where the task is to make a quantity the subject of a formula, the answer is an expression in the remaining letters — for s=vts = vt and the wanted tt that is s/vs/v.

Practice

Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.

Exercise 1 of 8Score: 0
3x + 11 = 20

Common mistakes

  • Moving a term across without changing its signx+5=12x + 5 = 12 gives x=7x = 7, not x=17x = 17.
  • Operating on one side only — when you divide, divide both sides.
  • Losing a sign at a bracket2(x5)-2(x - 5) is 2x+10-2x + 10.
  • Dividing by an expression containing the unknown — it may be zero, so solutions get lost.
  • Dividing by a letter without a conditions=vts = vt gives t=svt = \frac{s}{v} only when v0v \neq 0.
  • Multiplying by the denominator before writing the domain — once multiplied, the excluded number is invisible.
  • Accepting a candidate outside the domain — if the only candidate drops out of it, the equation has no solutions.
  • Skipping the check — the one step that catches an arithmetic slip.

Formula card

Topic: Linear equations

  • A linear equation in one unknown

    ax+b=c(a0)ax + b = c \quad (a \neq 0)

    the unknown appears in the first power

  • The solution

    x=cbax = \frac{c - b}{a}

    subtract the constant, divide by the coefficient

  • Adding a number to both sides

    a=b    a+c=b+ca = b \iff a + c = b + c

    an equivalent equation — same solutions

  • Multiplying both sides

    a=b    ac=bc(c0)a = b \iff a \cdot c = b \cdot c \quad (c \neq 0)

    multiply and divide only by a non-zero number

  • Special cases

    0x=0vs.0x=c00 \cdot x = 0 \quad \text{vs.} \quad 0 \cdot x = c \neq 0

    an identity (every x) and a contradiction (no solutions)

  • Rearranging a formula

    s=vt    t=sv(v0)s = vt \iff t = \frac{s}{v} \quad (v \neq 0)

    isolate one letter, treat the rest as numbers

  • An unknown in the denominator

    px+b=q    p=q(x+b)(xb)\frac{p}{x + b} = q \iff p = q(x + b) \quad (x \neq -b)

    state the domain first, multiply afterwards

−202468−40481216xyx = 4y = 2x + 3y = 11
The solution of 2x + 3 = 11 is the x-coordinate of the point where the line y = 2x + 3 crosses the horizontal line y = 11.

Frequently asked questions

Related articles