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
Office Hours with Kevin & Qasar
All right, hi everyone, my name is Kevin Hail. I’m a partner at Y Combinator. Um, I went through YC myself back in 2006. I co-founded a company called WFU Online Form Builder. Um, ran that company for about 5 years and it was acquired by SurveyMonkey back…
10 Low Cost Businesses To Start In A Developing Country
The best way to start making money in a developing country is to start a business for two reasons. One, there isn’t anything much to do anyway; and two, starting a business in that environment is way easier than anywhere else. That’s because all you have …
Warren Buffett's Secret Investing Checklist | The Warren Buffett Way Summary
The Warren Buffett Way is one of my favorite investing books of all time. It clearly lays out the framework Warren Buffett uses to pick winning stocks. The good news is that you can apply these lessons to your own investing strategy today. This book truly…
Jamie Dimon: The “Crisis” Forming in the Real Estate Market
If rates go up and we have a recession, there will be real estate problems, and some banks will have a much bigger real estate problem than others. You’re going to want to hear what Jamie Dimon has to say about the future of the real estate market and the…
Read What You Love Until You Love to Read
Before we go and talk about accountability and leverage and judgment, you’ve got a few tweets further down the line that I would put in the category of continuous learning. They’re essentially: there is no skill called business. Avoid business magazines …
Welcome to the YC Health and Bio Summit 2022 with Surbhi Sarna
[Music] Hi everyone, welcome to the first YC Healthcare and Bio Summit. I’m Kat Mignon. Yeah, thank you. I’m Captain Yalick, I’m head of Outreach at YC and I will be your MC today. I’m super excited to see you all here and in person. Uh, and I wanted to…