a_n = a + (n-1)d
the nth term of an AP equals a plus n minus one times d
nth term of an arithmetic progression
- a
- first term
- d
- common difference
- n
- positive integer term index
Use when — Locating a term of an AP
Common trap — Using n instead of (n-1) as the multiplier
S_n = n/2 [2a + (n-1)d] = n(a+l)/2
the sum of n terms of an AP equals n over two times the quantity two a plus n minus one times d, or n times a plus l over two
Sum of the first n terms of an AP
- a
- first term
- d
- common difference
- n
- positive integer number of terms
- l
- nth term of the AP
Use when — Finite AP sum
Common trap — Using l when the last term is not known to be the nth term
d = (b-a)/(m+1)
d equals b minus a divided by m plus one
Common difference when inserting m arithmetic means between a and b
- a
- first endpoint
- b
- second endpoint
- m
- nonnegative integer number of means inserted
Use when — Building an AP from two given endpoints
Common trap — Dividing by m instead of m+1
a_n = a * r^(n-1)
the nth term of a GP equals a times r raised to the power n minus one
nth term of a geometric progression
- a
- first term
- r
- common ratio
- n
- positive integer term index
Use when — Locating a term of a GP
Common trap — Using the wrong exponent for n
S_n = a(1-r^n)/(1-r)
the sum of n terms of a GP equals a times the quantity one minus r to the n over one minus r, valid only when r is not one; for r equal to one use S n equals n times a
Sum of the first n terms of a GP
- a
- first term
- r
- common ratio, r not equal to 1
- n
- positive integer number of terms
Use when — Finite GP sum
Common trap — Using this formula when r = 1
S_infinity = a/(1-r)
the infinite sum equals a divided by one minus r, valid only when the absolute value of r is less than one
Sum of an infinite geometric series
- a
- first term
- r
- common ratio with |r| < 1
Use when — Convergent infinite GP
Common trap — Applying this for |r| greater than or equal to 1
(a+b)/2 >= sqrt(a*b)
a plus b over two is greater than or equal to the square root of a times b, with equality only when a equals b
Arithmetic mean is at least the geometric mean for two positive reals
- a
- positive real number
- b
- positive real number
Use when — Comparing arithmetic and geometric means of two positive numbers
Common trap — Applying this to arbitrary signed reals
sum(1..n) = n(n+1)/2
the sum of the first n natural numbers equals n times n plus one over two
Sum of the first n natural numbers
- n
- positive integer
Use when — Advanced explicit sum
Common trap — Off-by-one errors in n
sum(1^2..n^2) = n(n+1)(2n+1)/6
the sum of the squares of the first n natural numbers equals n times n plus one times two n plus one, all over six
Sum of the squares of the first n natural numbers
- n
- positive integer
Use when — Advanced explicit sum
Common trap — Confusing this with the sum-of-naturals or sum-of-cubes formula
sum(1^3..n^3) = [n(n+1)/2]^2
the sum of the cubes of the first n natural numbers equals the square of n times n plus one over two
Sum of the cubes of the first n natural numbers
- n
- positive integer
Use when — Advanced explicit sum
Common trap — Squaring only n instead of the whole sum-of-naturals expression