Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 4th order DE, NDSolve no solution, why?

  • To: mathgroup at
  • Subject: [mg15813] Re: 4th order DE, NDSolve no solution, why?
  • From: Paul Abbott <paul at>
  • Date: Fri, 12 Feb 1999 18:39:36 -0500 (EST)
  • Organization: University of Western Australia
  • References: <79jcmg$>
  • Sender: owner-wri-mathgroup at

Kevin J. McCann wrote:

> That is the first I have seen.  Wonder where I got the idea?  I guess I
> was thinking about eigenvalue problems like
> y''[x] + y[x] == 0, y[0]==0,y[1]==0
> Which NDSolve will do, but it gives y=0 only, not all of the other
> possibilities.

Actually, NDSolve is correct to return y=0 for this problem.  However, I
think you are thinking of

	DSolve[{y''[x]+y[x]==0, y[0]==0, y[Pi]==0}, y[x], x]

which NDSolve can solve.  However, it does not return the general
solution to 

	DSolve[{y''[x]+ n^2 y[x]==0, y[0]==0, y[Pi]==0}, y[x], x]


Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul at  AUSTRALIA              

            God IS a weakly left-handed dice player

  • Prev by Date: Re: Q: Why can't I stop TraditionalForm dismissing Times Attributes ?
  • Next by Date: Mathematica vs. Executable code
  • Previous by thread: Re: 4th order DE, NDSolve no solution, why?
  • Next by thread: Re: Block vs. Module