I'm sorry if this seems like a very novice question, but I am still relatively new to the world of discrete math ( still in 9th grade). I've been reviewing some of the concepts I learned in a chapter from Concrete Mathematics (Graham,Knuth,Patashnik) about Sums, and I seem to have completely missed something that threw me off.
I remember going over this problem, so I decided to re-solve it just to make sure I was 100% percent sure I knew those concepts. But, I've been trying to get it for a while and I still cannot find out the answer to my problem.
The problem starts as follows:
\begin{equation} S = \sum_{0 \le k \le n} (a + bk) \end{equation}
Using the commutative law, the index $k$ can be re-written as $n-k$
\begin{equation} S = \sum_{0 \le (n-k) \le n} (a + b(n-k)) \end{equation}
And this can then equal
\begin{equation} S = \sum_{0 \le k \le n} (a + bn-bk) \end{equation}
My question is not as to how we got $a + bn - bk$, but as to why the index can change from $n-k$ to $k$ from the previous equation? Why and how can this be done?