Be sure this exam has 6 pages including the cover

advertisement
Be sure this exam has 6 pages including the cover
The University of British Columbia
MATH 215/255
Midterm Exam I – October 2015
Name
Signature
Student Number
Course Number
Circle Section:
101 Zhao
102 Tsai
103 Kolokolnikov
104 Zhao
This exam consists of 5 questions worth 40 marks. No notes nor calculators.
Problem
Points
1
10
2
5
3
5
4
10
5
10
Total:
40
Score
1. Each candidate should be prepared to produce his library/AMS card upon request.
2. Read and observe the following rules:
No candidate shall be permitted to enter the examination room after the expiration of one half hour, or to leave
during the first half hour of the examination.
Candidates are not permitted to ask questions of the invigilators, except in cases of supposed errors or ambiguities
in examination questions.
CAUTION - Candidates guilty of any of the following or similar practices shall be immediately dismissed from the
examination and shall be liable to disciplinary action.
(a) Making use of any books, papers or memoranda, other than those authorized by the examiners.
(b) Speaking or communicating with other candidates.
(c) Purposely exposing written papers to the view of other candidates. The plea of accident or forgetfulness
shall not be received.
3. Smoking is not permitted during examinations.
October 2015
Math 215/255 Midterm 1
Page 2 of 6
1. Consider the following initial value problem:
( 0
y = x/y,
y(2) = 1.
(6 points)
(a) Find the explicit solution to the problem (1).
Answer.
dy/dx = y/x =⇒ dyy = xdx =⇒ y 2 /2 = x2 /2 + C
Initial conditions yield 1/2 = 4/2 + C so that 2C = −3 and
p
y = x2 − 3.
(4 points)
(b) Use Euler’s method to approximate y(4) to the problem (1) with the step size 1.
Answer. h = 1, y0 = 1, y1 = 1 + 2/2 = 3, y2 = 3 + 3/3 = 4. so that y(4) ≈ 4.
(1)
October 2015
Math 215/255 Midterm 1
Page 3 of 6
(5 points) 2. A solution that contains 5 grams/liter of salt is being poured into a tank at a rate of 2
liters/minute. At the same time, the solution in the tank flows out at a rate of 1 liters per
minute. Initially, the tank contains 10 liters of pure water. Let y(t) be the amount in grams
of salt in the tank at time t minutes. Write down the ODE model for y(t), as well as initial
conditions. Note: please do not solve for y(t), no points will be given for solving it.
Answer.
dy/dt = rate in − rate out
rate in = 5gr/l ∗ 2l/min = 10gr/min
y gr
rate out = 1l/min ∗
V liters
where V is the volume given by V = 10l + tmin ∗ (2liter/min − 1liter/min) = 10 + t so that
dy
y
= 10 −
.
dt
10 + t
(5 points) 3. Solve the ODE
Answer.
dy
dt
= y + e−t subject to initial condition y(0) = 0.
dy/dt − y = e−t has the integrating factor r(t) = e−t so that
Z
Z
−t
y = 1/r re dt = exp(t) e−2t dt = −1/2e−t + Cexp(t)
. Initial conditions then yield C = 1/2 so that
1
1
y = − e−t + et
2
2
October 2015
Math 215/255 Midterm 1
Page 4 of 6
4. Let k be a real constant, consider the following differential equation:
(4 points)
(2x2 + y) + (x2 y + kx)y 0 = 0, for x > 0.
(2)
1
(a) Find the value of k such that r(x) = 2 is an integrating factor for the equation (2).
x
1
Answer. Multiply r(x) = 2 on the both sides of (2), then
x
y
k
2+ 2 + y+
y 0 = 0.
x
x
Since r(x) =
Hence we get
(6 points)
1
is an integrating factor for (2), then we have
x2
∂ ∂
k
y
y+
.
2+ 2 =
∂y
x
∂x
x
k
1
= − 2 , which implies that
2
x
x
k = −1.
(b) When k takes the value found in the previous part, find the solution to the problem (2)
with the initial value condition y(1) = 2. (You can keep the implicit form of the solution)
Answer.
By the result of part (a), we know that k = 1 and
y
1
2+ 2 + y−
y0 = 0
x
x
is exact, which implies that there exists some function φ(x, y) such that
y
1
• φx (x, y) = 2 + 2 and φy (x, y) = y − .
x
x
• the solutions to the differential equation is given by φ(x, y) = C.
y
Since φx (x, y) = 2 + 2 , then
x
Z y
y
2 + 2 dx + f (y) = 2x − + f (y).
φ(x, y) =
x
x
Take the partial derivative with respect to y, then
1
φy (x, y) = − + f 0 (y).
x
1
Since φy (x, y) = y − , then
x
1
1
y − = − + f 0 (y).
x
x
That is, f 0 (y) = y, which implies that we can take f (y) =
y2
. So we get
2
y y2
+
= C.
x
2
Since y(1) = 2, then 2 − 2 + 2 = C, that is, C = 2. So the solution is:
φ(x, y) = 2x −
2x −
y y2
+
= 2.
x
2
October 2015
Math 215/255 Midterm 1
Page 5 of 6
(7 points) 5. (a) Consider the following autonomous differential equation:
y 0 = y(y + 1)2 (y − 2).
(3)
Draw the phase diagram of the problem (3), and classify the critical points of the
problem (3) stable or unstable.
Answer.
It’s easy to see that y = 0, y = −1 and y = 2 are all critical points for (3).
So we know that y = 2 is unstable(source), y = 0 is stable(sink), and y = −1 is
unstable(node).
(3 points)
2
(b) It’s easy to verify that y1 (x) = 2x and y2 (x) = 2x + 2e−x are two solutions to the
differential equation y 0 = 2 + 2x2 − 2xy. Let g(x) be the solution to the initial value
problem:
( 0
y = 2 + 2x2 − 2xy,
y(0) = 1.
Find the limit lim
x→∞
g(x)
and explain why. (Hint: Existence and uniqueness theorem)
x
Answer. Let f (x, y) = 2 + 2x2 − 2xy, then fy (x, y) = −2x. It’s easy to see that both
f (x, y) and fy (x, y) are continuous for all x and y, so we can apply the existence and
uniqueness theorem for all initial values. Since y1 (0) = 0 and y2 (0) = 2, by the
uniqueness theorem, we know that
y1 (x) < g(x) < y2 (x),
That is, we get
2
2x < g(x) < 2x + 2e−x ,
for all x ∈ R.
for all x ∈ R.
So we get
2
g(x)
2e−x
2<
<2+
,
x
x
for all x > 0.
Therefore, we know that
lim
x→∞
g(x)
= 2.
x
(4)
October 2015
Math 215/255 Midterm 1
Scrap page
Page 6 of 6
Download