8.E: Sequences and Series (Exercises)
 Page ID
 107852
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\ #1 \}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\ #1 \}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
8.1: Sequences
Finding limits of convergent sequences can be a challenge. However, there is a useful tool we can adapt from our study of limits of continuous functions at infinity to use to find limits of sequences. We illustrate in this exercise with the example of the sequence
 Calculate the first 10 terms of this sequence. Based on these calculations, do you think the sequence converges or diverges? Why?
 For this sequence, there is a corresponding continuous function \(f\) defined by
\[ f(x) = \frac{\ln(x)}{x}\text{.} \nonumber \]
Draw the graph of \(f(x)\) on the interval \([0,10]\) and then plot the entries of the sequence on the graph. What conclusion do you think we can draw about the sequence \(\left\{\frac{\ln(n)}{n}\right\}\) if \(\lim_{x \to \infty} f(x) = L\text{?}\) Explain.
 Note that \(f(x)\) has the indeterminate form \(\frac{\infty}{\infty}\) as \(x\) goes to infinity. What idea from differential calculus can we use to calculate \(\lim_{x \to \infty} f(x)\text{?}\) Use this method to find \(\lim_{x \to \infty} f(x)\text{.}\) What, then, is \(\lim_{n \to \infty} \frac{\ln(n)}{n}\text{?}\)
We return to the example begun in Preview Activity 8.1.1 to see how to derive the formula for the amount of money in an account at a given time. We do this in a general setting. Suppose you invest \(P\) dollars (called the principal) in an account paying \(r\%\) interest compounded monthly. In the first month you will receive \(\frac{r}{12}\) (here \(r\) is in decimal form; e.g., if we have \(8\%\) interest, we write \(\frac{0.08}{12}\)) of the principal \(P\) in interest, so you earn
dollars in interest. Assume that you reinvest all interest. Then at the end of the first month your account will contain the original principal \(P\) plus the interest, or a total of
dollars.
 Given that your principal is now \(P_1\) dollars, how much interest will you earn in the second month? If \(P_2\) is the total amount of money in your account at the end of the second month, explain why
\[ P_2 = P_1\left( 1 + \frac{r}{12}\right) = P\left( 1 + \frac{r}{12}\right)^2\text{.} \nonumber \]
 Find a formula for \(P_3\text{,}\) the total amount of money in the account at the end of the third month in terms of the original investment \(P\text{.}\)
 There is a pattern to these calculations. Let \(P_n\) the total amount of money in the account at the end of the third month in terms of the original investment \(P\text{.}\) Find a formula for \(P_n\text{.}\)
Sequences have many applications in mathematics and the sciences. In a recent paper^{ 3 } the authors write
The incretin hormone glucagonlike peptide1 (GLP1) is capable of ameliorating glucosedependent insulin secretion in subjects with diabetes. However, its very short halflife (1.55 min) in plasma represents a major limitation for its use in the clinical setting.
The halflife of GLP1 is the time it takes for half of the hormone to decay in its medium. For this exercise, assume the halflife of GLP1 is 5 minutes. So if \(A\) is the amount of GLP1 in plasma at some time \(t\text{,}\) then only \(\frac{A}{2}\) of the hormone will be present after \(t+5\) minutes. Suppose \(A_0 = 100\) grams of the hormone are initially present in plasma.
 Let \(A_1\) be the amount of GLP1 present after 5 minutes. Find the value of \(A_1\text{.}\)
 Let \(A_2\) be the amount of GLP1 present after 10 minutes. Find the value of \(A_2\text{.}\)
 Let \(A_3\) be the amount of GLP1 present after 15 minutes. Find the value of \(A_3\text{.}\)
 Let \(A_4\) be the amount of GLP1 present after 20 minutes. Find the value of \(A_4\text{.}\)
 Let \(A_n\) be the amount of GLP1 present after \(5n\) minutes. Find a formula for \(A_n\text{.}\)
 Does the sequence \(\{A_n\}\) converge or diverge? If the sequence converges, find its limit and explain why this value makes sense in the context of this problem.
 Determine the number of minutes it takes until the amount of GLP1 in plasma is 1 gram.
Continuous data is the basis for analog information, like music stored on old cassette tapes or vinyl records. A digital signal like on a CD or MP3 file is obtained by sampling an analog signal at some regular time interval and storing that information. For example, the sampling rate of a compact disk is 44,100 samples per second. So a digital recording is only an approximation of the actual analog information. Digital information can be manipulated in many useful ways that allow for, among other things, noisy signals to be cleaned up and large collections of information to be compressed and stored in much smaller space. While we won't investigate these techniques in this chapter, this exercise is intended to give an idea of the importance of discrete (digital) techniques.
Let \(f\) be the continuous function defined by \(f(x) = \sin(4x)\) on the interval \([0,10]\text{.}\) A graph of \(f\) is shown in Figure 8.1.5.
We approximate \(f\) by sampling, that is by partitioning the interval \([0,10]\) into uniform subintervals and recording the values of \(f\) at the endpoints.
 Ineffective sampling can lead to several problems in reproducing the original signal. As an example, partition the interval \([0,10]\) into 8 equal length subintervals and create a list of points (the sample) using the endpoints of each subinterval. Plot your sample on graph of \(f\) in Figure Figure 8.1.5. What can you say about the period of your sample as compared to the period of the original function?
 The sampling rate is the number of samples of a signal taken per second. As the part (a) illustrates, sampling at too small a rate can cause serious problems with reproducing the original signal (this problem of inefficient sampling leading to an inaccurate approximation is called aliasing). There is an elegant theorem called the NyquistShannon Sampling Theorem that says that human perception is limited, which allows that replacement of a continuous signal with a digital one without any perceived loss of information. This theorem also provides the lowest rate at which a signal can be sampled (called the Nyquist rate) without such a loss of information. The theorem states that we should sample at double the maximum desired frequency so that every cycle of the original signal will be sampled at at least two points. Recall that the frequency of a sinusoidal function is the reciprocal of the period. Identify the frequency of the function \(f\) and determine the number of partitions of the interval \([0,10]\) that give us the Nyquist rate.
 Humans cannot typically pick up signals above 20 kHz. Explain why, then, that information on a compact disk is sampled at 44,100 Hz.
8.2: Geometric Series
There is an old question that is often used to introduce the power of geometric growth. Here is one version. Suppose you are hired for a one month (30 days, working every day) job and are given two options to be paid.
 Option 1.

You can be paid $500 per day or
 Option 2.

You can be paid 1 cent the first day, 2 cents the second day, 4 cents the third day, 8 cents the fourth day, and so on, doubling the amount you are paid each day.
 How much will you be paid for the job in total under Option 1?
 Complete Table 8.2.3 to determine the pay you will receive under Option 2 for the first 10 days.
Table 8.2.3. Option 2 payments Day Pay on this day Total amount paid to date \(1\) \(\dollar0.01\) \(\dollar0.01\) \(2\) \(\dollar0.02\) \(\dollar0.03\) \(3\) \(4\) \(5\) \(6\) \(7\) \(8\) \(9\) \(10\)  Find a formula for the amount paid on day \(n\text{,}\) as well as for the total amount paid by day \(n\text{.}\) Use this formula to determine which option (1 or 2) you should take.
Suppose you drop a golf ball onto a hard surface from a height \(h\text{.}\) The collision with the ground causes the ball to lose energy and so it will not bounce back to its original height. The ball will then fall again to the ground, bounce back up, and continue. Assume that at each bounce the ball rises back to a height \(\frac{3}{4}\) of the height from which it dropped. Let \(h_n\) be the height of the ball on the \(n\)th bounce, with \(h_0 = h\text{.}\) In this exercise we will determine the distance traveled by the ball and the time it takes to travel that distance.
 Determine a formula for \(h_1\) in terms of \(h\text{.}\)
 Determine a formula for \(h_2\) in terms of \(h\text{.}\)
 Determine a formula for \(h_3\) in terms of \(h\text{.}\)
 Determine a formula for \(h_n\) in terms of \(h\text{.}\)
 Write an infinite series that represents the total distance traveled by the ball. Then determine the sum of this series.
 Next, let's determine the total amount of time the ball is in the air.
 When the ball is dropped from a height \(H\text{,}\) if we assume the only force acting on it is the acceleration due to gravity, then the height of the ball at time \(t\) is given by
\[ H  \frac{1}{2}gt^2\text{.} \nonumber \]
Use this formula to determine the time it takes for the ball to hit the ground after being dropped from height \(H\text{.}\)
 Use your work in the preceding item, along with that in (a)(e) above to determine the total amount of time the ball is in the air.
 When the ball is dropped from a height \(H\text{,}\) if we assume the only force acting on it is the acceleration due to gravity, then the height of the ball at time \(t\) is given by
Suppose you play a game with a friend that involves rolling a standard sixsided die. Before a player can participate in the game, he or she must roll a six with the die. Assume that you roll first and that you and your friend take alternate rolls. In this exercise we will determine the probability that you roll the first six.
 Explain why the probability of rolling a six on any single roll (including your first turn) is \(\frac{1}{6}\text{.}\)
 If you don't roll a six on your first turn, then in order for you to roll the first six on your second turn, both you and your friend had to fail to roll a six on your first turns, and then you had to succeed in rolling a six on your second turn. Explain why the probability of this event is
\[ \left(\frac{5}{6}\right)\left(\frac{5}{6}\right)\left(\frac{1}{6}\right) = \left(\frac{5}{6}\right)^2\left(\frac{1}{6}\right)\text{.} \nonumber \]
 Now suppose you fail to roll the first six on your second turn. Explain why the probability is
\[ \left(\frac{5}{6}\right)\left(\frac{5}{6}\right)\left(\frac{5}{6}\right)\left(\frac{5}{6}\right)\left(\frac{1}{6}\right) = \left(\frac{5}{6}\right)^4\left(\frac{1}{6}\right) \nonumber \]
that you to roll the first six on your third turn.
 The probability of you rolling the first six is the probability that you roll the first six on your first turn plus the probability that you roll the first six on your second turn plus the probability that your roll the first six on your third turn, and so on. Explain why this probability is
\[ \frac{1}{6} + \left(\frac{5}{6}\right)^2\left(\frac{1}{6}\right) + \left(\frac{5}{6}\right)^4\left(\frac{1}{6}\right) + \cdots\text{.} \nonumber \]
Find the sum of this series and determine the probability that you roll the first six.
The goal of a federal government stimulus package is to positively affect the economy. Economists and politicians quote numbers like “\(k\) million jobs and a net stimulus to the economy of \(n\) billion of dollars.” Where do they get these numbers? Let's consider one aspect of a stimulus package: tax cuts. Economists understand that tax cuts or rebates can result in longterm spending that is many times the amount of the rebate. For example, assume that for a typical person, 75% of her entire income is spent (that is, put back into the economy). Further, assume the government provides a tax cut or rebate that totals \(P\) dollars for each person.
 The tax cut of \(P\) dollars is income for its recipient. How much of this tax cut will be spent?
 In this simple model, we will say that the spent portion of the tax cut/rebate from part (a) then becomes income for another person who, in turn, spends 75% of this income. After this ``second round" of spent income, how many total dollars have been added to the economy as a result of the original tax cut/rebate?
 This second round of spending becomes income for another group who spend 75% of this income, and so on. In economics this is called the multiplier effect. Explain why an original tax cut/rebate of \(P\) dollars will result in multiplied spending of
\[ 0.75P(1+0.75+0.75^2+ \cdots )\text{.} \nonumber \]
dollars.
 Based on these assumptions, how much stimulus will a 200 billion dollar tax cut/rebate to consumers add to the economy, assuming consumer spending remains consistent forever.
Like stimulus packages, home mortgages and foreclosures also impact the economy. A problem for many borrowers is the adjustable rate mortgage, in which the interest rate can change (and usually increases) over the duration of the loan, causing the monthly payments to increase beyond the ability of the borrower to pay. Most financial analysts recommend fixed rate loans, ones for which the monthly payments remain constant throughout the term of the loan. In this exercise we will analyze fixed rate loans.
When most people buy a large ticket item like car or a house, they have to take out a loan to make the purchase. The loan is paid back in monthly installments until the entire amount of the loan, plus interest, is paid. With a loan, we borrow money, say \(P\) dollars (called the principal), and pay off the loan at an interest rate of \(r\)%. To pay back the loan we make regular monthly payments, some of which goes to pay off the principal and some of which is charged as interest. In most cases, the interest is computed based on the amount of principal that remains at the beginning of the month. We assume a fixed rate loan, that is one in which we make a constant monthly payment \(M\) on our loan, beginning in the original month of the loan.
Suppose you want to buy a house. You have a certain amount of money saved to make a down payment, and you will borrow the rest to pay for the house. Of course, for the privilege of loaning you the money, the bank will charge you interest on this loan, so the amount you pay back to the bank is more than the amount you borrow. In fact, the amount you ultimately pay depends on three things: the amount you borrow (called the principal), the interest rate, and the length of time you have to pay off the loan plus interest (called the duration of the loan). For this example, we assume that the interest rate is fixed at \(r\)%.
To pay off the loan, each month you make a payment of the same amount (called installments). Suppose we borrow \(P\) dollars (our principal) and pay off the loan at an interest rate of \(r\)% with regular monthly installment payments of \(M\) dollars. So in month 1 of the loan, before we make any payments, our principal is \(P\) dollars. Our goal in this exercise is to find a formula that relates these three parameters to the time duration of the loan.
We are charged interest every month at an annual rate of \(r\)%, so each month we pay \(\frac{r}{12}\)% interest on the principal that remains. Given that the original principal is \(P\) dollars, we will pay \(\left(\frac{0.0r}{12}\right)P\) dollars in interest on our first payment. Since we paid \(M\) dollars in total for our first payment, the remainder of the payment (\(M\left(\frac{r}{12}\right)P\)) goes to pay down the principal. So the principal remaining after the first payment (let's call it \(P_1\)) is the original principal minus what we paid on the principal, or
As long as \(P_1\) is positive, we still have to keep making payments to pay off the loan.
 Recall that the amount of interest we pay each time depends on the principal that remains. How much interest, in terms of \(P_1\) and \(r\text{,}\) do we pay in the second installment?
 How much of our second monthly installment goes to pay off the principal? What is the principal \(P_2\text{,}\) or the balance of the loan, that we still have to pay off after making the second installment of the loan? Write your response in the form \(P_2 = ( \ )P_1  ( \ )M\text{,}\) where you fill in the parentheses.
 Show that \(P_2 = \left(1 + \frac{r}{12}\right)^2P  \left[1 + \left(1+\frac{r}{12}\right)\right] M\text{.}\)
 Let \(P_3\) be the amount of principal that remains after the third installment. Show that
\[ P_3 = \left(1 + \frac{r}{12}\right)^3P  \left[1 + \left(1+\frac{r}{12}\right) + \left(1+\frac{r}{12}\right)^2 \right] M\text{.} \nonumber \]
 If we continue in the manner described in the problems above, then the remaining principal of our loan after \(n\) installments is
\[ P_n = \left(1 + \frac{r}{12}\right)^nP  \left[\displaystyle \sum_{k=0}^{n1} \left(1+\frac{r}{12}\right)^k \right] M\text{.}\label{ZTL}\tag{8.2.7} \]
This is a rather complicated formula and one that is difficult to use. However, we can simplify the sum if we recognize part of it as a partial sum of a geometric series. Find a formula for the sum
\[ \displaystyle \sum_{k=0}^{n1} \left(1+\frac{r}{12}\right)^k\text{.}\label{GaU}\tag{8.2.8} \]and then a general formula for \(P_n\) that does not involve a sum.
 It is usually more convenient to write our formula for \(P_n\) in terms of years rather than months. Show that \(P(t)\text{,}\) the principal remaining after \(t\) years, can be written as
\[ P(t) = \left(P  \frac{12M}{r}\right)\left(1+\frac{r}{12}\right)^{12t} + \frac{12M}{r}\text{.}\label{mid}\tag{8.2.9} \]
 Now that we have analyzed the general loan situation, we apply formula (8.2.9) to an actual loan. Suppose we charge $1,000 on a credit card for holiday expenses. If our credit card charges 20% interest and we pay only the minimum payment of $25 each month, how long will it take us to pay off the $1,000 charge? How much in total will we have paid on this $1,000 charge? How much total interest will we pay on this loan?
 Now we consider larger loans, e.g., automobile loans or mortgages, in which we borrow a specified amount of money over a specified period of time. In this situation, we need to determine the amount of the monthly payment we need to make to pay off the loan in the specified amount of time. In this situation, we need to find the monthly payment \(M\) that will take our outstanding principal to \(0\) in the specified amount of time. To do so, we want to know the value of \(M\) that makes \(P(t) = 0\) in formula (8.2.9). If we set \(P(t) = 0\) and solve for \(M\text{,}\) it follows that
\[ M = \frac{rP \left(1+\frac{r}{12}\right)^{12t}}{12\left(\left(1+\frac{r}{12}\right)^{12t}  1 \right)}\text{.} \nonumber \]
 Suppose we want to borrow $15,000 to buy a car. We take out a 5 year loan at 6.25%. What will our monthly payments be? How much in total will we have paid for this $15,000 car? How much total interest will we pay on this loan?
 Suppose you charge your books for winter semester on your credit card. The total charge comes to $525. If your credit card has an interest rate of 18% and you pay $20 per month on the card, how long will it take before you pay off this debt? How much total interest will you pay?
 Say you need to borrow $100,000 to buy a house. You have several options on the loan:
 30 years at 6.5%
 25 years at 7.5%
 15 years at 8.25%.
 What are the monthly payments for each loan?
 Which mortgage is ultimately the best deal (assuming you can afford the monthly payments)? In other words, for which loan do you pay the least amount of total interest?
8.3: Series of Real Numbers
In this exercise we investigate the sequence \(\left\{\frac{b^n}{n!}\right\}\) for any constant \(b\text{.}\)
 Use the Ratio Test to determine if the series \(\sum \frac{10^k}{k!}\) converges or diverges.
 Now apply the Ratio Test to determine if the series \(\sum \frac{b^k}{k!}\) converges for any constant \(b\text{.}\)
 Use your result from (b) to decide whether the sequence \(\left\{\frac{b^n}{n!}\right\}\) converges or diverges. If the sequence \(\left\{\frac{b^n}{n!}\right\}\) converges, to what does it converge? Explain your reasoning.
There is a test for convergence similar to the Ratio Test called the Root Test. Suppose we have a series \(\sum a_k\) of positive terms so that \(a_n \to 0\) as \(n \to \infty\text{.}\)
 Assume
\[ \sqrt[n]{a_n} \to r \nonumber \]
as \(n\) goes to infinity. Explain why this tells us that \(a_n \approx r^n\) for large values of \(n\text{.}\)
 Using the result of part (a), explain why \(\sum a_k\) looks like a geometric series when \(n\) is big. What is the ratio of the geometric series to which \(\sum a_k\) is comparable?
 Use what we know about geometric series to determine that values of \(r\) so that \(\sum a_k\) converges if \(\sqrt[n]{a_n} \to r\) as \(n \to \infty\text{.}\)
The associative and distributive laws of addition allow us to add finite sums in any order we want. That is, if \(\sum_{k=0}^n a_k\) and \(\sum_{k=0}^n b_k\) are finite sums of real numbers, then
However, we do need to be careful extending rules like this to infinite series.
 Let \(a_n = 1 + \frac{1}{2^n}\) and \(b_n = 1\) for each nonnegative integer \(n\text{.}\)
 Explain why the series \(\sum_{k=0}^{\infty} a_k\) and \(\sum_{k=0}^{\infty} b_k\) both diverge.
 Explain why the series \(\sum_{k=0}^{\infty} (a_k+b_k)\) converges.
 Explain why
\[ \sum_{k=0}^{\infty} a_k + \sum_{k=0}^{\infty} b_k \neq \sum_{k=0}^{\infty} (a_k+b_k)\text{.} \nonumber \]
This shows that it is possible to have to two divergent series \(\sum_{k=0}^{\infty} a_k\) and \(\sum_{k=0}^{\infty} b_k\) but yet have the series \(\sum_{k=0}^{\infty} (a_k+b_k)\) converge.
 While part (a) shows that we cannot add series term by term in general, we can under reasonable conditions. The problem in part (a) is that we tried to add divergent series. In this exercise we will show that if \(\sum a_k\) and \(\sum b_k\) are convergent series, then \(\sum (a_k+b_k)\) is a convergent series and
\[ \sum (a_k+b_k) = \sum a_k + \sum b_k\text{.} \nonumber \]
 Let \(A_n\) and \(B_n\) be the \(n\)th partial sums of the series \(\sum_{k=1}^{\infty} a_k\) and \(\sum_{k=1}^{\infty} b_k\text{,}\) respectively. Explain why
\[ A_n + B_n = \sum_{k=1}^n (a_k+b_k)\text{.} \nonumber \]
 Use the previous result and properties of limits to show that
\[ \sum_{k=1}^{\infty} (a_k+b_k) = \sum_{k=1}^{\infty} a_k + \sum_{k=1}^{\infty} b_k\text{.} \nonumber \]
(Note that the starting point of the sum is irrelevant in this problem, so it doesn't matter where we begin the sum.)
 Let \(A_n\) and \(B_n\) be the \(n\)th partial sums of the series \(\sum_{k=1}^{\infty} a_k\) and \(\sum_{k=1}^{\infty} b_k\text{,}\) respectively. Explain why
 Use the prior result to find the sum of the series \(\sum_{k=0}^{\infty} \frac{2^k+3^k}{5^k}\text{.}\)
In the Limit Comparison Test we compared the behavior of a series to one whose behavior we know. In that test we use the limit of the ratio of corresponding terms of the series to determine if the comparison is valid. In this exercise we see how we can compare two series directly, term by term, without using a limit of sequence. First we consider an example.
 Consider the series
\[ \sum \frac{1}{k^2} \text{ and } \sum \frac{1}{k^2+k}\text{.} \nonumber \]
We know that the series \(\sum \frac{1}{k^2}\) is a \(p\)series with \(p = 2 \gt 1\) and so \(\sum \frac{1}{k^2}\) converges. In this part of the exercise we will see how to use information about \(\sum \frac{1}{k^2}\) to determine information about \(\sum \frac{1}{k^2+k}\text{.}\) Let \(a_k = \frac{1}{k^2}\) and \(b_k = \frac{1}{k^2+k}\text{.}\)
 Let \(S_n\) be the \(n\)th partial sum of \(\sum \frac{1}{k^2}\) and \(T_n\) the \(n\)th partial sum of \(\sum \frac{1}{k^2+k}\text{.}\) Which is larger, \(S_1\) or \(T_1\text{?}\) Why?
 Recall that
\[ S_2 = S_1 + a_2 \text{ and } T_2 = T_1 + b_2\text{.} \nonumber \]
Which is larger, \(a_2\) or \(b_2\text{?}\) Based on that answer, which is larger, \(S_2\) or \(T_2\text{?}\)
 Recall that
\[ S_3 = S_2 + a_3 \text{ and } T_3 = T_2 + b_3\text{.} \nonumber \]
Which is larger, \(a_3\) or \(b_3\text{?}\) Based on that answer, which is larger, \(S_3\) or \(T_3\text{?}\)
 Which is larger, \(a_n\) or \(b_n\text{?}\) Explain. Based on that answer, which is larger, \(S_n\) or \(T_n\text{?}\)
 Based on your response to the previous part of this exercise, what relationship do you expect there to be between \(\sum \frac{1}{k^2}\) and \(\sum \frac{1}{k^2+k}\text{?}\) Do you expect \(\sum \frac{1}{k^2+k}\) to converge or diverge? Why?
 The example in the previous part of this exercise illustrates a more general result. Explain why the Direct Comparison Test, stated here, works.
If
\[ 0 \leq b_k \leq a_k \nonumber \]for every \(k\text{,}\) then we must have
\[ 0 \leq \sum b_k \leq \sum a_k \nonumber \] If \(\sum a_k\) converges, then \(\sum b_k\) converges.
 If \(\sum b_k\) diverges, then \(\sum a_k\) diverges.
This comparison test applies only to series with nonnegative terms.
 Use the Direct Comparison Test to determine the convergence or divergence of the series \(\sum \frac{1}{k1}\text{.}\) Hint: Compare to the harmonic series.
 Use the Direct Comparison Test to determine the convergence or divergence of the series \(\sum \frac{k}{k^3+1}\text{.}\)
8.4: Alternating Series
Conditionally convergent series converge very slowly. As an example, consider the famous formula^{ 1 }
In theory, the partial sums of this series could be used to approximate \(\pi\text{.}\)
 Show that the series in (8.4.3) converges conditionally.
 Let \(S_n\) be the \(n\)th partial sum of the series in (8.4.3). Calculate the error in approximating \(\frac{\pi}{4}\) with \(S_{100}\) and explain why this is not a very good approximation.
 Determine the number of terms it would take in the series (8.4.3) to approximate \(\frac{\pi}{4}\) to 10 decimal places. (The fact that it takes such a large number of terms to obtain even a modest degree of accuracy is why we say that conditionally convergent series converge very slowly.)
We have shown that if \(\sum (1)^{k+1} a_k\) is a convergent alternating series, then the sum \(S\) of the series lies between any two consecutive partial sums \(S_n\text{.}\) This suggests that the average \(\frac{S_n+S_{n+1}}{2}\) is a better approximation to \(S\) than is \(S_n\text{.}\)
 Show that \(\frac{S_n+S_{n+1}}{2} = S_n + \frac{1}{2}(1)^{n+2} a_{n+1}\text{.}\)
 Use this revised approximation in (a) with \(n = 20\) to approximate \(\ln(2)\) given that
\[ \ln(2) = \sum_{k=1}^{\infty} (1)^{k+1} \frac{1}{k}\text{.} \nonumber \]
Compare this to the approximation using just \(S_{20}\text{.}\) For your convenience, \(S_{20} = \frac{155685007}{232792560}\text{.}\)
In this exercise, we examine one of the conditions of the Alternating Series Test. Consider the alternating series
where the terms are selected alternately from the sequences \(\left\{\frac{1}{n}\right\}\) and \(\left\{\frac{1}{n^2}\right\}\text{.}\)
 Explain why the \(n\)th term of the given series converges to 0 as \(n\) goes to infinity.
 Rewrite the given series by grouping terms in the following manner:
\[ (1  1) + \left(\frac{1}{2}  \frac{1}{4}\right) + \left(\frac{1}{3}  \frac{1}{9}\right) + \left(\frac{1}{4}  \frac{1}{16}\right) + \cdots\text{.} \nonumber \]
Use this regrouping to determine if the series converges or diverges.
 Explain why the condition that the sequence \(\{a_n\}\) decreases to a limit of 0 is included in the Alternating Series Test.
Conditionally convergent series exhibit interesting and unexpected behavior. In this exercise we examine the conditionally convergent alternating harmonic series \(\sum_{k=1}^{\infty} \frac{(1)^{k+1}}{k}\) and discover that addition is not commutative for conditionally convergent series. We will also encounter Riemann's Theorem concerning rearrangements of conditionally convergent series. Before we begin, we remind ourselves that
a fact which will be verified in a later section.
 First we make a quick analysis of the positive and negative terms of the alternating harmonic series.
 Show that the series \(\sum_{k=1}^{\infty} \frac{1}{2k}\) diverges.
 Show that the series \(\sum_{k=1}^{\infty} \frac{1}{2k+1}\) diverges.
 Based on the results of the previous parts of this exercise, what can we say about the sums \(\sum_{k=C}^{\infty} \frac{1}{2k}\) and \(\sum_{k=C}^{\infty} \frac{1}{2k+1}\) for any positive integer \(C\text{?}\) Be specific in your explanation.
 Recall addition of real numbers is commutative; that is
\[ a + b = b + a \nonumber \]
for any real numbers \(a\) and \(b\text{.}\) This property is valid for any sum of finitely many terms, but does this property extend when we add infinitely many terms together?
The answer is no, and something even more odd happens. Riemann's Theorem (after the nineteenthcentury mathematician Georg Friedrich Bernhard Riemann) states that a conditionally convergent series can be rearranged to converge to any prescribed sum. More specifically, this means that if we choose any real number \(S\text{,}\) we can rearrange the terms of the alternating harmonic series \(\sum_{k=1}^{\infty} \frac{(1)^{k+1}}{k}\) so that the sum is \(S\text{.}\) To understand how Riemann's Theorem works, let's assume for the moment that the number \(S\) we want our rearrangement to converge to is positive. Our job is to find a way to order the sum of terms of the alternating harmonic series to converge to \(S\text{.}\)
 Explain how we know that, regardless of the value of \(S\text{,}\) we can find a partial sum \(P_1\)
\[ P_1 = \sum_{k=1}^{n_1} \frac{1}{2k+1} = 1 + \frac{1}{3} + \frac{1}{5} + \cdots + \frac{1}{2n_1+1} \nonumber \]
of the positive terms of the alternating harmonic series that equals or exceeds \(S\text{.}\) Let
\[ S_1 = P_1\text{.} \nonumber \]  Explain how we know that, regardless of the value of \(S_1\text{,}\) we can find a partial sum \(N_1\)
\[ N_1 = \sum_{k=1}^{m_1} \frac{1}{2k} = \frac{1}{2}  \frac{1}{4}  \frac{1}{6}  \cdots  \frac{1}{2m_1} \nonumber \]
so that
\[ S_2 = S_1 + N_1 \leq S\text{.} \nonumber \]  Explain how we know that, regardless of the value of \(S_2\text{,}\) we can find a partial sum \(P_2\)
\[ P_2 = \sum_{k=n_1+1}^{n_2} \frac{1}{2k+1} = \frac{1}{2(n_1+1)+1} + \frac{1}{2(n_1+2)+1} + \cdots + \frac{1}{2n_2+1} \nonumber \]
of the remaining positive terms of the alternating harmonic series so that
\[ S_3 = S_2 + P_2 \geq S\text{.} \nonumber \]  Explain how we know that, regardless of the value of \(S_3\text{,}\) we can find a partial sum
\[ N_2 = \sum_{k=m_1+1}^{m_2} \frac{1}{2k} = \frac{1}{2(m_1+1)}  \frac{1}{2(m_1+2)}  \cdots  \frac{1}{2m_2} \nonumber \]
of the remaining negative terms of the alternating harmonic series so that
\[ S_4 = S_3 + N_2 \leq S\text{.} \nonumber \]  Explain why we can continue this process indefinitely and find a sequence \(\{S_n\}\) whose terms are partial sums of a rearrangement of the terms in the alternating harmonic series so that \(\lim_{n \to \infty} S_n = S\text{.}\)
 Explain how we know that, regardless of the value of \(S\text{,}\) we can find a partial sum \(P_1\)
8.5: Taylor Polynomials and Taylor Series
In this exercise we investigation the Taylor series of polynomial functions.
 Find the 3rd order Taylor polynomial centered at \(a = 0\) for \(f(x) = x^32x^2+3x1\text{.}\) Does your answer surprise you? Explain.
 Without doing any additional computation, find the 4th, 12th, and 100th order Taylor polynomials (centered at \(a = 0\)) for \(f(x) = x^32x^2+3x1\text{.}\) Why should you expect this?
 Now suppose \(f(x)\) is a degree \(m\) polynomial. Completely describe the \(n\)th order Taylor polynomial (centered at \(a = 0\)) for each \(n\text{.}\)
The examples we have considered in this section have all been for Taylor polynomials and series centered at 0, but Taylor polynomials and series can be centered at any value of \(a\text{.}\) We look at examples of such Taylor polynomials in this exercise.
 Let \(f(x) = \sin(x)\text{.}\) Find the Taylor polynomials up through order four of \(f\) centered at \(x = \frac{\pi}{2}\text{.}\) Then find the Taylor series for \(f(x)\) centered at \(x = \frac{\pi}{2}\text{.}\) Why should you have expected the result?
 Let \(f(x) = \ln(x)\text{.}\) Find the Taylor polynomials up through order four of \(f\) centered at \(x = 1\text{.}\) Then find the Taylor series for \(f(x)\) centered at \(x = 1\text{.}\)
 Use your result from (b) to determine which Taylor polynomial will approximate \(\ln(2)\) to two decimal places. Explain in detail how you know you have the desired accuracy.
We can use known Taylor series to obtain other Taylor series, and we explore that idea in this exercise, as a preview of work in the following section.
 Calculate the first four derivatives of \(\sin(x^2)\) and hence find the fourth order Taylor polynomial for \(\sin(x^2)\) centered at \(a=0\text{.}\)
 Part (a) demonstrates the brute force approach to computing Taylor polynomials and series. Now we find an easier method that utilizes a known Taylor series. Recall that the Taylor series centered at 0 for \(f(x) = \sin(x)\) is
\[ \sum_{k=0}^{\infty} (1)^{k} \frac{x^{2k+1}}{(2k+1)!}\text{.}\label{IOJ}\tag{8.5.7} \]
 Substitute \(x^2\) for \(x\) in the Taylor series (8.5.7). Write out the first several terms and compare to your work in part (a). Explain why the substitution in this problem should give the Taylor series for \(\sin(x^2)\) centered at 0.
 What should we expect the interval of convergence of the series for \(\sin(x^2)\) to be? Explain in detail.
Based on the examples we have seen, we might expect that the Taylor series for a function \(f\) always converges to the values \(f(x)\) on its interval of convergence. We explore that idea in more detail in this exercise. Let \(f(x) = \begin{cases}e^{1/x^2} & \text{ if } x \neq 0, \\[4pt] 0 & \text{ if } x = 0. \end{cases}\)
 Show, using the definition of the derivative, that \(f'(0) = 0\text{.}\)
 It can be shown that \(f^{(n)}(0) = 0\) for all \(n \geq 2\text{.}\) Assuming that this is true, find the Taylor series for \(f\) centered at 0.
 What is the interval of convergence of the Taylor series centered at 0 for \(f\text{?}\) Explain. For which values of \(x\) the interval of convergence of the Taylor series does the Taylor series converge to \(f(x)\text{?}\)
8.6: Power Series
We can use power series to approximate definite integrals to which known techniques of integration do not apply. We will illustrate this in this exercise with the definite integral \(\int_0^1 \sin(x^2) \,ds\text{.}\)
 Use the Taylor series for \(\sin(x)\) to find the Taylor series for \(\sin(x^2)\text{.}\) What is the interval of convergence for the Taylor series for \(\sin(x^2)\text{?}\) Explain.
 Integrate the Taylor series for \(\sin(x^2)\) term by term to obtain a power series expansion for \(\int \sin(x^2)\,dx\text{.}\)
 Use the result from part (b) to explain how to evaluate \(\int_0^1 \sin(x^2) \ dx\text{.}\) Determine the number of terms you will need to approximate \(\int_0^1 \sin(x^2) \,dx\) to 3 decimal places.
There is an important connection between power series and Taylor series. Suppose \(f\) is defined by a power series centered at 0 so that
 Determine the first 4 derivatives of \(f\) evaluated at 0 in terms of the coefficients \(a_k\text{.}\)
 Show that \(f^{(n)}(0) = n!a_n\) for each positive integer \(n\text{.}\)
 Explain how the result of (b) tells us the following:
On its interval of convergence, a power series is the Taylor series of its sum.
In this exercise we will begin with a strange power series and then find its sum. The Fibonacci sequence \(\{f_n\}\) is a famous sequence whose first few terms are
where each term in the sequence after the first two is the sum of the preceding two terms. That is, \(f_0 = 0\text{,}\) \(f_1 = 1\) and for \(n \geq 2\) we have
Now consider the power series
We will determine the sum of this power series in this exercise.
 Explain why each of the following is true.
 \(\displaystyle xF(x) = \sum_{k=1}^{\infty} f_{k1}x^k\)
 \(\displaystyle x^2F(x) = \sum_{k=2}^{\infty} f_{k2}x^k\)
 Show that
\[ F(x)  xF(x)  x^2F(x) = x\text{.} \nonumber \]
 Now use the equation
\[ F(x)  xF(x)  x^2F(x) = x \nonumber \]
to find a simple form for \(F(x)\) that doesn't involve a sum.
 Use a computer algebra system or some other method to calculate the first 8 derivatives of \(\frac{x}{1xx^2}\) evaluated at 0. Why shouldn't the results surprise you?
Airy's equation^{ 2 }
can be used to model an undamped vibrating spring with spring constant \(x\) (note that \(y\) is an unknown function of \(x\)). So the solution to this differential equation will tell us the behavior of a springmass system as the spring ages (like an automobile shock absorber). Assume that a solution \(y=f(x)\) has a Taylor series that can be written in the form
where the coefficients are undetermined. Our job is to find the coefficients.
 Differentiate the series for \(y\) term by term to find the series for \(y'\text{.}\) Then repeat to find the series for \(y''\text{.}\)
 Substitute your results from part (a) into the Airy equation and show that we can write Equation (8.6.4) in the form
\[ \sum_{k=2}^{\infty} (k1)ka_kx^{k2}  \sum_{k=0}^{\infty} a_kx^{k+1} = 0\text{.}\label{vnU}\tag{8.6.5} \]
 At this point, it would be convenient if we could combine the series on the left in (8.6.5), but one written with terms of the form \(x^{k2}\) and the other with terms in the form \(x^{k+1}\text{.}\) Explain why
\[ \sum_{k=2}^{\infty} (k1)ka_kx^{k2} = \sum_{k=0}^{\infty} (k+1)(k+2)a_{k+2}x^{k}\text{.}\label{bvd}\tag{8.6.6} \]
 Now show that
\[ \sum_{k=0}^{\infty} a_kx^{k+1} = \sum_{k=1}^{\infty} a_{k1}x^k\text{.}\label{HCm}\tag{8.6.7} \]
 We can now substitute (8.6.6) and (8.6.7) into (8.6.5) to obtain
\[ \sum_{n=0}^{\infty} (n+1)(n+2)a_{n+2}x^{n}  \sum_{n=1}^{\infty} a_{n1}x^{n} = 0\text{.}\label{nJv}\tag{8.6.8} \]
Combine the like powers of \(x\) in the two series to show that our solution must satisfy
\[ 2a_2 + \sum_{k=1}^{\infty} \left[(k+1)(k+2)a_{k+2}a_{k1} \right] x^{k} = 0\text{.}\label{TQE}\tag{8.6.9} \]  Use equation (8.6.9) to show the following:
 \(a_{3k+2} = 0\) for every positive integer \(k\text{,}\)
 \(a_{3k} = \frac{1}{(2)(3)(5)(6) \cdots (3k1)(3k)} a_0 \text{ for } k \geq 1\text{,}\)
 \(a_{3k+1} = \frac{1}{(3)(4)(6)(7) \cdots (3k)(3k+1)} a_1 \text{ for } k \geq 1\text{.}\)
 Use the previous part to conclude that the general solution to the Airy equation (8.6.4) is
\begin{align*} y &= a_0\left( 1+\sum_{k=1}^{\infty} \frac{x^{3k}}{(2)(3)(5)(6) \cdots (3k1)(3k)} \right)\\[4pt] &\phantom{={}}+ a_1 \left( x + \sum_{k=1}^{\infty} \frac{x^{3k+1}}{(3)(4)(6)(7) \cdots (3k)(3k+1)} \right)\text{.} \end{align*}
Any values for \(a_0\) and \(a_1\) then determine a specific solution that we can approximate as closely as we like using this series solution.