Approximating function by trigonometric polynomial

ekkilop
Messages
29
Reaction score
0
Hi!

Say that we wish to approximate a function f(x), \, x\in [0, 2\pi] by a trigonometric polynomial such that

f(x) \approx \sum_{|n|\leq N} a_n e^{inx} \qquad (1)

The best approximation theorem says that in a function space equipped with the inner product

(f,g) = \frac{1}{2 \pi} \int_0^{2\pi} f \bar{g} dx

the best possible approximation is the truncated Fourier series of the function, which follows from the orthonormality of the basis functions \{ e^{inx} \}. But what happens if we wish to consider a smaller interval, say x \in [0, \pi/2], and a corresponding inner product

(f,g) = \frac{2}{\pi} \int_0^{\pi/2} f \bar{g} dx

but still use the functions \{ e^{inx} \} (no longer orthonormal) in our approximation (1)? We could of course use the Fourier coefficients for all n that are multiples of 4 and set the rest to zero to get the corresponding Fourier series, but this is no longer the best possible approximation. So my question is basically, what would the best approximation be in this case?

Thank you!
 
Physics news on Phys.org
$$\frac{\partial (f,g)}{\partial a_n} = 0$$ for all ##a_n## is a natural result of an optimal solution. Analyzing this equation could give some interesting results.
 
Thank you mfb for your reply!

Yes, that was my original idea as well. If g is the approximation in the RHS of (1), then I reasoned that the optimal result should be when (f-g) \perp f. However, (f-g, f) is a linear function in the coefficients a_n so there are no extrema (I am assuming the coefficients are independent of x). Or perhaps I misunderstood something?
 
Ah, small fix:
I would expect that you want to minimize (f-g,f-g). As the inner product is linear in its arguments, (f-g,f-g) = (f,f) + (g,g) - (f,g) - (g,f) = (f,f) + (g,g) - 2 Re (f,g)
(f,f) is fixed, the other two parts depend on an and the expression should be minimal with respect to all an. The (g,g) part gives a nonlinearity with a proper minimum.
 
A sphere as topological manifold can be defined by gluing together the boundary of two disk. Basically one starts assigning each disk the subspace topology from ##\mathbb R^2## and then taking the quotient topology obtained by gluing their boundaries. Starting from the above definition of 2-sphere as topological manifold, shows that it is homeomorphic to the "embedded" sphere understood as subset of ##\mathbb R^3## in the subspace topology.

Similar threads

Back
Top