Definition

Assume that  is an Orthonormal Set A function  can be represented by a linear combination of 
, where : generalized Fourier series

Facts

Best approximation in the mean

Let  and  an orthonormal set and 
 where 
Therefore, the best approximation in the mean to  is