*Notes to a video lecture on http://www.unizor.com*

__Higher Order Ordinary__

Differential Equations -

Hooke'sLaw

Differential Equations -

Hooke'sLaw

Our next subject is Hooke's Law.

This law describes the force of a stretched or compressed spring.

Let's assume that we have a weightless spring horizontally lying on the frictionless table along an imaginary X-axis and fixed at the left end. Its free right end is at coordinate

*and there is a point mass*

**x=0***attached to this free end of a spring.*

**m**Then we stretch this spring by pulling the right end from a neutral position by certain length

*.*

**x**Obviously, the spring exerts a force to compress back to a neutral position. The Hooke's Law states that within certain reasonable boundaries (no over-stretching) this force is proportional to a difference in length between a stretched string and a string in a neutral position.

This is expressed by the formula

**F = −k·x**where

*is the force exerted by a spring,*

**F***is a displacement of the free end of a spring from a neutral position,*

**x***is a positive constant that characterizes a spring (called a*

**k***spring constant*) and the minus sign signifies that the direction of force is opposite to the direction of displacement because, if displacement is positive (stretching), the force is directed towards negative direction of the X-axis and, if displacement is negative (compression), the force is directed towards positive direction of the X-axis.

Now recall Newton's Second Law that related the force and acceleration

**F = m·a**where

*is the force,*

**F***is the mass of an object and*

**m***is its acceleration.*

**a**From these two laws we conclude that

**m·a = −k·x**Since

*is a distance along the X-axis and*

**x***is an acceleration along this axis, that is a second derivative from a distance by time, we came up with the following differential equation*

**a***or*

**m·x''(t) = −k·x***or*

**m·x''(t) + k·x(t) = 0**

**x''(t) + (k/m)·x(t) = 0**This is a second order ordinary differential equation. It is a little more complex than we considered in a lecture about acceleration and Newton's Second Law.

Let's try to solve it.

First of all, let us mention that even a simple guessing in this and many other cases is a good choice. Recall that first derivative of

*is*

**sin()***and the first derivative of*

**cos()***, that is the same as the second derivative of*

**cos()***, is*

**sin()***. So, the equation*

**−sin()***has a solution*

**x''(t)+x(t)=0***. This is very close to what we have. Adding a factor*

**x=sin(t)***to an argument might help to satisfy multipliers in our equation:*

**α**if

*then*

**x(t)=sin(α·t)***and*

**x'(t)=α·cos(α·t)**

**x''(t) = −α²·sin(α·t)**and, therefore,

**x''(t)+α²·x(t) = 0**Now we can choose

*to satisfy*

**α***, and the solution to our equation is found.*

**α²=k/m**Guessing is good, when we can guess (as in this case), but guessing might not be successful and, even if you managed to guess one solution, it's not a guarantee that all solutions are found. By the way, if we start with

*, we will also find a solution.*

**cos()**So, let's have some theory.

Our differential equation belongs to a class of

*linear ordinary differential equations of second order with constant coefficients*and can be generalized as

**x''(t) + p·x'(t) + q·x(t) = 0**As we saw above, functions

*and*

**sin()***might be involved in a solution. Analogous quality of derivative being similar to a function itself is possessed by exponential functions. Recall also that exponential functions with complex exponent is related to trigonometric function through famous Euler's formula*

**cos()**

**e**^{it}= cos(t) + i·sin(t)So, exponential functions, in some way, are more general than trigonometric, they encompass them.

Therefore, it's only natural to look for a solution in terms of exponential functions.

Let's try.

Assume, we are looking for a solution to our equation in the form

*, where*

**x(t)=e**^{λ·t}*might be any (including complex to accommodate trigonometric functions) number.*

**λ**Then derivatives of this function are:

**x'(t) = λ·e**^{λ·t}

**x''(t) = λ²·e**^{λ·t}Putting this into our equations, we get

**λ²·e**^{λ·t}+ λ·p·e^{λ·t}+ q·e^{λ·t}= 0Canceling

*, we get a simple quadratic equation for*

**e**^{λ·t}*called a*

**λ***characteristic polynomial*of a given differential equation:

**λ² + p·λ + q = 0**Since this equation always has two solutions

*and*

**λ**_{1}*among complex numbers, we will have two particular solutions to our differential equation:*

**λ**_{2}*and*

**e**^{λ1·t}

**e**^{λ2·t}Finally, any linear combination of these two particular solutions will also be a solution (since our differential equation is linear and a derivative of linear combination of functions is a linear combination of derivatives).

Therefore, we can state the general solution to our differential equation:

*+*

**x(t) = C**_{1}·e^{λ1·t}

**C**_{2}·e^{λ2·t}which depends on two unknown complex constants

*and*

**C**_{1}*, their values can be defined only if some initial conditions of the movement are given.*

**C**_{2}Let's get back to a movement of a spring.

Our initial equation

**x''(t) + (k/m)·x(t) = 0**has a

*characteristic polynomial*

**λ² + k/m = 0**(where both

*and*

**k***are positive) with two solutions:*

**m***and*

**λ**_{1}= √(k/m)·i

**λ**_{2}= −√(k/m)·iwhere

*is an imaginary unit in the field of complex numbers.*

**i²=−1**Let

*.*

**ω = √(k/m)**Now we can represent the general solution to a movement of a spring based on the Hooke's Law as follows:

**x(t) = C**_{1}·e^{iωt}+ C_{2}·e^{−iωt}This expression can be easily transformed using Euler's formula into

**x(t) = C**

+C_{1}·cos(ωt)+i·C_{1}·sin(ωt)++C

_{2}·cos(−ωt)+i·C_{2}·sin(−ωt)Since

*can be represented as*

**C**_{1}*and*

**A**_{1}+i·B_{1}*can be represented as*

**C**_{2}*, where*

**A**_{2}+i·B_{2}*,*

**A**_{1}*,*

**B**_{1}*and*

**A**_{2}*are undefined unknown real numbers, the whole expression can be represented as*

**B**_{2}

**D**_{1}·cos(ωt) + D_{2}·sin(ωt) + i·Zwhere coefficients

*and*

**D**_{1}*are any real numbers and*

**D**_{2}*represents purely imaginary part.*

**i·Z**Since we deal with physics, we should exclude all imaginary solutions and leave only those, where

*and*

**D**_{1}*are real numbers.*

**D**_{2}So, the general physical solution looks like

**x(t) = D**_{1}·cos(ωt) + D_{2}·sin(ωt)where

*and*

**D**_{1}*are undefined unknown real numbers.*

**D**_{2}In our experiment we have stretched a string by some known distance from a neutral position and let it spring back. That means, we know the initial position

*and initial speed*

**x(0)=d***.*

**x'(0)=0**These initial conditions are sufficient to determine two unknown constants in our equation of a motion:

*⇒*

**x(0)=d**⇒

**D**_{1}cos(0)+D_{2}sin(0)=d⇒

**D**_{1}= d*⇒*

**x'(0)=0**⇒

**−ω·D**_{1}sin(0)+ω·D_{2}cos(0)=0⇒

**D**_{2}= 0The final form of an equation of motion is

**x(t) = d·cos(ωt)**where

*,*

**ω = √(k/m)***is a spring constant,*

**k***is a point mass at its free end and*

**m***is the initial distance we have stretched a spring from its neutral position.*

**d**As seen from this equation of motion, a free end of a spring with a mass attached to it will indefinitely oscillate around the neutral point.

The end.

## No comments:

Post a Comment