Solving Linear Equations (Advanced)

A linear equation in one variable is any equation that can be written in the form ax + b = 0, where a ≠ 0. At the advanced level, these equations arrive in disguise: they may contain parentheses that require the distributive property, variable terms scattered on both sides of the equals sign, or fractions and decimals that must be cleared before solving becomes straightforward. The central goal is always the same — isolate the variable by performing identical operations on both sides of the equation, preserving equality at every step. Two special outcomes are possible when solving such equations. An equation that simplifies to a statement like 0 = 5 (always false) has no solution and is called a contradiction. An equation that simplifies to 0 = 0 (always true) is satisfied by every real number and is called an identity. Recognising these cases is just as important as finding a unique numerical answer, because they reveal the underlying structure of the equation rather than a computational error. Mastering advanced linear equations is foundational for algebra, since the same sequence of steps — distribute, combine like terms, move variable terms to one side, move constants to the other, divide by the coefficient — reappears throughout mathematics in increasingly complex contexts, from simultaneous equations to differential equations. Precision and careful sign management are the skills that separate confident solvers from those who struggle.

Key takeaways
  • Clear fractions or decimals (optional but helpful)
  • Apply the distributive property
  • Combine like terms on each side separately
  • Move all variable terms to one side
  • Move all constant terms to the other side
  • Divide by the coefficient of x
  • Check for special cases and verify

Clear fractions or decimals (optional but helpful)

If the equation contains fractions, multiply every term on both sides by the least common denominator (LCD). For decimals, multiply by the appropriate power of 10. This converts the equation to one with integer coefficients, reducing arithmetic errors. Example: multiplying 0.3x − 1.2 = 0.9 by 10 gives 3x − 12 = 9.

Apply the distributive property

Expand all parentheses using a(b + c) = ab + ac. Pay careful attention to negative signs in front of parentheses: −3(2x − 5) = −6x + 15, not −6x − 15. Missing a sign flip here is the single most common source of error in advanced linear equations.

Combine like terms on each side separately

On the left side, gather all terms containing x and all constant terms. Do the same on the right side. For example, 4x − x + 7 − 2 becomes 3x + 5. Only combine terms that are on the same side; do not move terms across the equals sign during this step.

Move all variable terms to one side

Add or subtract a variable term to eliminate it from one side. Convention places variable terms on the left: if the equation is 3x + 5 = x − 3, subtract x from both sides to obtain 2x + 5 = −3. Choose the side that gives a positive coefficient for x, avoiding unnecessary sign errors.

Move all constant terms to the other side

Add or subtract the constant to isolate the variable term. Continuing the example: 2x + 5 = −3, subtract 5 from both sides to get 2x = −8.

Divide by the coefficient of x

Divide both sides by the coefficient: 2x = −8 gives x = −4. If the coefficient is a fraction p/q, multiply both sides by its reciprocal q/p instead of dividing.

Check for special cases and verify

Substitute your answer back into the original equation. If both sides match, the solution is correct. If the variable cancels and you get a false statement (e.g., 7 = 2), the equation is a contradiction with no solution (∅). If the variable cancels and you get a true statement (e.g., 0 = 0), every real number is a solution.

The Key Equation

ax+b=cx+d  ⟹  x=d−ba−c,a≠cax + b = cx + d \implies x = \frac{d - b}{a - c}, \quad a \neq c
  • a — Left-side coefficient (dimensionless): The numerical coefficient of x on the left side of the equation.
  • b — Left-side constant (dimensionless): The constant term on the left side of the equation.
  • c — Right-side coefficient (dimensionless): The numerical coefficient of x on the right side of the equation.
  • d — Right-side constant (dimensionless): The constant term on the right side of the equation.
  • x — Unknown variable (dimensionless): The variable to be determined; equals (d − b)/(a − c) when a ≠ c.

Worked Example

Problem. Solve for x: 3(2x − 4) − 5 = 7x − (x + 3)

Solution set=∅\text{Solution set} = \emptyset

Answer. No solution (contradiction)

Figure
Diagram
Balance Model: 5(x − 1) + 3 = 2x + 12LEFT SIDERIGHT SIDE5(x − 1) + 3= 5x − 5 + 3= 5x − 22x + 12Subtract 2x:3x − 2 = 12Add 2:3x = 14Subtract 2x:12Add 2:14x = 14/3 ≈ 4.67Each operation is applied equally to both sides (balance principle)
Origins · 1 minAl-Khwarizmi and how this was discovered
A
Al-Khwarizmi
780–850 · Persian (Abbasid Caliphate)

Muhammad ibn Musa al-Khwarizmi wrote 'Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala' (c. 820 CE), the foundational text of algebra. The word 'algebra' derives directly from 'al-jabr' in his title, meaning the reunion of broken parts — essentially the process of adding the same quantity to both sides to eliminate negative terms. Al-Khwarizmi systematically described methods for solving linear and quadratic equations using the operations we now call transposing (al-jabr) and combining like terms (al-muqabala), centuries before symbolic notation existed. The word 'algorithm' itself comes from the Latinised version of al-Khwarizmi's name — Algoritmi — because his arithmetic texts introduced Hindu-Arabic numerals to medieval Europe.

  • Solving Linear Equations (Basic) — Advanced methods build directly on basic one- and two-step equation solving; fluency with those operations is assumed here.
  • Solving Linear Inequalities — Inequalities use the same algebraic steps as equations, with the critical addition of reversing the inequality sign when multiplying or dividing by a negative number.
  • Systems of Linear Equations — Solving a system by substitution reduces it to a single linear equation in one variable — exactly the skill developed here.
  • The Distributive Property — Expanding parentheses with the distributive property is the essential first step for most advanced linear equations covered in this topic.