Skip to main content

Question 2.5

Solutions

TZ
leumasicOfficial

3 months ago

(a) Let us first prove the base case n=0n = 0.

n=0    1=1r0+11r=1r1r=1\begin{aligned} n = 0 \implies 1 &= \frac{1 - r^{0 + 1}}{1 - r} \\ &= \frac{1 - r}{1 - r} \\ &= 1 \end{aligned}

Moving on, we prove that the predicate holds for n+1n + 1 if it does for nn.

1+r+r2++rn+rn+1=1rn+11r+rn+1=1rn+11r+(1r)rn+11r=1rn+1+rn+1rn+21r=1rn+21r\begin{aligned} 1 + r + r^{2} + \dots + r^{n} + r^{n + 1} &= \frac{1 - r^{n + 1}}{1 - r} + r^{n + 1} \\ &= \frac{1 - r^{n + 1}}{1 - r} + \frac{(1 - r) r^{n + 1}}{1 - r} \\ &= \frac{1 - r^{n + 1} + r^{n + 1} - r^{n + 2}}{1 - r} \\ &= \frac{1 - r^{n + 2}}{1 - r} \end{aligned}

(b)

S(1r)=SSr=1+r++rn(r+r2++rn+rn+1)=1rn+1    S=1rn+11r\begin{aligned} S (1 - r) &= S - Sr \\ &= 1 + r + \dots + r^{n} - (r + r^{2} + \dots + r^{n} + r^{n + 1}) \\ &= 1 - r^{n + 1} \\ & \implies S = \frac{1 - r^{n + 1}}{1 - r} \end{aligned}
0
Submit a solution
Optional • Markdown

Sign in to share your solution for this question.

Sign in

Navigate

Q 2.5

Navigate

Q 2.5