The Math Forum

Search All of the Math Forum:

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

Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Pag Max

Posts: 13
Registered: 5/16/11
Re: ordinary differential equations
Posted: Jan 23, 2012 11:56 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks Roger,
No f and g are not inverse of each other but I realize I can reframe my problem
x2_dd=inv_f (x1_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$>...
> "Pag Max" wrote in message <jfjpo1$1bp$>...
> > 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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.