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

bookIntroduction to Series

A series is the sum of the terms of a sequence. Two common types of series are arithmetic and geometric series.

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=n22a+(n1)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+(101)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=a1rn1r, r1S_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=a1rS = \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=312412=31161=315=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 have a wide range of applications in data science and beyond:

  • Population growth: geometric series can model exponential growth in populations or resource use;
  • Financial modeling: geometric series are used to calculate compound interest and investment returns;
  • Revenue prediction: summing revenue across time periods or forecasting future earnings;
  • Machine learning: some algorithms, such as gradient descent, involve summations that resemble arithmetic or geometric series.

1. What is the sum of the first 5 terms of the series 3,6,9,12,...3,6,9,12,...?

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

question mark

What is the sum of the first 5 terms of the series 3,6,9,12,...3,6,9,12,...?

Select the correct answer

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

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Awesome!

Completion rate improved to 1.89

bookIntroduction to Series

Swipe um das Menü anzuzeigen

A series is the sum of the terms of a sequence. Two common types of series are arithmetic and geometric series.

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=n22a+(n1)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+(101)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=a1rn1r, r1S_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=a1rS = \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=312412=31161=315=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 have a wide range of applications in data science and beyond:

  • Population growth: geometric series can model exponential growth in populations or resource use;
  • Financial modeling: geometric series are used to calculate compound interest and investment returns;
  • Revenue prediction: summing revenue across time periods or forecasting future earnings;
  • Machine learning: some algorithms, such as gradient descent, involve summations that resemble arithmetic or geometric series.

1. What is the sum of the first 5 terms of the series 3,6,9,12,...3,6,9,12,...?

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

question mark

What is the sum of the first 5 terms of the series 3,6,9,12,...3,6,9,12,...?

Select the correct answer

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

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4
some-alt