Home › Formulas › Algebra

Algebra Formulas

Every essential algebra formula: quadratics, factoring, exponents, logarithms, sequences, and lines.

Quadratic equations

Quadratic formulax = (−b ± √(b² − 4ac)) / 2aSolves ax² + bx + c = 0
DiscriminantΔ = b² − 4ac>0: two real roots; =0: one; <0: none
Sum / product of rootsx₁ + x₂ = −b/a,  x₁·x₂ = c/aVieta's formulas

Factoring patterns

Difference of squaresa² − b² = (a − b)(a + b)
Perfect squarea² ± 2ab + b² = (a ± b)²
Difference of cubesa³ − b³ = (a − b)(a² + ab + b²)
Sum of cubesa³ + b³ = (a + b)(a² − ab + b²)

Exponents

Productaᵐ · aⁿ = aᵐ⁺ⁿ
Power of a power(aᵐ)ⁿ = aᵐⁿ
Negative exponenta⁻ⁿ = 1 / aⁿ
Zero exponenta⁰ = 1  (a ≠ 0)
Fractional exponenta^(m/n) = ⁿ√(aᵐ)

Logarithms

Product rulelog(ab) = log a + log b
Quotient rulelog(a/b) = log a − log b
Power rulelog(aⁿ) = n · log a
Change of baselog_b(a) = log(a) / log(b)
Inverseb^(log_b x) = x

Sequences

Arithmetic, nth termaₙ = a₁ + (n−1)dd = common difference
Arithmetic sumSₙ = n/2 · (2a₁ + (n−1)d)
Geometric, nth termaₙ = a₁ · rⁿ⁻¹r = common ratio
Geometric sumSₙ = a₁(1 − rⁿ) / (1 − r)r ≠ 1

Lines

Slopem = (y₂ − y₁) / (x₂ − x₁)
Point–slopey − y₁ = m(x − x₁)
Slope–intercepty = mx + bb = y-intercept
Distanced = √((x₂−x₁)² + (y₂−y₁)²)
Midpoint((x₁+x₂)/2, (y₁+y₂)/2)