← Machapisho yote

Algebra Formulas Cheat Sheet (with Examples)

Ilichapishwa 2 Novemba 2026 · Na Sumzo team

An algebra formulas cheat sheet: lines, quadratics, factoring identities, exponent and log laws, sequences and interest — each with a quick example.

This algebra formulas cheat sheet collects the formulas used most in school algebra, each with a one-line example. Use it to revise — and to check which ones you can already rebuild from understanding rather than memory.

Lines

  • Slope: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}. Through (1,3)(1, 3) and (3,7)(3, 7): m=42=2m = \frac{4}{2} = 2.
  • Slope-intercept form: y=mx+by = mx + b, where bb is the y-intercept.
  • Point-slope form: y−y1=m(x−x1)y - y_1 = m(x - x_1).
  • Parallel lines have equal slopes; perpendicular slopes multiply to −1-1.

Quadratics

  • Standard form: ax2+bx+c=0ax^2 + bx + c = 0.
  • Quadratic formula: x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.
  • Discriminant: Δ=b2−4ac\Delta = b^2 - 4ac — positive: two real roots; zero: one; negative: none that are real.
  • Vertex: at x=−b2ax = -\frac{b}{2a}. For y=x2−4x+3y = x^2 - 4x + 3, the vertex is at x=2x = 2, y=−1y = -1.
  • Sum and product of roots: x1+x2=−bax_1 + x_2 = -\frac{b}{a}, x1x2=cax_1 x_2 = \frac{c}{a}.

Factoring and expanding identities

  • (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2
  • (a−b)2=a2−2ab+b2(a - b)^2 = a^2 - 2ab + b^2
  • a2−b2=(a+b)(a−b)a^2 - b^2 = (a + b)(a - b). Example: x2−9=(x+3)(x−3)x^2 - 9 = (x + 3)(x - 3).
  • a3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2)
  • a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Exponent laws

  • xa⋅xb=xa+bx^a \cdot x^b = x^{a + b}
  • xaxb=xa−b\frac{x^a}{x^b} = x^{a - b}
  • (xa)b=xab(x^a)^b = x^{ab}
  • x0=1x^0 = 1, x−n=1xnx^{-n} = \frac{1}{x^n}, x1/n=xnx^{1/n} = \sqrt[n]{x}
  • Example: 2x5⋅3x2x4=6x3\frac{2x^5 \cdot 3x^2}{x^4} = 6x^3.

Logarithm laws

  • log⁡(ab)=log⁡a+log⁡b\log(ab) = \log a + \log b
  • log⁡(ab)=log⁡a−log⁡b\log\left(\frac{a}{b}\right) = \log a - \log b
  • log⁡(an)=nlog⁡a\log(a^n) = n \log a
  • log⁡bb=1\log_b b = 1, log⁡b1=0\log_b 1 = 0, and blog⁡bx=xb^{\log_b x} = x.
  • Example: log⁡28=3\log_2 8 = 3 because 23=82^3 = 8.

Sequences

  • Arithmetic: an=a1+(n−1)da_n = a_1 + (n - 1)d; sum Sn=n2(a1+an)S_n = \frac{n}{2}(a_1 + a_n). For 3, 7, 11, …: the 10th term is 3+9×4=393 + 9 \times 4 = 39.
  • Geometric: an=a1rn−1a_n = a_1 r^{n - 1}; sum Sn=a1(1−rn)1−rS_n = \frac{a_1(1 - r^n)}{1 - r} for r≠1r \neq 1.

Coordinates

  • Distance: d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}. From (1,2)(1, 2) to (4,6)(4, 6): 9+16=5\sqrt{9 + 16} = 5.
  • Midpoint: (x1+x22,y1+y22)\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right).

Percentages and interest

  • Percentage change: new−oldold×100%\frac{\text{new} - \text{old}}{\text{old}} \times 100\%.
  • Simple interest: I=PrtI = Prt.
  • Compound interest: A=P(1+rn)ntA = P\left(1 + \frac{r}{n}\right)^{nt}.

Absolute value

  • ∣x∣=c|x| = c (with c>0c > 0) means x=cx = c or x=−cx = -c.
  • ∣x∣<c|x| < c means −c<x<c-c < x < c; ∣x∣>c|x| > c means x<−cx < -c or x>cx > c.

How to remember them

Formulas stick when you know where they come from. The quadratic formula comes from completing the square; the difference of two squares from expanding (a+b)(a−b)(a + b)(a - b) and watching the middle terms cancel. Test yourself by covering one side of each line.

To practise using them, the lessons on quadratic equations, factoring polynomials and rational expressions work through examples step by step, and the quadratic calculator and factoring calculator let you check your answers.

Completing the square

  • x2+bx=(x+b2)2−(b2)2x^2 + bx = \left(x + \frac{b}{2}\right)^2 - \left(\frac{b}{2}\right)^2
  • Example: x2+6x+2=(x+3)2−9+2=(x+3)2−7x^2 + 6x + 2 = (x + 3)^2 - 9 + 2 = (x + 3)^2 - 7, so the minimum value is −7-7, at x=−3x = -3.

Inequalities

  • Add or subtract anything on both sides freely.
  • Multiplying or dividing by a negative number reverses the sign: −3x>12-3x > 12 gives x<−4x < -4.

Functions

  • Composite: f(g(x))f(g(x)) — do gg first, then ff. With f(x)=2x+3f(x) = 2x + 3 and g(x)=x2g(x) = x^2: f(g(x))=2x2+3f(g(x)) = 2x^2 + 3.
  • Inverse: swap xx and yy and solve for yy. For f(x)=2x+3f(x) = 2x + 3: x=2y+3x = 2y + 3, so f−1(x)=x−32f^{-1}(x) = \frac{x - 3}{2}.

Systems of two equations

  • Elimination: add or subtract the equations to remove one variable.
  • Substitution: solve one equation for a variable and substitute into the other.
  • Cramer’s rule for ax+by=cax + by = c, dx+ey=fdx + ey = f: x=ce−bfae−bdx = \frac{ce - bf}{ae - bd}, y=af−cdae−bdy = \frac{af - cd}{ae - bd}, when ae−bd≠0ae - bd \neq 0.

Direct and inverse proportion

  • Direct: y=kxy = kx. If y=12y = 12 when x=3x = 3, then k=4k = 4, so x=5x = 5 gives y=20y = 20.
  • Inverse: y=kxy = \frac{k}{x}. If y=6y = 6 when x=4x = 4, then k=24k = 24, so x=8x = 8 gives y=3y = 3.

Rearranging formulas

Undo operations in reverse order, doing the same to both sides. From v=u+atv = u + at: t=v−uat = \frac{v - u}{a}. The lesson on literal equations works through more examples.

Frequently asked questions

What algebra formulas should I memorise? Start with slope, y=mx+by = mx + b, the quadratic formula, the squares of (a+b)(a + b) and (a−b)(a - b), the difference of two squares and the exponent laws.

How do I remember the quadratic formula? Say it as a sentence — “x equals negative b, plus or minus the square root of b squared minus four a c, all over two a” — and practise deriving it once by completing the square.

Is a formula sheet allowed in exams? It depends on the exam. Some give a formula sheet, many expect you to know the basics. Check your exam’s rules.

Jaribu Sumzo AI