# Arithmetic progression

In mathematics, an **arithmetic progression ** (AP) or **arithmetic sequence** is a sequence of numbers such that the difference between the consecutive terms is constant.
For instance, the sequence 5, 7, 9, 11, 13, 15 … is an arithmetic progression with common difference of 2.

If the initial term of an arithmetic progression is and the common difference of successive members is *d*, then the *n*th term of the sequence () is given by:

and in general

A finite portion of an arithmetic progression is called a **finite arithmetic progression** and sometimes just called an arithmetic progression. The sum of a finite arithmetic progression is called an **arithmetic series**.

The behavior of the arithmetic progression depends on the common difference *d*. If the common difference is:

- Positive, the members (terms) will grow towards positive infinity.
- Negative, the members (terms) will grow towards negative infinity.

## Sum

{{#invoke:Hatnote|hatnote}}

2 | + | 5 | + | 8 | + | 11 | + | 14 | = | 40 |

14 | + | 11 | + | 8 | + | 5 | + | 2 | = | 40 |

16 | + | 16 | + | 16 | + | 16 | + | 16 | = | 80 |

The sum of the members of a finite arithmetic progression is called an **arithmetic series**. For example, consider the sum:

This sum can be found quickly by taking the number *n* of terms being added (here 5), multiplying by the sum of the first and last number in the progression (here 2 + 14 = 16), and dividing by 2:

In the case above, this gives the equation:

This formula works for any real numbers and . For example:

### Derivation

To derive the above formula, begin by expressing the arithmetic series in two different ways:

Adding both sides of the two equations, all terms involving *d* cancel:

Dividing both sides by 2 produces a common form of the equation:

An alternate form results from re-inserting the substitution: :

Furthermore the mean value of the series can be calculated via: :

In 499 AD Aryabhata, a prominent mathematician-astronomer from the classical age of Indian mathematics and Indian astronomy, gave this method in the *Aryabhatiya* (section 2.18).

## Product

The product of the members of a finite arithmetic progression with an initial element *a*_{1}, common differences *d*, and *n* elements in total is determined in a closed expression

where denotes the rising factorial and denotes the Gamma function. (Note however that the formula is not valid when is a negative integer or zero.)

This is a generalization from the fact that the product of the progression is given by the factorial and that the product

for positive integers and is given by

Taking the example from above, the product of the terms of the arithmetic progression given by *a*_{n} = 3 + (*n*-1)(5) up to the 50th term is

## Standard deviation

The standard deviation of any arithmetic progression can be calculated via:

where is the number of terms in the progression, and is the common difference between terms

## Formulas at a Glance

Let

- is the first term of an arithmetic progression.
- is the nth term of an arithmetic progression.
- is the last term of an arithmetic progression.
- is the number of terms in the arithmetic progression.
- is the sum of n terms in the arithmetic progression.
- is the mean value of arithmetic series.

then

## See also

- Arithmetico-geometric sequence
- Generalized arithmetic progression - is a set of integers constructed as an arithmetic progression is, but allowing several possible differences.
- Harmonic progression
- Heronian triangles with sides in arithmetic progression
- Problems involving arithmetic progressions
- Utonality

## References

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

## External links

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}