
I am having a little trouble understanding what I have to actually do here. What does differentiate with respect to bn? I thinks after differentiation I must use some calculus theorem about extreme but how do I get there?

I am having a little trouble understanding what I have to actually do here. What does differentiate with respect to bn? I thinks after differentiation I must use some calculus theorem about extreme but how do I get there?
Copyright © 2021 JogjaFile Inc.
If $v_1,…,v_n$ are orthogonal vectors wrt. some scalar product and its norm, then $$ \|y-(c_1v_1+…+c_nv_n)\| $$ gets minimized by the orthogonal projection of $y$ onto the subspace spanned by $v_1,…v_n$. Which means that the coefficients are obtained as $$ c_k=\frac{\langle y,v_k\rangle}{\|v_k\|^2} $$