Finding Non-trivial solutions to ODE in Mathematica

  • Context: Graduate 
  • Thread starter Thread starter sci-phy
  • Start date Start date
  • Tags Tags
    Mathematica Ode
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
sci-phy
Messages
17
Reaction score
0
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
 
Physics news on Phys.org
You've set ##u(a)=0## without placing any conditions on ##a##. Try using rewriting ##a## in terms of an appropriate multiple of ##\lambda##.
 
  • Like
Likes   Reactions: 1 person