Could anyone kindly inform me one more time the origin of the scalar multiple in finding Fourier coefficients? I know these are supposed be inner product, but I don't remember a scaling there.

Also, chap 4.3 remark 2 has some obvious typo. (Somewhere 2's in $L^2$'s are missing).