Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Finding Non-trivial solutions to ODE in Mathematica

  1. Sep 14, 2013 #1
    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
     
  2. jcsd
  3. Sep 14, 2013 #2

    fzero

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    You've set ##u(a)=0## without placing any conditions on ##a##. Try using rewriting ##a## in terms of an appropriate multiple of ##\lambda##.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook