Advanced ODEs for Math Students
Advanced ODEs for Math Students
Joseph M. Mahaffy,
[email protected]
Fall 2019
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (1/58)
Radioactive Decay
First Order ODE Theory
Scaling and Dimensionless Variables
Outline
1 Radioactive Decay
Carbon Radiodating
Art Forgery
Radioactive Cascade
Quasi-steady state
Linear Operator
2 First Order ODE Theory
Existence and Uniqueness
Example
Carbon Radiodating 1
Carbon Radiodating: One important application of radioactive
decay is the dating of biological specimens.
Carbon Radiodating 2
14
Modeling Carbon Radiodating: Radioactive carbon, C, decays
with a half-life of 5730 yr.
Living tissue shows a radioactivity of about 15.3 disintegrations
per minute (dpm) per gram of carbon.
The loss of 14 C from a sample at any time t is proportional to
the amount of 14 C remaining.
14
Let R(t) be the dpm per gram of C from an ancient object.
14
The differential equation for a gram of C
dR(t)
= −kR(t) with R(0) = 15.3.
dt
This differential equation has the solution:
ln(2)
R(t) = 15.3 e−kt , where k= 5730 = 0.000121.
Art Forgery
Van Meegeren Art Forgery: At the end of WWII, H. A. Van Meegeren was
arrested for collaborating with the Germans in the sale of the painting “Woman
Taken in Adultery” by Jan Vermeer to Goering.1
Radioactive Cascade
Radioactive Lead 210 Pb: One source of the stable element lead, 206 Pb, is
through a series of decaying radioactive elements starting with uranium, 238 U
(half-life 4.5 billion years), and ending with lead, 206 Pb.
We focus on the cascade of elements from radium, 226 Ra to lead, 206 Pb.
h1 h2 h3 h4
226 Ra −→ 222 Rn −→ 218 Po −→ 214 Pb −→ 214 Bi
h5 h6 h7 h8 h9
−→ 214 Po −→ 210 Pb −→ 210 Bi −→ 210 Po −→ 206 Pb
ẋ = Ax + B,
where
−k1
0 ... ... 0
−k2 k 0 x0 0 ... 0
k1 0 ... 0
0 0 ... 0
.. ..
A=
0 k2 −k3 . .
B=
.. .. .. ..
.. .. .. ..
. . . .
. . . . 0 0 0 ... 0
0 ... 0 k8 −k9
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (8/58)
Radioactive Decay
Carbon Radiodating
First Order ODE Theory
Art Forgery
Scaling and Dimensionless Variables
Art Forgery
Van Meegeren Art Forgery: White lead has been used in paintings for over
2000 years.
The smelting process to obtain lead removes much of the radium, which
decays to 210 Pb.
The method to detect forgeries looks at the ratio of 210 Pb to 226 Ra.
An authentic Vermeer would have an age of over 300 yrs, while the Van
Meegeren forgeries would be fairly recent.
With these time scales we can assume that the 226 Ra has a roughly constant
amount.
The other intermediate elements are on a fast time scale allowing
quasi-steady state approximations.
If y(t) is the amount of 210 Pb, then these assumptions result in the scalar
ODE:
ln(2)
ẏ = r − ky, where k = 22 .
Linear ODE
Radioactive Decay: The ODE for a radioactive substance, y,
which has a constant source, satisfies:
ẏ + ky = r.
This ODE is
Linear Operator
d
= dt (αy1 + βy2 ) + k(αy1 + βy2 )
= α dy dy2
dt + β dt + αky1 + βky2
1
= α dy dt
1
+ ky 1 + β dy2
dt + ky2
= αL[y1 ] + βL[y2 ]
Integrating produces
Z t Z t
d
eks y(s) ds = reks ds,
ds
t0 t0
or
r kt
ekt y(t) − ekt0 y0 = e − ekt0 .
k
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (13/58)
Radioactive Decay
Carbon Radiodating
First Order ODE Theory
Art Forgery
Scaling and Dimensionless Variables
ẏ + ky = r, y(t0 ) = y0 ,
is r
y(t) = y0 e−k(t−t0 ) + 1 − e−k(t−t0 ) .
k
Equilibrium: Note the equilibrium occurs when ẏ = 0, so from the ODE we see
kye = r or
r
ye = .
k
From the solution above, we see:
r
lim y(t) = .
t→∞ k
Art Forgery
Van Meegeren Art Forgery: Experts believed the “Disciples of Emmaus” was
so good that it must be a real Jan Vermeer.
Samples of the white paint with white lead
were analyzed for 210 Pb and 226 Ra.
As a surrogate for 210 Pb, 210 Po was
measured at 8.5 distingrations/min
(quasi-steady state).
The 226 Ra decay was 0.8 distingrations/min.
These data translate into ky(t) = 8.5 and
r = 0.8 when measured.
Find ky0 when the pigment was formulated.
If this was a real Vermeer, then t − t0 ≈ 300 yr.
Art Forgery
Van Meegeren Art Forgery: From the solution of the radioactive decay
problem, the data from the white lead measurements, and the half-life of 210 Pb,
we have:
ky(t) = 8.5 ≈ ky0 e−300k + r 1 − e−300k ,
ln(2)
where k = 22
≈ 0.0315 and r = 0.8.
It follows that
The richest known sources of 226 Ra have only a few thousand disintegrations/min.
It follows that the source of the white pigment could not have been refined 300 yr
ago, so the painting is significantly more recent.
This painting was a Van Meegeren forgery created in the 1930s.
d dy dµ(t)
[µ(t)y] = µ(t) + y.
dt dt dt
The function µ(t) is an integrating factor for (1) if it satisfies the
differential equation
dµ(t)
= p(t)µ(t).
dt
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (17/58)
Radioactive Decay
Existence and Uniqueness
First Order ODE Theory
Example
Scaling and Dimensionless Variables
dµ(t) 1 dµ(t)
= p(t)µ(t) or = p(t).
dt µ(t) dt
d(ln(µ(t))) 1 dµ(t)
Note that dt = µ(t) dt .
µ(t) y 0 + p(t)y = d
dt
[µ(t)y] = µ(t)g(t),
where Rt
t0 p(s)ds
µ(t) = e .
The linear ODE has the following existence and uniqueness result.
Theorem
If the functions p and g are continuous on an open interval
I : α < t < β containing a point t = t0 , then there exists a unique
function y = φ(t) that satisfies the differential equation
y 0 + p(t)y = g(t)
y(t0 ) = y0 ,
where Rt
p(s)ds
µ(t) = e t0
.
We note that the existence and uniqueness result for the 1st order
nonlinear ODE is more complicated and may be examined later in
the course.
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (21/58)
Radioactive Decay
Existence and Uniqueness
First Order ODE Theory
Example
Scaling and Dimensionless Variables
2
Example: Since eαs /2 > 1, the integral is unbounded, which implies
both numerator and denominator tend to +∞.
So we apply L’Hôspital’s Rule, which gives:
R t αs2 /2 2
0
e ds eαt /2 1
lim αt2 /2 = lim αt2 /2 = lim = 0.
t→∞ e t→∞ αt e t→∞ αt
It follows that:
lim v(t) = 0,
t→∞
so the falling object would eventually have sufficient drag to halt the
object.
Buckingham Pi Theorem
Dimensional Analysis
Dimensional Analysis – Primary Units
There are a number of primary units:
Length Mass Time Amount Temperature Electricity Luminosity
L M T N Q I C
F = ma
Π = ma v b hc g d
a=0 b+c+d=0 − b − 2d = 0.
a=0 b = −2 c=1 d = 1.
It follows that
hg kv 2
=k or h= .
v2 g
It follows that doubling the launch velocity increases the height of the
launch by a factor of 4.
On the moon with gravity, g6 , the height of the launch increases by a
factor of 6.
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (31/58)
Radioactive Decay Buckingham Pi Theorem
First Order ODE Theory Scaling Parameters in ODE
Scaling and Dimensionless Variables Mass-Spring
Time, t (sec) Blast Radius, R (m) Time, t (sec) Blast Radius, R (m)
0.00038 25.4 0.0008 34.2
0.00052 28.8 0.00094 36.3
0.00066 31.9 0.00108 38.9
a + 2b − 3d = 0 (L)
b+d = 0 (M )
−2b + c = 0 (T )
40
3.7
35
3.6
30
Radius (m)
25 3.5
ln(R)
20 R = 604.15t0.4024 3.4
15
3.3
10 ln(R) = 0.4024 ln(t) + 6.4038
3.2
5
0 3.1
0 0.2 0.4 0.6 0.8 1 1.2 -8 -7.5 -7 -6.5
Time (sec) ×10-3 ln(t)
y = Az and τ = Bt.
Perturbation 1
The previous scaled ODE gave:
dz
+ p (ω̂τ ) z = q (ν̂τ ) ,
dτ
where ω̂ = ω/α and ν̂ = ν/α.
Suppose the time arguments of p and q vary rapidly, so
ω ν
ω̂ = α 1 and ν̂ = α 1,
or better written
Perturbation 2
Perturbation 3
Perturbation 4
RT
With this expansion of e−ε 0
p(ω̂0 s)ds
inserted into the solution:
RT RT
Z T Rs
z(T ) = z(0)e−ε 0
p(ω̂0 s)ds
+ εe−ε 0
p(ω̂0 s)ds
q(ν̂0 s)eε 0
p(ω̂0 u)du
ds.
0
For ε small the O ε2 terms are insignificant, which means the
solution is approximated by the first two terms of the ε expansion, a
significant reduction in computation.
Perturbation Example 1
Perturbation Example 2
ω 1
Example: Suppose that ω = 10 and α = 0.1, so α ≡ ε = 100 1.
The rescaled problem becomes
dz τ
τ
+ sin ε z = cos ε .
dτ
dz
+ ε sin (T ) z = ε cos (T ) ,
dT
which has the solution:
Z T
z(T ) = z(0)e ε(cos(T )−1)
+ εeε(cos(T )−1)
cos(s)e−ε(cos(s)−1) ds.
0
Perturbation Example 3
z(0) 1 + ε(cos(T ) − 1) + O ε2
z(T ) =
Z T
+ε 1 + ε(cos(T ) − 1) + O ε2 cos(s) 1 − ε(cos(s) − 1) + O ε2
ds,
0
Z T
+ O ε2 ,
z(T ) = z(0) + ε z(0)(cos(T ) − 1) + cos(s)ds
0
z(0) + ε z(0)(cos(T ) − 1) + sin(T ) + O ε2 .
z(T ) =
Perturbation Example 4
The figure below shows both the approximate solution and actual
solution for z(0) = 2.
2.05
1.95
1.9
Approximation
Solution
1.85
0 10 20 30 40 50
Lecture Notes – Linear Differential Equations a
Joseph M. Mahaffy, [email protected] — (48/58)
Radioactive Decay Buckingham Pi Theorem
First Order ODE Theory Scaling Parameters in ODE
Scaling and Dimensionless Variables Mass-Spring
Perturbation Example 5
The figure was produced by the MatLab program below.
1 z0 = 2 ; ep = 0 . 0 1 ;
2 tt = linspace (0 ,50 ,500) ;
3 z z = z0 + ep ∗ ( z0 ∗ ( c o s ( t t ) −1) + s i n ( t t ) ) ;
4 [ t1 , z1 ] = ode23 ( @perturb , t t , z0 ) ;
5 p l o t ( t t , zz , ’ b− ’ , ’ LineWidth ’ , 1 . 5 ) ;
6 h o l d on
7 p l o t ( t1 , z1 , ’ r− ’ , ’ LineWidth ’ , 1 . 5 ) ;
8 grid ;
9 l e g e n d ( ’ Approximation ’ , ’ S o l u t i o n ’ , ’ L o c a t i o n ’ , ’ s o u t h e a s t ’ ) ;
10 xlim ( [ 0 , 5 0 ] ) ;
11 ylim ( [ 1 . 8 5 , 2 . 0 5 ] ) ;
1 f u n c t i o n zp = p e r t u r b (T, z )
2 %P e r t u r b a t i o n ODE
3 ep = 0 . 0 1 ;
4 zp = −ep ∗ s i n (T) ∗ z + ep ∗ c o s (T) ;
5 end
Mass-Spring 1
Mass-Spring Example: Consider a mass-spring system with spring
constant, k, and damping proportional to the velocity of the mass, cẋ.
Newton’s Law gives:
d2 d d d d d d d2
dτ d2
dt2 = dt dt = dt β dτ = β dt dτ = β dτ 2 dt = β 2 dτ 2.
Mass-Spring 2
Mass-Spring Example: Let x(t) = x̂(βt) = x̂(τ ), then this scaling
gives:
2
β 2 ddτx̂2 + cβ dx̂ k
m dτ + m x̂ = 0.
k c
Let β 2 = m and define γ = √mk , then ignoring the hats, the scaled
mass-spring system with damping is:
ẍ + γ ẋ + x = 0.
Mass-Spring System 1
−λ 1
det |A − λI| = = λ2 + γλ + 1 = 0.
−1 −λ − γ
Mass-Spring System 2
√
Case (i): Consider γ 2 − 4 > 0 (or c > 2 mk), which leads to two
real negative eigenvalues,
λ1 < λ2 < 0.
The associated eigenvectors solve:
−λi 1 v1 0
(A − λi I)vi = = ,
−1 −λi − γ v2 0
which gives the eigenvectors:
1 1
v1 = and v2 = .
λ1 λ2
Mass-Spring System 3
Case (i): Consider the specific case when γ = 3, so
√ √
λ1 = 0.5(−3 − 5) ≈ −2.618 and λ2 = 0.5(−3 + 5) ≈ −0.382.
This is the over-damped mass-spring problem. Below is the solution x(0) = 5
and ẋ(0) = 5.
0
0 5 10 15
Mass-Spring System 4
√
Case (ii): Consider γ 2 − 4 < 0 (or c < 2 mk), which leads to two complex
eigenvalues with negative real part (unless γ = 0),
√ √
−γ± γ 2 −4 4−γ 2
λ1,2 = 2
= − γ2 ± iω, ω= 2
, (0 < γ < 2).
Mass-Spring System 5
Case (ii): Consider the specific case when γ = 1, so
√
λ1,2 = 0.5(−1 ± i 3) ≈ −0.5 ± 0.866i.
This is the under-damped mass-spring problem. Below is the solution x(0) = 5
and ẋ(0) = 5.
-2
0 5 10 15
Mass-Spring System 6
When γ = 0, this system is undamped and the resulting solution produces a
center as shown in the Introduction notes.
√
Case (iii): Consider γ 2 − 4 = 0 (or c = 2 mk), which leads to the repeated
eigenvalue, λ = −1.
The associated eigenvector solves:
1 1 v1 0 1
(A + I)v1 = = , so v1 = .
−1 −1 v2 0 −1
Mass-Spring System 5
Case (iii): This is the critically-damped mass-spring problem. Below is the
solution x(0) = 5 and ẋ(0) = 5.
7
6
5
4
3
2
1
0
-1
0 5 10 15