# Geometric progression

In mathematics, a geometric progression, also known as a geometric sequence, is a sequence of numbers where each term after the first is found by multiplying the previous one by a fixed, non-zero number called the common ratio. For example, the sequence 2, 6, 18, 54, ... is a geometric progression with common ratio 3. Similarly 10, 5, 2.5, 1.25, ... is a geometric sequence with common ratio 1/2.

Examples of a geometric sequence are powers r of a fixed number r, such as 2 and 3. The general form of a geometric sequence is

:$a, ar, ar^2, ar^3, ar^4, ldots$

where r ≠ 0 is the common ratio and a is a scale factor, equal to the sequence's start value.

## Elementary properties

The n-th term of a geometric sequence with initial value a = a0 and common ratio r is given by :$a_n = a,r^\left\{n-1\right\}.$

Such a geometric sequence also follows the recursive relation :$a_n = r,a_\left\{n-1\right\}$ for every integer $ngeq 1.$

Generally, to check whether a given sequence is geometric, one simply checks whether successive entries in the sequence all have the same ratio.

The common ratio of a geometric sequence may be negative, resulting in an alternating sequence, with numbers alternating between positive and negative. For instance :1, −3, 9, −27, 81, −243, ... is a geometric sequence with common ratio −3.

The behaviour of a geometric sequence depends on the value of the common ratio.
If the common ratio is:
• Positive, the terms will all be the same sign as the initial term.
• Negative, the terms will alternate between positive and negative.
• Greater than 1, there will be exponential growth towards positive or negative infinity (depending on the sign of the initial term).
• 1, the progression is a constant sequence.
• Between −1 and 1 but not zero, there will be exponential decay towards zero.
• −1, the progression is an alternating sequence
• Less than −1, for the absolute values there is exponential growth towards (unsigned) infinity, due to the alternating sign.

Geometric sequences (with common ratio not equal to −1, 1 or 0) show exponential growth or exponential decay, as opposed to the linear growth (or decline) of an arithmetic progression such as 4, 15, 26, 37, 48, … (with common difference 11). This result was taken by T.R. Malthus as the mathematical foundation of his Principle of Population. Note that the two kinds of progression are related: exponentiating each term of an arithmetic progression yields a geometric progression, while taking the logarithm of each term in a geometric progression with a positive common ratio yields an arithmetic progression.

An interesting result of the definition of a geometric progression is that for any value of the common ratio, any three consecutive terms a, b and c will satisfy the following equation:

::$b^2=ac$

where b is considered to be the geometric mean between a and c.

## Geometric series

Computation of the sum 2 + 10 + 50 + 250. The sequence is multiplied term by term by 5, and then subtracted from the original sequence. Two terms remain: the first term, a, and the term one beyond the last, or ar. The desired result, 312, is found by subtracting these two terms and dividing by 1 − 5.
A geometric series is the sum of the numbers in a geometric progression. For example:

:$2 + 10 + 50 + 250 = 2 + 2 imes 5 + 2 imes 5^2 + 2 imes 5^3.$

Letting a be the first term (here 2), n be the number of terms (here 4), and r be the constant that each term is multiplied by to get the next term (here 5), the sum is given by:

:$frac\left\{a\left(1-r^n\right)\right\}\left\{1-r\right\}$

In the example above, this gives:

:$2 + 10 + 50 + 250 = frac\left\{2\left(1-5^4\right)\right\}\left\{1-5\right\} = frac\left\{-1248\right\}\left\{-4\right\} = 312.$

The formula works for any real numbers a and r (except r = 1, which results in a division by zero). For example: :$-2pi + 4pi^2 - 8pi^3 = -2pi + \left(-2pi\right)^2 + \left(-2pi\right)^3 = frac\left\{-2pi\left(1 - \left(-2pi\right)^3\right)\right\}\left\{1-\left(-2pi\right)\right\} = frac\left\{-2pi\left(1 + 2pi^3\right)\right\}\left\{1+2pi\right\} approx -54.360768.$ Since the derivation (below) does not depend on a and r being real, it holds for complex numbers as well.

### Derivation

To derive this formula, first write a general geometric series as:

:$sum_\left\{k=1\right\}^\left\{n\right\} ar^\left\{k-1\right\} = ar^0+ar^1+ar^2+ar^3+cdots+ar^\left\{n-1\right\}.$

We can find a simpler formula for this sum by multiplying both sides of the above equation by 1 − r, and we'll see that

:

since all the other terms cancel. If r ≠ 1, we can rearrange the above to get the convenient formula for a geometric series that computes the sum of n terms:

:$sum_\left\{k=1\right\}^\left\{n\right\} ar^\left\{k-1\right\} = frac\left\{a\left(1-r^n\right)\right\}\left\{1-r\right\}.$

### Related formulas

If one were to begin the sum not from k=1, but from a different value, say m, then

:$sum_\left\{k=m\right\}^n ar^k=frac\left\{a\left(r^m-r^\left\{n+1\right\}\right)\right\}\left\{1-r\right\},$ provided $r eq 1$ and $a\left(n-m+1\right)$ when $r=1$.

Differentiating this formula with respect to r allows us to arrive at formulae for sums of the form

:$G_s\left(n, r\right) := sum_\left\{k=0\right\}^n k^s r^k.$

For example:

:$frac\left\{d\right\}\left\{dr\right\}sum_\left\{k=0\right\}^nr^k = sum_\left\{k=1\right\}^n kr^\left\{k-1\right\}= frac\left\{1-r^\left\{n+1\right\}\right\}\left\{\left(1-r\right)^2\right\}-frac\left\{\left(n+1\right)r^n\right\}\left\{1-r\right\}.$

For a geometric series containing only even powers of r multiply by  1 − r  :

:$\left(1-r^2\right) sum_\left\{k=0\right\}^\left\{n\right\} ar^\left\{2k\right\} = a-ar^\left\{2n+2\right\}.$ Then

:$sum_\left\{k=0\right\}^\left\{n\right\} ar^\left\{2k\right\} = frac\left\{a\left(1-r^\left\{2n+2\right\}\right)\right\}\left\{1-r^2\right\}.$

Equivalently, take  r  as the common ratio and use the standard formulation.

For a series with only odd powers of r

:$\left(1-r^2\right) sum_\left\{k=0\right\}^\left\{n\right\} ar^\left\{2k+1\right\} = ar-ar^\left\{2n+3\right\}$

and

:$sum_\left\{k=0\right\}^\left\{n\right\} ar^\left\{2k+1\right\} = frac\left\{ar\left(1-r^\left\{2n+2\right\}\right)\right\}\left\{1-r^2\right\}.$

An exact formula for the generalized sum $G_s\left(n, r\right)$ when $s in mathbb\left\{N\right\}$ is expanded by the Stirling numbers of the second kind as

:$G_s\left(n, r\right) = sum_\left\{j=0\right\}^s leftlbrace\left\{s atop j\right\} ight brace x^j frac\left\{d^j\right\}\left\{dx^j\right\}left\left[frac\left\{1-x^\left\{n+1\right\}\right\}\left\{1-x\right\} ight\right].$

### Infinite geometric series

An infinite geometric series is an infinite series whose successive terms have a common ratio. Such a series converges if and only if the absolute value of the common ratio is less than one ( < 1). Its value can then be computed from the finite sum formula

:$sum_\left\{k=0\right\}^infty ar^k = lim_\left\{n oinfty\right\}\left\{sum_\left\{k=0\right\}^\left\{n\right\} ar^k\right\} = lim_\left\{n oinfty\right\}frac\left\{a\left(1-r^\left\{n+1\right\}\right)\right\}\left\{1-r\right\}= frac\left\{a\right\}\left\{1-r\right\} - lim_\left\{n oinfty\right\}\left\{frac\left\{ar^\left\{n+1\right\}\right\}\left\{1-r\right\}\right\}$

Since: :$r^\left\{n+1\right\} o 0 mbox\left\{ as \right\} n o infty mbox\left\{ when \right\} |r| < 1.$

Then: :$sum_\left\{k=0\right\}^infty ar^k = frac\left\{a\right\}\left\{1-r\right\} - 0 = frac\left\{a\right\}\left\{1-r\right\}$

For a series containing only even powers of $r$,

:$sum_\left\{k=0\right\}^infty ar^\left\{2k\right\} = frac\left\{a\right\}\left\{1-r^2\right\}$

and for odd powers only,

:$sum_\left\{k=0\right\}^infty ar^\left\{2k+1\right\} = frac\left\{ar\right\}\left\{1-r^2\right\}$

In cases where the sum does not start at k = 0,

:$sum_\left\{k=m\right\}^infty ar^k=frac\left\{ar^m\right\}\left\{1-r\right\}$ The formulae given above are valid only for  < 1. The latter formula is valid in every Banach algebra, as long as the norm of r is less than one, and also in the field of p-adic numbers if p < 1. As in the case for a finite sum, we can differentiate to calculate formulae for related sums. For example,

:$frac\left\{d\right\}\left\{dr\right\}sum_\left\{k=0\right\}^infty r^k = sum_\left\{k=1\right\}^infty kr^\left\{k-1\right\}= frac\left\{1\right\}\left\{\left(1-r\right)^2\right\}$

This formula only works for  < 1 as well. From this, it follows that, for  < 1,

:$sum_\left\{k=0\right\}^\left\{infty\right\} k r^k = frac\left\{r\right\}\left\{left\left(1-r ight\right)^2\right\} ,;, sum_\left\{k=0\right\}^\left\{infty\right\} k^2 r^k = frac\left\{r left\left( 1+r ight\right)\right\}\left\{left\left(1-r ight\right)^3\right\} , ; , sum_\left\{k=0\right\}^\left\{infty\right\} k^3 r^k = frac\left\{r left\left( 1+4 r + r^2 ight\right)\right\}\left\{left\left( 1-r ight\right)^4\right\}$

Also, the infinite series 1/2 + 1/4 + 1/8 + 1/16 + ⋯ is an elementary example of a series that converges absolutely.

It is a geometric series whose first term is 1/2 and whose common ratio is 1/2, so its sum is :$frac12+frac14+frac18+frac\left\{1\right\}\left\{16\right\}+cdots=frac\left\{1/2\right\}\left\{1-\left(+1/2\right)\right\} = 1.$

The inverse of the above series is 1/2 − 1/4 + 1/8 − 1/16 + ⋯ is a simple example of an alternating series that converges absolutely.

It is a geometric series whose first term is 1/2 and whose common ratio is −1/2, so its sum is :$frac12-frac14+frac18-frac\left\{1\right\}\left\{16\right\}+cdots=frac\left\{1/2\right\}\left\{1-\left(-1/2\right)\right\} = frac13.$

### Complex numbers

The summation formula for geometric series remains valid even when the common ratio is a complex number. In this case the condition that the absolute value of r be less than 1 becomes that the modulus of r be less than 1. It is possible to calculate the sums of some non-obvious geometric series. For example, consider the proposition

: $sum_\left\{k=0\right\}^\left\{infty\right\} frac\left\{sin\left(kx\right)\right\}\left\{r^k\right\} = frac\left\{r sin\left(x\right)\right\}\left\{1 + r^2 - 2 r cos\left(x\right)\right\}$

The proof of this comes from the fact that : $sin\left(kx\right) = frac\left\{e^\left\{ikx\right\} - e^\left\{-ikx\right\}\right\}\left\{2i\right\} ,$ which is a consequence of Euler's formula. Substituting this into the original series gives : $sum_\left\{k=0\right\}^\left\{infty\right\} frac\left\{sin\left(kx\right)\right\}\left\{r^k\right\} = frac\left\{1\right\}\left\{2 i\right\} left\left[ sum_\left\{k=0\right\}^\left\{infty\right\} left\left( frac\left\{e^\left\{ix\right\}\right\}\left\{r\right\} ight\right)^k - sum_\left\{k=0\right\}^\left\{infty\right\} left\left(frac\left\{e^\left\{-ix\right\}\right\}\left\{r\right\} ight\right)^k ight\right]$.

This is the difference of two geometric series, and so it is a straightforward application of the formula for infinite geometric series that completes the proof.

## Product

The product of a geometric progression is the product of all terms. It can be quickly computed by taking the geometric mean of the progression's first and last individual terms, and raising that mean to the power given by the number of terms. (This is very similar to the formula for the sum of terms of an arithmetic sequence: take the arithmetic mean of the first and last individual terms, and multiply by the number of terms.)

As the geometric mean of two numbers equals the square root of their product, the product of a geometric progression is:

:$prod_\left\{i=0\right\}^\left\{n\right\} ar^i = \left(sqrt\left\{a cdot ar^n\right\}\right)^\left\{n+1\right\} = \left(sqrt\left\{a^\left\{2\right\}r^n\right\}\right)^\left\{n+1\right\}$.

(An interesting aspect of this formula is that, even though it involves taking the square root of a potentially-odd power of a potentially-negative , it cannot produce a complex result if neither nor has an imaginary part. It is possible, should be negative and be odd, for the square root to be taken of a negative intermediate result, causing a subsequent intermediate result to be an imaginary number. However, an imaginary intermediate formed in that way will soon afterwards be raised to the power of $extstyle n + 1$, which must be an even number because by itself was odd; thus, the final result of the calculation may plausibly be an odd number, but it could never be an imaginary one.)

### Proof

Let represent the product. By definition, one calculates it by explicitly multiplying each individual term together. Written out in full,

:$P = a cdot ar cdot ar^2 cdots ar^\left\{n-1\right\} cdot ar^n$.

Carrying out the multiplications and gathering like terms,

:$P = a^\left\{n+1\right\} r^\left\{1+2+3+ cdots +\left(n-1\right)+n\right\}$.

The exponent of is the sum of an arithmetic sequence. Substituting the formula for that calculation,

:$P = a^\left\{n+1\right\} r^frac\left\{n\left(n+1\right)\right\}\left\{2\right\}$,

which enables simplifying the expression to

:$P = \left(ar^frac\left\{n\right\}\left\{2\right\}\right)^\left\{n+1\right\} = \left(asqrt\left\{r^n\right\}\right)^\left\{n+1\right\}$.

Rewriting as $extstyle sqrt\left\{a^2\right\}$,

:$P = \left(sqrt\left\{a^\left\{2\right\}r^n\right\}\right)^\left\{n+1\right\}$,

which concludes the proof.

## History

A clay tablet from the Early Dynastic Period in Mesopotamia, MS 3047, contains a geometric progression with base 3 and multiplier 1/2. It has been suggested to be Sumerian, from the city of Shuruppak. It is the only known record of a geometric progression from before the time of Babylonian mathematics.

Books VIII and IX of Euclid's Elements analyzes geometric progressions (such as the powers of two, see the article for details) and give several of their properties.