Problem solving 2nd order ODE not for the faint of heart

Click For Summary
SUMMARY

The discussion focuses on solving a set of second-order ordinary differential equations (ODEs) related to cosmology, specifically equations involving Hubble constants H_a and H_b. The equations are derived from a research paper and involve the variable density function ρ. The user, Richard, seeks to solve these equations using Mathematica's DSOLVE function but encounters issues with variable solutions. The primary goal is to plot the functions a(t) and b(t) based on the derived solutions.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with Hubble's law and cosmological models
  • Proficiency in using Mathematica, specifically the DSOLVE function
  • Knowledge of variable density functions in cosmology
NEXT STEPS
  • Research the implementation of DSOLVE in Mathematica for solving complex ODEs
  • Study the derivation of equations from the referenced paper (arXiv:0707.1062)
  • Explore numerical methods for solving ODEs when analytical solutions are not feasible
  • Learn about plotting functions in Mathematica to visualize a(t) and b(t)
USEFUL FOR

Researchers in cosmology, mathematicians specializing in differential equations, and users of Mathematica looking to solve complex ODEs.

robousy
Messages
332
Reaction score
1
Problem solving 2nd order ODE...not for the faint of heart!

Hey folks,

I'm having problems solving the following set of ODE's:

[tex]3H_a^2+H_b^2+6H_aH_b=k_1\rho[/tex] eq.1

[tex]\dot{H_a}+3H_a^2+2H_aH_b=k_2\rho[/tex] eq.2

[tex]\dot{H_b}+2H_b^2+3H_aH_b=k_3\rho[/tex] eq.3

These are cosmological equations. Note, [itex]\rho=\frac{1}{b^6}(1-b^2+b^4)[/itex], also the H's are Hubbles constant in a and b, eg

[tex]H_a=\frac{\dot{a}}{a}[/tex]

[tex]H_b=\frac{\dot{b}}{b}[/tex]

The a's and b's are functions of t (time) and the k's on the RHS are just constants. I want to put this all together and ultimately plot a as a function of t and b as a function of t.

The equations originate from the paper: http://arxiv.org/abs/0707.1062 , equations 9,10,11 and I am trying to duplicate the plots in fig1.

What I'm thinking:

Solve eqtn 1 for [itex]H_a[H_a] using the quadratic eqtn then plug that into 3 and use DSOLVE in mathematica.<br /> <br /> Can anyone let me know if this is the correct approach. <br /> <br /> Thanks in advance!<br /> <br /> <br /> Richard[/itex]
 
Last edited:
Physics news on Phys.org
Actually I tried the above

and mathematica tells me Solve::svars: Equations may not give solutions for all "solve" variables
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K