Message Boards Message Boards

0
|
5612 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Intial conditions for ODE

Posted 10 years ago

When I enter the command

 DSolve[{3*x*y'[x]-y[x]==log[x]+1, y[1]==-2}, y[x],x] 

the program gives me interpretation is unavailable, any suggestions?

POSTED BY: omar Aljawhary
3 Replies
Posted 10 years ago

I found the problem I was using free form input rather than using Mathematica input, thank you .

POSTED BY: omar Aljawhary
Posted 10 years ago

Thanks Mario, I tried the same form you provided, but it considers the expression as Log[x]=0 and gives me the answer x=1, neglecting the DSolve operator. By the way I am using Mathematica 9.

POSTED BY: omar Aljawhary
Posted 10 years ago

Leave a space between 3x and y'[x] and write Log with capital L, see what I get in Mathematica 7:

In[1]:= DSolve[{3 x y'[x] - y[x] == Log[x] + 1, y[1] == -2}, y[x], x]

Out[1]= {{y[x] -> -4 + 2 x^(1/3) - Log[x]}}

POSTED BY: Mario Gianini
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract