2 ms·
> As for the math, there really is no other way to convince yourself that sin(x) and sin(2x) are orthogonal with respect to the product int(f,g,[0,2pi]) other t
by mkl 7y ago
> As for the math, there really is no other way to convince yourself that sin(x) and sin(2x) are orthogonal with respect to the product int(f,g,[0,2pi]) other than to try it out https://live.sympy.org/?evaluate=integrate(%20sin(x)*sin(2*x.. https://live.sympy.org/?evaluate=integrate(%20sin(x)*sin(2*x.... Try also with sin(3x) etc. and cos(n*x) etc.
I disagree with that. It's pretty easy to prove it in general by calculating \int_0^{2\pi} sin(mx)sin(nx) dx etc. for m ≠ n.
- ivan_ah 7y agoI would count an analytic solution as in the "trying out" category (actually the best kind of trying out!). The "no other way..." was referring to me not having an intuitive explanation to offer about why an sin(x) and sin(2x) are orthogonal.