Ordinary differential equations: Second-order linear ODEs with constant coefficients
Application: Vibrations
We consider the example of a mechanical vibration of a suspended mass-spring system. Suppose that a ball (mass kg) is suspended by a spring of negligible mass. Suppose the axis is vertical (we will explain why later), with the positive direction downwards and the origin the equilibrium position of the ball (because of this choice we can keep gravity outside of the equations). See the diagram below.
If the ball is moved away from the equilibrium position and then released from rest, it will perform a vibration: it will move up and down. According to Hooke's law, the force of the spring acting on the ball is proportional to the deflection and directed in opposite direction, hence of the form , where is a positive constant, referred to as the spring constant. We assume for convenience that there is no resistance. According to Newton's second law: where is the initial deflection of the ball; indicates that the ball was at rest at time 0. We have a homogeneous linear differential equation with constant coefficients of order 2, and the characteristic equation has two complex solution, namely . It follows that: The initial conditions lead to The ball carries out a so-called harmonic vibration.
It is realistic to take into account the influence of air resistance: we suppose this force is proportional to the speed of the ball and in opposite direction, this results in the equation: with the same initial conditions as before: and . Here, is a positive constant that describes the frictional force due to air resistance. It depends on the discriminant of the characteristic polynomial what the solution looks like exactly.
For example, if , then the characteristic equation is with solutions , and the deflection is given by as The values of and follow from the initial conditions, but from the shape of the mathematical formula you can already see that this concerns a damped oscillation in which the spring eventually returns to the equilibrium position.
By adding an inhomogeneous term, say , to the homogeneous differential equation you get the mathematical model of a forced vibration: It can be shown that the general solution of this differential equation is equal to the sum of the general solution of the corresponding homogeneous differential equation and one specific solution of the differential equation. But we will not discuss that ihere.
We return to the choice of the letter for vertical deflection. We did this to make an easier transition from the mathematical model above to a model of coupled non-linear differential equations. For this we introduce the function as the derivative . Then we can rewrite the original differential equation as This leads to the following system of linear differential equations
So we have a special case of a linear system of coupled first order differential equations that can be written in the form: