I just learnt that one of the axioms of a summation method for a divergent series is linearity: $$S[\sum_{n=0}^{\infty}(\alpha a_{n} + \beta b_{n})] = \alpha S[\sum_{n=0}^{\infty} a_{n}] + \beta S[\sum_{n=0}^{\infty} b_{n}]$$
However this stroke me as changing the order of the series (using associativity and commutivity), which the teacher was saying doesn't apply to divergent series! It seems like you are doing this: $$(\alpha a_{0}+\beta b_{0})+(\alpha a_{1}+\beta b_{1})+... \longrightarrow (\alpha a_{0}+\alpha a_{1}+...)+(+\beta b_{0}+\beta b_{1}+...)$$
In fact the series $1-1+1-1+...$ which by this general method sums to $\frac{1}{2}$ can be manipulated to sum to $0$ with this property it seems: $$S[\sum_{n=0}^{\infty}(1 + (-1) 1)] = S[\sum_{n=0}^{\infty} 1] + (-1) S[\sum_{n=0}^{\infty} 1]=0$$
What is the problem here?