Solving a system of two nonlinear second order ODEs (Mechanical vibrations)

In summary: However, even for linear systems there are a lot of schemes out there that can be applied depending on the situation. For example the conjugate gradient method is a scheme that is often used when the system is linear and the solution is analytic.
  • #1
Bartok
3
0
I was wondering what the common methods for solving such a system are:

[itex]2 m \ddot{x} - m l \ddot{θ} θ + k x = 0[/itex]
[itex]m l^{2} \ddot{θ} - m l \ddot{x} θ + m g l θ = 0[/itex]
 
Physics news on Phys.org
  • #2
You have probably already used the assumption of small angles: [itex]\sin(\theta)\approx\theta[/itex]
Since theta is small, you can neglect all products like [itex]\theta^{2}[/itex] but also [itex]\theta\cdot\ddot{\theta}[/itex]
 
  • #3
Hey Bartok and welcome to the forums.

Do you need an analytic solution? Even if this is required, it would be beneficial if you simulated the system of equations using a numerical integration scheme. Have you come across these?
 
  • #4
bigfooted said:
You have probably already used the assumption of small angles: [itex]\sin(\theta)\approx\theta[/itex]
Since theta is small, you can neglect all products like [itex]\theta^{2}[/itex] but also [itex]\theta\cdot\ddot{\theta}[/itex]

Yes, I have used the [itex]\sin(\theta)\approx\theta[/itex] assumption but I don't think the [itex]\theta\cdot\ddot{\theta}[/itex] could also be neglected without prior info about the order of [itex]\ddot{\theta}[/itex].

chiro said:
Hey Bartok and welcome to the forums.

Do you need an analytic solution? Even if this is required, it would be beneficial if you simulated the system of equations using a numerical integration scheme. Have you come across these?

Thank you.

Not necessarily looking for an analytic solution. Just wanted to know about the available options. Got a deadline coming up and got to solve this somehow!
Could you explain a bit about the numerical solution as how to approach a system like this or link me to some resources? I derived it in a nonlinear vibrations problem which I'm quite new to.
 
  • #5
Bartok said:
Not necessarily looking for an analytic solution. Just wanted to know about the available options. Got a deadline coming up and got to solve this somehow!
Could you explain a bit about the numerical solution as how to approach a system like this or link me to some resources? I derived it in a nonlinear vibrations problem which I'm quite new to.

The basic idea for a lot of the schemes is that you make use of more terms corresponding to those of the taylor series expansion of the function. It's not exactly using these but what happens is that the scheme tries to eliminate so many lower order terms so that the error term is higher than all these terms. For example O(x^5) means that all the powers of x < 5 have been handled by the scheme and the lowest error term relates to the fifth power of your independent variable (this is a 1D example, but the same idea holds in more dimensions).

The taylor series gives a way to represent a function as a series in term of the evaluation of derivatives at a certain point: basically if we know every derivative at one point we can represent the entire function.

So what a lot of schemes do is they evaluate so many terms to get a specific order. The euler method evaluates one derivative term, and things like Runge-Kutta evaluate more terms (and thus cost more computation time). The tradeoff is usually more stable scheme = more computation time.

But it has to be done to get specific constraints on the errors: the goal of numeric analysis is to introduce schemes with known properties particular of local and global errors. These both help analyze the stability of the scheme with respect to classes of DE's.

Here are some links to some methods: The Euler one is very simple but I would look at the other ones first considering you have a non-linear DE:

http://en.wikipedia.org/wiki/Euler_method

http://en.wikipedia.org/wiki/Runge–Kutta_methods
 
  • #6
Thanks chiro. I don't have much numerical experience and I was under the impression that the well-known methods are applicable only to linear DEs.
 
  • #7
Bartok said:
Thanks chiro. I don't have much numerical experience and I was under the impression that the well-known methods are applicable only to linear DEs.

The applications are mainly for non-linear DE's as these are the ones where the analytic solution can't be figured out. That's the power of numerical methods in that if the solution is stable and accurate enough it doesn't matter what the system of DE's corresponds to.

In fact there are some situations where numerical schemes are used even when an analytic solution exists due to that it may be computationally better to do the numerical scheme over the analytic scheme (it sounds crazy, but these situations do exist).
 

What is the meaning of a system of two nonlinear second order ODEs?

A system of two nonlinear second order ODEs refers to a set of two differential equations that involve second derivatives of the dependent variables and contain non-linear terms. These equations are often used to model mechanical vibrations, which are oscillatory motions of a physical system around a stable equilibrium point.

Why is solving a system of two nonlinear second order ODEs important in studying mechanical vibrations?

Solving a system of two nonlinear second order ODEs is important in studying mechanical vibrations because it allows us to determine the behavior of a vibrating system over time. This information is crucial in designing and optimizing mechanical systems, such as bridges, buildings, and machines, to ensure their stability and efficiency.

What are the methods used to solve a system of two nonlinear second order ODEs?

The two main methods used to solve a system of two nonlinear second order ODEs are numerical methods and analytical methods. Numerical methods involve approximating the solutions using numerical techniques, while analytical methods involve finding exact solutions using algebraic and calculus techniques.

What are some challenges in solving a system of two nonlinear second order ODEs?

One of the main challenges in solving a system of two nonlinear second order ODEs is that it often does not have a closed-form analytical solution. This means that numerical methods must be used, which can be computationally intensive and may not provide exact solutions. Another challenge is that the system may have multiple solutions or no solution at all, making it difficult to determine the behavior of the system.

How can the solutions of a system of two nonlinear second order ODEs be interpreted in the context of mechanical vibrations?

The solutions of a system of two nonlinear second order ODEs can be interpreted as the displacement, velocity, and acceleration of the vibrating system over time. These solutions can be used to analyze the amplitude, frequency, and damping of the vibrations, which are important factors in understanding the stability and performance of a mechanical system.

Similar threads

  • Differential Equations
Replies
4
Views
1K
  • Differential Equations
Replies
8
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
7
Views
2K
  • Differential Equations
Replies
2
Views
1K
Replies
24
Views
3K
  • Differential Equations
Replies
1
Views
2K
  • Differential Equations
Replies
7
Views
1K
  • Advanced Physics Homework Help
Replies
16
Views
911
Replies
1
Views
2K
Back
Top