To prove that the sum of the first 2009 terms of the sequence Un is given by 1+r2a(1+r−r2009+r2010), we will follow these steps:
1. **Redefine the sequence Un based on the given conditions:**
Un={arn−1−arn−1if n=4m−3 or n=4m−2,if n=4m−1 or n=4m
where m is a positive integer.
2. Group the terms in sets of four:
Notice that every four terms form a pattern:
(ar4m−4,ar4m−3,−ar4m−2,−ar4m−1)
For example, the first four terms are:
(a,ar,−ar2,−ar3)
The next four terms are:
(ar4,ar5,−ar6,−ar7)
And so on.
3. Sum the terms within each group of four:
The sum of each group of four terms is:
ar4m−4+ar4m−3−ar4m−2−ar4m−1
Factor out the common term ar4m−4:
ar4m−4(1+r−r2−r3)
4. Sum the series up to the 2008th term:
Since 2009 is not a multiple of 4, we need to handle the last term separately. The sum of the first 2008 terms can be written as:
S=m=1∑502ar4m−4(1+r−r2−r3)
This is a geometric series with the common ratio r4:
S=(1+r−r2−r3)m=0∑501ar4m
The sum of the geometric series is:
m=0∑501ar4m=a1−r41−(r4)502
Therefore:
S=a(1+r−r2−r3)1−r41−r2008
5. Add the 2009th term:
The 2009th term is ar2008. So, the total sum Stotal is:
Stotal=a(1+r−r2−r3)1−r41−r2008+ar2008
6. Simplify the expression:
Combine the terms:
Stotal=a(1−r4(1+r−r2−r3)(1−r2008)+r2008)
Simplify the numerator:
(1+r−r2−r3)(1−r2008)=1+r−r2−r3−r2008−r2009+r2010+r2011
Therefore:
Stotal=a(1−r41+r−r2−r3−r2008−r2009+r2010+r2011+r2008)
Combine the terms:
Stotal=a(1+r21+r−r2009+r2010)
Thus, the sum of the first 2009 terms is:
1+r2a(1+r−r2009+r2010)