Solve BVP using Eigenfunction Expansion

bitty
Messages
11
Reaction score
0

Homework Statement


Solve BVP y''[x]-y[x]=Cos[2x] using eigenfunction expansion.
We know y'[0]=y'[Pi]=0

Homework Equations



Fourier it up

The Attempt at a Solution


Is the corresponding Sturm-Liouville problem:
f''[x]+/lambda*f=0?

All the examples we've done have been of form y''[x]+y[x]=g[x] but does a negative sign in front of y[x] change the corresponding S/L problem we use?

It follows that f[x]=Cosnx

Because I proceed to solve for y[x]=Sum[A_n*f[x]] and I find the coefficents and all but when I plot my Fourier expansion for y[x], it is very different from the actual result of y[x]. I'm guessing I wasn't supposed to use f''[x]+/lambda*f=0 to find my eigenfunction expansion, but I'm confused as to why I'm getting the wrong answer
 
on Phys.org
Edit: sorry i misunderstood
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
3K