Mathematics.

equations

Linear Equations

Algebra I45 minDifficulty2 out of 10

You should know: variables and expressions

Overview

A linear equation is an equation in which every variable term appears only to the first power and is never multiplied by another variable — its graph is always a straight line (in two variables) or a single point/line/plane in general. Linear equations are the simplest and most widely used equations in mathematics: they model constant rates of change, describe straight-line relationships between quantities, and form the building blocks for nearly every more advanced algebraic structure, from systems of equations to linear algebra itself.

Intuition

Think of a linear equation as a balance scale. The equals sign is the fulcrum, and whatever is on the left pan must weigh exactly the same as whatever is on the right pan. If you add, subtract, multiply, or divide by the same amount on both sides, the scale stays balanced — that's the entire logic of 'solving' an equation: perform the same operation to both sides until the unknown variable sits alone on one side. Because the variable never appears squared, multiplied by another variable, or inside a more complicated function, the 'weight' it contributes to the scale changes at a constant rate — which is exactly why its graph is a straight line.

Formal Definition

Definition

A linear equation in one variable can always be written in the standard form below. A linear equation in two variables similarly has a standard form, and every solution (x, y) pair traces out a straight line when plotted.

ax+b=0,a0ax + b = 0, \quad a \neq 0

The general form of a linear equation in a single unknown x, with a, b real constants

One variable
Ax+By=C,(A,B)(0,0)Ax + By = C, \quad (A, B) \neq (0,0)

The standard form of a linear equation in two unknowns; its graph is a line in the coordinate plane

Two variables
x=bax = -\frac{b}{a}

The unique solution to ax + b = 0 when a ≠ 0

Solution

Notation

NotationMeaning
ax+b=0ax+b=0Standard form, one variable
Ax+By=CAx+By=CStandard form, two variables
y=mx+by=mx+bSlope-intercept form (a common alternative form for two-variable linear equations)

Derivation

Solving the general one-variable linear equation ax + b = 0 for x, using only the balance-scale operations (add/subtract/multiply/divide both sides equally):

ax+b=0ax + b = 0

Start with the general form

ax+bb=0bax + b - b = 0 - b

Subtract b from both sides to isolate the term containing x

ax=bax = -b

Simplify

axa=ba\frac{ax}{a} = \frac{-b}{a}

Divide both sides by a (valid since a ≠ 0)

x=bax = -\frac{b}{a}

Simplify — this is the unique solution

Proofs

A linear equation ax + b = 0 (a ≠ 0) has exactly one solution
  1. Existence: x=b/a satisfies the equation.\text{Existence: } x = -b/a \text{ satisfies the equation.}(Substitute: a(-b/a) + b = -b + b = 0. So a solution exists.)
  2. Uniqueness: suppose ax1+b=0 and ax2+b=0.\text{Uniqueness: suppose } ax_1 + b = 0 \text{ and } ax_2 + b = 0.(Assume two solutions exist)
  3. ax1+b=ax2+b    ax1=ax2ax_1 + b = ax_2 + b \;\Rightarrow\; ax_1 = ax_2(Both equal 0, so they equal each other; subtract b from both sides)
  4. x1=x2x_1 = x_2(Divide both sides by a, valid since a ≠ 0. Hence the solution is unique.)

Properties

Linearity of the solution set

The solution set of ax+b=0 (a0) is a single point.\text{The solution set of } ax+b=0 \ (a \neq 0) \text{ is a single point.}

Addition property of equality

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

Multiplication property of equality

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

Two-variable graph is a line

The solution set of Ax+By=C in R2 is a straight line\text{The solution set of } Ax+By=C \text{ in } \mathbb{R}^2 \text{ is a straight line}

Degenerate cases

If a=0,b0:no solution. If a=0,b=0:infinitely many solutions (identity).\text{If } a=0, b\neq 0: \text{no solution. If } a=0, b=0: \text{infinitely many solutions (identity).}

Applications

Uniform motion: distance = rate × time + initial position, d(t) = vt + d₀, is a linear equation in t.

Formula Explorer

Explore how a and b affect the solution of ax + b = 0

Loading visualization…

Animation

Animates a balance scale with 'ax + b' blocks on the left and '0' on the right, showing blocks being added, subtracted, and the scale being divided evenly on both pans until x is isolated — a direct visualization of the balance method for solving equations.

Worked Examples

  1. Subtract 7 from both sides.

    3x=93x = 9
  2. Divide both sides by 3.

    x=3x = 3

Answer: x = 3

Practice Problems

Difficulty 2/10

Solve for x: 5x - 3 = 2x + 12.

Difficulty 4/10

A phone plan costs $20 per month plus $0.10 per text message. If a customer's bill was $35, how many text messages did they send?

Difficulty 3/10

Which of the following equations has no solution?

Common Mistakes

Common Mistake

Performing an operation to only one side of the equation (e.g. adding 3 to the left side but not the right).

Every operation must be applied to BOTH sides to preserve the balance/equality. If you add 3 to the left, you must add 3 to the right too.

Common Mistake

Forgetting to distribute a negative sign or coefficient across an entire parenthesized expression, e.g. simplifying -2(x - 3) as -2x - 3 instead of -2x + 6.

Multiply the outside factor by EVERY term inside the parentheses, including their signs: -2(x - 3) = -2x + 6.

Common Mistake

Treating an equation with no solution (like 2x + 3 = 2x + 5) as though it has the solution x = 0 or 'no x value' means x isn't in the equation.

When the variable cancels out and leaves a false numeric statement (3 = 5), the equation has NO solution at all — not x = 0. If it leaves a TRUE statement (like 3 = 3), every real number is a solution.

Quiz

Solve: 4x + 9 = 1.
What does it mean, graphically, that Ax + By = C is a 'linear' equation in two variables?

Flashcards

1 / 4

Historical Background

Solving linear equations is one of the oldest recorded mathematical activities. Egyptian scribes solved 'aha' (heap) problems — equivalent to linear equations in one unknown — in the Rhind Mathematical Papyrus (c. 1650 BCE) using a method called 'false position,' guessing an answer and scaling it to fit. Babylonian mathematicians solved linear and quadratic problems using tables and geometric reasoning around the same era. The systematic algebraic treatment of equations, including the word 'algebra' itself, comes from the Persian mathematician al-Khwarizmi, whose 9th-century treatise Al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wal-muqābala ('The Compendious Book on Calculation by Completion and Balancing') introduced the systematic operations of 'al-jabr' (restoring, i.e. moving a term to eliminate a negative) and 'al-muqābala' (balancing, i.e. combining like terms) that we still use to solve linear equations today. The modern symbolic notation (x, =, +) was developed gradually by European mathematicians such as Viète, Descartes, and Recorde between the 16th and 17th centuries.

  1. c. 1650 BCE

    Egyptian scribe Ahmes compiles the Rhind Papyrus, containing 'aha' problems solved by the method of false position

  2. c. 820 CE

    Al-Khwarizmi writes Al-Jabr, formalizing the operations of restoring and balancing used to solve equations

    Muhammad ibn Musa al-Khwarizmi

  3. 1557

    Robert Recorde introduces the equals sign (=) in The Whetstone of Witte

    Robert Recorde

  4. 1591

    François Viète introduces systematic use of letters for both known and unknown quantities, paving the way for modern equation notation

    François Viète

Summary

  • A linear equation has variables raised only to the first power, with no products of variables.
  • One-variable form: ax + b = 0, solved by x = -b/a when a ≠ 0.
  • Two-variable form: Ax + By = C, whose graph is always a straight line.
  • Solving relies on the addition and multiplication properties of equality — the 'balance scale' method.
  • A variable canceling to a false statement means no solution; canceling to a true statement means infinitely many solutions.

References

  1. BookLial, M., Hornsby, J., McGinnis, T. Beginning and Intermediate Algebra, Ch. 2.
  2. Historical sourceAl-Khwarizmi, M. (c. 820 CE). Al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wal-muqābala.