Docsity

Solutions to Exam I - Oct 18, 2010: Saltwater Tank, Diff. Equations, Homogeneous Equations, Exams of Differential Equations

Toggle sidebar
bg1
Hour Exam I – October 18, 2010
1. A tank initially contains 100 gallons of water with 10 lbs of dissolved salt. At
time t= 0 pure water begins following into the tank at a rate of 10 gallons per
minute, and a drain is opened that allows the mixture in the tank to flow out at a
rate of 5 gallons per minute. Assume that the mixture in the tank is always being
stirred. How much dissolved salt is in the tank when it contains 200 gallons of the
mixture?
Solution: The volume of the mixture in the tank at time tminutes after the start
is 100 + (10 −5)tgallons. So, letting S(t) be the dissolved salt (in pounds) in the
tank at time t, you are given S(0) = 10, and the concentration of salt in the mixture
at time tis S(t)/(100 + 5t). That leads to
dS
dt =−S(t)
100 + 5t5
You can solve that as a separable first order equation or as a linear equation. If
you treat it as a linear equation, the integrating factor is (100 + 5t). So you get
d
dt((100 + 5t)S(t)) = 0 so S(t) = C
100 + 5t.
Since S(0) = 10, C= 1000. The tank has 200 gallons when t= 20, and S(20) = 5.
So the answer is 5 pounds.
In these problems you can almost always assume that the volume of the salt is so
small compared to the volume of water that you can neglect it. This was not true
in the problem with the two lakes, but the volume of pollution there was very large.
2. (a) (8 pts.) Find the general solution to
dy
dx +3y
x=x.
Solution: This is a linear equation, so the integrating factor is eAwhere A=
R3dx
x= 3 ln |x|. So eA=|x|3. To be absolutely correct here you should treat x > 0
and x < 0 separately, but I will just take x3as the integrating factor since it works
in both cases. Multiplying the equation by that you get
x3dy
dx + 3x2y=x4which says d
dx(x3y) = x4.
So
x3y=x5
5+Cand y=x2
5+C
x3
is the general solution.
pf3
pf4

Partial preview of the text

Download Solutions to Exam I - Oct 18, 2010: Saltwater Tank, Diff. Equations, Homogeneous Equations and more Exams Differential Equations in PDF only on Docsity!

Hour Exam I – October 18, 2010

  1. A tank initially contains 100 gallons of water with 10 lbs of dissolved salt. At time t = 0 pure water begins following into the tank at a rate of 10 gallons per minute, and a drain is opened that allows the mixture in the tank to flow out at a rate of 5 gallons per minute. Assume that the mixture in the tank is always being stirred. How much dissolved salt is in the tank when it contains 200 gallons of the mixture?

Solution: The volume of the mixture in the tank at time t minutes after the start is 100 + (10 − 5)t gallons. So, letting S(t) be the dissolved salt (in pounds) in the tank at time t, you are given S(0) = 10, and the concentration of salt in the mixture at time t is S(t)/(100 + 5t). That leads to

dS dt

S(t) 100 + 5t

You can solve that as a separable first order equation or as a linear equation. If you treat it as a linear equation, the integrating factor is (100 + 5t). So you get

d dt

((100 + 5t)S(t)) = 0 so S(t) =

C

100 + 5t

Since S(0) = 10, C = 1000. The tank has 200 gallons when t = 20, and S(20) = 5. So the answer is 5 pounds. In these problems you can almost always assume that the volume of the salt is so small compared to the volume of water that you can neglect it. This was not true in the problem with the two lakes, but the volume of pollution there was very large.

  1. (a) (8 pts.) Find the general solution to

dy dx

3 y x

= x.

Solution:∫ This is a linear equation, so the integrating factor is eA^ where A = 3 dx x = 3 ln^ |x|. So^ e

A (^) = |x| (^3). To be absolutely correct here you should treat x > 0

and x < 0 separately, but I will just take x^3 as the integrating factor since it works in both cases. Multiplying the equation by that you get

x^3

dy dx

  • 3x^2 y = x^4 which says

d dx

(x^3 y) = x^4.

So

x^3 y =

x^5 5

  • C and y =

x^2 5

C

x^3

is the general solution.

(b) (2 pts.) For which values of a can you find solutions satisfying y(a) = 1?

Solution: If a 6 = 0, you get the solution with y(a) = 1 by setting

C = a^3 (1 −

a^2 5

If a = 0, that gives C = 0 which does not work: when C = 0, y(0) = 0. This does not contradict the existence theorem because f (x, y) = x − 3 y/x is not continuous at (x, y) = (0, 1). So the answer here is all a ∈ R except 0.

  1. The differential form ω = (xy − 1)dx + (x^2 − xy)dy is not exact, but it has an integrating factor depending only on x. Use this information to find the solution to dy dx

1 − xy x^2 − xy

satisfying y(1) = 2.

Solution: μ(x)ω will be exact if and only if

∂ ∂y

(μ(x)(xy − 1)) =

∂x

(μ(x)(x^2 − xy))

That reduces to xμ(x)x = μ′(x)(x^2 − xy) + μ(x)(2x − y)

and, solving (carefully!) for μ′(x), you find

μ′(x) = −

μ(x) x

So you can take μ(x) = 1/x, and, sure enough, (1/x)ω = (y − 1 /x)dx + (x − y)dy is exact. Setting

F (x, y) =

(y −

x

)dx + C(y) = xy − ln |x| + C(y), and requiring

∂F

∂y

= x − y,

you find C′(y) = −y. So you can take C(y) = −y^2 /2, and the solutions to the

differential equation are the level curves xy − ln |x| − y

2 2 =^ C.^ If^ y(1) = 2, then C = 0, and y(x) is a solution to y^2 − 2 xy + 2 ln x = 0. Note that I took x > 0 because x = 1 is in the interval of existence for y(x) and the interval of existence cannot contain x = 0. Solving the quadratic equation, you find

y(x) =

2 x ±

4 x^2 − 8 ln x 2

and you have to take the plus sign to get y(1) = 2.

(b) (4 pts.) Will y(x) always be less than 4? Why?

Solution: Yes, it will. This equation has the equilibrium solution y(x) ≡ π. Since our solution has y(0) = 1 < π, the uniqueness theorem implies y(x) < π < 4 for all x in its interval of existence.

Credit on this problem was based entirely on your explanation of why y(x) < 4.

(c) (4 pts.) What is the domain (I should have said “interval”) of existence for y(x)? Explain your answer.

Solution: The interval of existence is −∞ < x < ∞. Note that y(x) ≡ 0 is also an equilibrium solution for this equation. So our solution y(x) satisfies 0 < y(x) < π for all x in its interval of existence. Also it is always increasing as x increases,

since x

(^2) sin y 1+y^2 is positive when 0^ < y < π. So the limit of^ y(x) will always exist as x approaches an end of the interval of existence. Together with the continuity of x^2 sin y 1+y^2 on the whole plane, this implies that the only possible ends for the interval of existence are ±∞.

Credit on this problem was also based entirely on your explanation of why the interval of existence was (−∞, ∞). Many people thought that the interval would be (−∞, ∞) simply because f (x, y) = x^2 sin y/(1 + y^2 ) is continuous and differentiable on the whole plane. Please learn that this is not true: f (x, y) = y^2 is also continuous

and differentiable on the whole plane, but the solution to dydx = y^2 with y(0) = 1 is y(x) = 1/(1 − x), and the interval of existence for that is −∞ < x < 1.