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

Non-linear ODE's

  1. Aug 3, 2008 #1
    Hey folks,

    Does anyone have any experience with how to solve non-linear ODE's numerically, perhaps in mathematica??

    I am trying to solve the following equations:


    Where [tex]H_a[/tex] and [tex]H_b[/tex] are both functions of time and the K's are just constants.

    Any help appreciated!
  2. jcsd
  3. Aug 4, 2008 #2


    User Avatar
    Homework Helper

    Well it would be a lot easier to read if you had used the familiar general x,y algebra symbols instead of Ha, Hb.

    So this reduces to:
    [tex]3x^2 + 3xy = K_1[/tex]
    [tex]x' + 3x^2 + xy = K_2[/tex]
    [tex]y' + 3x^2 + 3xy = K_3[/tex]

    You can express xy in the first equation in terms of x and substitute it into the second equation and then you can simply separate the variables before integrating directly.

    Once you have x(t), just substitute it into the 3rd equation. You should be able to find an integrating factor now. I don't think there's a need for numerical solutions.
    Last edited: Aug 4, 2008
  4. Aug 4, 2008 #3
    You are right, I should have simplified it into more recognizable variables. I think this is a lot easier than I first though, thanks for pointing that our Defennder!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook