Skip to main content

Question 2.2

Solutions

TZ
leumasicOfficial

3 months ago

(i) A natural approach to exercises that require finding a formula for a partial sum, is to evaluate it for certain values. Then, from these values, it might be possible to establish a conjecture and, from there, prove the conjecture. This is exactly what will be done for this exercise. We start by evaluating the partial sum for certain values of nn.

n Partial Sum
1 1
2 4
3 9

With only three evaluations, we should be able to deduce the conjecture that our partial sum is equal to n2n^{2}. That is,

i=1n(2i1)=n2\begin{aligned} \sum_{i = 1}^{n} (2i - 1) = n^{2} \end{aligned}

Now, to prove this conjecture, we can either use induction or a direct proof. In this solutions manual, a direct proof will always be favored over a proof by induction with the reason being that, as opposed to proofs by induction, a direct proof shows the way to obtain the formula.

Thus, how are we to obtain this formula with some simple algebraic manipulations? First, it definitely is a good idea to rewrite the sum to further observe it.

1+3+5++(2n1)=1+3++(2(n1)1)+(2n1)=1+3++(2n3)+(2n1)\begin{aligned} 1 + 3 + 5 + \dots + (2n -1) &= 1 + 3 + \dots + (2(n - 1) - 1) + (2n - 1) \\ &= 1 + 3 + \dots + (2n - 3) + (2n - 1) \end{aligned}

We realize that if we sum a number from the ithi^{th} position with the ithi^{th} number from the last, we obtain the term 2n2n. For instance, the sum of the first and last term is:

1+(2n1)=11+2n=2n\begin{aligned} 1 + (2n - 1) = 1 - 1 + 2n = 2n \end{aligned}

Thus, all we need to do now, is handle the case when nn is odd and the other where nn is even. If nn is even, then it is quite simple:

1+3++(2n3)+(2n1)=1+(2n1)+3+(2n3)+=2n+2n+n/2=2n(n/2)=n2\begin{aligned} 1 + 3 + \dots + (2n - 3) + (2n - 1) &= 1 + (2n - 1) + 3 + (2n - 3) + \dots \\ &= \underbrace{2n + 2n + \dots}_{n/2} \\ &= 2n(n/2) \\ &= n^{2} \end{aligned}

Now, if nn is odd, we have a term "in the middle" that does not have a term to sum up with. However, it is compensated by the fact that there are not n/2n/2 2n2n terms but n12\frac{n - 1}{2} of them. Furthermore, we know the middle term's index: n+12\frac{n + 1}{2}. Thus, putting all the information together, we obtain,

1+3++(2(n+12)1)middle term++(2n3)+(2n1)=(1+(2n1))+(3+(2n3))++(n+11)=2n+2n+n12+n=2n(n12)+n=n2n+n=n2\begin{aligned} 1 + & 3 + \dots + \underbrace{(2(\frac{n + 1}{2}) - 1)}_{\text{middle term}} + \dots + (2n - 3) + (2n - 1) \\ &= (1 + (2n - 1)) + (3 + (2n - 3)) + \dots + (n + 1 - 1) \\ &= \underbrace{2n + 2n + \dots}_{\frac{n - 1}{2}} + n \\ &= 2n (\frac{n - 1}{2}) + n \\ &= n^{2} - n + n \\ &= n^{2} \end{aligned}

Just like that, we have found and proven that the formula for the partial sum i=1n(2i1)=1+3+5++(2n1)\sum_{i = 1}^{n} (2i - 1) = 1 + 3 + 5 + \dots + (2n -1) is n2n^{2}.

NB. We have implicitly assumed that the natural numbers N\mathbb{N} are comprised of even and odd positive numbers.

(ii) When no answer seems in sight, it is best to simply scribble and hope for an opening.

Nonetheless, while solving exercises from Chapter 1, one might notice that those preceding one were usually used to help solve it. With that in mind, a small hint for this exercise would be to look at the formula of exercise 1.1.

12++n2=n(n+1)(2n+1)6\begin{aligned} 1^{2} + \dots + n^{2} = \frac{n(n+1)(2n+1)}{6} \end{aligned}

Since we know the formula for the partial sum of squared natural numbers, would it not be convenient to subtract from it the sum of squared even numbers leading up to an odd number? You might say: But we would have to find the formula for the sum of squared even numbers! That would make two formulas to find! 'Deed that does make it two formulas to find. Let's get to work!

i=1n(2i1)2=12+32++(2n1)2=12+22++(2n2)2+(2n1)2(22+42++(2n4)2+(2n2)2)=(2n1)(2n1+1)(2(2n1)+1)6((21)2+(22)2++(2(n2))2+(2(n1))2)=(2n1)(2n)(4n2+1)622(12+22++(n2)2+(n1)2)=n(2n1)(4n1)34(n1)(n1+1)(2(n1)+1)6=n(2n1)(4n1)2n(n1)(2n1)3=n(2n1)((4n1)2(n1))3=n(2n1)(4n12n+2)3=n(2n1)(2n+1)3=n(4n21)3\begin{aligned} \sum_{i = 1}^{n} (2i - 1)^{2} &= 1^{2} + 3^{2} + \dots + (2n -1)^{2} \\ &= 1^{2} + 2^{2} + \dots + {(2n - 2)}^{2} + {(2n - 1)}^{2} \\ & \qquad - (2^{2} + 4^{2} + \dots + {(2n - 4)}^{2} + {(2n - 2)}^{2}) \\ &= \frac{(2n - 1)(2n - 1 + 1)(2 (2n - 1) + 1)}{6} \\ & \qquad - ({(2 \cdot 1)}^{2} + {(2 \cdot 2)}^{2} + \dots + {(2 \cdot (n - 2) )}^{2} + {(2 \cdot (n - 1))}^{2} ) \\ &= \frac{(2n - 1)(2n)(4n - 2 + 1)}{6} \\ & \qquad - 2^{2} ({1}^{2} + {2}^{2} + \dots + {(n - 2)}^{2} + {(n - 1)}^{2} ) \\ &= \frac{n(2n - 1)(4n - 1)}{3} - 4 \frac{(n - 1) (n - 1 + 1) (2(n - 1) + 1)}{6} \\ &= \frac{n(2n - 1)(4n - 1) - 2n (n - 1) (2n - 1)}{3} \\ &= \frac{n(2n - 1) ((4n - 1) - 2 (n - 1) )}{3} \\ &= \frac{n(2n - 1) (4n - 1 - 2n + 2 )}{3} \\ &= \frac{n(2n - 1) (2n + 1)}{3} \\ &= \frac{n (4n^{2} - 1)}{3} \end{aligned}
0
Submit a solution
Optional • Markdown

Sign in to share your solution for this question.

Sign in

Navigate

Q 2.2

Navigate

Q 2.2