Infinite series are essentially sums of an infinite number of terms.
There's a lot of interesting properties and theorems that come out of them.
Although some courses cover infinite series before calculus, analysis of infinite series heavily involves calculus.
Therefore, trying to understand infinite series without a solid understanding of calculus makes it difficult to grasp the full picture.
When learning about infinite series, it's usually taught many times throughout different years, at different depths.
Algebra/Precalculus class - Typically, arithmetic and geometric series are introduced here, along with the formula for the sum of a finite geometric series.
The concept of an infinite geometric series and its sum (when it converges) may also be covered.
Calculus class - Calculus classes delve deeper into series, focusing on tests for convergence (e.g. ratio test, comparison test) and divergence. Power series, Taylor series, and their applications are also major topics.
The concept of a limit is used to define convergence, but rigorous proofs are usually not the focus.
Real Analysis class - Real analysis is where the rigorous foundations of infinite series are established.
Topics like the Cauchy sequences, metric spaces, the types of convergence (i.e. absolute/conditional convergence, pointwise/uniform) are explored in depth.
Proofs of theorems from calculus (e.g., convergence tests) are provided, along with a more theoretical understanding of infinite series.
There's actually a lot of philosophy behind infinite series.
Firstly, most philosophers agree that an actual infinite cannot exist in the physical world.
This is because it leads to paradoxes, such as Hilbert's Hotel.
Therefore, we treat them instead as potential infinites.
This means that we can keep adding terms to the series, but we never actually "reach" the infinite.
Hold your hands out in front of you.
Now, move them halfway together.
Then, move them halfway again.
You can keep doing this forever, but you'll never actually touch your hands together.
There i0't an infinite number of points between your hands, but you can keep dividing the distance in half.
This also means that when we say "the sum of the series equals", we're not saying that the sum is, but that it approaches as the number of terms approaches infinity.
Perhaps this is a bit pedantic, but it's an important distinction.
It is also probably one of the main reasons for the debate of whether or not .
Another example of this distinction is the sum of the series .
Before revealing the sum, consider the following:
The sum of rational numbers cannot be irrational.
That's just common knowledge, right? You can even construct a simple proof for it:
Let and be rational numbers. Then, and , where .
The sum of and is .
Since both the numerator and denominator are integers, the sum of rational numbers is rational; .
But the sum of the series above evaluates to , which is irrational.
Using conventional thinking, this is impossible.
This is why infinite series are so interesting. They challenge our understanding of mathematics and force us to think in new ways.
However, this entire discussion is more suited to be in a real analysis course, rather than a calculus course.
The most important concept in infinite series is that of convergence and divergence.
A series is said to converge if the sequence of partial sums converges to a finite limit.
In other words, if the sum of the series approaches a finite number as the number of terms approaches infinity, then the series converges.
A series is said to diverge if the sequence of partial sums does not converge to a finite limit.
We can evaluate the convergence of these sequences by finding the limit of the sequence as approaches infinity.
We can find the limit of this sequence by considering the degree of the numerator and denominator:
Since both the numerator and denominator have the same degree, then the limit is the ratio of the leading coefficients, which is .
Therefore, the sequence convergences.
Notice that the numerator has a term, which grows much faster than the term in the denominator.
Therefore, the limit of the sequence is , and the sequence diverges.
Since the numerator has a higher degree () than the denominator (), the limit of the sequence is , and the sequence diverges.
This one is interesting.
As increases, the sequence alternates between and .
Although it's not unbounded, it doe0't converge to a single value.
Therefore, the sequence diverges.
We've dealt with partial sums, that is, the sum of the first terms of a series.
But what happens when we sum an infinite number of terms?
Generally, we can say that the sum of an infinite series is the limit of as approaches infinity.
If this limit exists and is finite, then the series converges, and diverges otherwise.
The geometric series is a special type of series where each term is a constant multiple of the previous term.
It's very intuitive to understand.
In fact, what's shown below is my own independent discovery of the geometric series.
Let's start with . We can split this into .
We can then split one of the s into , and so on:
Therefore, we can write:
Notice that we can also find the th partial sum of the series by subtracting the blue area from the initial area.
The blue area is always equal to the smallest green area, which is .
Let's see if we can think of another example.
Start with again, but this time split it into , and then split the into , and so on:
Therefore, we can write:
And in other words,
We can also find the th partial sum of the series by subtracting the blue area from the initial area:
We can imagine generalizing this. Instead of exact quantities to split into, we can use variables.
Let , where both are less than 1. Then, we can generalize the geometric series from the previous example:
As such, we can write:
We can extract the from the series and rewrite it as :
And after rearranging, we get:
This is the general formula. Sometimes you also multiply everything by some to get:
One reason it's called a "geometric" series is that there's many clever geometric visualizations of different geometric series.
We need to keep in mind some of the conditions for this formula to hold.
Let's consider the geometric series when :
This is undefined, so the formula does not hold. Then, let's consider when :
This does not make sense either, since according to the formula, the sum of the series is .
Therefore, the formula only holds when , or . So, the complete formula is:
To find the th partial sum of a geometric series, we can use the geometric visualization above, like we did for the and series:
There are other ways to derive the formula for the sum of a geometric series.
In elementary school, this is secretly taught when learning about recurring decimals.
The gist of it is that when you have a recurring decimal, you can write it as a fraction by doing some clever algebra.
For example, consider the recurring decimal .
Since it has two recurring digits, we can multiply it by to get .
Then subtract and witness a miracle:
Therefore, .
The derivation for the geometric series is simply a generalization of this method.
Consider the geometric series .
Multiply by :
Then, perform some algebra:
Alining with the formula in Equation .
Similarly we can derive the formula for the th partial sum of a geometric series:
The th term test is a simple and intuitive test for divergence.
Although it does not tell us whether a series converges, it can definitely tell us if a series diverges.
It's actually really simple - all it says, in essence, is that given a series, if the terms don't get smaller and approach , then the series diverges.
In mathematical terms:
This should make intuitive sense. If the terms don't get smaller and approach , then the sum of the series will keep getting larger and larger, and thus approach infinity.
Determine whether this series diverges using the th term test:
The th term of the series is:
We can find the limit of this sequence as approaches infinity:
It's very important to note that the th term test only tells us if a series diverges.
Since the limit of the sequence is , we can't conclude that the series converges.
The integral test is a powerful tool for determining the convergence of a series.
Recall that an integral can be evaluated by looking at a sum of rectangles.
Now the integral sort of "pays back" by helping us analyze sums.
Consider the following series:
First, let's ensure this series doesn't pass the th term test:
Therefore, the th term test is inconclusive and the series still has a chance of converging.
Consider taking the th term of the series and creating a function :
The key here is that the series can be thought of as an underestimation of the integral of .
This is best visualized through a graph:
Consider the first term of the series, .
It can be thought of as the area of the first rectangle with a width of and a height of .
Then, the second term, , can be thought of as the area of the second rectangle with a width of and a height of .
Notice how each rectangle has an area less than the area under the curve of .
We can then say that the series (excluding the rectangle) is an underestimation of the integral of from to .
To account for the rectangle, simply add to the integral.
And as such, if the integral is finite, then the series converges. We can evaluate the integral:
Hence:
Therefore, the series converges.
Let's note down our assumptions:
We assume that is continuous.
We assume that is positive - this is important because we're dealing with areas.
We assume that is decreasing - recall that we stated that the rectangles are underestimations of the integral. This is only true if is decreasing.
Therefore we can formalize the integral test:
If is continuous, positive, and decreasing for , then:
If is finite, then converges.
If is infinite, then diverges.
Note that in our example we used a right Riemann sum, but the same logic applies to left Riemann sums.
This will be important when we prove the convergence of the p-series.
The Harmonic Series is a very interesting series that has puzzled mathematicians for centuries.
It's defined as:
Why is it called the Harmonic Series?
This series has a connection to musical frequencies.
When a note is played, it produces a sound wave with a certain frequency. For example, A4 is usually tuned to be at Hz.
However, when we play a note, it doesn't just produce a single frequency, but a combination of frequencies.
There's still the "main" frequency, but there are also other frequencies called harmonics, which "reinforces" the note.
The harmonics have wavelengths that follow this series.
For instance, the first overtone has the wavelength, then , and , and so on.
We can also extend this by raising all terms to a power of :
And to the power of :
The generalization of this is called the p-series:
The p-series considers , as it would obviously diverge otherwise.
When is higher, the terms get way smaller - if , the series converges, and otherwise for .
This means that the Harmonic Series actually diverges, even though the terms approach 0.
We shall use the integral test to prove the convergence of the p-series.
Recall that the p-series is defined, for as:
Consider the curve of . This curve is continuous, positive, and decreasing for , so it fits our criteria.
Next, consider both the left and right Riemann sums of the integral of :
Notice how the left Riemann sum is an overestimation of the integral, while the right Riemann sum (excluding the first term) is an underestimation of the integral.
Therefore we can say:
Now we can use this to determine the convergence of the p-series:
The Left Riemann Sum part - the integral is an overestimation of the series, so if the integral is finite, then the series converges.
The Right Riemann Sum part - the series is an underestimation of the integral, so if the integral is infinite, then the series diverges.
Let's first rewrite the integral as a limit:
If , then the integral is:
So it diverges. Since the Harmonic Series is a p-series with , the Harmonic Series also diverges.
Next, let's consider when :
To calculate the limit, consider different cases:
If , then gets arbitrarily large as approaches infinity, so the limit is infinite. The condition can be rewritten as .
If , then gets arbitrarily close to as approaches infinity, so the limit is finite. This can be rewritten as .
A flowchart can be created to summarize the convergence of the integral:
Recall how the integral relates to the series:
If the integral is finite, then the series converges.
If the integral is infinite, then the series diverges.
Sometimes it is not immediately clear whether a series converges or diverges.
For instance, given a Harmonic Series, it's not immediately clear whether it converges or diverges without the p-series test.
The way it goes is, if there's a series where all terms are less than the terms of the Harmonic Series, and that series diverges, then the Harmonic Series also diverges.
Let be the Harmonic Series:
Let be another series. In this series, each term is replaced with the nearest power of (that is smaller than the term):
The terms of are all less than the terms of . Next, consider adding parts of :
Notice that all terms, excluding , are . It does not go to , so by the th term test, diverges.
Recall that all terms of are less than the terms of , so . Therefore, also diverges.
Nicole Oresme, a French philosopher, mathematician, and bishop, was famous for this exact proof.
This is the essence of the Comparison Test, which is what we just did:
If for all , and converges, then converges.
If for all , and diverges, then diverges.
Or,
If the smaller series diverges, then the larger series also diverges.
If the larger series converges, then the smaller series also converges.
We can first write out some terms of the series to get a sense of how it behaves:
Notice that the fraction is very close to . In this case, we can use the Comparison Test with the series .
Laying out the terms of both series side by side:
The terms of the first series are all less than the terms of the second series.
The second series is a geometric series with , and its convergence is known:
If the second series converges to , and the first series is less than the second series, then the first series also converges.
Sometimes the Comparison Test is not immediately applicable. Consider the following series:
This can be easily compared to a geometric series:
This relies on the assumption that for all . Now consider a very similar series:
This series can't be compared to a geometric series, as the terms are not less than for all .
However, the key is that as approaches infinity, the becomes insignificant, and the series behaves like .
The graphs for both series are shown below:
This is what the Limit Comparison Test formalizes:
For two series and , if:
where is a finite positive number, then either both series converge or both series diverge.
Recall that could not be directly compared to , but behave similarly. Taking the limit of the ratio:
Since the limit is a finite positive number, both series either converge or diverge.
The series converges, so the series also converges.
The Alternating Series Test is another powerful tool for determining the convergence of a series.
To illustrate this, consider the following series:
This series is called an alternating series because the terms alternate between positive and negative.
Let's extract the part that determines the sign, and the part that determines the magnitude:
Where we have defined .
If we consider the terms of the series, we can see that the magnitude of the terms decreases as increases.
This means that the series is decreasing in magnitude, which is a good sign for convergence.
The Alternating Series Test states that if this happens, i.e., if the series is decreasing in magnitude, then the series converges.
The formal statement of the Alternating Series Test is as follows:
If a series or satisfies the following conditions:
for all .
.
Then the series converges.
Note that a negative test result does not necessarily mean that the series diverges.
Example Problem: Using the Alternating Series Test
Determine the range of values of for which the series converges:
As always, let's first write out some terms of the series:
Since the series is alternating, we can apply the Alternating Series Test. The part of the series is what's not alternating, i.e., .
Recall that must be decreasing in magnitude, and its limit must approach . For both conditions to be satisfied, the magnitude of thefraction must be less than :
Otherwise, if it was bigger than , multiplying by would make the terms increase in magnitude, and the series would diverge.
This test takes the intuition from the Geometric Series and extends it to other series.
Recall the Geometric Series:
The common ratio is defined as the ratio between consecutive terms:
From Equation , we know that the series converges if .
This should make intuitive sense; means that the terms get smaller and smaller.
The Ratio Test generalizes this idea to other series. Consider the following series:
We can try to find the common ratio between consecutive terms:
So in this case, the common ratio is , meaning that it changes as changes.
Recall that the series converges if since the terms get smaller and smaller.
We can check if this is the case by taking the limit of the ratio as approaches infinity:
Since the limit is , the series converges. What we just did is the Ratio Test:
Convergence can be classified into two types: absolute convergence and conditional convergence.
Recall the Alternating Harmonic Series:
We have shown in The Alternating Series Test that this series converges. However, if we take the absolute value of the terms:
This is the Harmonic Series, which we have shown in The Harmonic Series and p-Series to diverge.
The Alternating Harmonic Series converges, but the Harmonic Series diverges.
The series converges, but the absolute value of the series diverges. This is called conditional convergence.
Recall that the Alternating Series Test states that if a series satisfies and , then the series converges.
This does not, however, tell us what the series converges to.
Consider the following series:
Let's look at the first 4 terms of the series, and call the rest of the series :
Where is the error term, which is the sum of the rest of the series. Note that is positive, which can be shown by grouping the terms:
Each pair is positive, and the terms are decreasing, so is positive.
Similarly, the error term can be shown to be less than the next term in the series (in this case, ):
Each pair is positive, so we are subtracting a positive number from , making .
Thus, the error term is positive and less than . We can plug this back into the series:
Example Problem: Error Bounds for Alternating Series
A series is shown below.
Determine the minimum number of terms needed to approximate the sum to within .
We have introduced the concepts of series and sequences, and how they relate to each other.
We looked through a few common series, such as the Geometric Series and the Harmonic Series, as well as many tests to determine the convergence of a series.
The th partial sum of a series , denoted as , is the sum of the first terms of the series.
A series diverges if .
A series converges if for some finite number .
The Geometric Series is a series of the form . It converges if .
The th term test states that if , then the series diverges.
The Integral Test states that if is continuous, positive, and decreasing for , then the convergence of the series is the same as the convergence of the integral .
The p-series is a series of the form . It converges if .
The Comparison Test states that if for all , and converges, then converges.
The Limit Comparison Test states that if , then either both series converge or both series diverge.
The Alternating Series Test states that if a series satisfies and , then the series converges.
The Ratio Test states that if , then the series converges if .
Convergence can be classified into two types: absolute convergence and conditional convergence: a series converges absolutely if the series of the absolute values of the terms converges.
Error bounds for alternating series can be found by comparing the error term to the next term in the series.
Next, we will apply these concepts to solve problems involving series and sequences, such as the Taylor Series and the Maclaurin Series.