Linear equations
A linear equation is one of the simplest mathematical models of an unknown quantity. Learn exactly what it means, why the solution rule works, how to interpret it graphically, and how to solve equations reliably.
for \(a\neq0\):
\(x=-\frac{b}{a}\)
1. Definition
A linear equation in one variable is an equation that can be written as
where \(a\) and \(b\) are constants and \(x\) is the unknown. The equation is genuinely linear when \(a\neq0\). The word linear means that the variable appears only to the first power: there is no \(x^2\), \(\sqrt{x}\), \(1/x\), or other nonlinear dependence on \(x\).
2. Why the solution formula works
Starting from \(ax+b=0\), use operations that preserve equality.
This solution is unique. If both \(x_1\) and \(x_2\) satisfy \(ax+b=0\), then \(ax_1=ax_2\). Since \(a\neq0\), division by \(a\) gives \(x_1=x_2\).
3. Special cases
4. Graphical interpretation
The equation \(ax+b=0\) asks: where does the line \(y=ax+b\) cross the x-axis? The x-coordinate of that intercept is the solution.
For \(2x-4=0\), the line \(y=2x-4\) intersects the x-axis at \(x=2\). Algebra and geometry describe the same result.
5. Worked examples
Example A — variables on one side
Solve \(5x-15=0\).
Example B — variables on both sides
Solve \(7x-3=2x+12\).
Checking the result: left side \(=7\cdot3-3=18\), right side \(=2\cdot3+12=18\). Both sides agree.
Example C — fractions
Solve \(\frac{x}{3}+2=5\).
A useful strategy is to remove denominators early by multiplying every term by a common denominator.
6. Interactive linear equation solver
Enter coefficients for \(ax+b=0\). The solver handles the unique-solution and degenerate cases.
7. Common mistakes
8. Practice
| Problem | Skill |
|---|---|
| \(9x-4=2x+17\) | Collect variable terms |
| \(3(x-2)=12\) | Distribute or divide first |
| \(\frac{x}{4}-3=2\) | Fractions |
| \(0x+5=0\) | Recognize no-solution case |
Show answers
1) \(x=3\) 2) \(x=6\) 3) \(x=20\) 4) no solution.