Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Introduction to Series | Sets and Series
Mathematics for Data Science

bookIntroduction to Series

Note
Definition

A series is a mathematical expression formed by adding the terms of a sequence. The most common types are the arithmetic series and the geometric series, which differ in how their terms progress.

Arithmetic Series

An arithmetic series is formed when the difference between consecutive terms in a sequence is constant.

2,5,8,11,14,...;(commonΒ difference,d=3)2, 5, 8, 11, 14, ...; (\text{common difference}, d = 3)

The sum of the first nn terms of an arithmetic series is given by:

Sn=n2β‹…(a+l)S_n = \frac{n}{2} \cdot (a + l)

Where:

  • nn - number of terms;
  • aa - first term;
  • ll - last term.

Alternatively, if the last term ll is not known:

Sn=n2β‹…2a+(nβˆ’1)β‹…dS_n = \frac{n}{2} \cdot 2a + (n - 1) \cdot d

Example

Find the sum of the first 10 terms of the series 2,5,8,...2,5,8,...

S10=102β‹…(2+(10βˆ’1)β‹…3)=5β‹…(2+27)=145S_{10} = \frac{10}{2} \cdot (2 + (10 - 1) \cdot 3) = 5 \cdot (2 + 27) = 145

Geometric Series

A geometric series is formed when each term in the sequence is multiplied by a fixed ratio to get the next term.

3,6,12,24,48,...;(commonΒ ratio,r=2)3,6,12,24,48,...;(\text{common ratio}, r=2)

The sum of the first nn terms of a geometric series is given by:

Sn=aβ‹…1βˆ’rn1βˆ’r,Β rβ‰ 1S_n = a \cdot \frac{1 - r^n}{1 - r},\ r \neq 1

Where:

  • aa - first term;
  • rr - common ratio;
  • nn - number of terms.

If the series is infinite and ∣r∣<1|r|<1:

S=a1βˆ’rS = \frac{a}{1 - r}

Example:

Find the sum of the first 4 terms of the series 3,6,12,24,...3,6,12,24,...

S4=3β‹…1βˆ’241βˆ’2=3β‹…1βˆ’16βˆ’1=3β‹…15=45S_4 = 3 \cdot \frac{1-2^4}{1-2} = 3 \cdot \frac{1-16}{-1}=3 \cdot 15 = 45

Real-World Applications

Arithmetic and geometric series appear in many data science contexts:

  • Population growth and resource modeling through geometric progressions;
  • Financial analysis using compound interest calculations;
  • Revenue forecasting across time periods;
  • Machine learning, where summations occur in algorithms like gradient descent.
question mark

a=1a=1, r=0.5r=0.5 and n=∞n=\infty, what is the sum of the infinite geometric series?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 1.96

bookIntroduction to Series

Swipe to show menu

Note
Definition

A series is a mathematical expression formed by adding the terms of a sequence. The most common types are the arithmetic series and the geometric series, which differ in how their terms progress.

Arithmetic Series

An arithmetic series is formed when the difference between consecutive terms in a sequence is constant.

2,5,8,11,14,...;(commonΒ difference,d=3)2, 5, 8, 11, 14, ...; (\text{common difference}, d = 3)

The sum of the first nn terms of an arithmetic series is given by:

Sn=n2β‹…(a+l)S_n = \frac{n}{2} \cdot (a + l)

Where:

  • nn - number of terms;
  • aa - first term;
  • ll - last term.

Alternatively, if the last term ll is not known:

Sn=n2β‹…2a+(nβˆ’1)β‹…dS_n = \frac{n}{2} \cdot 2a + (n - 1) \cdot d

Example

Find the sum of the first 10 terms of the series 2,5,8,...2,5,8,...

S10=102β‹…(2+(10βˆ’1)β‹…3)=5β‹…(2+27)=145S_{10} = \frac{10}{2} \cdot (2 + (10 - 1) \cdot 3) = 5 \cdot (2 + 27) = 145

Geometric Series

A geometric series is formed when each term in the sequence is multiplied by a fixed ratio to get the next term.

3,6,12,24,48,...;(commonΒ ratio,r=2)3,6,12,24,48,...;(\text{common ratio}, r=2)

The sum of the first nn terms of a geometric series is given by:

Sn=aβ‹…1βˆ’rn1βˆ’r,Β rβ‰ 1S_n = a \cdot \frac{1 - r^n}{1 - r},\ r \neq 1

Where:

  • aa - first term;
  • rr - common ratio;
  • nn - number of terms.

If the series is infinite and ∣r∣<1|r|<1:

S=a1βˆ’rS = \frac{a}{1 - r}

Example:

Find the sum of the first 4 terms of the series 3,6,12,24,...3,6,12,24,...

S4=3β‹…1βˆ’241βˆ’2=3β‹…1βˆ’16βˆ’1=3β‹…15=45S_4 = 3 \cdot \frac{1-2^4}{1-2} = 3 \cdot \frac{1-16}{-1}=3 \cdot 15 = 45

Real-World Applications

Arithmetic and geometric series appear in many data science contexts:

  • Population growth and resource modeling through geometric progressions;
  • Financial analysis using compound interest calculations;
  • Revenue forecasting across time periods;
  • Machine learning, where summations occur in algorithms like gradient descent.
question mark

a=1a=1, r=0.5r=0.5 and n=∞n=\infty, what is the sum of the infinite geometric series?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4
some-alt