Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Stochastic ODE' topicStudent Support Forum > General > "Stochastic ODE"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
John Barber
10/05/01 7:15pm

In response to Tom Zeller's Response to my previous problem concerning the Stochastic ODE:

The error message is not the only problem. If it were, I wouldn't care, I'd just ignore the error message and use the result.
But the result itself is wrong. The reason I know that is the following:
My system of ODE's contains a random component, which means that the time derivative is a random number at each instant of time. That means that the value of the time derivative will jump around discontinuously as time progresses (roughly within certain bounds). Therefore the trajectory itself in the (q,p) plane will have two properties:
(1) it will look jagged.
(2) It will be different each time I solve the ODE.

The solutions generated by Mathematica satisfy (2) but not (1). I played around and studied the solutions a little, and discovered the following oddity: Apparently,
Mathematica evaluates the quantity
by instead evaluating the quantity
This is perfectly sound and logical. This means that when it encounters the quantity
Random[NormalDistribution[0, Sqrt[1/(1 + q[t]^2)]],
it sees it as
which is fine. The problem comes about because what it is doing is evaluating the Random[...] only ONCE, and keeping that value for the rest of it's numerics, and that is very wrong. It SHOULD be getting a new value of Random[...] at each iteration. This, in effect, changes my stochastic system of ODE's into a NON-stochastic system.

So the question remains: How can I get Mathematica to evaluate
many, many times as it iterates through the Runge-Kutta method (or whatever it's using)?
To repeat: If the solution, as plotted in the
(q,p) plane, does not look "jagged", something is wrong. As it stands, the solutions produced are smooth.

Thanks for any further help!
John Barber

URL: ,

Subject (listing for 'Stochastic ODE')
Author Date Posted
Stochastic ODE John Barber 09/13/01 3:47pm
Re: Stochastic ODE Forum Modera... 10/05/01 3:26pm
Re: Stochastic ODE John Barber 10/05/01 7:15pm
Re: Stochastic ODE Henry Lamb 10/15/01 03:45am
Re: Stochastic ODE John Barber 10/25/01 11:30am
Re: Stochastic ODE Henry Lamb 10/28/01 01:17am
Re: Stochastic ODE John Barber 10/29/01 10:45am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic