Linear Equations in One Variable

⚡ Key Takeaways

Linear equations in one variable are equations of the form ax+b=0ax + b = 0 where a≠0a \neq 0. They have exactly one solution, x=−b/ax = -b/a. Used everywhere from balancing budgets to physics formulas, they are the simplest nontrivial algebraic equation and the foundation of all algebra. Formalized through centuries of work culminating in modern symbolic notation (16th–17th c.).

💡 The Core Insight

An equation is a balance scale. Whatever you do to one side you must do to the other to keep it balanced. By systematically isolating the unknown through reversible operations — adding, subtracting, multiplying, dividing by nonzero quantities — you transform the original equation into a chain of equivalent equations ending in the form x=(a number)x = \text{(a number)}. Because each step is reversible, the final answer is guaranteed to be the solution of the original.

Formal Statement

DefinitionLinear Equation in One Variable

A linear equation in one variable xx is any equation that can be rearranged into the standard form

1
ax+b=0,a≠0\quad ax + b = 0, \qquad a \neq 0

Derivation hint: Collect all variable terms on the left and all constants, then move everything to one side; aa is the net coefficient of xx, bb the net constant. where:

  • xx is the variable (the unknown),
  • aa is the coefficient of xx, a real number with a≠0a \neq 0,
  • bb is the constant term, any real number.

The solution (or root) is the value of xx that makes the equation true.

TheoremExistence and Uniqueness

Every linear equation in one variable ax+b=0ax + b = 0 with a≠0a \neq 0 has exactly one real solution, given by

2
x=−ba\quad x = -\frac{b}{a}

Derivation hint: Subtract bb from both sides, then divide both sides by aa (legal since a≠0a \neq 0). If a=0a = 0 the equation degenerates: it becomes b=0b = 0, which has no solution if b≠0b \neq 0 and infinitely many solutions (all real xx) if b=0b = 0.

Why It Holds / Derivation

ProofSolving the General Linear Equation

We begin with the standard form and isolate xx using reversible operations.

Step 1. Start from the equation:

3
ax+b=0\quad ax + b = 0

Derivation hint: This is the definition; nothing assumed yet except a≠0a \neq 0.

Step 2. Subtract bb from both sides. Subtraction of the same number from both sides preserves equality:

4
ax=−b\quad ax = -b

Derivation hint: (ax+b)−b=0−b(ax + b) - b = 0 - b, and b−b=0b - b = 0 on the left.

Step 3. Divide both sides by aa. Because a≠0a \neq 0, division is defined and reversible:

5
x=−ba\quad x = -\frac{b}{a}

Derivation hint: axa=−ba\dfrac{ax}{a} = \dfrac{-b}{a}, and axa=x\dfrac{ax}{a} = x since a≠0a \neq 0.

Step 4 (Uniqueness). Suppose two values x1x_1 and x2x_2 both solve the equation. Then ax1+b=0=ax2+bax_1 + b = 0 = ax_2 + b, so ax1=ax2ax_1 = ax_2, giving a(x1−x2)=0a(x_1 - x_2) = 0. Since a≠0a \neq 0, we must have x1−x2=0x_1 - x_2 = 0, i.e. x1=x2x_1 = x_2. Hence the solution is unique. ■\blacksquare

∎
⚠️ The role of a≠0a \neq 0

The entire theorem rests on a≠0a \neq 0. Division by aa is only valid when aa is nonzero. If you ever "lose" the variable during simplification (xx cancels completely), you have hit the degenerate case a=0a = 0 — examine the leftover constant statement instead of dividing.

mathematician · Muhammad ibn Musa al-Khwarizmi | c. 780–850 CE

The Persian scholar al-Khwarizmi, working in Baghdad's House of Wisdom, wrote Al-Kitab al-mukhtasar fi hisab al-jabr wa'l-muqabala (c. 820), from whose title "al-jabr" we get the word algebra. He described two key operations: al-jabr ("restoration" — moving a subtracted term to the other side as an addition) and al-muqabala ("balancing" — cancelling equal terms on both sides). These are precisely Steps 2 and 3 of our derivation, though al-Khwarizmi expressed everything in words and geometric arguments, with no symbols at all.

Building Intuition

🧠 Intuition

Imagine an old two-pan balance scale. The left pan holds "ax+bax + b" worth of weight; the right pan holds "00." The scale is level — the equation is true — only for a particular unknown weight xx. To find xx, you strip away everything attached to it without tipping the scale:

  • First remove the constant bb from the left pan — but to keep balance you remove bb from the right too (Step 2).
  • Now the left pan holds aa copies of xx. To find one copy, split both pans into aa equal parts (Step 3).

Every legal move keeps the scale balanced, so the final reading — x=−b/ax = -b/a — is exactly the weight that balanced it originally. The reversibility is what guarantees correctness: you could "rewind" each step and land back at the start.

Figure
Balancing 2x+3=112x + 3 = 11: each step keeps both sides equal until xx is isolated
Solving 2x + 3 = 11 2x + 3 = 11 original equation 2x = 8 subtract 3 from both sides x = 4 divide both sides by 2 0 2 4 6 8 solution x = 4

Worked Examples

ExampleSolving with fractions and parentheses

Solve: 3(x−2)4+5=2x−1\dfrac{3(x - 2)}{4} + 5 = 2x - 1

Given: A linear equation with a fraction and parentheses.

Step 1 — Clear the fraction. Multiply every term on both sides by 44:

6
3(x−2)+20=8x−4\quad 3(x - 2) + 20 = 8x - 4

Derivation hint: 4⋅3(x−2)4=3(x−2)4 \cdot \frac{3(x-2)}{4} = 3(x-2), 4⋅5=204 \cdot 5 = 20, 4⋅(2x−1)=8x−44 \cdot (2x-1) = 8x - 4.

Step 2 — Expand the parentheses:

7
3x−6+20=8x−4  ⟹  3x+14=8x−4\quad 3x - 6 + 20 = 8x - 4 \;\Longrightarrow\; 3x + 14 = 8x - 4

Derivation hint: Distribute 33 over (x−2)(x-2), then combine −6+20=14-6 + 20 = 14.

Step 3 — Collect variable terms left, constants right. Subtract 3x3x and add 44 to both sides:

8
18=5x\quad 18 = 5x

Derivation hint: 14+4=1814 + 4 = 18 on one side; 8x−3x=5x8x - 3x = 5x on the other.

Step 4 — Divide by 55:

9
x=185=3.6\quad x = \frac{18}{5} = 3.6

Derivation hint: Both sides divided by 55, the coefficient of xx.

Check: LHS =3(3.6−2)4+5=3(1.6)4+5=1.2+5=6.2= \frac{3(3.6-2)}{4}+5 = \frac{3(1.6)}{4}+5 = 1.2 + 5 = 6.2; RHS =2(3.6)−1=6.2= 2(3.6)-1 = 6.2. ✓

x=185=3.6\boxed{x = \tfrac{18}{5} = 3.6}
ExampleA word problem with units

Problem: A taxi charges a fixed fee of $3.50 plus $2.20 per kilometre. A ride cost $25.10. How far was the ride?

Given: Fixed fee =$3.50= \$3.50, rate =$2.20/km= \$2.20/\text{km}, total =$25.10= \$25.10. Let dd = distance in km.

Step 1 — Model the situation:

10
3.50+2.20 d=25.10\quad 3.50 + 2.20\,d = 25.10

Derivation hint: Total cost = fixed fee + (rate × distance).

Step 2 — Subtract the fixed fee:

11
2.20 d=21.60\quad 2.20\,d = 21.60

Derivation hint: 25.10−3.50=21.6025.10 - 3.50 = 21.60.

Step 3 — Divide by the rate:

12
d=21.602.20=9.818…\quad d = \frac{21.60}{2.20} = 9.818\ldots

Derivation hint: Dividing both sides by 2.20 $/km2.20\ \text{\$/km} leaves units of km.

Check: 3.50+2.20×9.818≈3.50+21.60=25.103.50 + 2.20 \times 9.818 \approx 3.50 + 21.60 = 25.10. ✓

d≈9.82 km\boxed{d \approx 9.82\ \text{km}}

Common Misconceptions

⚠️ Operate on whole sides, not single terms

When clearing a fraction or distributing, you must multiply every term on both sides, not just the fraction. A frequent error in Example 1 is multiplying only the fractional term by 44 and forgetting the +5+5 and the 2x−12x - 1. Similarly, when you "move a term across the equals sign" you must change its sign — this is shorthand for adding or subtracting the same quantity on both sides.

CounterexampleWhen the variable disappears

Consider the equation

13
2(x+3)=2x+5\quad 2(x + 3) = 2x + 5

Derivation hint: Expand the left side and compare with the right. Expanding: 2x+6=2x+52x + 6 = 2x + 5. Subtracting 2x2x from both sides gives 6=56 = 5, a false statement. The variable vanished and what remains is a contradiction, so the equation has no solution (the "a=0, b≠0a=0,\ b\neq 0" degenerate case). By contrast, 2(x+3)=2x+62(x+3) = 2x + 6 collapses to 6=66 = 6, always true, so it has infinitely many solutions (every real xx). Recognizing these two degenerate outcomes is essential — they are not "errors," they are valid answers about the equation's structure. See Inconsistent and Identity Equations.

Connections

connection

A linear equation in one variable is the simplest member of a vast family. Setting it equal to a function gives a Linear Functions y=ax+by = ax + b whose xx-intercept is exactly the solution −b/a-b/a — solving the equation is finding where the line crosses the xx-axis. Adding a second variable produces Linear Equations in Two Variables, whose solution set is a whole line rather than a single point; pairing two of these yields Systems of Linear Equations. Raising the power of xx leads to Quadratic Equations, where the elegant single-solution guarantee gives way to zero, one, or two roots. The manipulation rules used here — adding equals to equals, multiplying both sides — are formalized abstractly in the Field Axioms of real numbers, and generalized to many variables at once in Linear Algebra.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 1650 BCE — Rhind Papyrus (Egypt): the aha ("heap") problems solve linear equations by the method of false position — guess a value, see how far off, then scale.
- c. 300 BCE — Euclid's Elements: geometric formulations of proportional relationships, foundational logic of equality.
- c. 250 CE — Diophantus of Alexandria: Arithmetica introduces syncopated notation, an early abbreviation system standing between words and symbols.
- c. 820 CE — al-Khwarizmi (Baghdad): systematic verbal procedures al-jabr and al-muqabala — the birth of algebra as a discipline.
- 1202 — Fibonacci, Liber Abaci: transmits Hindu-Arabic numerals and al-Khwarizmi's methods to Europe, popularizing false position.
- 1557 — Robert Recorde, The Whetstone of Witte: introduces the equals sign "=", choosing two parallel lines "bicause noe 2 thynges can be moare equalle."
- 1591 — François Viète, In artem analyticem isagoge: uses letters for both knowns and unknowns, founding symbolic algebra.
- 1637 — René Descartes, La Géométrie: establishes the modern convention of x,y,zx, y, z for unknowns and a,b,ca, b, c for constants, plus the link between equations and curves (coordinate geometry).
- 19th c. — Abstract algebra: the manipulation rules are recognized as consequences of the field axioms, placing one-variable linear equations within a rigorous general theory.

Subtleties & Limits

open-problem

For real numbers, the one-variable linear equation is completely understood — there is nothing left to discover at this level. The genuine subtleties appear when the setting changes:

  • Modular arithmetic: the equation ax≡b(modm)ax \equiv b \pmod{m} may have zero, one, or several solutions depending on gcd⁡(a,m)\gcd(a, m) — uniqueness fails. This is the gateway to number theory.
  • Non-field number systems: over the integers, 2x=32x = 3 has no integer solution though a≠0a \neq 0, because division is not always available. Over the integers mod mm, "a≠0a \neq 0" no longer guarantees aa is invertible.
  • Floating-point computation: when aa is extremely small, computing −b/a-b/a on a real computer amplifies rounding error — the ill-conditioned case studied in numerical analysis.

These show that "exactly one solution" is a property of the real number field, not of linear equations in the abstract — a lesson that motivates much of higher algebra.

See Also

Linear Functions · Linear Equations in Two Variables · Systems of Linear Equations · Linear Inequalities in One Variable · Quadratic Equations · Field Axioms · Inconsistent and Identity Equations