Professional Documents
Culture Documents
Chapter 2. More Applications of Odes
Chapter 2. More Applications of Odes
Chapter 2. More Applications of Odes
MORE APPLICATIONS OF
ODEs
2.1. THE HARMONIC OSCILLATOR
Consider the pendulum shown.
The small object, mass m,
at the end of the pendulum,
is moving on a circle of radius
L, so the component of its velocity
tangential to the circle is L
Hence its tangential acceleration is
L and so by F = M a we have
mL = mg sin .
1
= Ae(
so = + = Ae(
g/L)t
g/L)t
+ Be(
+ Be(
g/L)t
g/L)t
+ .
EXAMPLE:
An eccentric professor likes to balance pendula
near their unstable equilibrium point. In a given
performance, the pendulum is initially slightly away
5
Solution: The problem is saying that the angle [the deviation from the vertical] is initially
very small, and its initial rate of change is zero. So
A = B = /2 and so
= cosh((
g/L)t) = cosh(10t)
by L/g.
Now what about = 0? Here of course we use Taylors theorem around zero,
1
f () = f (0) + f (0) + f (0)2 + ...
2
1 3
sin() = 0 + 0 + ...
6
so sin() and we have approximately
mL = mg or
g
= = 2
L
with 2 = g/L. That minus sign is crucial!
General solution is C cos( t) + D sin( t) where C
and D are arbitrary constants.
Now using trigonometric identities you can show that
ANY expression of the form C cos(x) + D sin(x) can
8
be written as
= A cos(t )
[Check: this does satisfy = 2 and it does contain TWO arbitrary constants, A and ]. In this
case, is never larger than A, never smaller than
A, so IF WAS SMALL INITIALLY, it REMAINS
9
SMALL! [We call A the AMPLITUDE.] So the equilibrium in this case is STABLE. This is called SIMPLE HARMONIC MOTION. Clearly repeats its
values every time t increases by 2 [since cos is
periodic with period 2]. Now
t t + 2
means
2
tt+
So
ING FORCE is
SL
where S is some positive constant. We now have
mL = mg sin SL
mg SL
if is close to zero. Thus
mg
= 0,
m + S +
L
and this is the equation of DAMPED HARMONIC
MOTION. We can also attach a motor to the pendulum, that is, an external force F (t) which may
depend on time. Then
mL = mg sin SL + F (t)
12
m + S +
= F (t),
L
L
the equation of FORCED damped harmonic motion.
Lets look at the unforced but damped case rst.
The ODE will always have the form
m
x + bx + kx = 0.
m2 + b + k = 0.
x = Ae2t cos(3t ).
14
x(t) = Ae
where =
1
2m
bt
2m
cos(t )
bt
2m
2m
b .
quickly the amplitude dies out. [They are INDEPENDENT because given m and b you can work
out
2m
b
but not
k.]
2.3. FORCED OSCILLATIONS
Suppose you have a mass m which can move in a
horizontal line. It is attached to the end of a spring
which exerts a force
Fspring = kx
where x is the extension of the spring and k is a constant (called the spring constant). This is Hookes
Law. Now we attach an external MOTOR to the
mass m. This motor exerts a force F0 cos(t), where
F0 is the amplitude of the external force and is the
17
so we get x
= x, = k/m. Here is the fre2
Clearly the real part, Re z, satises the above equation, so we can solve for z and them take the real
part. We try
z = C eit
and get
mC(i)2 eit + C k eit = F0 eit
F0
F0 /m
C=
= 2
k m2
2
So
Re z =
F0 /m
2 2
cos(t)
F0 /m
cos(t).
2
2
Note that
F0 /m
x = A sin(t ) 2
sin(t).
2
19
= 0, then
F0 /m
0 = A cos() + 2
2
0 = A sin().
Assuming F0 = 0, we cannot have A = 0, = 0.
/m
So A = F20
2,
x=
F0 /m
[cos(t) cos(t)] .
2
2
AB
2
(
sin
A+B
2
we nd
x=
2F0 /m
sin
2
2
[(
) ]
[(
) ]
+
t sin
t
2
2
2F0 /m
sin
2
2
[(
) ]}
[(
) ]
+
t sin
t
2
will
+
2
+
2
) ]
t
is
A(t) =
2F0 /m
sin
2
2
[(
) ]
t
2
2F0 /m
has a maximum value 2 2 which becomes very
large when is very close to .
22
F0
t
F0 t
=
m 2
2m
by LHopitals rule. So in this limit
x=
F0 t
sin(t)
2m
F0
F0 [k m2 ib]
c=
=
2
k m + ib
(k m2 )2 + b2 2
(Using the identity
1
A+iB
=
24
AiB
(A+iB)(AiB)
AiB
A2 +B 2 .)
Similarly here
F0 [k m2 ib]
[cos(t) + i sin(t)]
(k m2 )2 + b2 2
has real part
F0 (k m2 ) cos(t) + F0 b sin(t)
x(t) =
.
2
2
2
2
(k m ) + b
To this we should add the general solution of m
x+
bx + kx = 0. But we know already what that looks
25
like whether overdamped or underdamped, the solution rapidly (exponentially) TENDS TO ZERO.
We call that part of the solution the TRANSIENT.
So after the transient dies o, we are left with this
expression.
We saw earlier that ANY expression of the form
C cos(x) + D sin(x) can be written as
x(t) =
1
m F0
cos(t )
( 2 2 )2 +
26
b2 2
m2
b2 2
m2
The graph of this is called the AMPLITUDE RESPONSE CURVE. Depending on the values of the
parameters, this curve might have a SHARP MAXIMUM, meaning that the system will suddenly respond strongly if is chosen to be the value that
gives that maximum. This is something to be avoided
in some cases [things might break] but welcomed in
27
others [you want your mobile phone to ignore all frequencies but one].
2.4. CONSERVATION.
Newtons 2nd law involves TIME derivatives, but
sometimes it can be expressed in terms of SPATIAL
derivatives, by means of the following trick:
(
)
dx
dx dx
d 1 2
x
= x
=
=x
(chain rule).
dx 2
dx
dt dx
For SHM we have
m
x = kx
28
so
d 1 2
m ( x ) = kx.
dx 2
But now we can integrate both sides:
1
1
mx 2 = kx2 + E
2
2
where E is a constant of integration. So we have
E=
As you know,
1
1
mx 2 + kx2 .
2
2
1
2
m
x
ERGY of the oscillator, and 21 kx2 is called the POTENTIAL ENERGY. We call E the TOTAL ENERGY. The fact that E is CONSTANT is called the
conservation of energy.
29
into
2 /2 cos() = C,
()
where C is a constant equal, by the initial conditions,
to (1/2) cos(1).
At the maximum point we have = 0, so we
have
(max) = arccos(cos(1) (1/2)) 1.53.
There is a good way of thinking about what we
are doing here. Look at the equation for and use
it to think of as a function of . If you graph
that function, you will see that the graph is a closed
curve. You can imagine that as time goes by, the
31
= 3.
(Graphs of y(t) and of the phase plane for this equation (obtained by using a computer) are attached at
the end of this chapter.)
32
[Please check that the left side has the right units,
newtons per metre!] Lets suppose that E and I
are both constant, and that w(x) is only due to the
weight of the beam itself; we assume
w(x) = constant = . (Remember that w is positive in the UPWARD direction.)
QUESTION: What is , the maximum deection,
in terms of L, the horizontal length of the beam?
Answer:
d4 y
w
=
=
4
dx
EI
EI
d3 y
x
=
+A
dx3
EI
by integration. Now for physics reasons
36
d3 y
dx3
=0
+ A.
3
dx
EI
Hence we have
A=
L
EI
So
d3 y
x
L
=
3
dx
EI
EI
d2 y
x2
Lx
=
+
+ B,
dx2
2EI
EI
where we have integrated again. But
d2 y
dx2
= 0 when
L2
2EI
L2
EI
L2
2EI
d2 y
x2
Lx L2
2 =
+
dx
2EI
EI
2EI
dy
x3
Lx2
L2 x
=
+
+ C.
dx
6EI
2EI
2EI
But if the beam is horizontal where it is supported,
dy
dx (0)
= 0 so
0 = 0 + 0 0 + C
C=0
Lx3
L2 x2
x4
+
+ D,
y=
24EI
6EI
4EI
where we have integrated yet again! Finally the
point of support is the origin, so y(0) = 0, so
D=0
38
Thus
[
]
L4
1 ( x )4 1 ( x )3 1 ( x )2
y=
2EI
12 L
3 L
2 L
So now nally we can work out the maximum deection of the beam: you can easily show that this
maximum occurs at the end [x = L] in agreement
with common sense, so all we have to do is to substitute x = L into y and get
[
]
L4
1
1
1
= y(L) =
2EI
12
3
2
and so we obtain the famous CANTILEVER DEFLECTION FORMULA
L4
=
.
8EI
39
41
= 3.
Figure 2: y 2 + 2ln(sec(y)) = 9.