MathLabs

Grade 8

Linear equations

Equations where the unknown appears only to the first power, solved by isolating the variable.

IntuitionA balance scale with one unknown weight

Picture a two-pan balance scale that is level. On one side sits an unknown weight xx plus some known weights; on the other side sit only known weights. Whatever you do to one pan — add, remove, or split weights equally — you must do to the other pan too, or the scale tips. Solving ax+b=0ax+b=0 is exactly this game: you add, subtract, multiply or divide both sides by the same quantity until only xx remains alone on one side. That single surviving value is the unknown's true weight.

Interactive plot of a line y=cx+d with an adjustable root
The line y=x−2y=x-2: drag the slope cc and intercept dd to see the root — where the line crosses y=0y=0 — slide left or right.

SchoolStandard form and the two legal moves

Definition: Linear equation in one unknown

A linear equation in one unknown xx is an equation that can be written in the standard form ax+b=0ax+b=0, where aa and bb are given numbers (coefficients) and a≠0a\neq0. The condition a≠0a\neq0 is essential: without it, xx would vanish from the equation entirely.

ax+b=0ax+b=0

Two moves keep the balance scale level. Transposition: move a term to the other side by flipping its sign (adding −b-b to both sides turns ax+b=0ax+b=0 into ax=−bax=-b). Scaling: divide both sides by the same nonzero number (dividing ax=−bax=-b by aa, allowed exactly because a≠0a\neq0, gives x=−bax=-\dfrac{b}{a}).

x=−bax=-\dfrac{b}{a}
The two cases hiding behind the coefficient a
ConditionEquation becomesNumber of solutions
a≠0ax+b=0ax+b=0Exactly one: x=−bax=-\dfrac{b}{a}
a=0, b=00⋅x+b=00\cdot x+b=0Infinitely many (any x works)
a=0, b≠00⋅x+b=00\cdot x+b=0None (no x works)

UndergraduateTwo key theorems

If a≠0a\neq0, the equation ax+b=0ax+b=0 has exactly one solution, namely x=−bax=-\dfrac{b}{a}.

Why is it true?

This is what lets us call the equation "linear": one unknown, one clean answer, never two, never none, as long as a is not zero.

Proof

Existence. Starting from ax+b=0ax+b=0, add −b-b to both sides: this does not change the balance, and gives ax=−bax=-b. Since a≠0a\neq0, we may divide both sides by aa: this too preserves the balance, and gives x=−bax=-\dfrac{b}{a}. Substituting this value back, a(−ba)+b=−b+b=0a\left(-\dfrac{b}{a}\right)+b=-b+b=0, so it genuinely satisfies the equation — a solution exists.

Uniqueness. Suppose x1x_1 and x2x_2 are both solutions, so ax1+b=0ax_1+b=0 and ax2+b=0ax_2+b=0. Subtracting the two equations eliminates bb: ax1−ax2=0a x_1 - a x_2 = 0, i.e. a(x1−x2)=0a(x_1-x_2)=0. Because a≠0a\neq0, the only way a product of two numbers is zero is if the other factor is zero, so x1−x2=0x_1-x_2=0, i.e. x1=x2x_1=x_2. Hence no two different numbers can both solve the equation: the solution found above is the only one.

If a=0a=0, the equation ax+b=0ax+b=0 reduces to b=0b=0: it has infinitely many solutions (every real x works) when b=0b=0 is a true statement, and no solution at all when b≠0b\neq0.

Why is it true?

This shows the label "linear equation" secretly depends on the coefficient of x being nonzero — drop that, and the whole notion of "one unique answer" collapses into either every answer or no answer.

Proof

Substitute a=0a=0 directly into ax+b=0ax+b=0: the term axax becomes 0⋅x=00\cdot x=0 for every real number xx, since any number times zero is zero. So the equation literally becomes b=0b=0, a statement about bb alone that no longer mentions xx at all.

Now there are exactly two possibilities for the fixed number bb. If b=0b=0, the leftover statement "0=00=0" is true regardless of which xx we substituted — so every real number xx satisfies the original equation, giving infinitely many solutions. If instead b≠0b\neq0, the leftover statement "b=0b=0" is simply false — no value of xx can make a false numerical statement true, so the equation has no solution whatsoever, no matter what xx we try.

UndergraduateReal-World Applications and Worked Examples

Linear equations are the workhorse of quick quantitative reasoning: whenever a quantity changes at a constant rate from a fixed starting point, finding "when" or "how many" boils down to isolating x in an equation of this form. Engineers convert units, businesses locate break-even points, and everyday apps compute fares this way.

Example: Finance — the break-even point

A workshop's cost to produce xx units is 5x+20005x+2000 dollars; selling all xx units brings in revenue 13x13x dollars. How many units must be produced and sold to exactly break even (cost equals revenue)?

Solution

Step 1 (Set cost equal to revenue). Break-even means cost and revenue are equal, so we write 5x+2000=13x5x+2000=13x. This is a linear equation with xx appearing only once its terms are combined.

Step 2 (Isolate x). Subtract 5x5x from both sides: 2000=8x2000=8x, then divide both sides by 88: x=250x=250. So the workshop must produce and sell 250250 units to break even; beyond that quantity, revenue exceeds cost and the workshop turns a profit.

Example: Physics — temperature conversion

A patient's temperature reads 98.6°F98.6\degree\mathrm{F} on a Fahrenheit thermometer. Using the conversion 95C+32=98.6\dfrac{9}{5}C+32=98.6, find the equivalent temperature CC in degrees Celsius.

Solution

Step 1 (Isolate the term with C). From 95C+32=98.6\dfrac{9}{5}C+32=98.6, subtract 3232 from both sides: 95C=66.6\dfrac{9}{5}C=66.6.

Step 2 (Undo the coefficient). Multiply both sides by 59\dfrac{5}{9} (the reciprocal of 95\dfrac{9}{5}), which is the same move as dividing by 95\dfrac{9}{5}: C=37C=37. A Fahrenheit reading of 98.6°98.6\degree is exactly normal human body temperature, 37°C37\degree\mathrm{C}.

Solve 2x+5=132x+5=13 for x.

Which of these equations has no solution?

A vendor's cost is 4x+3004x+300 and revenue is 10x10x. How many units x give break-even?

What condition on a is required so that ax+b=0ax+b=0 always has exactly one solution?