Question about simplification in summation I am reading a book where the following example is shown.
$$= \sum_{0\le n-j\le n} (a+b(n-j)) $$
$$= \sum_{0\le j\le n} (a+bn-bj) $$
Why is n-j being simplified to j? I don't understand why this is possible? To specify my question, what rule of simplification is being used for the part under the summation sign.

Addition is commutative so the order in which you add up the terms $a_0, a_1,...,a_n$ doesn't matter.
So saying $\sum_{0\le j \le n} a_j$ doesn't necessarily mean you must add them up in the exact order from $a_0$ first to $a_n$ last.   What it really means is $\sum_{j \in \{0,1,.....,n\}} a_j$, i.e. the indexed terms $a_j$ are such that $j$ is between $0$ and $n$ and the terms are, in any order, $a_0,....a_n$.
Notice: $0 \le j \le n \iff 0 \le n - j \le n$.  So the set of terms where $j \in \{0,....,n\}$ is the set of terms where $n - j \in \{0,...,n\}$.
So $\sum_{0\le j \le n} a_j = \sum_{0 \le n- j \le n} a_j$.
And to convince ourselves of that we note:
$\sum_{0\le j \le n} a_j = a_0 + a_1 + .... + a_n$
while
$\sum_{0 \le n- j \le n} a_j = a_n + a_{n-1} + .... + a_0$ and we can see they are the same, just with the order of addition reversed.
This might seem silly and  pointless but relabeling can lead to radically different interpretations.
In this example for instance:
$\sum_{0 \le j \le n}(a + bn - bj)$ is a pretty complex looking sum.  But as the group $j \in \{0,.....n\}$ is the same as the group $n - j \in \{0,....,n\}$ we can regroup/reindex the sum as
$\sum_{0 \le n - j \le n}(a + bn - bj) =$
$\sum_{0 \le n-j \le n}(a + b(n - j))$
Now indexing is indexing.  If we simply rewrite $n - j = k$ it doesn't matter if we refer to $a_{n-j}$ as $a_{n-j}$ or as $a_k$.
So $\sum_{0 \le n-j \le n}(a + b(n - j))=$
$\sum_{0 \le k = n-j \le n}(a + b(n - j))=$
$\sum_{0 \le k = n-j \le n}(a + bk)=$
$(a + b*0) + (a + b*1)+ ..... + (a + k*n)=$
$(a + a + a + ..... + a) + b(0+1+2 +3.....) = $
$(n+1)a + b\sum_{0\le k \le n}k$
Which is a much "tighter " sum.
In fact we can take this a "reindexing" a step further and solve $\sum_{0\le k \le n} k$ as:
Let $N = \sum_{0\le k \le n} k = \sum_{0\le n - k \le n} k = \sum_{0\le n - k \le n} (n -k) = \sum_{0\le k \le n} (n-k)$
So $2N = \sum_{0\le k \le n} k + \sum_{0\le k \le n} (n-k)= \sum_{0\le k \le n} [k + (n-k)] = \sum_{0\le k \le n} n = n(n+1)$
So $\sum_{0 \le k \le n}k = N = n(n+1)/2$.
So $\sum_{0 \le j \le n}(a + bn - bj) = (n+1)a + bn(n+1)/2 = (n+1)(a + bn)/2$
