Finding Non-trivial solutions to ODE in Mathematica

  • Thread starter sci-phy
  • Start date
  • #1
17
0

Main Question or Discussion Point

For an ODE of order 2 like:

X'' + λ*X = 0, how do I find the non-trivial solution in Mathematica 8? It's giving me only the trivial solution.

In: ComplexExpand [DSolve[{u''[x] + \[Lambda]^2 u[x] == 0, u[0] == 0, u[a] == 0}, u[x], x]]

and the out: u[x]--> 0 which is the trivial soln

Thanks
 

Answers and Replies

  • #2
fzero
Science Advisor
Homework Helper
Gold Member
3,119
289
You've set ##u(a)=0## without placing any conditions on ##a##. Try using rewriting ##a## in terms of an appropriate multiple of ##\lambda##.
 

Related Threads for: Finding Non-trivial solutions to ODE in Mathematica

Replies
9
Views
995
Replies
3
Views
3K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
0
Views
3K
Replies
7
Views
1K
Top