Skip to main content

Section 9.5 Exploration: Power Series

We’re going to use Taylor series a bit more here, and we’ll look at two interesting problems: one a historical relic, and the other a modern statistical result.

Subsection The Basel Problem

The Basel Problem is the name given to a problem about infinite series, solved by Leonard Euler.
This result was incredible at the time of its proof for two reasons:
  1. This was a longstanding question in mathematics! Mathematicians knew that this infinite series converged, but were stumped about what the value could be.
  2. The proof of the result actually proved what a whole bunch of different \(p\)-series converged to.
Let’s follow along with Euler’s proof of this result!

Exploration 9.5.1. The Basel Problem.

We’re going to follow along this proof, and for most of the time it might seem like we’re fiddling with unrelated results and functions. By the end, we’ll tie what we’re doing together to show that:
\begin{equation*} \sum_{k=1}^\infty \frac{1}{k^2}=\frac{\pi^2}{6}\text{.} \end{equation*}
(a)
First, consider the function \(\displaystyle f(x) = \begin{cases} \dfrac{\sin(x)}{x} \amp \text{for } x\neq 0\\ 1 \amp \text{for }x=0\end{cases}\text{.}\)
Find a Taylor series representation for this function.
Hint.
Try using the fact that:
\begin{align*} \sin(x) \amp = \sum_{k=1}^\infty \frac{(-1)^k x^{2k+1}}{(2k+1)!} \\ \amp = x - \frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}+-... \end{align*}
Can you divide by \(x\text{?}\)
(b)
We’re going to consider this function again, but in a different form. We’re going to think about this infinite polynomial, but we’ll try to write it by thinking about the factors that we expect to see, specifically when we think of the zeros of the function.
So first, note that the zeros of this function, \(\dfrac{\sin(x)}{x}\) must occur when \(\sin(x)=0\text{.}\) What are the \(x\)-values that make \(\sin(x)=0\text{?}\)
(c)
We’ll use these zeros to write out the function’s factors, but we’re also going to make use of the fact that \(f(0)=1\text{.}\) This means that if \(x=c\) is a zero of the function, then the corresponding factor should be written as \(\left(1-\dfrac{x}{c}\right)\text{.}\) So, if \(c_1, c_2, c_3, c_4, ...\) are all zeros, then we should write the function as:
\begin{equation*} f(x)=\left(1-\frac{x}{c_1}\right)\left(1-\frac{x}{c_2}\right)\left(1-\frac{x}{c_3}\right)\left(1-\frac{x}{c_4}\right)... \end{equation*}
Use the zeros of the \(\dfrac{\sin(x)}{x}\) function that you found earlier to write out the factors of this.
(d)
Note that we have pairs of factors that are in the form \(\left(1-\dfrac{x}{c}\right)\left(1+\dfrac{x}{c}\right)\text{.}\) This is hopefully a very recognizable factoring pattern! It’s the difference of squares! What do you get when you multiply these?
This should allow you to write your factored function from above in a slightly different way, by combining the pairs of factors using this multiplication. What does this look like?
(e)
We are almost complete. We now have represented the function
\begin{equation*} f(x) \begin{cases} \dfrac{\sin(x)}{x} \amp \text{for } x\neq 0\\ 1 \amp \text{for }x=0\end{cases} \end{equation*}
as an infinite sum
\begin{equation*} 1-\frac{x^2}{3!}+\frac{x^4}{5!}-\frac{x^6}{7!}+-... \end{equation*}
and also as an infinite product
\begin{equation*} \left(1-\frac{x^2}{\pi^2}\right)\left(1-\frac{x^2}{4\pi^2}\right)\left(1-\frac{x^2}{9\pi^2}\right)... \end{equation*}
We can note that the constant term is \(1\) in each, since it is the product of all of the constant terms in the infinite product.
We know that the quadratic terms should be \(-\frac{x^2}{6}\) (from the infinite sum). Can you find what the quadratic term from the infinite product would be?
Hint.
This should be the quadratic term in each factor multiplied by the constant term in each of the rest of the factors, summed together.
(f)
You should have shown that:
\begin{equation*} -\frac{x^2}{6} = -\frac{x^2}{\pi^2} - \frac{x^2}{4\pi^2} - \frac{x^2}{9\pi^2} - ... \end{equation*}
What is the sum of \(1 + \dfrac{1}{4} + \dfrac{1}{9} + ... \dfrac{1}{k^2}+...\text{?}\)
(g)
Can you use this same strategy to find our what the sum \(\displaystyle \sum_{k=1}^\infty \frac{1}{k^4}\) converges to?
Note that we’re really asking what the degree 4 terms are in each representation of the function \(f(x)\text{.}\)

Subsection The Normal Distribution

The normal distribution (what we typically think of when we imagine a “bell curve”) is very important in the study of probability and statistics.

Definition 9.5.2. Standard Normal Distribution.

We say that a random variable follows the standard normal distribution when the mean or expected value of the random variable is 0, the variance of the random variable is 0, and the probability density function is:
\begin{equation*} f(x)=\frac{1}{\sqrt{2\pi}} e^{-\frac{x^2}{2}}\text{.} \end{equation*}
There are a lot of technical details behind some of these terms, but we won’t concern ourselves with it too much. For now, we’ll state two facts:
  1. We use an integral to represent probability. For instance, the probability that a random variable will take on a value that is up to 1 standard deviation above the mean is:
    \begin{equation*} \frac{1}{\sqrt{2\pi}}\int_{x=0}^{x=1} e^{-\frac{x^2}{2}}\;dx\text{.} \end{equation*}
    We can change the limits of integration to change the range of values that we are concerned with.
  2. The Empirical Rule, or the 68-95-99.7 rule states that:
    • About 68% of the values will be within 1 standard deviation of the mean (between \(x=-1\) and \(x=1\)).
    • About 95% of the values will be within 2 standard deviations of the mean (between \(x=-2\) and \(x=2\)).
    • Almost all (about 99.7%) of the values will be within 3 standard deviations of the mean (between \(x=-3\) and \(x=3\)).

Exploration 9.5.2. Normal Distribution.

(a)
Write an integral that represents the probability of a random variable with a normal distribution taking on a value up to 2 standard deviations above the mean.
(b)
Based on the Empirical Rule, what do you expect the value of this integral to be?
(c)
Construct a Taylor series representing the function \(e^{-\frac{x^2}{2}}\text{.}\)
(d)
In order to estimate your integral, we will need to antidifferentiate \(e^{-\frac{x^2}{2}}\text{.}\) This function does not have an elementary antiderivative, meaning we cannot express an antiderivative in terms of the traditional functions we have named and the traditional operations we have defined. Antidifferentiate your Taylor series representation of \(e^{-\frac{x^2}{2}}\text{,}\) and call this \(F(x)\text{.}\)
(e)
Evaluate your integral using this new representation an antiderivative, \(F(x)\text{.}\)
(g)
Construct, evaluate, and approximate the integral representing the probability that a normally distributed random variable takes on a value between 1 and 1.5 standard deviations above the mean (using the same number of terms as above).