Find the Sum of this Alternating Series

Click For Summary

Homework Help Overview

The discussion revolves around finding the sum of the series ∑ (cos(k*pi))/pi^k from k=0 to infinity. Participants explore the convergence of the series and its classification as a geometric series.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Some participants attempt to identify the common ratio of the series, discussing the implications of removing the cosine factor. Others question the method of determining the ratio and explore the relationship between terms in the series.

Discussion Status

Participants are actively engaging with the problem, offering insights into the nature of the series and discussing various approaches to find the common ratio. There is a recognition of potential mechanical errors in reasoning, and some participants express a desire to understand the underlying concepts better.

Contextual Notes

There are mentions of using Wolfram Alpha for verification, and some participants express uncertainty about the definitions and terms related to the methods discussed. The conversation reflects an ongoing exploration of the series without reaching a definitive conclusion.

RJLiberator
Gold Member
Messages
1,094
Reaction score
63

Homework Statement


Find the sum of
starts at 0 to infinity ∑ (cos(k*pi))/pi^k

First, I determined that it does, indeed, converge with the alternating series test.
Second, I found the answer to be pi/(1+pi) via wolfram alpha.

But I am at a loss on how to find the answer here.

This is a geometric series, so I am trying to find the r value. If I can do that, then I can use the trick of first term/(1-r)

Correct?
 
Physics news on Phys.org
RJLiberator said:

Homework Statement


Find the sum of
starts at 0 to infinity ∑ (cos(k*pi))/pi^k

First, I determined that it does, indeed, converge with the alternating series test.
Second, I found the answer to be pi/(1+pi) via wolfram alpha.

But I am at a loss on how to find the answer here.

This is a geometric series, so I am trying to find the r value. If I can do that, then I can use the trick of first term/(1-r)

Correct?
It might be helpful to write the series without the cosine factor. All it contributes is +/- 1 each time.
 
  • Like
Likes   Reactions: RJLiberator
RJLiberator said:

Homework Statement


Find the sum of
starts at 0 to infinity ∑ (cos(k*pi))/pi^k

First, I determined that it does, indeed, converge with the alternating series test.
Second, I found the answer to be pi/(1+pi) via wolfram alpha.

But I am at a loss on how to find the answer here.

This is a geometric series, so I am trying to find the r value. If I can do that, then I can use the trick of first term/(1-r)

Correct?
Why don't you just divide the ##k+1## term by the ##k## term to get ##r##?
 
  • Like
Likes   Reactions: RJLiberator
Mark44 said:
It might be helpful to write the series without the cosine factor. All it contributes is +/- 1 each time.

So, with cos(k*pi) out, that would leave 1/pi^k. Therefore 1/pi^k = r? Hm.

LCKurtz said:
Why don't you just divide the ##k+1## term by the ##k## term to get ##r##?
k+1 term? Ok, let me try what I think you are saying:

k+1 term = value of 1, so k=1 and therefore cos(1pi)/pi^1 = -1/pi and the original k =0 term = cos(0pi)/pi^0 = 1. So, (-1/pi)/1 = -1/pi.

Hm, so if r = -1/pi then we can plug that into the first term/(1-r) equation, let's see:
First term = 1
(1-(-1/pi) = 1+1/pi
1/(1+1/pi)

If you multiple everything by pi, to simplify you get the answer of pi/pi+1 which is the correct answer.

Why did this work? Is there a trick I am not thinking of?

Thank you all. It seems I may have made a mechanical error with Mark44's suggestion. LcKurtz, do you know the definition/term of what you suggested so i can research it?
 
RJLiberator said:
If you multiple everything by pi, to simplify you get the answer of pi/pi+1 which is the correct answer.
No it's not. ##\frac{\pi}{\pi} + 1 = 2##.

I'm being picky, but you need parentheses like you used in your first post here. IOW, like this: π/(π + 1).
 
  • Like
Likes   Reactions: RJLiberator
RJLiberator said:
So, with cos(k*pi) out, that would leave 1/pi^k. Therefore 1/pi^k = r?

Thank you all. It seems I may have made a mechanical error with Mark44's suggestion. LcKurtz, do you know the definition/term of what you suggested so i can research it?

## \cos k \pi =(-1)^k ## so you would have ##\sum_k \left(\frac{-1}{\pi}\right)^k ##
Mark44's suggestion should have led you to the same conclusion for r.
 
  • Like
Likes   Reactions: RJLiberator
RJLiberator said:
So, with cos(k*pi) out, that would leave 1/pi^k. Therefore 1/pi^k = r? Hm.k+1 term? Ok, let me try what I think you are saying:

k+1 term = value of 1, so k=1 and therefore cos(1pi)/pi^1 = -1/pi and the original k =0 term = cos(0pi)/pi^0 = 1. So, (-1/pi)/1 = -1/pi.

Hm, so if r = -1/pi then we can plug that into the first term/(1-r) equation, let's see:
First term = 1
(1-(-1/pi) = 1+1/pi
1/(1+1/pi)

If you multiple everything by pi, to simplify you get the answer of pi/pi+1 which is the correct answer.

Why did this work? Is there a trick I am not thinking of?

Thank you all. It seems I may have made a mechanical error with Mark44's suggestion. LcKurtz, do you know the definition/term of what you suggested so i can research it?

A geometric series looks like $$
\sum_{k=0}^\infty ar^k$$where ##r## is the common ratio. The ##k+1## term is ##ar^{k+1}## and the ##k## term is ##ar^k##. When you divide them you get the common ratio ##r##, no matter what ##k## is. What you did is divide the ##k=1## term by the ##k=0## term. That doesn't tell you anything unless you already know it is a geometric series. What you did gave you the correct ratio because it is in fact a geometric series, but the correct way to get the ratio and show it is a geometric series is divide the ##k+1## term by the ##k## term and observe you always get the same answer.
 
  • Like
Likes   Reactions: RJLiberator
Excellent analysis, friends. I appreciate the words. Quite frankly, I am getting addicted to this series math.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
835
Replies
29
Views
3K