# Calculus/Sequences and Series/Exercises

The following exercises test your understanding of infinite sequences and series. You may want to review that material before trying these problems.

Each question is followed by a "Hint" (usually a quick indication of the most efficient way to work the problem), the "Answer only" (what it sounds like), and finally a "Full solution" (showing all the steps required to get to the right answer). These should show up as "collapsed" or "hidden" sections (click on the title to display the contents), but some older web browsers might not be able to display them correctly (i.e., showing the content when it should be hidden). If this is true for your browser (or if you're looking at a printed version), you should take care not to "see too much" before you start thinking of how to work each problem.

## Sequences[edit]

Consider the infinite sequence

- Is the sequence monotonically increasing or decreasing?

compare adjacent terms algebraically or take a derivative

monotonically decreasing (strictly decreasing starting with the second term)

One may either consider how compares to algebraically and try to show that one is greater than the other, or take the derivative of with respect to and check where it is positive or negative.

Algebraically, since

we see that for . That is, starting from the second term, the sequence is strictly decreasing. It is easy to check how the first two terms compare by just plugging in and :

The first two terms are equal and thereafter the terms are strictly decreasing. Therefore, the sequence is monotonically decreasing.

Using calculus,

which is negative for . The rest of the argument is the same as before.

- Is the sequence bounded from below, from above, both, or neither?

consider what kind of values are taken on by the numerator and denominator, and use the previous answer

bounded from below and from above (both)

The sequence is bounded from below because the terms are clearly positive (greater than 0) for all values of . Also, since the sequence is decreasing (see the previous problem), the maximum value of the sequence must be the value of the first term. So the sequence is bounded from above (by the value 1/2), as well.

- Does the sequence converge or diverge?

use the previous two answers to make a conclusion, or take a limit

converges

By the previous two answers, the sequence is bounded from below and monotonically decreasing, thus by a theorem it must converge.

To show this directly, consider the limit

The two limits are equal by L'Hôpital's Rule, since the numerator and denominator of the expression in the first limit both grow to infinity.

Since the limit exists, it is the number to which the sequence converges.

## Partial sums[edit]

Assume that the *n*^{th} partial sum of a series is given by

- Does the series converge? If so, to what value?

take a limit

converges to 2

The series converges to 2 since

- What is the formula for the
*n*^{th}term of the series?

Note that the series turns out to be geometric, since

## Sums of infinite series[edit]

Find the value to which each of the following series converges.

sum of an infinite geometric series

4

The series is

and so is geometric with first term and common ratio . So

sum of an infinite geometric series

telescoping series

1

rewrite so that all exponents are *n*

−1/5

The series simplifies to

and so is geometric with common ratio and first term . Thus

## Convergence and divergence of infinite series[edit]

Determine whether each of the following series converges or diverges. (*Note:* Each "Hint" gives the convergence/divergence test required to draw a conclusion.)

*p*-series

converges

This is a *p*-series with . Since , the series converges.

geometric series

converges

This is a geometric series with common ratio , and so converges since .

limit comparison test

diverges

This series can be compared to a *p*-series:

The symbol means the two series are "asymptotically equivalent"—that is, they either both converge or both diverge because their terms behave so similarly when summed as *n* gets very large. This can be shown by the limit comparison test:

Since the limit is positive and finite, the two series either both converge or both diverge. The simpler series diverges because it is a *p*-series with (harmonic series), and so the original series diverges by the limit comparison test.

direct comparison test

diverges

This series can be compared to a smaller *p*-series:

The *p*-series diverges since (harmonic series), so the larger series diverges by the appropriate direct comparison test.

divergence test

diverges

The terms of this series do not have a limit of zero. Note that when ,

To see why the inequality holds, consider that when none of the fractions in the square brackets above are actually there; when only 2/2 (which is the same as ) is in the brackets; when only 3/2 (equal to ) and 2/2 (equal to ) are there; when , only 4/2, 3/2, and 2/2 are there; and so forth. Clearly none of these fractions are less than 1 and they never will be, no matter what is used.

The fact that

then implies that

Therefore the series diverges by the divergence test.

alternating series test

converges

This is an alternating series:

Since the sequence

decreases to 0, the series converges by the alternating series test.

alternating series test

converges

Since the terms alternate, consider the sequence

This sequence is clearly decreasing (since both *n* and are increasing — one may also show that the derivative of the expression is negative for ) and has limit zero (the denominator goes to infinity), so the series converges by the alternating series test.

## Absolute and conditional convergence[edit]

Determine whether each of the following series converges conditionally, converges absolutely, or diverges. (*Note:* Each "Hint" gives the test or tests that most easily lead to the final conclusion.)

alternating series test and either direct comparison test or integral test

converges conditionally

This series alternates, so consider the sequence

Since this sequence is clearly decreasing to zero, the original series is convergent by the alternating series test. Now, consider the series formed by taking the absolute value of the terms of the original series:

This new series can be compared to a *p*-series:

Since the smaller series diverges, the larger one diverges. But this means the original (alternating) series was not absolutely convergent. (This last fact can also be shown using an integral test.) Therefore, the original series is only conditionally convergent.

alternating series test and either integral test or direct comparison test

converges conditionally

This series alternates, so consider the sequence

This sequence has a limit of zero by, for example, L'Hospital's Rule.

That the sequence is decreasing can be verified by, for example, showing that as a continuous function of *x*, its derivative is negative.

This means that the terms definitely decrease starting with the second term (). Thus, the series starting at is convergent by the alternating series test; clearly, then, the series starting at also converges (since the two series only differ by one term). Now, consider the series formed by taking the absolute value of the terms of the original series:

This new series of positive terms only can be compared to a *p*-series:

Since the smaller series diverges, the larger one diverges. Alternatively, the integral test can be used to test the convergence of the series of positive terms, since is clearly a continuous, positive function on and, as we have just verified, is also decreasing:

by the substitution ; and this last expression becomes

Since the improper integral diverges, the series of positive terms diverges.

Either way you test it, the series with all positive terms diverges, and this means the original (alternating) series was not absolutely convergent. Thus, the original series is only conditionally convergent.

divergence test

diverges

This series is alternating, but note that by L'Hospital's Rule

Which implies that

does not exist, and hence by the divergence test, the series diverges.

limit comparison test with geometric series

converges absolutely

While this alternating series can be shown to converge by the alternating series test, it can also be shown that the absolute value of the terms form a convergent series, and this is sufficient to conclude absolute convergence of the original series. Thus we will skip the former test and show only the latter.

This series of positive terms is asymptotically geometric with :

The equivalence of these series is shown by using a limit comparison test:

Since the limit is positive and finite, and since the simpler series converges because it geometric with (the absolute value of which is less than 1), then the series of positive terms converges by the limit comparison test. Thus the original alternating series is absolutely convergent.

Note, by the way, that a direct comparison test in this case is more difficult (although still possible to do), since

and we need the inequality to go the other way to get a conclusion, since the geometric series converges.

This can be fixed by choosing the new series more carefully:

Comparing the original series to the new (convergent geometric) series gives the desired result.

divergence test

diverges

Since this is an alternating series, we can try the alternating series test. Consider the absolute value of the terms:

Because

does not exist (since it continually oscillates within the interval as *n* gets larger)

doesn't exist either. Thus the alternating series test *fails* (it is inconclusive).

However, in such a situation we can use the *divergence test* instead. Since

also does not exist (and thus the terms of the series do not converge to 0), the original series diverges by the divergence test.

ratio test

converges absolutely

Because of the factorials in this series, we try the ratio test:

Since the limit is less than 1, the series converges absolutely by the ratio test.

divergence test

diverges

Although this is an alternating series, neither the numerator nor the denominator have infinite limits, so it is likely that a divergence test will work.

Note that

Thus

In fact, the latter limit does not exist. So, by the divergence test, the series diverges.

## Taylor series[edit]

Find the Taylor series for the following functions centered at the given values.

don't try to use the summation formula—the Taylor series has a finite number of terms

This is a polynomial, so the Taylor series expansion terminates. Repeatedly differentiating and plugging in 1, we get:

All higher derivatives are also zero, so the Taylor expansion of the function:

becomes simply:

Note that the answer is not simplified any further (e.g., multiplying everything out and combining like terms), because the resulting representation would no longer appear to be centered at 1.

avoid using the quotient rule

This rational function can be written in a form that is easier to repeatedly differentiate:

The answer is better written in summation form because the Taylor expansion does not terminate. It is convenient to keep the numbers resulting from the power rule separate from the numbers resulting from the chain rule, so we can see the pattern:

The pattern in the derivative values is:

So the Taylor series is:

rewrite so the trigonometric function is not squared

This function can be rewritten to make it easier to repeatedly differentiate. By the half-angle trigonometric identity for sine:

Thus:

The pattern in the derivative values is tricky:

This is quite an awkward formula for the *n*^{th} derivative. Don't worry at this point about the expression (−1)^{(n+1)/2} in the middle case; we're going to use a simpler version in the final series. Do, however, note the following:

- The
*n*= 0 case [i.e.,*f*(*a*)] doesn't match the rest of the pattern. - When
*n*is positive and even, the value is 0, so the "even-derivative" terms don't contribute anything to the series.

This means we can rewrite Taylor's formula

as

where

Note that the expression 2*n* + 1 is always odd and starts with the value 3 when *n* is 1. Thus *n* = 1 corresponds to the *third* derivative, *n* = 2 the *fifth* derivative, and so on. It should be clear that (−1)^{n+1} gives the correct signs for these derivative values.

Therefore the Taylor series is:

While this could be simplified a bit more by splitting 6^{2n+1} into 6^{2n} · 6 and pulling the second 6 out in front of the sum (resulting in a 3 there), this is typically not done to preserve the pattern of having 2*n* + 1 everywhere.