Math 39100 K - Spring 2019 - Post01 PDF
Math 39100 K - Spring 2019 - Post01 PDF
Math 39100 K - Spring 2019 - Post01 PDF
- Lectures 01
Ethan Akin
Office: NAC 6/287
Phone: 650-5136
Email: [email protected]
Spring, 2019
Contents
y 0 = f (x) implies y =
R
f (x)dx + C .
Linear Growth
dy
dt
= m (Absolute Growth Rate y 0 is a constant).
dy = mdt, and so
Z
y = mdt = mt + C .
When t = 0, y0 = C .
dy
So = m implies y = mt + y0 .
dt
Exponential Growth
dy 0
dt
= ky (Relative Growth Rate yy is a constant).
dy =R kydt, and so
y = kydt = ky 2 /2 + C ??? NO
Z Z
dy
= kdt
y
.
ln |y | = kt + C ,
y = Ce kt different C.
When t = 0, y0 = C .
dy
So = ky implies y = y0 e kt .
dt
Let’s do the last bit slowly. Recall e A+B = e A e B .
ln |y | = kt + C implies |y | = e C · e kt .
Recall that e x is always positive and |y0 | = e C .
y = −|y | = −e C e kt = y0 e kt .
If y0 = 0 then y = 0 = y0 e kt is the solution. Our previous
dz 4 + 3z z 2 + 5z + 4
x = −z − =− .
dx 2+z 2+z
2+z dx
dz = − .
(z + 4)(z + 1) x
2+z A B
Partial fractions: (z+4)(z+1)
= (z+4)
+ (z+1)
.
2 + z = A(z + 1) + B(z + 4) and so (substituting
z = −1, −4) B = 1/3, A = 2/3.
Integrate to get 32 ln(z + 4) + 13 ln(z + 1) = − ln(x) + C .
Multiply by 3 and exponentiate:
dy 2
+ (1 − )y = x 2 .
dx x
Z
2
µ = exp[ (1 − )dx] = e −2 ln(x)+x = x −2 e x ,
x
[x −2 e x y ]0 = e x .
x −2 e x y = e x + C , or y = x 2 + Cx 2 e −x .
Exercises 2.1/BD 2, 8, 19; BDM 2,
2.1/BD2;BDM2
R : y 0 − 2y = t 2 e 2t . Multiply by
µ = e −2dt = e −2t .
[t 4 y ]0 = te −t .
Integrate by parts to get t 4 y = −te −t − e −t + C .
When t = −1, y = 0, and so C = 0.
Hence,
y = −(t −3 + t −4 )e −t .
Exact Equations, Section 2.6 through Example 3
We begin with a review of the chain rule in several variables.If
F is a function of x and y and each of these is a function of t,
then for the composed function given by t 7→ F (x(t), y (t)),
we have
dF ∂F dx ∂F dy
= · + · .
dt ∂x dt ∂y dt
∂F ∂F
This is the dot product of the gradient of F ( =< ,
∂x ∂y
>)
with the velocity vector ( =< dx , dy >).
dt dt
∂M ∂ 2F ∂ 2F ∂N
= = = .
∂y ∂y ∂x ∂x∂y ∂x
Consider the diagram
F
∂x . & ∂y
M dx + N dy
∂y & . ∂x
=?
∂y
= 4xy + 2 = ∂(2x y ∂x .
R
F = 2xy 2 + 2y dx = x 2 y 2 + 2xy + H(y ).
∂F
∂y
= 2x 2 y + 2x + H 0 (y ) = 2x 2 y + 2x + 2y .
H 0 (y ) = 2y and so H(y ) = y 2 . Thus, F = x 2 y 2 + 2xy + y 2 .
Solution : x 2 y 2 + 2xy + y 2 = C .
Example :
(e xy (y cos(x) − sin(x)) + 1)dx + (e xy x cos(x) + cos(y ) + 2y )dy
= 0, y (0) = 0.
Exact. R Go up the y side :
F = (e xy x cos(x) + cos(y ) + 2y ) dy =
e xy cos(x) + sin(y ) + y 2 + H(x).
∂F
∂x
= e xy (y cos(x)−sin(x))+H 0 (x) = e xy (y cos(x)−sin(x))+1.
H 0 (x) = 1, and so F = e xy cos(x) + sin(y ) + y 2 + x. The
general solution is F = C .
Since y = 0 when x = 0, C = 1.
Example : (2x + y )dx = (x + 2y )dy . Rewrite as
(2x + y )dx − (x + 2y )dy = 0. Not exact. (It is
homogeneous). Let’s try anyway.
R
F = (2x + y ) dx = x 2 + xy + H(y ).
∂F
∂y
= x + H 0 (y ) = −x − 2y and so H 0 (y ) = −2x − 2y .
ERROR.
Example: (y ln(x) + xy )dx + (x ln(y ) + xy )dy = 0. Not exact
(It is variables separable).
R ln(x)+x
dx = − ln(yy)+y dy .
R
x
∂ψ
= M(x, y0 ) + M(x, y ) − M(x, y0 ) = M(x, y ).
∂x
Tank and Interest Problems, Section 2.3
Example: A 200 gallon tank initially contains 50 gallons of
water in which is dissolved 5 pounds of salt. At a rate of 5
gallons per minute a solution with a concentration of 1/2
pound of salt per gallon is poured into the tank. A well-stirred
solution is pumped out at a rate of 2 gallons per minute.
Compute the equation for the quantity S(t) of the salt in the
tank up to the time t ∗ the tank is filled. Then compute the
formula S(t) for the time t beyond t ∗ as the tank continues to
overflow.
Note the units. The volume V (t) in gallons and the quantity
S(t) in pounds. The net changes dV
dt
and dS
dt
are in gallons per
minute and in pounds per minute, respectively.
dV
dt
= Input − Output = 5 − 2 = 3. (Linear Growth)
So V = V0 + 3t = 50 + 3t, and the tank is filled when
V (t ∗ ) = 200 and so with t ∗ = 50 minutes.
dS
dt
= 5[gal/min] · 12 [lb/gal] − 2[gal/min]· S
50+3t
[lb/gal].
This is the linear equation
dS 2 5
+ S= .
dt 50 + 3t 2
2
= exp( 23 ln(50 + 3t)) = (50 + 3t)2/3 .
R
µ = exp( 50+3t
dt)
[(50 + 3t)2/3 S]0 = 52 (50 + 3t)2/3 .
(50 + 3t)2/3 S = 12 (50 + 3t)5/3 + C
When t = 0, S = 5. So C = 502/3 5 − 21 505/3 = −20(50)2/3 .
1 50
S = (50 + 3t) − 20( )2/3 .
2 50 + 3t
with S(50) = 20(5 − 4−2/3 ).
When the tank is overflowing the outflow is the same as the
inflow and the volume V is constant at 200.
dS
dt
= 5 · 12 − 5 · 200
S
with t ≥ t ∗ .
This equation is linear and variables separable
dS dt t
S−100
= − 40 . and so ln(S − 100) = − 40 + C.
S = 100 + Ce −t/40
with S(50) = 20(5 − 4−2/3 ) determining C .
For annual interest with rate r the interest on P dollars left for
one year is rP. Thus, P1 = P0 + rP0 .
For the next year the interest is rP1 and so
P2 = P1 + rP1 = P0 + rP0 + rP0 + r 2 P0 .
But notice that P + rP = (1 + r )P. So each year we multiply
by (1 + r ).
Beginning with P0 we have Pt = (1 + r )t P0 .
The units of the interest rate r are dollars of interest per dollar
of principal per year. So in a fraction 1/n of a year, the
interest on P is (r /n)P.
So compound interest with n periods per year yields Pt , after t
years, given by
r 1
Pt = (1 + )nt = ((1 + h) h )rt
n
r rt
where h = n
so that nt = n .
For continuous compounding we take the limit as n tends to
infinity or, equivalently, as h tends to zero. To recall what
happens to the limit, write
1
ln((1 + h) h ) = ln(1+h)−ln(1)
h
whose limit is the derivative of
ln(x) at x = 1 and so is 1.
1
Hence, limh→0 (1 + h) h = e 1 = e, and with continuous
compounding
Pt = P0 e rt .
The equation Pt = P0 e rt is exactly exponential growth with
rate r . This is also derived as follows
The change in the principal due to interest is dP = rPdt,
which is exponential growth with rate r .
The problems also feature a constant flow of k dollars per year
with k > 0, eg for money put into a bank account, or with
k < 0 for money paying off a loan. So the combined effect is
dP = (rP + k)dt.
2.3/ BD9; BDM7 : P0 = 8000 dollars, r = .1 per year and
P3 = 0.
dP dP
dt
= .1P − k, and so P−10k
= .1dt.
P = 10k + Ce .1t , with 8000 = 10k + C , 0 = 10k + Ce .3 .
So C = −8000/(e .3 − 1) and k = 800(e .3 /(e .3 − 1). So
3k − 8000 = 1257 dollars of interest.
Miscellaneous Problems,
Section 2.9/ BD 1-6, 8-11, 15, 29; BDM 1-10, 12,
22
Otherwise, y = 12 t 2 + C2 .
2.9/BD49 : y 00 − 3y 2 = 0, y (0) = 2, y 0 (0) = 4.
dv
− 3y 2 = 0.
dt
WON’T WORK.
dv 1 2
v = 3y 2 , and so v = y 3 + C1 .
dy 2
√
With y = 2, v = 4, C1 = 0 and dy
dt
= v = 2y 3/2 .
√ √
−2y −1/2 = 2t + C2 . With t = 0, y = 2 and so C2 = − 2.
2
y= .
(t − 1)2
R √
6 0, t = √ 3 2 dy .
Notice that for C1 =
y +C1
2.9/BD48, BDM36 : y 0 y 00 = 2, y (0) = 1, y 0 (0) = 2.
√
Z Z
dy
vdv = 2dt, and so = v = 2 t + 1.
dt
So y = 34 (t + 1)3/2 − 31 .
Alternatively, v 2 dv
dy
= 2.
Z
dy
= v = (6y + 2)1/3 and so (6y + 2)−1/3 dy = t + C2 .
dt
So 41 (6y + 2)2/3 = t + 1.
Second Order Differential Equations
d 2y dy
2
+ p(t) + q(t)y = r (t), or y 00 + py 0 + qy = r .
dt dt
Just as in the first order linear case, if we see
Ay 00 + By 0 + Cy = D with A, B, C , D functions of t we can
obtain the above form by dividing by A. When A, B and C are
constants we often won’t bother.
The equation is called homogeneous when r = 0. It has
constant coefficients when p and q are constant functions of t.
C1 y1 (t0 ) + C2 y2 (t0 ) = A,
C1 y10 (t0 ) + C2 y20 (t0 ) = B.
Cramer’s Rule says that this has a solution provided the
coefficient determinant
y1 (t0 ) y2 (t0 )
y1 (t0 ) y20 (t0 ) is nonzero.
0
The Wronskian
Given two functions y1 , y2 the Wronskian is defined to be the
function:
y1 y2
W (y1 , y2 ) = 0 0 = y1 y20 − y2 y10 .
y1 y2
Two functions are called linearly dependent when there are
constants C1 , C2 not both zero such that C1 y1 + C2 y2 ≡ 0 and
so when one of the two functions is a constant multiple of the
other. If y2 = Cy1 then W (y1 , y2 ) ≡ 0. The converse is almost
true:
y y 0 −y y 0
W /y12 = 1 2y 2 2 1 = ( yy21 )0 and so if W is identically zero the
1
ratio yy21 is some constant C and so y2 = Cy1 .
On the other hand, y1 (t) = t 3 and y2 (t) = |t 3 | have W ≡ 0
but are not linearly dependent. What is the problem? Hint:
look for a division by zero.
Now suppose the Wronskian vanishes at a single point t0 . If
y10 (t0 ) = y20 (t0 ) = 0 then we can pick C1 , C2 , not both zero,
such that with z = C1 y1 + C2 y2 is zero at t0 and of course
z 0 (t0 ) = C1 y10 (t0 ) + C2 y20 (t0 ) = 0. Otherwise, choose
C1 = y20 (t0 ) and C1 = −y10 (t0 ). Check that with
z = C1 y1 + C2 y2 we have
q× y1 y2 − y2 y1 = 0
p× y1 y20 − y2 y10 = W
1× y1 y200 − y2 y100 = W0