Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: ordinary differential equations
Replies: 5   Last Post: Jan 24, 2012 4:45 AM

 Messages: [ Previous | Next ]
 Pag Max Posts: 13 Registered: 5/16/11
Re: ordinary differential equations
Posted: Jan 23, 2012 11:56 PM

Thanks Roger,
No f and g are not inverse of each other but I realize I can reframe my problem
as
x2_dd=inv_f (x1_dd)
and
x1_dd=inv_g(x2_dd),

This was confusing me but I guess you are right, ode is probably not appropriate. What about ode15i as Torsten suggested. Can this be treated as implicit ode.

"Roger Stafford" wrote in message <jfkjve\$8b4\$1@newscl01ah.mathworks.com>...
> "Pag Max" wrote in message <jfjpo1\$1bp\$1@newscl01ah.mathworks.com>...
> > I have a set of ode something like
> >
> > x={x1,x2}
> >
> > x1_dd=f(x2_dd)
> > and
> > x2_dd=g(x1_dd)
> > .......

> - - - - - - - - - -
> In the two equations, "x2_dd=g(x1_dd)" and "x1_dd=f(x2_dd)", either 'f' and 'g' are inverses of one another or they are not. If the first is true, then there is not sufficient information present to solve the differential equations. You would have in effect only one equation with two unknowns. A ridiculous example of this would be:
>
> dx/dt = 2*dy/dt
> dy/dt = 1/2*dx/dt
> x(0) = 3
> y(0) = -2
>
> Now solve for x(t) and y(t). As you can easily see, there is a vast infinitude of possible solutions since dy/dt could be any function of t whatever, as long as dx/dt were twice that.
>
> On the other hand if 'f' and 'g' are not inverses of one another, there is presumably only one or at least only a finite set of constant number pairs that are possible values for x1_dd and x2_dd, in which case you are dealing with a trivial problem of linear functions of the independent variable where the derivatives are constants.
>
> In neither of the above situations is the use of 'ode' functions appropriate.
>
> Roger Stafford

Date Subject Author
1/23/12 Pag Max
1/23/12 Torsten
1/23/12 Roger Stafford
1/23/12 Pag Max
1/24/12 Roger Stafford
1/24/12 Pag Max