Solving Non-Linear ODE's in Mathematica

  • Context: Graduate 
  • Thread starter Thread starter robousy
  • Start date Start date
  • Tags Tags
    Non-linear
Click For Summary
SUMMARY

This discussion focuses on solving non-linear ordinary differential equations (ODEs) using Mathematica. The equations presented involve two functions, H_a and H_b, which can be simplified to x and y for easier manipulation. The solution approach includes expressing one variable in terms of another, substituting it into the second equation, and then separating variables for direct integration. The participants conclude that numerical solutions are unnecessary for this problem, as a straightforward analytical solution is achievable.

PREREQUISITES
  • Understanding of non-linear ordinary differential equations (ODEs)
  • Familiarity with Mathematica software
  • Knowledge of variable substitution and integration techniques
  • Basic algebraic manipulation skills
NEXT STEPS
  • Explore Mathematica's built-in functions for solving ODEs
  • Learn about variable substitution methods in differential equations
  • Study techniques for separating variables in non-linear ODEs
  • Investigate integrating factors for solving first-order differential equations
USEFUL FOR

Mathematicians, physicists, and engineers who are working with non-linear ordinary differential equations and seeking analytical solutions using Mathematica.

robousy
Messages
332
Reaction score
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:

[tex] 3H_a^2+3H_aH_b=K_1[/tex]
[tex] \dot{H}_a+3H_a^2+H_aH_b=K_2[/tex]
[tex] \dot{H}_b+3H_a^2+3H_aH_b=K_3[/tex]

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!
 
Physics news on Phys.org
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:
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!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K