MathorynMathematical Formula Database

Algebra

Solution of a Linear Equation

A linear equation in one unknown, ax+b=0ax+b=0 with a≠0a\neq0, has exactly one solution x=−b/ax=-b/a. Isolating the unknown this way is the first step in solving most algebra problems. It is used whenever a quantity changes at a constant rate, for example to find a break-even point or an unknown price.

ax+b=0  ⟹  x=−baax+b=0\implies x=-\frac{b}{a}
LaTeXax+b=0\implies x=-\frac{b}{a}

Variables

aa
coefficient of x (nonzero)
bb
constant term
xx
unknown

Example

Solve 3x+12=03x+12=0.

  1. a=3, b=12a=3,\ b=12.
  2. x=−123x=-\frac{12}{3}.

Answer: x=−4x=-4.

Related formulas