Finding the Sum of an Alternating Geometric Sequence

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
Sarah00
Messages
64
Reaction score
1
Hi!

If I have a sequence that its first 4 terms are:

30, -31, +32, -32

The pattern is geometric sequence but has alternating signs..

How can I find its sum ..

I know it is composed of 2 sequences ..

However, when I try to separate the 2 sequences .. I get them of different "lengths"

In other words, it is (30+32+34) - (31+33) for 5 terms

but for 4 terms I get:
In other words, it is (30+32) - (31+33)How can I get general formula for both ..

(-1)k helps ! but how! and what about the number of termsThanks!
 
Mathematics news on Phys.org
Further to my previous post ..

screenshot_158.png
 
This is the book's answer:
screenshot_158.png
 
When ##n## is odd that is ##n=2m+1## you obtain ## \frac{1}{4}(-3^{2m+1}+1)##, when is even ##n=2m## you obtain ## \frac{1}{4}(3^{2m+1}+1)##. In order to obtain both you must have ## \frac{1}{4}((-1)^{n}3^{n+1}+1)## (this is obtained merging the two previous...)