The Wayback Machine - https://web.archive.org/web/20250403025402/https://www.geeksforgeeks.org/sequences-and-series/
Open In App

Sequences and Series

Last Updated : 04 Nov, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

A sequence is an ordered list of numbers following a specific rule. Each number in a sequence is called a “term.” The order in which terms are arranged is crucial, as each term has a specific position, often denoted as an​, where n indicates the position in the sequence.

For example:

  • 2, 5, 8, 11, 14, . . . [Here, each term is 3 more then he previous term.]
  • 3, 6, 12, 24, 48, . . . [Here, each term is 2 times of the preceding term]
  • 0, 1, 1, 2, 3, 5, 8, 13, 21, . . . [Here, each term is sum of two preceding terms]

A series is the sum of the terms of a sequence. If we have a sequence a1, a2, a3, . . . the series associated with it is:

S = a1 + a2 + a3 + . . .


There are many sequence in mathematics, but only three are commonly known among students. These are:

Arithmetic Sequence

An arithmetic sequence (or arithmetic progression) is a sequence of numbers in which the difference between consecutive terms is constant. This difference is called the common difference (denoted as d).

For example:

  • 2, 5, 8, 11, 14, . . . (first term = 2 and common difference = 3)
  • 10, 7, 4, 1, −2, . . . (first term = 10 and common difference = -3)
  • 1, 2.5, 4, 5.5, 7, . . . (first term = 1 and common difference = 1.5)

The sequence in which each consecutive term has a common difference and this difference could be positive, negative and even zero is known as an arithmetic sequence.

Geometric Sequence

A geometric sequence (or geometric progression) is a sequence of numbers in which the ratio between consecutive terms is constant. This ratio is known as the common ratio (denoted as r).

For example:

  • 3, 6, 12, 24, 48, . . . (first term = 3 and common ratio = 2)
  • 1, 3, 9, 27, 81, . . . (first term = 1 and common ratio = 3)
  • 16, 8, 4, 2, 1, . . . (first term = 16 and common ratio = 1/2)
  • 5, −10, 20, −40, 80, . . . (first term = 5 and common ratio = -2)

Harmonic Sequence

A harmonic sequence (or harmonic progression) is a sequence of numbers where the reciprocals of the terms form an arithmetic sequence. In other words, if the sequence is a1, a2, a3, . . . , then the sequence of reciprocals 1/a1, 1/a2, 1/a3, . . . is an arithmetic sequence.

For example:

  • 1, 1/2​, 1/3​, 1/4​, 1/5​, . . . (as 1, 2, 3, 4, 5, . . . is arithmetic sequence)
  • 3, 3/2, 1, 3/4, 3/5, . . . (1/3, 2/3, 3/3, 4/3, 5/3, . . . is arithmetic sequence)

Note: Besides these, another commonly known sequence is the Fibonacci Sequence.

Formulas for Sequence and Series

For arithmetic, geometric, and harmonic sequences, there are various formulas to calculate the nth term or the sum of the sequence. These formulas are:

TypeFormulaDescription
nth term of Arithmetic Sequencean​ = a1​ + (n − 1)dnth term of an arithmetic sequence
Sum of Arithmetic SeriesSn â€‹= 2n​(a1​ + an​)Sum of the first n terms of an arithmetic series
nth term of Geometric Sequencean â€‹= a ​⋅ rn−1nth term of a geometric sequence
Sum of Geometric Series (Finite)Sn​ = a(1 − rn)/(​1 − r)Sum of the first n terms of a geometric series
Sum of Geometric Series (Infinite)S∞ = a/(1 − r)​​ (For r < 1}Sum of the infinite geometric series where r < 1.
Harmonic SeriesHn â€‹= ∑nk=1 (1/k)Sum of the first n terms of the harmonic series

Difference between Sequences and Series

Sequence and series are often used interchangeably by many, but there is a very clear difference between them. These differences are listed in the following table:

AspectSequenceSeries
DefinitionAn ordered list of numbers, following a specific rule or pattern.The sum of the terms of a sequence.
NotationTypically denoted as an or {an}.Typically denoted as Sn or âˆ‘an.
Example1, 2, 3, 4, 5, . . . (Arithmetic sequence)1 + 2 + 3 + 4 + 5 + . . . (Sum of the sequence)
Main FocusFocuses on the terms themselves.Focuses on the sum of the terms.
RepresentationWritten as a list or a formula for the nth term.Written using summation notation (∑).
Use CasesUsed to define patterns or behaviors in data sets.Used to calculate totals, averages, or in calculus for convergence.
ConvergenceNot applicable; it is a list of values.Can converge to a limit (infinite series) or diverge.

Convergence and Divergence of Series

Given a sequence {an}, the series is written as:

[Tex]\sum_{n=1}^{\infty} a_n = a_1 + a_2 + a_3 + \dots[/Tex]

  • A series [Tex]\sum_{n=1}^{\infty} a_n​[/Tex] converges if the sequence of partial sums SN = a1 + a2 + â‹Ŋ + aN​ approaches a finite limit as N → ∞:

\lim_{N \to \infty} S_N = S

Where S is a finite number. In this case, the series is said to have the sum S.

  • A series [Tex]\sum_{n=1}^{\infty} a_n​[/Tex] diverges if the sequence of partial sums SN does not approach a finite limit as N→∞. In other words, if SN​ either grows without bound or oscillates as N → ∞, the series diverges.

Read More about Convergence Tests.

Special Series

Some special series are:

  • Arithmetic-Geometric Series (AGS) is a special type of series that combines both arithmetic and geometric sequences. It can be expressed in the form:

S = a + (a + d)x + (a + 2d)x2 + (a + 3d)x3 + . . .

  • Binomial Series is an infinite series that provides a way to expand expressions of the form (a + b)n, where n is any real number (not just a positive integer). The series is derived from the Binomial Theorem, which states that:

[Tex](a + b)^n = \sum_{k=0}^{\infty} \binom{n}{k} a^{n-k} b^k[/Tex]

  • Taylor Series of a function f(x) about a point a is given by the formula:

[Tex]f(x) = f(a) + f'(a)(x – a) + \frac{f”(a)}{2!}(x – a)^2 + \frac{f”'(a)}{3!}(x – a)^3 + \ldots[/Tex]

This can be expressed in summation notation as:

[Tex]f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x – a)^n[/Tex]

  • Maclaurin Series is a special case of the Taylor Series, where the expansion is around the point a=0a = 0a=0:

[Tex]f(x) = f(0) + f'(0)x + \frac{f”(0)}{2!}x^2 + \frac{f”'(0)}{3!}x^3 + \ldots[/Tex]

In summation form, it is:

[Tex]f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}x^n[/Tex]

Read More,

FAQs on Sequences and Series

What is the difference between a sequence and a series?

A sequence is an ordered list of numbers following a specific pattern, while a series is the sum of the terms of a sequence. For example, in the sequence 2, 4, 6, 8, the series would be 2 + 4 + 6 + 8.

How do you find the nth term of an arithmetic sequence?

The nth term of an arithmetic sequence can be found using the formula: an = a1 + (n – 1)d where an is the nth term, a1 is the first term, n is the term number, and d is the common difference.

What is the formula for the sum of the first n terms of a geometric series?

The sum of the first n terms of a geometric series is given by: where Sn​ is the sum, a is the first term, r is the common ratio, and n is the number of terms.

How can you determine if a series converges or diverges?

A series converges if the sum of its terms approaches a finite value as more terms are added. For a geometric series, it converges if the absolute value of the common ratio | r | < 1. For other types of series, various tests like the comparison test, ratio test, or integral test are used to determine convergence or divergence.



Next Article

Similar Reads

three90RightbarBannerImg