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

Solving Second Order nonlinear-ODE with mathematica

  1. Nov 29, 2011 #1
    I am trying to solve a second order nonlinear eqn which is

    y''+3y'=1/(y^5), y'(0)=0, using mathematica.
    When I type
    DSolve[y''[x]+3*y'[x]=(1/(y[x])^5) ,y'[0]==0,y[x],x]; I get "second-order nonlinear ordinary differential equation" as a result.
    I don't understand what mistake I am making. I am not so much familiar to mathematica.

    Could You help me to solve this eqn.
  2. jcsd
  3. Nov 29, 2011 #2


    User Avatar
    Homework Helper

    Are you sure that this equation has an analytical solution? Try NDSolve instead.
  4. Nov 30, 2011 #3
    The output you got from Mathematica means:
    'Sorry, I did not find a symbolic solution for the problem'.
    As the previous answer suggests, you should probably use
    NDSove to find a numerical solution (for which graphical
    representations can easily be created by Mathematica).
    For this to work, you have to completely specify
    initial conditions (i.e. you have not only to specify
    an initial condition for y' but also one for y).
    Last edited: Nov 30, 2011
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook