Linear Algebra and Its Applications · Problem 3.4.21

Orthogonality — Gilbert Strang

Mathematics · fourier-approximation-functions

Problem

What is the closest function acos⁡x+bsin⁡xa\cos x + b\sin x to the function f(x)=sin⁡2xf(x) = \sin 2x on the interval from −π-\pi to π\pi? What is the closest straight line c+dxc + dx?

Related theory

Browse the problem library