maths.freeCalculus › 8. Taylor Polynomials and Taylor Series › Geometric sums

Geometric sums

In our work in Section, we learned how to find a degree n polynomial approximation centered at a value a for a given function f with at least n derivatives.

Introduction

In our work in Section, we learned how to find a degree \(n\) polynomial approximation centered at a value \(a\) for a given function \(f\) with at least \(n\) derivatives. By working with several different functions and \(n\)-values, we've seen that increasing the degree of the polynomial improves the approximation, and also often helps us to see a pattern in the coefficients of the Taylor polynomials.

For example, the degree \(5\) Taylor approximation of \(f(x) = \ln(1+x)\) at \(a = 0\) is \[\begin{aligned}\end{aligned}\] and we see a pattern in the coefficients that allows us to easily generate \(T_6(x)\), \(T_{10}(x)\), or indeed \(T_n(x)\) for any \(n\). Note that if we want to use \(T_{10}(x)\) to estimate \(\ln(\frac{3}{2}) = \ln(1 + \frac{1}{2})\), we need to compute the sum of \(10\) terms given by \[\begin{aligned}\end{aligned}\] This computation suggests at least two questions: is there an easy way (without a computer) to determine the exact value of the \(10\)-term sum \[\begin{aligned}\end{aligned}\], and is there a way we can make sense of continuing the sum indefinitely, \[\begin{aligned}\end{aligned}\]

In this section, we investigate a special collection of similar sums that are called geometric.

Exploration
Exploration

Finite Geometric Series

Sums such as \[\begin{aligned}\end{aligned}\], \[\begin{aligned}\end{aligned}\], and \[\begin{aligned}\end{aligned}\] all share a similar structure: each has exactly \(n\) terms, and the next term in each sum is found by multiplying the last term by the same number. In the first sum, each subsequent term is found by multiplying by \(\frac{1}{2}\); in the second sum, by multiplying by \(\frac{1}{4}\); in the third sum, the multiplier is \(\frac{-2}{3}\). These sums each have the form \[\begin{aligned}\end{aligned}\], which we call a finite geometric series with ratio \(r\). It turns out that the value of each sum that has this form can be computed quickly without having to add all of the individual terms.

The ideas in Activity can be extended to the general case for any value of \(a\) and any value of \(r \ne 1\). In particular, replacing \(1\) with \(a\) and \(\frac{2}{5}\) with \(r\), our work shows that by finding \(r \cdot S_n\) and then subtracting that quantity from \(S_n\), we get \[\begin{aligned}\end{aligned}\], so that \[\begin{aligned}\end{aligned}\], and therefore \[\begin{aligned}\end{aligned}\]. We summarize this result formally as follows.

A finite geometric series \(S_n\) is a sum of the form \[\begin{aligned}\end{aligned}\], where \(a\) and \(r\) are real numbers such that \(r \ne 1\). The exact value of the finite geometric series \(S_n\) can be computed directly as \[\begin{aligned}\end{aligned}\].

Example: The value of a finite geometric series

Use the shortcut formula in Equation to find the exact value of the finite geometric series \[\begin{aligned}\end{aligned}\].

Solution

We can view the given sum as the finite geometric series \(S_{10}\) that has \(a = 1\) and \(r = \frac{1}{2}\). By Equation, it follows that \[\begin{aligned}\end{aligned}\].

Example: The value of another finite geometric series

Use the shortcut formula in Equation to find the exact value of the finite geometric series \[\begin{aligned}\end{aligned}\].

Solution

We can view the given sum as the finite geometric series \(S_{8}\) that has \(a = 2\) and \(r = -\frac{4}{3}\). By Equation, it follows that \[\begin{aligned}\end{aligned}\].

Condensed — the full section is in Boelkins, Active Calculus.

Infinite Geometric Series

Our initial introduction to sums with many terms came from Taylor polynomial approximations such as \[\begin{aligned}\end{aligned}\]. Because the approximation gets better as we add more terms, it's natural to think about the possibility of the sum extending forever. We begin by asking this question for a finite geometric series such as \[\begin{aligned}\end{aligned}\]: what happens if we let the sum continue indefinitely?

Example: An infinite geometric series

Can we find the value of \[\begin{aligned}\end{aligned}\], where the sum never terminates?

Solution

In Preview Activity, we saw that for the finite geometric series \[\begin{aligned}\end{aligned}\], \(S_1 = 1\), \(S_2 = \frac{3}{2} = 1.5\), \(S_3 = \frac{7}{4} = 1.75\), \(S_4 = \frac{15}{8} = 1.875\), \(S_5 = \frac{31}{16} = 1.9375\), and indeed \[\begin{aligned}\end{aligned}\]. If we now multiply both the numerator and denominator by \(2^{n}\), we find that \[\begin{aligned}\end{aligned}\]. We can view \(S_n\) as a partial sum (indeed, the sum of the first \(n\) terms) of the infinite geometric series \[\begin{aligned}\end{aligned}\] whose value we seek. Plotting these partial sums on a number line, we see evidence that the value of the \(n\)th partial sum is approaching \(2\).

Indeed, we observe that each partial sum lies halfway between the preceding partial sum and the number \(2\): \(S_2 = 1.5\) is halfway between \(S_1 = 1\) and \(2\); \(S_3 = 1.75\) is halfway between \(S_2 = 1.5\) and \(2\); and so on. This shows that the partial sums \(S_n\) are approaching \(2\) as \(n\) increases without bound.

We can see this more formally in Equation if we divide the two terms in the numerator of \(S_n\) by the denominator. Doing so, an equivalent formula for \(S_n\) is \[\begin{aligned}\end{aligned}\]. In Equation, if we let \(n \to \infty\), we have \[\begin{aligned}\end{aligned}\], since \(\frac{1}{2^{n-1}} \to 0\) as \(n\) increases without bound.

Thus, it makes sense to say that the sum of the infinite geometric series \[\begin{aligned}\end{aligned}\] is finite and that \(S = 2\).

Example demonstrates the general principle that we use to determine if any infinite series has a finite value: we consider the partial sum, \(S_n\), which is the finite sum of the first \(n\) terms, and then investigate whether the partial sums converge to a single value as \(n\) increases without bound. For geometric series, determining whether the partial sums converge or not is straightforward.

Condensed — the full section is in Boelkins, Active Calculus.

How geometric series naturally connect to Taylor polynomials

If we take \(a = 1\) in Equation and Equation, we see that \[\begin{aligned}\end{aligned}\], provided that \(|r| \lt 1\). To study this equation further, we are going to let \(r\) vary and thus we introduce the function \(f(x) = \frac{1}{1-x}\) and replace \(r\) by \(x\) in Equation to have \[\begin{aligned}\end{aligned}\], which is valid for \(|x| \lt 1\). One reason this equation is interesting is that we have a function \(f(x)\) that can be represented in two different ways: as the rational function \(\frac{1}{1-x}\), and as the infinite polynomial function \(1 + x + x^2 + \cdots\).

For \(x\) such that \(|x| \lt 1\), we know from Equation that the infinite geometric series \(1 + x+ x^2 + \cdots + x^{n-1} + x^n + \cdots\) converges. Thus, it follows that partial sums of the series will approximate its value, which means \[\begin{aligned}\end{aligned}\]. Since the series converges for \(|x| \lt 1\), this also means the approximate equality in holds for \(x\) near \(a = 0\). This result reminds us of approximations generated by Taylor polynomials of degree \(n\).

Moreover, because the infinite series converges, the larger the value of \(n\), the better the approximation will be. Plotting the function \(f(x) = \frac{1}{1-x}\) along with several of the polynomials that arise for different choices of \(n\), say \(T_1(x) = 1 + x\), \(T_4(x) = 1 + x + \cdots + x^4\), and \(T_7(x) = 1 + x + \cdots + x^7\), we see the impact of increasing the degree \(n\) in Figure.

In particular, we observe that as the degree of the polynomial approximation increases, the polynomial not only appears closer to \(f(x) = \frac{1}{1-x}\), but does so on a wider interval of \(x\)-values. Since the infinite series only converges when \(|x| \lt 1\) and the function \(f(x) = \frac{1}{1-x}\) is undefined when \(x = 1\), we also expect the approximations to only be accurate on an interval that lies within \(-1 \lt x \lt 1\). This also reminds of our earlier work with Taylor polynomials where in images such as Figure, increasing the degree of the Taylor polynomial similarly improves the approximation.

In our recent preceding work, we arrived at the function \(f(x) = \frac{1}{1-x}\) by starting with the infinite geometric series \[\begin{aligned}\end{aligned}\] and exploring its partial sums. Next, we change perspective and start with function \(f(x) = \frac{1}{1-x}\) and determine the Taylor polynomial approximations to \(f\) that are centered at \(a = 0\) in order to see an interesting connection.

Summary

  • A finite geometric series \(S_n\) is a sum of the form \[\begin{aligned}\end{aligned}\], where \(a\) and \(r\) are real numbers such that \(r \ne 1\). The value of the finite geometric series \(S_n\) can be computed directly as \[\begin{aligned}\end{aligned}\].

  • An infinite geometric series \(S\) is a sum of the form \[\begin{aligned}\end{aligned}\], where \(a\) and \(r\) are real numbers. If \(|r| \lt 1\), then the infinite geometric series converges to the finite value \[\begin{aligned}\end{aligned}\]. If \(|r| \ge 1\), then the infinite geometric series does not converge to a finite sum.

  • If we consider the infinite geometric series with \(a = 1\) and \(|r| \lt 1\) and replace \(r\) with \(x\), we can say that \[\begin{aligned}\end{aligned}\]. As we found in Activity, the Taylor series centered at \(a = 0\) for \(f(x) = \frac{1}{1-x}\) is precisely the infinite geometric series \[\begin{aligned}\end{aligned}\] and we know this series is equal to \(f(x)\) for \(|x| \lt 1\).

Practice (2)

Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.

  1. It is important to understand the power of geometric growth compared to linear growth. Suppose you are hired for a job that will take you 30 days to complete and are offered two options for how you'll be compensated.

    • Option 1.

      You can be paid $500 per day, or

    • Option 2.

      You can be paid 1 cent the first day, 2 cents the second day, 4 cents the third day, 8 cents the fourth day, and so on, doubling the amount you are paid each day.

    1. How much will you be paid for the job in total under Option 1?

    2. Complete Table to determine the pay you will receive under Option 2 for the first 10 days.

      DayPay on this dayTotal amount paid to date
      \(1\)\(\dollar0.01\)\(\dollar0.01\)
      \(2\)\(\dollar0.02\)\(\dollar0.03\)
      \(3\)
      \(4\)
      \(5\)
      \(6\)
      \(7\)
      \(8\)
      \(9\)
      \(10\)
    3. Find a formula for the amount paid on day \(n\), as well as for the total amount paid by day \(n\). Use this formula to determine which option (1 or 2) you should take.

    जवाफ प्रकट गर्नुहोस्

    1. You will be paid \(30 \cdot 500 = 1500\) dollars under Option 1.

    2. DayPay on this dayTotal amount paid to date
      \(1\)\(\dollar0.01\)\(\dollar0.01\)
      \(2\)\(\dollar0.02\)\(\dollar0.03\)
      \(3\)\(\dollar0.04\)\(\dollar0.07\)
      \(4\)\(\dollar0.08\)\(\dollar0.15\)
      \(5\)\(\dollar0.16\)\(\dollar0.31\)
      \(6\)\(\dollar0.32\)\(\dollar0.63\)
      \(7\)\(\dollar0.64\)\(\dollar1.27\)
      \(8\)\(\dollar1.28\)\(\dollar2.55\)
      \(9\)\(\dollar2.56\)\(\dollar5.11\)
      \(10\)\(\dollar5.12\)\(\dollar10.23\)
    3. On day \(n\) you are paid \(0.01\left(2^{n-1}\right)\) dollars and the total amount paid is \(\dollar0.01\left(2^n-1\right)\). So on day 30 under Option 2 the total payment will be \[\begin{aligned}\end{aligned}\], so Option 2 is definitely the better deal.

  2. It is important to understand the power of geometric growth compared to linear growth. Suppose you are hired for a job that will take you 30 days to complete and are offered two options for how you'll be compensated.

    • Option 1.

      You can be paid $500 per day, or

    • Option 2.

      You can be paid 1 cent the first day, 2 cents the second day, 4 cents the third day, 8 cents the fourth day, and so on, doubling the amount you are paid each day.

    1. How much will you be paid for the job in total under Option 1?

    2. Complete Table to determine the pay you will receive under Option 2 for the first 10 days.

      DayPay on this dayTotal amount paid to date
      \(1\)\(\dollar0.01\)\(\dollar0.01\)
      \(2\)\(\dollar0.02\)\(\dollar0.03\)
      \(3\)
      \(4\)
      \(5\)
      \(6\)
      \(7\)
      \(8\)
      \(9\)
      \(10\)
    3. Find a formula for the amount paid on day \(n\), as well as for the total amount paid by day \(n\). Use this formula to determine which option (1 or 2) you should take.

    जवाफ प्रकट गर्नुहोस्

    1. You will be paid \(30 \cdot 500 = 1500\) dollars under Option 1.

    2. DayPay on this dayTotal amount paid to date
      \(1\)\(\dollar0.01\)\(\dollar0.01\)
      \(2\)\(\dollar0.02\)\(\dollar0.03\)
      \(3\)\(\dollar0.04\)\(\dollar0.07\)
      \(4\)\(\dollar0.08\)\(\dollar0.15\)
      \(5\)\(\dollar0.16\)\(\dollar0.31\)
      \(6\)\(\dollar0.32\)\(\dollar0.63\)
      \(7\)\(\dollar0.64\)\(\dollar1.27\)
      \(8\)\(\dollar1.28\)\(\dollar2.55\)
      \(9\)\(\dollar2.56\)\(\dollar5.11\)
      \(10\)\(\dollar5.12\)\(\dollar10.23\)
    3. On day \(n\) you are paid \(0.01\left(2^{n-1}\right)\) dollars and the total amount paid is \(\dollar0.01\left(2^n-1\right)\). So on day 30 under Option 2 the total payment will be \[\begin{aligned}\end{aligned}\], so Option 2 is definitely the better deal.

Symbols used here

\infty
infinity
Not a number: "grows without bound" in limits and intervals.
\log_b x,\ \ln x
logarithm, natural log
The exponent b must be raised to for x; ln uses base e.
\leq,\ \geq
less/greater than or equal
Inequalities that allow equality; < and > exclude it.
\neq
not equal
The two sides are different.
\sup,\ \inf
supremum, infimum
Least upper bound, greatest lower bound.
\pi
pi
Ratio of a circle's circumference to its diameter, 3.14159…
e
Euler's number
2.71828…, the base whose exponential is its own derivative.
\sin,\ \cos,\ \tan
sine, cosine, tangent
Ratios of sides in a right triangle; coordinates on the unit circle.
\sum_{k=1}^{n} a_k
summation
Add a_k for k = 1 up to n.
\lim_{x \to a} f(x)
limit
The value f(x) approaches as x approaches a.
f'(x),\ \frac{dy}{dx}
derivative
Instantaneous rate of change; slope of the graph.
\int f(x)\,dx,\ \int_a^b
integral
Antiderivative (indefinite) or signed area from a to b (definite).
y',\ y''
first and second derivative of y
Prime notation for derivatives with respect to x (or t).
C,\ C_1,\ C_2
arbitrary constants
Constants of integration fixed by initial conditions.

How to: Geometric sums

  1. What is a finite geometric sum and how can we quickly find its value, no matter how many terms are in the sum?
  2. How can a finite geometric sum be extended to an infinite geometric series? In what circumstances can we quickly find the value of an infinite geometric series?
  3. How are finite and infinite geometric series connected to Taylor polynomials?

Questions people ask

What is a derivative in one sentence?

The slope of the graph at a point — the rate at which the output is changing there. Speed is the derivative of position.

What is an integral in one sentence?

The accumulated total of a rate — the area under the curve. Distance travelled is the integral of speed.

Why are derivatives and integrals opposites?

That is the fundamental theorem of calculus: accumulating a rate and then measuring how fast the accumulation grows gets you back the rate. Integration undoes differentiation up to a constant.

When do I use substitution and when integration by parts?

Substitution when part of the integrand is the derivative of another part (u and du both present). Parts when the integrand is a product of two unrelated kinds of function — a polynomial times an exponential, log or trig function.

तपाईँको आफ्नै प्रयास गर्नुहोस्

Parts of this page are adapted from Boelkins, Active Calculus (CC BY-SA 4.0). Condensed and re-explained here; errors are ours.

यसमा थप Calculus