Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'initial conditions and DSolve' topicStudent Support Forum > General > Archives > "initial conditions and DSolve"

Next Comment >Help | Reply To Topic
Author Comment/Response
05/11/12 4:16pm

I'm new to mathematica, and I'm having problems with what would seem to be basic use of the DSolve function. When I type in the command

DSolve[y'[x] == x, y[x], x]

I get the result

{{y[x] -> x^2/2 + C[1]}}

which is what I should be getting. But then I try the same thing with an initial condition:

DSolve[{y''[x] == y[x], y[0] == 1, y'[0] == 1}, y[x], x]

And mathematica returns: 'No interpretations available'. This is especially puzzling because this equation, initial conditions, and syntax were taken directly from the Mathematica website, where it shows what should be the output:
{{y[x] -> e^x}}
Any help would be appreciated. I'm currently using Mathematica 8.0 if that matters. Thanks!

URL: ,

Subject (listing for 'initial conditions and DSolve')
Author Date Posted
initial conditions and DSolve Brian 05/11/12 4:16pm
Re: initial conditions and DSolve toen 05/12/12 00:01am
Next Comment >Help | Reply To Topic