Misplaced Pages

Arithmetic progression

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Arithmetic sequence) Sequence of equally spaced numbers
Proof without words of the arithmetic progression formulas using a rotated copy of the blocks.

An arithmetic progression or arithmetic sequence is a sequence of numbers such that the difference from any succeeding term to its preceding term remains constant throughout the sequence. The constant difference is called common difference of that arithmetic progression. For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression with a common difference of 2.

If the initial term of an arithmetic progression is a 1 {\displaystyle a_{1}} and the common difference of successive members is d {\displaystyle d} , then the n {\displaystyle n} -th term of the sequence ( a n {\displaystyle a_{n}} ) is given by

a n = a 1 + ( n 1 ) d . {\displaystyle a_{n}=a_{1}+(n-1)d.}

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.

History

According to an anecdote of uncertain reliability, in primary school Carl Friedrich Gauss reinvented the formula n ( n + 1 ) 2 {\displaystyle {\tfrac {n(n+1)}{2}}} for summing the integers from 1 through n {\displaystyle n} , for the case n = 100 {\displaystyle n=100} , by grouping the numbers from both ends of the sequence into pairs summing to 101 and multiplying by the number of pairs. Regardless of the truth of this story, Gauss was not the first to discover this formula. Similar rules were known in antiquity to Archimedes, Hypsicles and Diophantus; in China to Zhang Qiujian; in India to Aryabhata, Brahmagupta and Bhaskara II; and in medieval Europe to Alcuin, Dicuil, Fibonacci, Sacrobosco, and anonymous commentators of Talmud known as Tosafists. Some find it likely that its origin goes back to the Pythagoreans in the 5th century BC.

Sum

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

16 + 16 + 16 + 16 + 16 = 80

Computation of the sum 2 + 5 + 8 + 11 + 14. When the sequence is reversed and added to itself term by term, the resulting sequence has a single repeated value in it, equal to the sum of the first and last numbers (2 + 14 = 16). Thus 16 × 5 = 80 is twice the sum.

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

2 + 5 + 8 + 11 + 14 = 40 {\displaystyle 2+5+8+11+14=40}

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:

n ( a 1 + a n ) 2 {\displaystyle {\frac {n(a_{1}+a_{n})}{2}}}

In the case above, this gives the equation:

2 + 5 + 8 + 11 + 14 = 5 ( 2 + 14 ) 2 = 5 × 16 2 = 40. {\displaystyle 2+5+8+11+14={\frac {5(2+14)}{2}}={\frac {5\times 16}{2}}=40.}

This formula works for any arithmetic progression of real numbers beginning with a 1 {\displaystyle a_{1}} and ending with a n {\displaystyle a_{n}} . For example,

( 3 2 ) + ( 1 2 ) + 1 2 = 3 ( 3 2 + 1 2 ) 2 = 3 2 . {\displaystyle \left(-{\frac {3}{2}}\right)+\left(-{\frac {1}{2}}\right)+{\frac {1}{2}}={\frac {3\left(-{\frac {3}{2}}+{\frac {1}{2}}\right)}{2}}=-{\frac {3}{2}}.}

Derivation

Animated proof for the formula giving the sum of the first integers 1+2+...+n.

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

S n = a + a 2 + a 3 + + a ( n 1 ) + a n {\displaystyle S_{n}=a+a_{2}+a_{3}+\dots +a_{(n-1)}+a_{n}}
S n = a + ( a + d ) + ( a + 2 d ) + + ( a + ( n 2 ) d ) + ( a + ( n 1 ) d ) . {\displaystyle S_{n}=a+(a+d)+(a+2d)+\dots +(a+(n-2)d)+(a+(n-1)d).}

Rewriting the terms in reverse order:

S n = ( a + ( n 1 ) d ) + ( a + ( n 2 ) d ) + + ( a + 2 d ) + ( a + d ) + a . {\displaystyle S_{n}=(a+(n-1)d)+(a+(n-2)d)+\dots +(a+2d)+(a+d)+a.}

Adding the corresponding terms of both sides of the two equations and halving both sides:

S n = n 2 [ 2 a + ( n 1 ) d ] . {\displaystyle S_{n}={\frac {n}{2}}.}

This formula can be simplified as:

S n = n 2 [ a + a + ( n 1 ) d ] . = n 2 ( a + a n ) . = n 2 ( initial term + last term ) . {\displaystyle {\begin{aligned}S_{n}&={\frac {n}{2}}.\\&={\frac {n}{2}}(a+a_{n}).\\&={\frac {n}{2}}({\text{initial term}}+{\text{last term}}).\end{aligned}}}

Furthermore, the mean value of the series can be calculated via: S n / n {\displaystyle S_{n}/n} :

a ¯ = a 1 + a n 2 . {\displaystyle {\overline {a}}={\frac {a_{1}+a_{n}}{2}}.}

The formula is essentially the same as the formula for the mean of a discrete uniform distribution, interpreting the arithmetic progression as a set of equally probable outcomes.

Product

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

a 1 a 2 a 3 a n = a 1 ( a 1 + d ) ( a 1 + 2 d ) . . . ( a 1 + ( n 1 ) d ) = k = 0 n 1 ( a 1 + k d ) = d n Γ ( a 1 d + n ) Γ ( a 1 d ) {\displaystyle a_{1}a_{2}a_{3}\cdots a_{n}=a_{1}(a_{1}+d)(a_{1}+2d)...(a_{1}+(n-1)d)=\prod _{k=0}^{n-1}(a_{1}+kd)=d^{n}{\frac {\Gamma \left({\frac {a_{1}}{d}}+n\right)}{\Gamma \left({\frac {a_{1}}{d}}\right)}}}

where Γ {\displaystyle \Gamma } denotes the Gamma function. The formula is not valid when a 1 / d {\displaystyle a_{1}/d} is negative or zero.

This is a generalization of the facts that the product of the progression 1 × 2 × × n {\displaystyle 1\times 2\times \cdots \times n} is given by the factorial n ! {\displaystyle n!} and that the product

m × ( m + 1 ) × ( m + 2 ) × × ( n 2 ) × ( n 1 ) × n {\displaystyle m\times (m+1)\times (m+2)\times \cdots \times (n-2)\times (n-1)\times n}

for positive integers m {\displaystyle m} and n {\displaystyle n} is given by

n ! ( m 1 ) ! . {\displaystyle {\frac {n!}{(m-1)!}}.}

Derivation

a 1 a 2 a 3 a n = k = 0 n 1 ( a 1 + k d ) = k = 0 n 1 d ( a 1 d + k ) = d ( a 1 d ) d ( a 1 d + 1 ) d ( a 1 d + 2 ) d ( a 1 d + ( n 1 ) ) = d n k = 0 n 1 ( a 1 d + k ) = d n ( a 1 d ) n ¯ {\displaystyle {\begin{aligned}a_{1}a_{2}a_{3}\cdots a_{n}&=\prod _{k=0}^{n-1}(a_{1}+kd)\\&=\prod _{k=0}^{n-1}d\left({\frac {a_{1}}{d}}+k\right)=d\left({\frac {a_{1}}{d}}\right)d\left({\frac {a_{1}}{d}}+1\right)d\left({\frac {a_{1}}{d}}+2\right)\cdots d\left({\frac {a_{1}}{d}}+(n-1)\right)\\&=d^{n}\prod _{k=0}^{n-1}\left({\frac {a_{1}}{d}}+k\right)=d^{n}{\left({\frac {a_{1}}{d}}\right)}^{\overline {n}}\end{aligned}}}

where x n ¯ {\displaystyle x^{\overline {n}}} denotes the rising factorial.

By the recurrence formula Γ ( z + 1 ) = z Γ ( z ) {\displaystyle \Gamma (z+1)=z\Gamma (z)} , valid for a complex number z > 0 {\displaystyle z>0} ,

Γ ( z + 2 ) = ( z + 1 ) Γ ( z + 1 ) = ( z + 1 ) z Γ ( z ) {\displaystyle \Gamma (z+2)=(z+1)\Gamma (z+1)=(z+1)z\Gamma (z)} ,
Γ ( z + 3 ) = ( z + 2 ) Γ ( z + 2 ) = ( z + 2 ) ( z + 1 ) z Γ ( z ) {\displaystyle \Gamma (z+3)=(z+2)\Gamma (z+2)=(z+2)(z+1)z\Gamma (z)} ,

so that

Γ ( z + m ) Γ ( z ) = k = 0 m 1 ( z + k ) {\displaystyle {\frac {\Gamma (z+m)}{\Gamma (z)}}=\prod _{k=0}^{m-1}(z+k)}

for m {\displaystyle m} a positive integer and z {\displaystyle z} a positive complex number.

Thus, if a 1 / d > 0 {\displaystyle a_{1}/d>0} ,

k = 0 n 1 ( a 1 d + k ) = Γ ( a 1 d + n ) Γ ( a 1 d ) {\displaystyle \prod _{k=0}^{n-1}\left({\frac {a_{1}}{d}}+k\right)={\frac {\Gamma \left({\frac {a_{1}}{d}}+n\right)}{\Gamma \left({\frac {a_{1}}{d}}\right)}}} ,

and, finally,

a 1 a 2 a 3 a n = d n k = 0 n 1 ( a 1 d + k ) = d n Γ ( a 1 d + n ) Γ ( a 1 d ) {\displaystyle a_{1}a_{2}a_{3}\cdots a_{n}=d^{n}\prod _{k=0}^{n-1}\left({\frac {a_{1}}{d}}+k\right)=d^{n}{\frac {\Gamma \left({\frac {a_{1}}{d}}+n\right)}{\Gamma \left({\frac {a_{1}}{d}}\right)}}}

Examples

Example 1

Taking the example 3 , 8 , 13 , 18 , 23 , 28 , {\displaystyle 3,8,13,18,23,28,\ldots } , the product of the terms of the arithmetic progression given by a n = 3 + 5 ( n 1 ) {\displaystyle a_{n}=3+5(n-1)} up to the 50th term is

P 50 = 5 50 Γ ( 3 / 5 + 50 ) Γ ( 3 / 5 ) 3.78438 × 10 98 . {\displaystyle P_{50}=5^{50}\cdot {\frac {\Gamma \left(3/5+50\right)}{\Gamma \left(3/5\right)}}\approx 3.78438\times 10^{98}.}
Example 2

The product of the first 10 odd numbers ( 1 , 3 , 5 , 7 , 9 , 11 , 13 , 15 , 17 , 19 ) {\displaystyle (1,3,5,7,9,11,13,15,17,19)} is given by

1 3 5 19 = k = 0 9 ( 1 + 2 k ) = 2 10 Γ ( 1 2 + 10 ) Γ ( 1 2 ) {\displaystyle 1\cdot 3\cdot 5\cdots 19=\prod _{k=0}^{9}(1+2k)=2^{10}\cdot {\frac {\Gamma \left({\frac {1}{2}}+10\right)}{\Gamma \left({\frac {1}{2}}\right)}}} = 654,729,075

Standard deviation

The standard deviation of any arithmetic progression is

σ = | d | ( n 1 ) ( n + 1 ) 12 {\displaystyle \sigma =|d|{\sqrt {\frac {(n-1)(n+1)}{12}}}}

where n {\displaystyle n} is the number of terms in the progression and d {\displaystyle d} is the common difference between terms. The formula is essentially the same as the formula for the standard deviation of a discrete uniform distribution, interpreting the arithmetic progression as a set of equally probable outcomes.

Intersections

The intersection of any two doubly infinite arithmetic progressions is either empty or another arithmetic progression, which can be found using the Chinese remainder theorem. If each pair of progressions in a family of doubly infinite arithmetic progressions have a non-empty intersection, then there exists a number common to all of them; that is, infinite arithmetic progressions form a Helly family. However, the intersection of infinitely many infinite arithmetic progressions might be a single number rather than itself being an infinite progression.

Amount of arithmetic subsets of length k of the set {1,...,n}

Let a ( n , k ) {\displaystyle a(n,k)} denote the number of subsets of length k {\displaystyle k} one can make from the set { 1 , , n } {\displaystyle \{1,\cdots ,n\}} and let ϕ ( η , κ ) {\displaystyle \phi (\eta ,\kappa )} be defined as:

ϕ ( η , κ ) = { 0 if  κ η ( [ η ( mod  κ ) ] 2 ) ( κ [ η ( mod  κ ) ] ) if  κ η {\displaystyle \phi (\eta ,\kappa )={\begin{cases}0&{\text{if }}\kappa \mid \eta \\\left(\left-2\right)\left(\kappa -\left\right)&{\text{if }}\kappa \not \mid \eta \\\end{cases}}}

Then:

a ( n , k ) = 1 2 ( k 1 ) ( n 2 ( k 1 ) n + ( k 2 ) + ϕ ( n + 1 , k 1 ) ) = 1 2 ( k 1 ) ( ( n 1 ) ( n ( k 2 ) ) + ϕ ( n + 1 , k 1 ) ) {\displaystyle {\begin{aligned}a(n,k)&={\frac {1}{2(k-1)}}\left(n^{2}-(k-1)n+(k-2)+\phi (n+1,k-1)\right)\\&={\frac {1}{2(k-1)}}\left((n-1)(n-(k-2))+\phi (n+1,k-1)\right)\end{aligned}}}

As an example, if ( n , k ) = ( 7 , 3 ) {\textstyle (n,k)=(7,3)} one expects a ( 7 , 3 ) = 9 {\textstyle a(7,3)=9} arithmetic subsets and, counting directly, one sees that there are 9; these are { 1 , 2 , 3 } , { 2 , 3 , 4 } , { 3 , 4 , 5 } , { 4 , 5 , 6 } , { 5 , 6 , 7 } , { 1 , 3 , 5 } , { 3 , 5 , 7 } , { 2 , 4 , 6 } , { 1 , 4 , 7 } . {\textstyle \{1,2,3\},\{2,3,4\},\{3,4,5\},\{4,5,6\},\{5,6,7\},\{1,3,5\},\{3,5,7\},\{2,4,6\},\{1,4,7\}.}

See also

References

  1. Hayes, Brian (2006). "Gauss's Day of Reckoning". American Scientist. 94 (3): 200. doi:10.1511/2006.59.200. Archived from the original on 12 January 2012. Retrieved 16 October 2020.
  2. Tropfke, Johannes (1924). Analysis, analytische Geometrie. Walter de Gruyter. pp. 3–15. ISBN 978-3-11-108062-8.
  3. Tropfke, Johannes (1979). Arithmetik und Algebra. Walter de Gruyter. pp. 344–354. ISBN 978-3-11-004893-3.
  4. Problems to Sharpen the Young, John Hadley and David Singmaster, The Mathematical Gazette, 76, #475 (March 1992), pp. 102–126.
  5. Ross, H.E. & Knott, B.I. (2019) Dicuil (9th century) on triangular and square numbers, British Journal for the History of Mathematics, 34:2, 79-94, https://doi.org/10.1080/26375451.2019.1598687
  6. Sigler, Laurence E. (trans.) (2002). Fibonacci's Liber Abaci. Springer-Verlag. pp. 259–260. ISBN 0-387-95419-8.
  7. Katz, Victor J. (edit.) (2016). Sourcebook in the Mathematics of Medieval Europe and North Africa. Princeton University Press. pp. 91, 257. ISBN 9780691156859.
  8. Stern, M. (1990). 74.23 A Mediaeval Derivation of the Sum of an Arithmetic Progression. The Mathematical Gazette, 74(468), 157-159. doi:10.2307/3619368
  9. Høyrup, J. The "Unknown Heritage": trace of a forgotten locus of mathematical sophistication. Arch. Hist. Exact Sci. 62, 613–654 (2008). https://doi.org/10.1007/s00407-008-0025-y
  10. Duchet, Pierre (1995), "Hypergraphs", in Graham, R. L.; Grötschel, M.; Lovász, L. (eds.), Handbook of combinatorics, Vol. 1, 2, Amsterdam: Elsevier, pp. 381–432, MR 1373663. See in particular Section 2.5, "Helly Property", pp. 393–394.

External links

Sequences and series
Integer sequences
Basic
Advanced (list)
Fibonacci spiral with square sizes up to 34.
Properties of sequences
Properties of series
Series
Convergence
Explicit series
Convergent
Divergent
Kinds of series
Hypergeometric series
Categories: