Back

Formula Library

Laws, elements & particles at a glance.

Pythagorean Theorem

Geometry
a² + b² = c²

In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides.

Learn more!

Law of Sines

Trigonometry
a/sin A = b/sin B = c/sin C

The ratio of a side of a triangle to the sine of its opposite angle is constant.

Learn more!

Law of Cosines

Trigonometry
c² = a² + b² − 2ab·cos C

Generalization of the Pythagorean theorem to arbitrary triangles.

Learn more!

Binomial Theorem

Algebra
(a + b)ⁿ = Σ C(n,k) aⁿ⁻ᵏ bᵏ

Expands powers of a binomial into a sum of terms.

Learn more!

Quadratic Formula

Algebra
x = (−b ± √(b² − 4ac)) / 2a

Solutions of the quadratic equation ax² + bx + c = 0.

Learn more!

Euler's Identity

Analysis
e^(iπ) + 1 = 0

Links five fundamental constants in one equation.

Learn more!

Euler's Formula

Analysis
e^(ix) = cos x + i·sin x

Bridges exponential and trigonometric functions via complex numbers.

Learn more!

Fundamental Thm. of Calculus

Calculus
∫ₐᵇ f'(x) dx = f(b) − f(a)

Differentiation and integration are inverse operations.

Learn more!

Chain Rule

Calculus
(f∘g)'(x) = f'(g(x))·g'(x)

Derivative of a composition of functions.

Learn more!

Product Rule

Calculus
(fg)' = f'g + fg'

Derivative of a product of two functions.

Learn more!

Taylor Series

Analysis
f(x) = Σ f⁽ⁿ⁾(a) (x−a)ⁿ / n!

Represents a smooth function as an infinite polynomial around a point.

Learn more!

De Morgan's Laws

Logic
¬(A ∧ B) = ¬A ∨ ¬B

Rules relating negation, conjunction and disjunction.

Learn more!

Bayes' Theorem

Probability
P(A|B) = P(B|A)·P(A) / P(B)

Updates the probability of a hypothesis given new evidence.

Learn more!

Central Limit Theorem

Statistics
X̄ →ᵈ 𝒩(μ, σ²/n)

Means of large samples are approximately normally distributed.

Learn more!

Fermat's Little Theorem

Number Theory
aᵖ ≡ a (mod p)

For any integer a and prime p.

Learn more!

Cauchy–Schwarz Inequality

Linear Algebra
|⟨u,v⟩| ≤ ‖u‖·‖v‖

Bounds the inner product of two vectors.

Learn more!

Triangle Inequality

Geometry
‖u + v‖ ≤ ‖u‖ + ‖v‖

The length of any side of a triangle never exceeds the sum of the other two.

Learn more!

Heron's Formula

Geometry
A = √(s(s−a)(s−b)(s−c))

Area of a triangle from its three sides, with s the semi-perimeter.

Learn more!

Euler's Polyhedron Formula

Topology
V − E + F = 2

For any convex polyhedron, vertices minus edges plus faces equals two.

Learn more!

Fermat's Last Theorem

Number Theory
aⁿ + bⁿ ≠ cⁿ (n>2)

No positive integers satisfy the equation for any integer exponent greater than two.

Learn more!

Euclid's Infinity of Primes

Number Theory
|{p prime}| = ∞

There are infinitely many prime numbers.

Learn more!

Fundamental Thm. of Arithmetic

Number Theory
n = p₁^a₁ · p₂^a₂ · … · pₖ^aₖ

Every integer greater than one factors uniquely into primes.

Learn more!

Fundamental Thm. of Algebra

Algebra
deg p = n ⇒ n complex roots

Every non-constant polynomial has as many complex roots as its degree.

Learn more!

L'Hôpital's Rule

Calculus
lim f/g = lim f'/g'

Evaluates 0/0 or ∞/∞ limits by differentiating numerator and denominator.

Learn more!

Mean Value Theorem

Calculus
f'(c) = (f(b) − f(a)) / (b − a)

A differentiable function attains its average slope at some interior point.

Learn more!

Integration by Parts

Calculus
∫u dv = uv − ∫v du

Reverses the product rule to integrate products of functions.

Learn more!

Green's Theorem

Vector Calc
∮ P dx + Q dy = ∬ (∂Q/∂x − ∂P/∂y) dA

Relates a line integral around a closed curve to a double integral over the enclosed area.

Learn more!

Stokes' Theorem

Vector Calc
∮ F·dr = ∬ (∇×F)·dA

Generalizes Green's theorem to surfaces in three-dimensional space.

Learn more!

Divergence Theorem

Vector Calc
∭ ∇·F dV = ∯ F·dA

Relates the flow of a field out of a volume to the divergence inside.

Learn more!

Fourier Series

Analysis
f(x) = a₀ + Σ (aₙ cos nx + bₙ sin nx)

Represents any reasonable periodic function as a sum of sines and cosines.

Learn more!

Laplace Transform

Analysis
ℒ{f}(s) = ∫₀^∞ e^(−st) f(t) dt

Transforms differential equations into algebraic ones.

Learn more!

Cauchy Integral Formula

Complex
f(a) = (1/2πi) ∮ f(z)/(z−a) dz

Values of a holomorphic function inside a contour follow from its values on the contour.

Learn more!

Residue Theorem

Complex
∮ f dz = 2πi · Σ Res

Contour integrals of meromorphic functions equal 2πi times the sum of residues inside.

Learn more!

Gauss's Divergence Identity

Vector Calc
∇·(∇×F) = 0

The divergence of any curl is always zero.

Learn more!

Jensen's Inequality

Probability
f(E[X]) ≤ E[f(X)] (f convex)

Averages taken inside a convex function are bounded by the function of the average.

Learn more!

Chebyshev's Inequality

Probability
P(|X−μ| ≥ kσ) ≤ 1/k²

Bounds the probability that a random variable lies far from its mean.

Learn more!

Law of Large Numbers

Statistics
X̄ₙ → μ (n → ∞)

Sample averages converge to the true mean as the sample grows.

Learn more!

Euclidean Distance

Geometry
d = √Σ(xᵢ − yᵢ)²

Straight-line distance between two points in n-dimensional space.

Learn more!

Circle Area & Circumference

Geometry
A = πr², C = 2πr

Fundamental measurements of a circle from its radius.

Learn more!

Sphere Volume & Surface

Geometry
V = 4/3·πr³, A = 4πr²

Volume and surface area of a sphere from its radius.

Learn more!

Golden Ratio

Number Theory
φ = (1 + √5)/2 ≈ 1.618

Ratio for which the whole is to the larger part as the larger is to the smaller.

Learn more!

Gauss–Bonnet Theorem

Topology
∫_M K dA + ∮_∂M kg ds = 2π χ

Links the curvature of a surface to its topology through the Euler characteristic.

Learn more!

Zermelo–Fraenkel Axioms

Logic
ZF ⊂ ZFC

The standard foundation for modern set theory, with the axiom of choice giving ZFC.

Learn more!

Pythagorean Identity

Trigonometry
sin²θ + cos²θ = 1

The fundamental identity relating sine and cosine of any angle.

Learn more!

Double Angle Identities

Trigonometry
sin 2θ = 2 sinθ cosθ; cos 2θ = cos²θ − sin²θ

Express trigonometric functions of doubled angles through single angles.

Learn more!

Half-Angle Identities

Trigonometry
sin(θ/2) = ±√((1 − cosθ)/2)

Express trigonometric functions of half angles through the full angle.

Learn more!

Law of Tangents

Trigonometry
(a − b)/(a + b) = tan((A − B)/2) / tan((A + B)/2)

Relates differences and sums of triangle sides to tangents of angle differences.

Learn more!

Sum of First n Integers

Algebra
1 + 2 + … + n = n(n + 1)/2

Gauss's closed form for the sum of the first n natural numbers.

Learn more!

Geometric Series Sum

Algebra
Sₙ = a(1 − rⁿ)/(1 − r)

Sum of the first n terms of a geometric sequence with ratio r.

Learn more!

Infinite Geometric Series

Algebra
S = a/(1 − r), |r| < 1

Convergent sum of an infinite geometric series when the ratio is small.

Learn more!

Logarithm Product Rule

Algebra
log(ab) = log a + log b

The logarithm of a product equals the sum of the logarithms.

Learn more!

Change of Base Formula

Algebra
log_b(x) = ln x / ln b

Rewrites a logarithm in any base using natural logarithms.

Learn more!

Discriminant of a Quadratic

Algebra
Δ = b² − 4ac

Determines the number and type of roots of a quadratic equation.

Learn more!

Vieta's Formulas

Algebra
x₁ + x₂ = −b/a; x₁·x₂ = c/a

Relates the roots of a polynomial to its coefficients.

Learn more!

Combinations Formula

Combinatorics
C(n,k) = n! / (k!(n − k)!)

Counts ways to choose k objects from n without regard to order.

Learn more!

Permutations Formula

Combinatorics
P(n,k) = n! / (n − k)!

Counts ordered arrangements of k objects drawn from n.

Learn more!

Inclusion–Exclusion Principle

Combinatorics
|A ∪ B| = |A| + |B| − |A ∩ B|

Counts elements in a union by correcting for double-counted overlaps.

Learn more!

Binomial Distribution

Probability
P(X = k) = C(n,k)·pᵏ·(1−p)ⁿ⁻ᵏ

Probability of exactly k successes in n independent trials.

Learn more!

Poisson Distribution

Probability
P(X = k) = λᵏ·e^(−λ) / k!

Models the count of rare events occurring at a constant average rate.

Learn more!

Normal Distribution Density

Statistics
f(x) = (1/(σ√(2π)))·e^(−(x−μ)²/2σ²)

The bell-shaped probability density of the Gaussian distribution.

Learn more!

Variance Formula

Statistics
Var(X) = E[X²] − (E[X])²

Measures the expected squared deviation of a random variable from its mean.

Learn more!

Pearson Correlation

Statistics
r = cov(X,Y) / (σₓ·σ_y)

Standardized measure of linear association between two variables.

Learn more!

Stirling's Approximation

Analysis
n! ≈ √(2πn)·(n/e)ⁿ

Accurate asymptotic estimate of factorials for large n.

Learn more!

Basel Problem

Analysis
Σ 1/n² = π²/6

Euler's famous result: the sum of reciprocal squares equals π²/6.

Learn more!

Ratio Test

Analysis
lim |aₙ₊₁/aₙ| < 1 ⇒ converges

Determines convergence of a series from the limit of consecutive term ratios.

Learn more!

Newton–Raphson Method

Calculus
xₙ₊₁ = xₙ − f(xₙ)/f'(xₙ)

Iteratively approximates roots of a function using tangent lines.

Learn more!

Integration by Substitution

Calculus
∫ f(g(x))·g'(x) dx = ∫ f(u) du

Reverses the chain rule to simplify integrals of composite functions.

Learn more!

Arc Length Formula

Calculus
L = ∫ₐᵇ √(1 + (f'(x))²) dx

Length of a smooth curve between two points.

Learn more!

Volume of Revolution

Calculus
V = π ∫ₐᵇ f(x)² dx

Volume of a solid formed by rotating a curve about the x-axis.

Learn more!

Trapezoidal Rule

Numerics
∫ₐᵇ f dx ≈ (b−a)/2 · (f(a) + f(b))

Approximates a definite integral by replacing the curve with a straight line.

Learn more!

Cramer's Rule

Linear Algebra
xᵢ = det(Aᵢ) / det(A)

Solves a linear system using ratios of matrix determinants.

Learn more!

Eigenvalue Equation

Linear Algebra
A·v = λ·v

Eigenvectors are scaled but not rotated by their matrix transformation.

Learn more!

Wilson's Theorem

Number Theory
(p − 1)! ≡ −1 (mod p)

A number is prime exactly when this factorial congruence holds.

Learn more!

Euler's Totient Product

Number Theory
φ(n) = n · Π(1 − 1/p)

Counts integers up to n that are coprime to n.

Learn more!

Ellipse Area

Geometry
A = π·a·b

Area enclosed by an ellipse with semi-axes a and b.

Learn more!

Cone Volume

Geometry
V = (1/3)·πr²·h

A cone holds exactly one third of the cylinder around it.

Learn more!

Pyramid Volume

Geometry
V = (1/3)·B·h

Volume of any pyramid is one third of base area times height.

Learn more!