Use the recursive definition of summation together with mathematical induction to prove that for all positive integers $n$ if $a_1, a_2,\ldots, a_n$ are real numbers, then
$$\sum_{k=1}^n(3a_k - 2k + 3) = 3\sum_{k=1}^na_k - n^2 + 2n.$$
Attempted Solution: I know how to check the base case ($n = 1$) of both the left and the right side to get $3a_1 + 1$.
For my inductive hypothesis, I got:
Assume for $j \ge1$, $\sum_{k=1}^j(3a_k - 2k + 3) = 3\sum_{k=1}^ja_k - j^2 + 2j$.
From the recursive definition of summation: $S_{j+1}= S_j + a_{j + 1}$.
After this I am lost. I don't know where to start, and unfortunately, my professor didn't have any notes about proving these with mathematical induction. Looking at the solutions manual I am even more confused. If anyone can look at his solution and kind of go step by step with me to tell me what he did or where he got things from, I would seriously appreciate it. I am especially having trouble knowing with what equations to set things up with, and how to change the $j$ on sigma to $j + 1$.
Teachers Solution:
$$\begin{align} S_{j+1} &= S_j + a_{j+1}\\ &=\sum_{k=1}^j(3a_k - 2k + 3) + 3a_{j+1}-2(j+1)+3\\ &= 3\sum_{k=1}^ja_k - j^2 + 2j + 3a_{j+1}-2(j+1)+3\\ &= 3\sum_{k=1}^{j+1}a_k - j^2 + 2j -2(j+1)+3\\ &= 3\sum_{k=1}^{j+1}a_k - (j+1)^2 + 2(j+1)\\ &=\text{Right Side}_{j+1} \end{align}$$
Therefore, $\sum_{k=1}^n(3a_k - 2k + 3) = 3\sum_{k=1}^na_k - n^2 + 2n.$.
Thank you for any help..