Newton’s second law states that , where is the force, is the mass of the object the force is acting on, and is the acceleration. As , where is the position, this is a second order differential equation. You can use this equation to find a differential equation for oscillations, particularly for oscillations with a spring.
To show you how to do this, let’s look at an example. The actual calculations are taken out so you can see the steps of the method more clearly.
Example 1
A weight with mass hangs in a spring with a spring constant of and a friction of . You pull the mass two meters out and let go, which makes the spring bounce up and down. This can be thought of as an oscillation. The oscillation can be expressed by the differential equation
You start by solving the characteristic equation, which is:
You solve it and get
Then, you need to check if the characteristic equation has one or two real solutions to determine which formula to use for the solution of the differential equation. This is done by checking if is positive, negative or zero.
In this case the equation has no solutions as the value under the square root is negative. For you must have . That means that in this case we can get two types of oscillations. If , there is no friction, which is called undamped oscillation. If is posititve (but less than 2) you get an underdamped oscillation.
When is zero there is no friction, so the weight will not slow down at all. The spring will contract and expand the same distance every time. It will never stop. In this case the solution to the equation is
In this case there is exactly enough friction to make the weight slow down just enough to not overshoot the equilibrium. The weight will stop exactly at the point of equilibrium. You can see this from the characteristic equation, as the critically dampened oscillation has one double solution, which in this case is . The solution of the differential equation is then
In this case there is “more friction than necessary”, which stops the spring from overshooting the equilibrium. You can see this from the characteristic equation, as it has two different real solutions. For the solution to the differential equation is
Note! Critical damping and overdamping are very similar. The difference is that with overdamping, the weight takes a lot more time to get back to the point of equilibrium.
To separate the two cases, you need to check if the characteristic equation has one or two solutions. Here is an overview of all the different types of oscillations. Take some time to study the difference between them.
The differential equation is
and the types of oscillations are:
Undamped oscillation
Underdamped oscilliation
Critically damped oscillations
Overdamped oscillation
Example 2
You’re given the following differential equation:
You are then given the following exercises:
You get the characteristic equation
You can solve this by using the quadratic formula, which gives you
You can see that the equation has two solutions. There is an in both solutions, which indicates that these are complex solutions, not real ones.
To use these to find a general expression for , you take the following:
with and . The general solution is then
The constants of integration are and . To determine these, you need to solve the system of equations you get from the initial conditions, which are and . This becomes a system of equations where and are the two unknowns. To get the equations, you use the values and from the initial conditions. First you use , which gives you
The first equation is . The next equation is
This equation is a bit tricky, so it might be a good idea to simplify it slightly before you solve the system of equations as usual.
You see that you can divide by and by . This makes the equation much simpler:
This means that the system of equations you get from the initial conditions is
You solve this as usual and get
By inserting these values into the general solution, you get the particular solution that fulfill your initial conditions:
In this exercise you must plot the graph for . By doing that, you get this graph:
You are to find the zeros of . These are found by solving . You get the equation
You can see that is always positive. This means that you can divide by and get
You then solve this as a normal trigonometric equation. The easiest way is to divide by , which gives you
This is only true for
Now, you need to find the values of that are in the interval . You do this and find that
You now know the zeros of . Next, you need to find the extrema of the function. To do this, you set . First you find by using the product rule. You get
This only happens when
You need to find the values of that are between 0 and . That gives you
You have now found the -values of the extrema of . From the graph you can see that is a minimum, and that and are maxima. You now need to find the -values of these points. You do that by inserting the values for at the extrema into the function . By doing this, you find that the minimum is , and that the maxima are and .