Showing fourier coefficients reduce mean square error best

Click For Summary

Homework Help Overview

The discussion revolves around demonstrating that a finite Fourier approximation is the optimal approximation for a given function. The original poster is tasked with showing that the Fourier coefficients minimize the mean square error in approximating a function using a set of orthogonal and normalized functions.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the mean square error expression and is exploring the implications of orthogonality in their calculations. Some participants question the accuracy of the original poster's algebraic manipulation and suggest verifying the squaring of the error term. Others propose substituting the Fourier coefficients into the error expression to show that they minimize the error.

Discussion Status

The discussion is ongoing, with participants providing hints and suggestions for algebraic manipulation. There is a focus on clarifying the relationship between the Fourier coefficients and the coefficients used in the approximation. While some guidance has been offered, there is no explicit consensus on the next steps or the correctness of the current approach.

Contextual Notes

The original poster expresses frustration with their progress and indicates a lack of clarity on how to simplify their expression for the mean square error. There is an emphasis on ensuring the correct substitution of terms in the error expression.

eschiesser
Messages
17
Reaction score
0

Homework Statement


So I'm supposed to show that a finite Fourier approximation is the optimal approximation for a given function.
I am to suppose we have a given set of functions [tex]\phi _k(x),k=1,2,\text{...}N[/tex] defined on [tex]a\leq x\leq b[/tex].

They are orthogonal [tex]\int _a^b\phi _m(x)\phi _n(x)dx=0 \text{ for } m\neq n[/tex]

and are normalized [tex]\int _a^b\left[\phi _m(x)\right]{}^2dx=1[/tex]

a general approximation for f(x) in terms of these N functions is
[tex]f_{\text{app}} (x)=\sum _{m=1}^N \gamma _m\phi _m(x)[/tex]

One possible choice of coefficients is the Fourier coefficients defined by:
[tex]f_m=\int _a^bf(x)\phi _m(x)dx[/tex]

The mean square error is defined as:

[tex]E=\int_a^b \left[f(x)-f_{\text{app}} (x)\right]{}^2 \, dx=\int_a^b \left[f(x)-\sum _{m=1}^N \gamma _m\phi _m(x)\right]{}^2 \, dx[/tex]

I am supposed to show that the Fourier coefficients would be the optimal choice of [tex]\gamma _m[/tex] to minimize E

The Attempt at a Solution


Thus far, I have carried out the square in the integrand of the error term, used the idea of orthogonality, and substituted the Fourier coefficients in for gamma, but from there I am stuck! Here is what I have...

[tex]E=\int _a^b[f(x)]^2dx-2\int _a^bf(x)\left[\sum _{m=1}^N \int _a^bf(x)\phi _m(x)dx\right]\phi _m(x)dx+\left[\sum _{m=1}^N \int _a^bf(x)\phi _m(x)dx\right]{}^2[/tex]

From here, I am stuck! is there some kind of simplification that I am missing? this is very frustrating. Any help/nudge would be appreciated.

-Eric
 
Physics news on Phys.org
Double check your squaring of [tex]\left[f(x)-\sum _{m=1}^N \gamma _m\phi _m(x)\right]{}^2[/tex] because your last formula for E looks suspect. Did you confuse f_m and gamma_m?



The key trick (eventually) is to use [tex]-2\gamma_m f_m+\gamma_m^2 = -f_m^2 + (f_m - \gamma_m)^2[/tex]
 
if I am understanding the problem correctly, which is not an assumption I would bet any substantial amount of money on, I thought that the point was to show that [tex]f_m[/tex] is the best substitution for [tex]\gamma_m[/tex], e.g. show that [tex]f_m=\gamma_m[/tex] reduces E better than any other substitution for [tex]\gamma_m[/tex].

So I everywhere I see [tex]\gamma_m[/tex] i want to substitute the expression for [tex]f_m[/tex] and show somehow that this is minimizes E, correct?
 
No, wait until the end to imagine replacing gamma_m with f_m. Do the algebra I suggested and you should end up with an expression

E = expression involving both gamma_m and f_m

If you do enough algebra (correctly), you will see that this E is clearly minimized when gamma_m = f_m.

Sorry I'm being vague. It's not really too hard.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
12
Views
7K
  • · Replies 2 ·
Replies
2
Views
1K