yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Alternating series test | Series | AP Calculus BC | Khan Academy


3m read
·Nov 11, 2024

Let's now expose ourselves to another test of convergence, and that's the alternating series test. I'll explain the alternating series test, and I'll apply it to an actual series while I do it to make the explanation of the alternating series test a little bit more concrete.

So let's say that I have some series, some infinite series. Let's say it goes from n equals k to infinity of ( a_n ). Let's say I can write it as, or I can rewrite ( a_n ). So, let's say ( a_n ) I can write so ( a_n ) is equal to ( (-1)^n b_n ) or ( a_n ) is equal to ( (-1)^{n+1} b_n ), where ( b_n ) is greater than or equal to 0 for all the n's we care about. So for all of these integer n's greater than or equal to k.

If all of these things are true and we know two more things, we know number one the limit as n approaches infinity of ( b_n ) is equal to zero and number two ( b_n ) is a decreasing sequence. That lets us know that the original infinite series, the original infinite series is going to converge.

So this might seem a little bit abstract right now. Let's actually use this with an actual series to make it a little bit more concrete. So, let's say that I had the series, let's say I had the series from n equals 1 to infinity of ( \frac{(-1)^n}{n} ). We could write it out just to make this series a little bit more concrete.

When n is equal to 1, this is going to be ( \frac{(-1)^1}{1} ), actually, let's just make this a little bit more interesting. Let's make this ( (-1)^{n+1} ). So when n is equal to 1, this is going to be ( \frac{(-1)^2}{1} ), which is going to be 1. And then when n is 2, it's going to be ( \frac{(-1)^3}{2} ), which is going to be negative one-half.

So it's minus one-half plus one-third minus one-fourth plus minus and it just keeps going on and on and on forever. Now, can we rewrite this ( a_n ) like this? Well, sure. The ( (-1)^{n+1} ) is actually explicitly called out. We can rewrite our ( a_n ).

So let me do that. So, ( a_n ), which is equal to ( \frac{(-1)^{n+1}}{n} ), this is clearly the same thing as ( (-1)^{n+1} \times \frac{1}{n} ), which we can then say this thing right over here could be our ( b_n ).

So, this right over here is our ( b_n ), and we can verify that our ( b_n ) is going to be greater than or equal to zero for all the n's we care about. So our ( b_n ) is equal to ( \frac{1}{n} ). Now clearly this is going to be greater than or equal to zero for any positive n.

Now, what's the limit as ( b_n ) approaches? What's the limit of ( b_n ) as n approaches infinity? The limit of, let me just write ( \frac{1}{n} ) as n approaches infinity is going to be equal to 0. So we satisfy the first constraint.

And then this is clearly a decreasing sequence. As n increases, the denominators are going to increase, and with a larger denominator, you're going to have a lower value. So we can also say ( \frac{1}{n} ) is a decreasing sequence for the n's that we care about.

So this is satisfied as well. And so based on that, this thing right over here is always greater than or equal to zero. The limit as ( \frac{1}{n} ) or ( b_n ) as n approaches infinity is going to be zero. It's a decreasing sequence. Therefore, we can say that our original series actually converges.

So, the series from n equals 1 to infinity of ( \frac{(-1)^{n+1}}{n} ), and that's kind of interesting because we've already seen that if all of these were positive, if all of these terms were positive we just have the harmonic series, and that one didn't converge, but this one did. Putting these negatives here do the trick.

And actually, we can prove this one over here converges using other techniques, and maybe if we have time actually, in particular, the limit comparison test. I'll just throw that out there in case you are curious.

So this is a pretty powerful tool. It looks a little bit about like that divergence test, but remember the divergence test is really only useful if you want to show something diverges. If the limit of your terms does not approach zero, then you say, okay, that thing is going to diverge.

This thing is useful because you can actually prove convergence. Now once again, if something does not pass the alternating series test, that does not necessarily mean that it diverges. It just means that you couldn't use the alternating series test to prove that it converges.

More Articles

View All
Jeff Dean’s Lecture for YC AI
So I’m going to tell you a very not super deep into any one topic but very broad brush sense of the kinds of things we’ve been using deep learning for the kinds of systems we’ve built around making deep learning faster. This is joint work with many, many,…
Multiply monomials by polynomials: Area model | Algebra 1 | Khan Academy
We are told a rectangle has a height of five and a width of three x squared minus x plus two. Then we’re told to express the area of the entire rectangle, and the expression should be expanded. So pause this video and see if you can work through this. Al…
🚛 🚗 The Interstate's Forgotten Code 🚗 🚛
The interstate highway shields hide within them long forgotten knowledge. As our great ancestors could navigate by the signs in the sky before the creation of the compass, so too before GPS could they navigate by these signs. Come with me and learn how to…
Slavery in the British colonies | Period 2: 1607-1754 | AP US History | Khan Academy
This is a chart showing estimated population around the year 1750 in the British colonies in the New World. I’ve arranged this more or less from north to south, and you can see that as you go farther south, the percentage of the population that was enslav…
Peter Lynch: How to Invest Better Than Wall Street (Rare Interview)
People don’t understand their natural advantages, and they don’t use them. So that’s bad, number one. But worse, number two, is if you don’t think you’re a good ice skater or if you’re convinced you’re not a good cellist, you’re not going to try it. But p…
Weak acid–weak base reactions | Acids and bases | AP Chemistry | Khan Academy
Let’s say that HA represents a generic weak acid and B represents a generic weak base. If our weak acid donates a proton to our weak base, that would form A⁻ and HB⁺. To identify conjugate acid-base pairs, remember there’s only one proton, or one H⁺ diffe…