Math Formulas

The calculus and algebra tables worth memorizing — derivatives, integrals, trig identities, series.

Derivatives

(xⁿ)′ = n·xⁿ⁻¹        (eˣ)′ = eˣ              (aˣ)′ = aˣ·ln a
(ln x)′ = 1/x          (log_a x)′ = 1/(x·ln a)
(sin x)′ = cos x       (cos x)′ = −sin x       (tan x)′ = sec²x
(arcsin x)′ = 1/√(1−x²)   (arctan x)′ = 1/(1+x²)
product:  (uv)′ = u′v + uv′      quotient: (u/v)′ = (u′v − uv′)/v²
chain:    [f(g(x))]′ = f′(g(x))·g′(x)

Integrals

∫ xⁿ dx = xⁿ⁺¹/(n+1) + C   (n ≠ −1)      ∫ 1/x dx = ln|x| + C
∫ eˣ dx = eˣ + C               ∫ aˣ dx = aˣ/ln a + C
∫ sin x dx = −cos x + C        ∫ cos x dx = sin x + C
∫ sec²x dx = tan x + C         ∫ 1/(1+x²) dx = arctan x + C
∫ 1/√(1−x²) dx = arcsin x + C
parts:  ∫ u dv = uv − ∫ v du
substitution: ∫ f(g(x))·g′(x) dx = ∫ f(u) du,  u = g(x)

Trig identities

sin²x + cos²x = 1
sin 2x = 2 sin x cos x          cos 2x = cos²x − sin²x = 2cos²x − 1
sin(A±B) = sin A cos B ± cos A sin B
cos(A±B) = cos A cos B ∓ sin A sin B
e^{ix} = cos x + i·sin x        (Euler's formula)

Algebra

quadratic:  x = (−b ± √(b²−4ac)) / 2a
(a+b)² = a² + 2ab + b²         (a−b)² = a² − 2ab + b²
a² − b² = (a−b)(a+b)
(a+b)³ = a³ + 3a²b + 3ab² + b³
binomial: (a+b)ⁿ = Σ C(n,k)·aⁿ⁻ᵏbᵏ

Sums & series

Σ_{k=1}^{n} k   = n(n+1)/2
Σ_{k=1}^{n} k²  = n(n+1)(2n+1)/6
geometric: Σ_{k=0}^{n−1} rᵏ = (1 − rⁿ)/(1 − r),  r ≠ 1
infinite (|r| < 1): Σ_{k=0}^{∞} rᵏ = 1/(1−r)
eˣ = Σ xⁿ/n!       sin x = Σ (−1)ⁿx²ⁿ⁺¹/(2n+1)!
ln(1+x) = Σ (−1)ⁿxⁿ⁺¹/(n+1),  |x| < 1

Frequently asked questions

How do I check a derivative numerically?

Use the Derivative Calculator on this site — it differentiates numerically with Richardson extrapolation and plots the tangent line.

Why is ∫ 1/x dx = ln|x| and not ln x?

The antiderivative must work for negative x too; the absolute value keeps the logarithm's argument positive on both sides of zero.

When does the geometric series formula fail?

At r = 1 (division by zero — the sum is just n). The infinite version additionally needs |r| < 1 for convergence.