How to linearize ODEs Homework Statement

  • Thread starter Thread starter Phyisab****
  • Start date Start date
  • Tags Tags
    Linearize Ode
Click For Summary

Homework Help Overview

The discussion revolves around a nonlinear ordinary differential equation (ODE) arising from a classical mechanics problem involving an object in space collecting mass while passing through a dust cloud. The original poster expresses uncertainty about the equation's complexity and seeks guidance on how to linearize it.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to simplify the problem by assuming constant acceleration, leading to questions about the nonlinear term involving velocity. Some participants suggest using separation of variables and numerical integration methods, while others discuss the appropriateness of approximations and the physical implications of the assumptions made.

Discussion Status

Participants are exploring various methods for linearization and approximation, including the use of state space representations and Jacobian matrices. There is an ongoing examination of the assumptions and the physical context of the problem, with no explicit consensus reached on a single approach.

Contextual Notes

There is a noted concern about the appropriateness of assuming constant acceleration without physical justification. The original poster is under the impression that an analytical solution is required, despite the complexity of the nonlinear equations involved.

Phyisab****
Messages
584
Reaction score
2

Homework Statement



A problem in classical mechanics, dealing with an object in space collecting mass as it passes through a dust cloud has led me to the following nonlinear ODE. I'm quite sure it is the correct equation, my old man checked it out. But being the engineer he is, he would just go ahead and solve it numerically, so he didn't have any advice past this point :smile:.

[tex]A\rho(\dot{x})^{2}+m_{0}\ddot{x}+A\rho x \ddot{x}=0[/tex]

The Attempt at a Solution



So my idea was to assume [tex]\ddot{x}=constant[/tex] (which left me fewer things to worry about than a second order Taylor expansion). That seems like an ok approximation to me. But I'm still left with a term involving [tex](\dot{x})^{2}.[/tex] That still qualifies as nonlinear right? I rarely encounter nonlinear equations, I'm really out of my area of knowledge here! So even with my approximation I am left with an equation with a form I have never seen before.

[tex](\dot{x})^{2}+xa=\frac{m_{0}a}{A\rho}[/tex]Any ideas? This is really quite baffling to me. I don't have slightest idea how to proceed. I don't think a simple integrating factor is going to take care of this thing.
 
Last edited:
Physics news on Phys.org
So you have an equation of the form

[tex]\frac{dx}{dt}= \pm\sqrt{a(k-x})}[/tex]

Try separation of variables.
 
Ahhhh of course thanks!
 
Phyisab**** said:
Any ideas? This is really quite baffling to me. I don't have slightest idea how to proceed. I don't think a simple integrating factor is going to take care of this thing.

It's not correct to assume that [tex]{{d^2x}\over{dt^2}}[/tex] is constant. You would be forcing a constraint with no physical justification. The physics implied in the equation will dictate the time evolution of [tex]x[/tex], [tex]{{dx}\over{dt}}[/tex] and [tex]{{d^2x}\over{dt^2}}[/tex]. These equations can be solved best using a nonlinear state space representation as follows.

[tex]{{dx}\over{dt}}=v[/tex]
[tex]{{dv}\over{dt}}={{-v^2}\over{m_o/A\rho + x}}[/tex]

From here you need initial conditions for both [tex]x[/tex] and [tex]v[/tex].

These equations can be solved using numerical integration which propagates the solution forward in time. The critical system variables (x and v, sometimes called the states) fully describe the state of the system. Once you know the time evolution of these two variables, you can calculate anything else from them. Perhaps there is a closed form solution for this system of equations, but I don't see it. In such cases, I'm like your Father and would just plug these equations into Matlab or Simulink for a quick solution.
 
Well clearly it's not ideal, but I'd say it's better than any other option. We don't solve things numerically in undergrad physics lol. So my only choice is to make some kind of approximation. I will see if I can include a higher order term from the taylor expansion, that's the best I'm going to be able to do.
 
From the wording of the problem, a spaceship flying through a dust cloud, expanding about the acceleration is more reasonable than velocity or position. Which are the only two other options. I definitely am supposed to find some approximate form of the equation which can be solved analytically, not just come up with an unsolvable equation.
 
Phyisab**** said:
Well clearly it's not ideal, but I'd say it's better than any other option. We don't solve things numerically in undergrad physics lol. So my only choice is to make some kind of approximation. I will see if I can include a higher order term from the taylor expansion, that's the best I'm going to be able to do.

I understand what you're saying. The nonlinear state space form I showed is ideal for doing linearization, and higher order expansions too. Often a linear state space system is made from the nonlinear state space system by generating a Jacobian matrix, essentially making the linear coefficients of the matrix from the first partial derivatives.
 
Phyisab**** said:
From the wording of the problem, a spaceship flying through a dust cloud, expanding about the acceleration is more reasonable than velocity or position. Which are the only two other options.

In my experience, linearization is typically done around the state variables of the system. In this case x and v are the state variables.

Phyisab**** said:
I definitely am supposed to find some approximate form of the equation which can be solved analytically, not just come up with an unsolvable equation.

One thing I'd like to be clear about is that I'm not sure that those equations are unsolvable. I can only say that I don't see a solution and my gut feeling is that they aren't solvable in closed form.
 
So you're suggesting I expand v about v0? I know what a Jacobian matrix is but I've never seen it used like this, I can see how it would be used to find a linear approximation for a PDE.
 
  • #10
By using a Jacobian matrix I would basically be treating x and v and independent variables? How would the resulting approximation be different from expanding with respect to one of these variables?
 
  • #11
Phyisab**** said:
By using a Jacobian matrix I would basically be treating x and v and independent variables? How would the resulting approximation be different from expanding with respect to one of these variables?

I think by expanding around all independent variables of the system (i.e. all state variables) your approximate solution is more likely to have physical meaning and to be useful. Basically, you are linearizing around a particular state of the system (say, x=x0 and v=vo). The linearized equations allow an approximate solution for small perturbations around that point. It's also meaningful to look at the stability of the system at that point.

In your problem, one of the state equations is already linear, while the other can be linearized. You can think of the state variables (x,v) as a constant operating point (x0,v0) plus small difference variables (X,V), as follows.

x=x0+X
v=v0+V

Your linearized state equations will be in term of variables X and V, while the linear constant coefficients in the two state equations will be functions of x0 and v0.
 

Similar threads

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