Results 1 to 3 of 3

Math Help - Differential equation mathematica

  1. #1
    Newbie
    Joined
    Jul 2010
    Posts
    16

    Differential equation mathematica

    Hello.

    I am typing this in mathematica:
    DSolve[y'[x] == y[x]*x^-1 + 1, y[x], x]

    I want the answer to be:
    {{f[x] -> x*log[x]+C[1]*x}}


    But it says this:

    "DSolve::deqn: Equation or list of equations expected instead of True in the first argument True. >>

    DSolve[True, y[x], x]"

    What do I do wrong?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by rousfv View Post
    Hello.

    I am typing this in mathematica:
    DSolve[y'[x] == y[x]*x^-1 + 1, y[x], x]

    I want the answer to be:
    {{f[x] -> x*log[x]+C[1]*x}}


    But it says this:

    "DSolve::deqn: Equation or list of equations expected instead of True in the first argument True. >>

    DSolve[True, y[x], x]"

    What do I do wrong?
    Try one or both of:

    DSolve[{y'[x] == y[x]*x^-1 + 1}, y[x], x]

    or:

    DSolve[y'[x] - y[x]*x^-1 + 1==0, y[x], x]

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jul 2010
    Posts
    16
    Thank you a lot
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. How to plot this equation in Mathematica
    Posted in the Math Software Forum
    Replies: 1
    Last Post: December 6th 2011, 04:16 PM
  2. Replies: 5
    Last Post: August 9th 2010, 12:53 PM
  3. Differential Eqns in Mathematica help please
    Posted in the Math Software Forum
    Replies: 0
    Last Post: April 8th 2010, 09:21 PM
  4. Replies: 0
    Last Post: April 16th 2009, 08:23 AM
  5. Graphing a differential equation in mathematica?
    Posted in the Math Software Forum
    Replies: 0
    Last Post: April 7th 2009, 09:10 PM

Search Tags


/mathhelpforum @mathhelpforum