Linear Equations
Interactive curriculum lessons, worked examples, and geometric problem-solving techniques designed to help Kenyan students master CBC, KPSEA, KCSE, and IGCSE mathematics.
First Principles
Objective: Master solving linear equations in one variable using the balance model, maintaining equivalence through inverse operations.
The Golden Rule of Equations: Think of an algebraic equation as a traditional Pan-African twin-pan balance scale (like those used in open-air markets across Nairobi, Lagos, and Accra). The equals sign \(=\) means both pans are in perfect level balance. Whatever you add, subtract, multiply, or divide on the left pan, you must do exactly the same to the right pan to keep the beam level.
Step 1: Concrete Scenario — The Market Balance
Suppose a trader has \(2\) identical sealed sacks of beans (each weighing unknown \(x\) kg) plus a \(5\text{ kg}\) metal counterweight on the left pan. On the right pan sits a \(13\text{ kg}\) weight. The scale is perfectly balanced:
\[ 2x + 5 = 13 \]To find the weight of one sack \(x\):
- Step A (Isolate the variable term): Remove the \(5\text{ kg}\) metal weight from the left pan. To keep the beam level, you must also remove \(5\text{ kg}\) from the right pan: \(13 - 5 = 8\text{ kg}\). Now, \(2x = 8\).
- Step B (Isolate the single unit): The two sacks weigh \(8\text{ kg}\) together. Divide the contents of both pans by \(2\). One sack weighs \(\frac{8}{2} = 4\text{ kg}\).
Step 2: Interactive Balance Simulator
Click the buttons to see the balance stay in equilibrium at each step.
Step 3: The Principle of Inverse Operations
To "undo" an operation and isolate \(x\), apply the inverse (opposite) operation to both sides of the equation:
- Addition \((+)\) is undone by Subtraction \((-)\).
- Subtraction \((-)\) is undone by Addition \((+)\).
- Multiplication \((\times)\) is undone by Division \((\div)\).
- Division \((\div)\) is undone by Multiplication \((\times)\).
Key Formulas
- Subtract the constant: \[ ax = c - b \]
- Divide by the coefficient: \[ x = \frac{c - b}{a} \]
- Collect variable terms to one side: \[ (a - c)x + b = d \]
- Subtract constant \(b\): \[ (a - c)x = d - b \]
- Isolate \(x\): \[ x = \frac{d - b}{a - c} \quad (a \neq c) \]
Substitute the calculated value of \(x\) back into the left-hand side (LHS) and right-hand side (RHS). The solution is correct if and only if:
\[ \text{LHS} = \text{RHS} \]Worked Examples
Solve for \(x\): \[ 3x + 7 = 22 \]
- Step 1 (Undo Addition): Subtract \(7\) from both sides to isolate the \(3x\) term. \[ 3x + 7 - 7 = 22 - 7 \] \[ 3x = 15 \]
- Step 2 (Undo Multiplication): Divide both sides by \(3\). \[ \frac{3x}{3} = \frac{15}{3} \] \[ x = 5 \]
- Check: \(3(5) + 7 = 15 + 7 = 22\) (Correct!).
Solve for \(m\): \[ 5m - 8 = 2m + 13 \]
- Step 1 (Group variable terms): Subtract \(2m\) from both sides. \[ 5m - 2m - 8 = 2m - 2m + 13 \] \[ 3m - 8 = 13 \]
- Step 2 (Group constant terms): Add \(8\) to both sides. \[ 3m - 8 + 8 = 13 + 8 \] \[ 3m = 21 \]
- Step 3 (Isolate variable): Divide by \(3\). \[ m = \frac{21}{3} = 7 \]
- Check: LHS \(= 5(7) - 8 = 35 - 8 = 27\). RHS \(= 2(7) + 13 = 14 + 13 = 27\). Both sides match!
Solve for \(y\): \[ \frac{2(y - 3)}{5} + 4 = 8 \]
- Step 1 (Isolate the fraction): Subtract \(4\) from both sides. \[ \frac{2(y - 3)}{5} = 8 - 4 = 4 \]
- Step 2 (Eliminate denominator): Multiply both sides by \(5\). \[ 2(y - 3) = 4 \times 5 = 20 \]
- Step 3 (Clear brackets or divide): Divide both sides by \(2\). \[ y - 3 = \frac{20}{2} = 10 \]
- Step 4 (Final isolation): Add \(3\) to both sides. \[ y = 10 + 3 = 13 \]
- Check: \(\frac{2(13 - 3)}{5} + 4 = \frac{2(10)}{5} + 4 = \frac{20}{5} + 4 = 4 + 4 = 8\). Verified!
Common Mistakes
The Mistake: From \(2x + 5 = 13\), writing \(2x = 13\) and getting \(x = 6.5\).
Why it happens: Learners think of "moving" \(5\) across the equal sign as just erasing it from the left.
The Fix: An equation is a balance. If you remove \(5\) from the left pan, you MUST subtract \(5\) from the right pan: \(2x = 13 - 5 = 8\implies x = 4\).
The Mistake: In \(4x - 6 = 14\), subtracting \(6\) to get \(4x = 8\).
Why it happens: Forgetting that the inverse of subtraction \((-6)\) is addition \((+6)\).
The Fix: Always use inverse operations: to undo \(-6\), add \(6\) to both sides: \(4x = 14 + 6 = 20 \implies x = 5\).
The Mistake: In \(3x + 9 = 15\), dividing only \(3x\) by \(3\) to get \(x + 9 = 5\).
Why it happens: Attempting division before clearing addition/subtraction, and forgetting that division applies to every term.
The Fix: Follow standard order of operations in reverse: isolate variable terms first by subtracting \(9\) (giving \(3x = 6\)), then divide by \(3\) (giving \(x = 2\)).
Real World
Practice