HW3 Integrating Factors Ans
HW3 Integrating Factors Ans
HW3 Integrating Factors Ans
EXPECTED SKILLS:
• Be able to solve first-order linear equations by using the appropriate integrating factors.
PRACTICE PROBLEMS:
For problems 1-6, use an integrating factor to solve the given differential equa-
tion. Express your answer as an explicit function of x.
dy
1. − 4y = e5x
dx
y = e5x + Ce4x
dy
2. + 3x2 y = x2
dx
1 3
+ Ce−x
3
3. y 0 = x − 2y
1 1
Ce−2x + x −
2 4
dy
4. − y = sin (e−x )
dx
y = ex cos (e−x ) + Cex
y
5. y 0 + = x, for x > 1
x ln x
1 x2 C
y = x2 − +
2 4 ln x ln x
dy 1
6. + y = 2x
dx e − 5ex + 4
1 ex − 4
y = e−x ln x + Ce−x ; Detailed Solution: Here
3 e −1
1
7. Look at the First-Order Separable Equations practice problems 3 – 9 and determine
which ODE’s, if any, are first-order linear equations. If there are any, solve them using
integrating factors.
Problem #5 is a linear equation since it can be written as y 0 − x2 y = 0. The solution
3
is (of course) still y = Cex /3 .
For problems 8-9, solve the initial value problem. Express your answer as an
explicit function of x.
dy 1 1
8. + y= , for x > 0; y(1) = 0
dx x x + x3
arctan x π
y= −
x 4x
dy π π
9. (cos x) + y sin x = sin x cos x, for − < x < ; y(0) = 5
dx 2 2
y = (cos x) ln (sec x) + 5 cos x; Detailed Solution: Here
10. A tank intially contains 7 pounds of salt dissolved in 100 gallons of water. Then, salt
water containing 3 pounds of salt per gallon enters the tank at a rate of 8 gallons per
minute, and the mixed solution is drained from the tank at a rate of 8 gallons per
minute. Let y = y(t) be the amount of salt in the tank at time t.
(a) Using this information, set up an initial value problem (IVP) whose solution is
y(t).
dy 2y
= 24 −
dt 25
y(0) = 7
(b) Using integrating factors, solve the IVP from part (a).
y(t) = 300 − 293e−2t/25
(c) Using separation of variables, solve the IVP from part (a).
y(t) = 300 − 293e−2t/25
11. Suppose the saltwater solution in problem #10 is drained from the tank at a rate of 6
gallons per minute.
(a) Set up an initial value problem (IVP) whose solution is y(t). [Hint: The volume
of saltwater is no longer a constant, but rather a function of t.]
2
dy 3y
= 24 −
dt 50 + t ; Detailed Solution: Here
y(0) = 7
(b) Using integrating factors, solve the IVP from part (a).
[Note that unlike problem #10 the ODE is no longer separable.]
y(t) = 6(50 + t) − 293(50)3 (50 + t)−3
(c) Suppose that the tank has a capacity of 200 gallons. How much salt is in the tank
when it reaches the point of overflowing?
The tank overflows at time t = 50 minutes.
4507
At that time the amount of salt is y (50) = ≈ 563.4 pounds
8
12. Suppose that an object with mass m falls to the earth with a velocity v = v(t) and is
subjected to the force of gravity as well as air resistance (which is propotional to its
velocity). Using Newton’s Second Law it can be shown that
dv
m = −mg − kv
dt
where g is the acceleration due to gravity and k is some positive constant of propor-
tionality.
(a) Assuming that the object’s initial velocity is v0 , set up an initial value problem
(IVP) whose solution is v(t).
dv k
+ v = −g
dt m
v(0) = v0
(b) Solve the IVP from part (a).
gm gm −kt/m
v(t) = − + v0 + e
k k
(c) Evaluate lim v(t).
t→∞
gm
lim v(t) = − . This is known as the terminal velocity of the object and occurs
t→∞ k
when the opposing forces of air resistance and gravity are equal, causing the object
to experience no acceleration.
13. Consider the simple electrical circuit shown below. An electromotive force (e.g. a
generator) produces a voltage of V (t) volts (V) and a current of I(t) amperes (A) at
time t. The circuit also contains a resistor with a constant resistance of R ohms (Ω)
3
and an inductor with a constant inductance of L henries (H). Such a circuit is called
an RL circuit.