The
nth term of a geometric sequence with initial value
a =
a1 and common ratio
r is given by :a_n = a\,r^{n-1}, and in general :a_n = a_m\,r^{n-m}. Geometric sequences satisfy the linear
recurrence relation :a_n = r\,a_{n-1} for every integer n > 1. This is a first order, homogeneous
linear recurrence with constant coefficients. Geometric sequences also satisfy the nonlinear recurrence relation a_{n} = a_{n-1}^2 / a_{n-2} for every integer n > 2. This is a second order nonlinear recurrence with constant coefficients. When the common ratio of a geometric sequence is positive, the sequence's terms will all share the sign of the first term. When the common ratio of a geometric sequence is negative, the sequence's terms alternate between positive and negative; this is called an alternating sequence. For instance the sequence 1, −3, 9, −27, 81, −243, ... is an alternating geometric sequence with an initial value of 1 and a common ratio of −3. When the initial term and common ratio are complex numbers, the terms'
complex arguments follow an
arithmetic progression. If the
absolute value of the common ratio is smaller than 1, the terms will decrease in magnitude and approach zero via an
exponential decay. If the absolute value of the common ratio is greater than 1, the terms will increase in magnitude and approach
infinity via an
exponential growth. If the absolute value of the common ratio equals 1, the terms will stay the same size indefinitely, though their signs or complex arguments may change. Geometric progressions show exponential growth or exponential decline, as opposed to arithmetic progressions showing
linear growth or linear decline. This comparison was taken by
T.R. Malthus as the mathematical foundation of his
An Essay on the Principle of Population. The two kinds of progression are related through the
exponential function and the
logarithm: exponentiating each term of an arithmetic progression yields a geometric progression, while taking the logarithm of each term in a geometric progression yields an arithmetic progression. The relation that the logarithm provides between a geometric progression in its
argument and an
arithmetic progression of values, prompted
A. A. de Sarasa to make the connection of Saint-Vincent's quadrature and the tradition of logarithms in
prosthaphaeresis, leading to the term "hyperbolic logarithm", a synonym for natural logarithm. ==Geometric series == of the formula for the sum of a geometric series – the
r n term vanishes, leaving ==Product==