How to linearize ODEs Homework Statement

In summary, the conversation discusses a problem in classical mechanics involving an object in space collecting mass as it passes through a dust cloud. The resulting nonlinear ODE has a term involving (\dot{x})^{2} and the individual is unsure how to proceed. The equation can be solved best using a nonlinear state space representation, which is ideal for linearization and higher order expansions. The conversation also discusses using a Jacobian matrix and treating the state variables (x and v) as independent variables in order to find a linear approximation for the PDE. This approach can provide a solution for small perturbations around a particular point, as well as determine the stability of the system at that point.
  • #1
Phyisab****
586
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
  • #2
So you have an equation of the form

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

Try separation of variables.
 
  • #3
Ahhhh of course thanks!
 
  • #4
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.
 
  • #5
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.
 
  • #6
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.
 
  • #7
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.
 
  • #8
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.
 
  • #9
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.
 

Related to How to linearize ODEs Homework Statement

1. What is ODE and why is it important in science?

ODE stands for Ordinary Differential Equations and it is a mathematical tool used to describe the behavior of systems that change over time. It is important in science because many natural phenomena can be modeled and understood using ODEs, such as chemical reactions, population growth, and motion of objects.

2. What does it mean to linearize an ODE?

Linearization of an ODE means to approximate a nonlinear ODE with a linear one. This is often done to simplify the equation and make it easier to solve or analyze. It involves finding the linear approximation of the nonlinear terms in the equation.

3. Can any ODE be linearized?

No, not all ODEs can be linearized. Only certain types of ODEs, such as first-order or second-order linear equations, can be linearized. Nonlinear ODEs, such as those with products or powers of the dependent variable, cannot be linearized.

4. What are the advantages of linearizing an ODE?

The main advantage of linearizing an ODE is that it simplifies the equation and allows for easier analysis. Linear equations are often easier to solve and can provide insights into the behavior of the system. Linearization can also make it easier to approximate solutions and make predictions about the system's behavior.

5. Are there any limitations to linearizing an ODE?

Yes, there are limitations to linearizing an ODE. Linearization only provides an approximation of the true solution, so it may not be accurate for all values of the independent variable. Additionally, linearization may not capture all of the complex behavior of the system, especially for highly nonlinear equations. It is important to carefully consider the limitations when using linearization in scientific analysis.

Similar threads

Replies
4
Views
592
  • Calculus and Beyond Homework Help
Replies
2
Views
770
  • Calculus and Beyond Homework Help
Replies
7
Views
435
  • Calculus and Beyond Homework Help
Replies
2
Views
583
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
Replies
8
Views
347
  • Calculus and Beyond Homework Help
Replies
1
Views
929
  • Calculus and Beyond Homework Help
Replies
3
Views
559
  • Special and General Relativity
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
328
Back
Top