Mathematics reference

Mathematics Formula Library

A searchable reference of commonly used mathematics formulas, with notation, context, and a quick example for each rule.

18 results

Quadratic formula

Find the roots of ax² + bx + c = 0 when a ≠ 0.

x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

Example: For x² − 5x + 6 = 0, the roots are 2 and 3.

Difference of squares

Factor a difference between two perfect squares.

a2−b2=(a−b)(a+b)a^2-b^2=(a-b)(a+b)

Example: x² − 9 = (x − 3)(x + 3).

Square of a binomial

Expand the square of a sum or difference.

(a±b)2=a2±2ab+b2(a\pm b)^2=a^2\pm2ab+b^2

Example: (x + 4)² = x² + 8x + 16.

Slope between two points

Measure the change in y per unit change in x between distinct x-coordinates.

m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Example: Between (1, 2) and (4, 8), m = 2.

Area of a circle

Calculate the area enclosed by a circle of radius r.

A=πr2A=\pi r^2

Example: A circle with radius 3 has area 9π square units.

Circumference of a circle

Find the distance around a circle from its radius or diameter.

C=2πr=πdC=2\pi r=\pi d

Example: For diameter 10, C = 10π units.

Triangle area from base and height

Use a perpendicular height and its corresponding base.

A=12bhA=\frac{1}{2}bh

Example: Base 8 and height 5 give an area of 20 square units.

Heron’s formula

Find a triangle’s area when all three side lengths are known.

A=s(s−a)(s−b)(s−c),s=a+b+c2A=\sqrt{s(s-a)(s-b)(s-c)},\quad s=\frac{a+b+c}{2}

Example: For sides 3, 4, and 5, s = 6 and A = 6.

Pythagorean theorem

Relate the legs and hypotenuse of a right triangle.

a2+b2=c2a^2+b^2=c^2

Example: Legs 3 and 4 give hypotenuse 5.

Law of sines

Relate each side of a triangle to the sine of its opposite angle.

asin⁡A=bsin⁡B=csin⁡C\frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C}

Example: If a = 8 and A = 30°, then a/sin A = 16.

Law of cosines

Find a side or angle in any triangle using two sides and the included angle.

c2=a2+b2−2abcos⁡Cc^2=a^2+b^2-2ab\cos C

Example: When C = 90°, the cosine term is zero and the Pythagorean theorem results.

Pythagorean identity

The fundamental identity connecting sine and cosine.

sin⁡2x+cos⁡2x=1\sin^2 x+\cos^2 x=1

Example: If sin x = 3/5, then cos² x = 16/25.

Power rule

Differentiate a real power of x where the function is defined.

ddxxn=nxn−1\frac{d}{dx}x^n=nx^{n-1}

Example: d(x⁴)/dx = 4x³.

Product rule

Differentiate a product of differentiable functions.

ddx[u(x)v(x)]=u′(x)v(x)+u(x)v′(x)\frac{d}{dx}[u(x)v(x)]=u'(x)v(x)+u(x)v'(x)

Example: For x·sin x, the derivative is sin x + x cos x.

Chain rule

Differentiate a composition by multiplying the outer derivative by the inner derivative.

ddxf(g(x))=f′(g(x))g′(x)\frac{d}{dx}f(g(x))=f'(g(x))g'(x)

Example: d(sin(x²))/dx = 2x cos(x²).

Power rule for integration

Integrate a power of x when n ≠ −1.

∫xn dx=xn+1n+1+C\int x^n\,dx=\frac{x^{n+1}}{n+1}+C

Example: ∫x² dx = x³/3 + C.

Arithmetic mean

Divide the sum of n values by the number of values.

xˉ=1n∑i=1nxi\bar{x}=\frac{1}{n}\sum_{i=1}^{n}x_i

Example: The mean of 2, 4, and 9 is 5.

Population variance

Measure the average squared distance from the population mean.

σ2=1N∑i=1N(xi−μ)2\sigma^2=\frac{1}{N}\sum_{i=1}^{N}(x_i-\mu)^2

Example: Use N, not N − 1, for the full population.