Lesson Video: Integral Test for Series | Nagwa Lesson Video: Integral Test for Series | Nagwa

Lesson Video: Integral Test for Series Mathematics

In this video, we will learn how to use the integral test for series to determine whether a series containing nonnegative terms is convergent or divergent.

17:55

Video Transcript

Integral test for series

In this video, we will learn how to use the integral test for series to determine whether a series containing nonnegative terms is convergent or divergent. We will be looking at a variety of examples of how the integral test can be used. Let’s start by covering what the integral test is. The integral test for series tells us that if we have some 𝑓 of π‘₯ which is a continuous, positive, decreasing function on the interval between π‘˜ and ∞ and that 𝑓 of 𝑛 is equal to π‘Ž 𝑛, then, firstly, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is convergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. And secondly, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent, then so is the sum from 𝑛 equals one to ∞ of π‘Ž 𝑛.

Now remember, if an integral or sum is convergent, then it is finite. And if it is divergent, then it is infinite. So essentially, what we’re doing with this test is using the convergence of an integral with an infinite bound to find the convergence of a series. Now, when we’re finding our function 𝑓 of π‘₯, it’s very important that these three conditions are satisfied. Now, the first two, continuous and positive, are usually quite easy to spot. However, sometimes we may need to do a bit of extra work to check that 𝑓 of π‘₯ is decreasing on the interval between π‘˜ and ∞. We can have a look at why this test works intuitively by considering the following graphs.

Let’s suppose we have the series which is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛 such that the function 𝑓 of 𝑛, which is equal to π‘Ž 𝑛, is continuous, positive, and decreasing on the interval between π‘˜ and ∞. We can sketch a graph of 𝑓 of π‘₯, and it may look something like this. We can label π‘˜, π‘˜ plus one, π‘˜ plus two, and so on on our π‘₯-axis. Now, we have two possibilities for 𝑓 of π‘₯. Now, in one case, the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is convergent. If this is the case, then we can draw bars on our graph to represent the terms in our series. Now, these bars that we’ve drawn here have a width of one and a height of 𝑓 of π‘₯. Therefore, the area of each of these bars is simply 𝑓 of π‘₯.

Now, for the first bar, 𝑓 of π‘₯ is equal to 𝑓 of π‘˜. And we have that 𝑓 of 𝑛 is equal to π‘Ž 𝑛, and so the area of this bar is π‘Ž π‘˜. Similarly, the area of the next bar is π‘Ž π‘˜ plus one. And the area of the next bar is π‘Ž π‘˜ plus two, and so on, and so on. Now, if we sum the area of each of these bars together all the way up to ∞, then what we’ll have is our series. But quite clearly, each of these bars is underneath our curve, 𝑓 of π‘₯. And the area under the curve is represented by this integral. So, we can see that our series must be smaller than our integral. Since our integral is convergent, this implies that our series must also be convergent.

Now, we consider the other case, which is, if our integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent. If this is the case, then we can draw bars on our graph to represent our series as follows. Here, we’ve drawn the bars slightly differently. However, since the bars still have a width of one and a height of 𝑓 of π‘₯, the areas of the bars are still the terms in our series. And so, the sum of the area of these bars will be equal to our series.

Now, this time we have that the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent. And we can see that the area of the bars representing our series is at above the line 𝑓 of π‘₯. And so, they have a greater area than the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯. Since this integral is divergent, this tells us that our series must also be divergent. Now that we’ve covered how the integral test for series works, let’s look at some examples.

Determine whether the series, which is the sum from 𝑛 equals zero to ∞ of 𝑒 to the negative 𝑛, converges or diverges.

We can try to find the convergence of this series using the integral test. The integral test tells us that if we have a function, 𝑓 of π‘₯, which is continuous, positive, and decreasing on the interval between π‘˜ and ∞ and that 𝑓 of 𝑛 is equal to π‘Ž 𝑛. Then, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is convergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. And if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. Now, the series we’re trying to find the convergence of is this sum from 𝑛 equals zero to ∞ of 𝑒 to the negative 𝑛. Therefore, π‘Ž 𝑛 is equal to 𝑒 to the power of negative 𝑛. Since 𝑓 of 𝑛 is equal to π‘Ž 𝑛, we obtain that 𝑓 of π‘₯ is equal to 𝑒 to the negative π‘₯. Since we’re taking the sum from 𝑛 is equal to zero, this means that π‘˜ is equal to zero.

And we now need to check whether 𝑓 is a continuous, positive, and decreasing function on the interval between zero and ∞. 𝑒 to the negative π‘₯ can also be written as one over 𝑒 to the π‘₯. Now, 𝑒 to the π‘₯ is positive for any value of π‘₯. Therefore, one over 𝑒 to the π‘₯ is also positive. So, we’ve satisfied the condition that 𝑓 of π‘₯ is positive on our interval. Now, one over 𝑒 to the π‘₯ is continuous since 𝑒 to the π‘₯ cannot be equal to zero at any value. Therefore, we’ve also satisfied this condition. And finally, since 𝑒 to the π‘₯ is an increasing function for all π‘₯, this means that one over 𝑒 to the π‘₯ is a decreasing function for all π‘₯. And so, we’ve satisfied the last condition on 𝑓 of π‘₯.

We’re therefore able to use the integral test. We need to find the convergence of the integral from zero to ∞ of 𝑒 to the negative π‘₯ with respect to π‘₯. We can use the fact that the integral from 𝑒 to the π‘Žπ‘₯ with respect to π‘₯ is equal to one over π‘Ž 𝑒 to the π‘Žπ‘₯ plus 𝑐. In our case, π‘Ž is equal to negative one, and one over negative one is simply negative one. So, when we integrate 𝑒 to the negative π‘₯, we get negative 𝑒 to the negative π‘₯. And this is, of course, between our two bounds which is zero and ∞.

Since our upper bound is infinite, we need to find the limit as π‘₯ tends to ∞ of negative 𝑒 to the negative π‘₯. And we mustn’t forget to subtract negative 𝑒 to the negative zero. When trying to evaluate this limit, we can consider what happens as π‘₯ gets larger and larger and larger. As π‘₯ gets bigger, negative π‘₯ gets more and more negative. Therefore, 𝑒 to the power of negative π‘₯ gets closer and closer to zero.

And so, we can say that this limit is equal to zero. Then, we have 𝑒 to the power of negative zero, which is simply 𝑒 to the power of zero. Anything to the power of zero is one. And the two negative signs in front of the term cancel out with one another to give us a positive sign. From here, we can evaluate that the integral from zero to ∞ of 𝑒 to the negative π‘₯ with respect to π‘₯ is equal to one. Therefore, we found that our integral is convergent. And so, by the integral test, we can say that the sum from 𝑛 equals zero to ∞ of 𝑒 to the negative 𝑛 is convergent.

Let’s now move on to another example.

Use the integral test to determine whether the series, which is the sum from 𝑛 equals one to ∞ of one over 𝑛, converges or diverges.

Let’s start by recalling the integral test. The integral test tells us that if 𝑓 is a continuous, positive, decreasing function on the interval between π‘˜ and ∞ and that 𝑓 of 𝑛 is equal to π‘Ž 𝑛. Then, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is convergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. And secondly, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. Now, in our case, our series is the sum from 𝑛 equals one to ∞ of one over 𝑛. Therefore, π‘Ž 𝑛 is equal to one over 𝑛. Using the fact that 𝑓 of 𝑛 is equal to π‘Ž 𝑛, we can say that 𝑓 of π‘₯ is equal to one over π‘₯.

Now, we need to check that 𝑓 of π‘₯ is a continuous, positive, and decreasing function on the interval between π‘˜ and ∞. Noting that since our sum goes from 𝑛 equals one, π‘˜ must be equal to one. Let’s start by checking the continuity of our function over this interval. The only discontinuity of 𝑓 of π‘₯ occurs when π‘₯ is equal to zero. However, zero is not in our interval between one and ∞. Therefore, this function must be continuous between one and ∞. On this interval, π‘₯ is always positive. Therefore, one over π‘₯ must also be positive. And so, we’ve satisfied that condition too. Now, if π‘₯ starts at one and gets larger and larger and larger, then one over π‘₯ will get smaller and smaller and smaller. Therefore, we can say that this is a decreasing function on our interval.

Now that we’ve satisfied these three conditions, we’re able to use the integral test. We need to work out whether the integral from one to ∞ of one over π‘₯ with respect to π‘₯ is convergent or divergent. Now, we know that the differential of the natural logarithm of π‘₯ with respect to π‘₯ is equal to one over π‘₯. Therefore, the natural logarithm of π‘₯ is the antiderivative of one over π‘₯. Hence, we have that our integral is equal to the natural logarithm of π‘₯ between one and ∞. When using the bound of ∞, we need to take the limit as π‘₯ tends to ∞ of the natural logarithm of π‘₯. Then, for our lower bound of one, we simply subtract the natural logarithm of one.

Now, let’s evaluate this limit, the natural logarithm as an increasing function. Therefore, as π‘₯ gets larger, the natural logarithm of π‘₯ also gets larger. Hence, we can say that this limit is also equal to ∞. We also have that the natural logarithm of one is equal to zero. However, regardless of what constant this term is, this will not affect our answer of ∞. This tells us that our integral must be divergent. Hence, by the integral test, we can say that the sum from 𝑛 equals one to ∞ of one over 𝑛 is divergent.

Now, when we’re using the integral test, it’s not actually required for 𝑓 of π‘₯ to be decreasing for all π‘₯ in our interval between π‘˜ and ∞. All we require is for π‘₯ to be decreasing for all π‘₯ greater than or equal to some constant 𝑐, where 𝑐 is greater than or equal to π‘˜. We’ll see how this can be done in the next example.

Determine whether the series, which is the sum from 𝑛 equals one to ∞ of the square root of the natural logarithm of 𝑛 over 𝑛, converges or diverges.

We can use the integral test to test this convergence. The integral test tells us that if we have a function 𝑓 of π‘₯ which is continuous, positive, and decreasing on the interval between π‘˜ and ∞ and that 𝑓 of 𝑛 is equal to π‘Ž 𝑛. Then, firstly, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is convergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. And secondly, if the integral from 𝑛 equals π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. Now, our series is the sum from 𝑛 equals one to ∞ of the square root of the natural logarithm of 𝑛 over 𝑛. And so, we can say that π‘Ž 𝑛 is equal to the square root of the natural logarithm of 𝑛 over 𝑛. Since 𝑓 of 𝑛 is equal to π‘Ž 𝑛, 𝑓 of π‘₯ is equal to the square root of the natural logarithm of π‘₯ over π‘₯.

We also have that π‘˜ is equal to one. We now need to check whether 𝑓 of π‘₯ is continuous, positive, and decreasing on the interval between one and ∞. Firstly, for continuity, we need the inside of the square root, so that’s the natural logarithm of π‘₯, to be nonnegative. If the natural logarithm of π‘₯ is greater than or equal to zero, this means that π‘₯ must be greater than or equal to one. Since our value of π‘˜ is one, we are looking at the interval between one and ∞. Therefore, π‘₯ is always greater than or equal to one. And so, the numerator of our function is continuous. The only other discontinuity may occur when the denominator of our fraction is equal to zero. However, π‘₯ is always greater than or equal to one, and so π‘₯ cannot be equal to zero. Therefore, our function is continuous on the interval.

Next, we need to check whether our function is positive over this interval. The square root function in the numerator is always positive, since it’s a positive square root. And the denominator is always positive, since π‘₯ is greater than or equal to one. Therefore, we’ve satisfied this condition. Now, we need to check that our function is decreasing between one and ∞. Now, it’s quite difficult to check this without performing a calculation. So, we can find the values of π‘₯ for which 𝑓 of π‘₯ is decreasing by differentiating 𝑓 with respect to π‘₯. This will give us 𝑓 prime of π‘₯. Now, 𝑓 of π‘₯ is a quotient. Therefore, we can use the quotient rule. The quotient rule tells us that the differential of 𝑒 over 𝑣 is equal to 𝑣 multiplied by the differential of 𝑒 minus 𝑒 multiplied by the differential of 𝑣 all over 𝑣 squared.

Now, in our case, 𝑒 is equal to the square root of the natural logarithm of π‘₯ and 𝑣 is equal to π‘₯. Finding d𝑣 by dπ‘₯ is fairly straightforward. We differentiate π‘₯ and simply get one. Now, when we differentiate the square root of the natural logarithm of π‘₯, we need to use the chain rule. Now, we may find it easier to rewrite 𝑒. And we can rewrite it as the natural logarithm of π‘₯ to the power of one-half.

To find d𝑒 by dπ‘₯, we multiply by the power, decrease the power by one, and finally multiply by the differential of the inside of the function. So, that’s the differential of the natural logarithm of π‘₯. And this is simply equal to one over π‘₯. Now, d𝑒 by dπ‘₯ and d𝑣 by dπ‘₯ is simply 𝑒 prime and 𝑣 prime. And these can be substituted into the formula for the quotient rule. We obtain that 𝑓 prime of π‘₯ is equal to π‘₯ multiplied by one-half multiplied by one over π‘₯ times the natural logarithm of π‘₯ to the power of negative one-half minus the square root of the natural logarithm of π‘₯ all over π‘₯ squared.

Now, we’re looking for the values of π‘₯ such that 𝑓 is decreasing. So, that means that 𝑓 prime of π‘₯ is negative. Now, the denominator of 𝑓 prime of π‘₯, that’s π‘₯ squared, is always positive since the square is always positive. Therefore, the values of π‘₯ for which 𝑓 prime is negative occur when the numerator of the fraction is negative. So, this is when the square root of the natural logarithm of π‘₯ is greater than π‘₯ multiplied by one-half multiplied by one over π‘₯ multiplied by the natural logarithm of π‘₯ to the power of negative one-half. Here, we can cancel out the one over π‘₯ and the π‘₯.

We can also rewrite the natural logarithm of π‘₯ to the power of negative one-half as one over the square root of the natural logarithm of π‘₯. Therefore, the right-hand side of our inequality becomes one over two times the square root of the natural logarithm of π‘₯. We can multiply both sides by the square root of the natural logarithm of π‘₯. We obtain that 𝑓 of π‘₯ is decreasing for values of π‘₯, such that the natural logarithm of π‘₯ is greater than one-half. Using a calculator, we find that this is values of π‘₯ which are greater than 1.648 and so on. Therefore, we found that our function is not decreasing over the entirety of our interval.

However, we are able to rewrite our series. We can take the first term out of our series so that our series is equal to the square root of the natural logarithm of one over one plus the sum from 𝑛 equals two to ∞ of the square root of the natural logarithm of 𝑛 over 𝑛. Since the natural logarithm of one is equal to zero, this term on its own is simply zero. And so, this new sum that we found is in fact equal to the original sum. However, we are summing from 𝑛 is equal to two. Therefore, our value of π‘˜ changes to two. Now, we have that 𝑓 of π‘₯ is decreasing for π‘₯ is greater than 1.648. Therefore, we’ve satisfied the last condition to use the integral test and we’re able to use the integral test. So, let’s do that now.

We need to find out whether the integral from two to ∞ of the square root of the natural logarithm of π‘₯ over π‘₯ with respect to π‘₯ is convergent or divergent. In order to solve this integral, we can in fact use a 𝑒 substitution. We can let 𝑒 be equal to the square root of the natural logarithm of π‘₯. Rearranging this, we have that π‘₯ is equal to 𝑒 to the power of 𝑒 squared. We can differentiate π‘₯ with respect to 𝑒 to find that dπ‘₯ by d𝑒 is equal to two 𝑒𝑒 to the 𝑒 squared. An equivalent statement is dπ‘₯ is equal to two 𝑒𝑒 to the 𝑒 squared d𝑒. When π‘₯ is equal to two, 𝑒 is equal to the square root of the natural logarithm of two. And when π‘₯ is equal to ∞, 𝑒 is also equal to ∞. We’re now ready to perform our substitution.

We can start by substituting in the bounds of our integral, which will be the square root of the natural logarithm of two and ∞. Then, we have that the square root of the natural algorithm of π‘₯ is 𝑒. And π‘₯ is 𝑒 to the 𝑒 squared. Finally, we need to substitute in dπ‘₯. Now, we have completed our 𝑒 substitution. We’re able to cancel out the 𝑒 to the 𝑒 squared in the denominator with the other 𝑒 to the 𝑒 squared. And our integral becomes the integral from the square root of the natural logarithm of two to ∞ of two 𝑒 squared d𝑒.

We can integrate this by raising the power of 𝑒 by one and dividing by the new power. So, now we have two-thirds 𝑒 cubed between our two bounds. Substituting in our bounds, we obtain this. And even though the second term here is constant, the limit as 𝑒 tends to ∞ of two-thirds 𝑒 cubed is in fact infinite. Therefore, we have that this integral is divergent. So, by the integral test, our series from 𝑛 equals two to ∞ diverges. Since this series is equal to the one in the question, we have found our solution, which is that our series is divergent.

We’ve now covered a variety of examples. Let’s recap some key points of the video.

Key points

The integral test tells us that if 𝑓 is a continuous, positive, decreasing function on the interval between π‘˜ and ∞ and that 𝑓 of 𝑛 is equal to π‘Ž 𝑛. Then, firstly, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is convergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. And secondly, if the integral from π‘˜ to ∞ of 𝑓 of π‘₯ with respect to π‘₯ is divergent, so is the sum from 𝑛 equals π‘˜ to ∞ of π‘Ž 𝑛. Sometimes our function may not be decreasing on the interval between π‘˜ and ∞, but we’re still able to use the integral test as long as 𝑓 of π‘₯ is decreasing for all values of π‘₯ greater than or equal to 𝑐, where 𝑐 is a constant such that 𝑐 is greater than or equal to π‘˜.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy