Symbolically eliminating variables from a set of 1st order ODEs to obtain a single higher order ODE

2 visualizaciones (últimos 30 días)
I wonder if it is possible in MATLAB to symbolically eliminate variables from a set of first order ODEs in order to obtain a higher-order ODE for a single variable. So not actually solving for the variable, but just constructing the single equation.
For example, take the simple serial RLC circuit connected to a voltage source. One could write a set of equations like this:
When eliminating variables from the set of these equations, one could write a single 2nd order differential equation for a selected variable, e.g.:
So is it possible to come to this final equation directly using MATLAB from the set of the equations written above?
Thank you!
  1 comentario
David Goodmanson
David Goodmanson el 22 de Jul. de 2020
Hi LIpa,
In a set of linear equations (fixed R,L,C, op amp gain, etc.) the answer is yes, although the answers get increasingly complicated. In that case you can replace each nth derivative with (iw)^n or(jw)^n depending on your background, then come up with a large polynomial, then take all the resulting (iw)^n back to derivatives. That is doable, but with, say, the Lagrange equations for several variables in spherical coordinates, reducing the equation to a high order differential equation in one variable quickly leads to a total morass. It's not worth it. Anyway, if you want to solve the equations, the practical method is in the other direction, to convert all the higher order equatiions down to a set of first order differential equations.

Iniciar sesión para comentar.

Respuestas (1)

Ahmed Rehan
Ahmed Rehan el 22 de Jul. de 2020
It seems doable using Laplace transform. But the final equation might need to be converted back using symbolic conversions.

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by