I am currently trying to solve exercise 1.1 from Bishop's book Pattern Recognition and Machine Learning.
The exercise requires me to substitute $$y(x,\mathbf w) = \sum_{j=0}^M w_jx^j$$ into $$E(\mathbf w) = \frac{1}{2}\sum_{n=1}^N \{y(x_n,\mathbf w) -t_n\}^2 $$
and then differentiate with respect to $w_i$ and set to zero which leads to $$ \sum_{n=1}^N \biggl( \sum_{j=0}^M w_j x_n^j -t_n \biggr) x_n^i = 0$$
I can't figure out how to differentiate this, especially $y(x,\mathbf w)$, and where the sudden index $i$ in the result comes from.
Thx for help.