MATH 215/255 Fall 2015 Assignment 1

advertisement
MATH 215/255
Fall 2015
Assignment 1
§1.1, §1.2, §1.3, §1.4
dy
= x2 + x for y(1) = 3.
dx
Rewrite the DE as
1. (1.1.2) Solve
Answer.
dy = (x2 + x)dx.
Integrating,
1
1
y = x3 + x2 + c.
3
2
Using y(1) = 3, we get
3=
thus c =
13
6 ,
1 1
+ + c,
3 2
and hence
1
1
13
y = x3 + x2 + .
3
2
6
1.2. SLOPE FIELDS
21
1
dy
=
for y(0) = 0.
2. (1.1.7) Solve
dx
y+1
If A = 0, Rewrite
then y =the
0 isDE
a solution.
as
For example, when A = 1 the
up” at x = 1. Hence, the solution does not exis
(y solution
+ 1)dy =“blows
dx.
for all x even if the equation is nice everywhere. The equation y0 = y2 certainly looks nice.
Answer.
Integrating,
1 2 be interested in equations where existence and uniqueness holds
For most of this course we will
y + y = x + c.
2 for the equation y0 = y2 .
and in fact holds “globally” unlike
Using y(0) = 0, we get
1.2.3
0 + 0 = 0 + c,
Exercises
1 2
thus c = 0, and 2 y + y = x. Completing square,
Exercise 1.2.1: Sketch slope field for2 y0 = e x y . How do the solutions behave as x grows? Can you
(y + 1) = 2x + 1.
guess a particular solution by looking at the slope field?
Thus
Exercise 1.2.2: Sketch slope field for y0√= x2 .
y + 1 = ± 2x + 1.
Exercise 1.2.3: Sketch slope field for y0 = y2 .
Since (x, y) is near (0, 0), we take positive sign, and
√ equation y0 = xy for y(0) = 1? Justify.
Exercise 1.2.4: Is it possible to solve the
cos x
y = −1 + 2x + 1.
p
0
Exercise 1.2.5: Is it possible to solve the equation y = y |x| for y(0) = 0? Is the solution unique?
Justify.
Remark. The maximal interval of existence is − 12 < x < ∞.
0 = 1 − x, y 0 0= x − 2y, y 00 = x(1 − y) to
3. (1.2.6)
Match
equations
Exercise
1.2.6:
Matchyequations
y = 1 x, y = x 2y, y0 =slope
x(1 fields.
y) toJustify.
slope fields. Justify.
a)
b)
c)
Exercise 1.2.7 (challenging): Take y0 = f (x, y), y(0) = 0, where f (x, y) > 1 for all x and y. If the
solution exists for all x, can you say what happens to y(x) as x goes to positive infinity? Explain.
Exercise 1.2.8 (challenging): Take (y x)y0 = 0, y(0) = 0. a) Find two distinct solutions. b) Explain
why this does not violate Picard’s theorem.
Answer.
(b) is for y 0 = 1 − x, since the slope field is independent of y.
(c) is for y 0 = x − 2y, since the slopes are the same on every level set x − 2y = c.
(a) is for y 0 = x(1 − y) since it is the remaining case, and the picture is symmetric
with respect to the center (0, 1).
4. (§1.2) Solve the problem
y 0 + y 3 = 0,
y(0) = y0 ,
and determine how the interval in which the solution exists depends on the initial
value y0 .
Answer.
If y0 = 0, the solution y(t) = 0 exists for all t.
If y0 6= 0, the equation is separable, with dy/y 3 = −dt. Integrating both sides and
1
1
invoking the initial condition, − y −2 = −t− y0−2 and thus y −2 = 2t+y0−2 . If y0 > 0,
2
2
1
for t > − 12 y0−2 . If y0 < 0,
then y(t) > 0 for all t in the domain. So y(t) = q
−2
2t + y0
1
for t > − 12 y0−2 .
then y(t) < 0 for all t in the domain. So y(t) = − q
−2
2t + y0
5. (§1.2) (a) Verify that both y1 (t) = 1 − t and y2 (t) = −t2 /4 are solutions of the initial
value problem
−t + (t2 + 4y)1/2
y0 =
, y(2) = −1.
2
Where are these solutions valid?
(b) Explain why the existence of two solutions of the given problem does not contradict
the uniqueness part of Theorem 1.2.1.
Answer.
side)
(a) For y = y1 (t) = 1 − t, y(2) = −1, y 0 = −1 while (RHS = right hand
1
1
RHS(DE) = (−t + (t2 + 4 − 4t)1/2 ) = (−t + |t − 2|)
2
2
which is −1 if t ≥ 2 and 1 − t if t < 2. Thus y1 satisfies the DE for t ≥ 2.
For y = y2 (t) = −t2 /4, y(2) = −1, y 0 = −t/2 while
1
RHS(DE) = (−t + (t2 − t2 )1/2 ) = −t/2
2
which is y 0 . Thus y2 satisfies the DE for all t ∈ R.
(b) By Theorem 2.4.2 we are guaranteed a unique solution only where f (t, y) =
1
2
1/2 ) and f (t, y) = (t2 + 4y)−1/2 are continuous. In this case the initial
y
2 (−t + (t + 4y)
point (2, −1) lies in the region t2 + 4y ≤ 0 so fy is not continuous and hence the
theorem is not applicable and there is no contradiction.
6. (§1.3) Solve y 0 + y 2 sin x = 0.
Answer.
If y(x0 ) = 0 for some x0 , then y(x) = 0 for all x. If y 6= 0, the DE may
be written as y −2 dy = − sin x dx. Integrating both sides, we get −y −1 = cos x + c, or
y = −1/(cos x + c).
2
Note: For any given initial data y(x0 ) = y0 6= 0, we have cos x + c 6= 0 for x near x0 .
The interval of existence is finite if |c| ≤ 1.
7. (§1.3) Consider
y 0 = (1 − 2x)/y,
y(1) = −2.
(a) Find the solution in explicit form.
(b) Plot the graph of the solution.
(c) Determine the interval in which the solution is defined.
Answer.
(a) Rewrite as ydy = (1 − 2x)dx. √Integrating we get y 2 /2 = x − x2 + c.
Using y(1) = −2 we get c = 2. Thus y(x) = − 4 + 2x − 2x2 , where the negative sign
is due to y(1) < 0.
(b) Answer.
(c) The solution is defined if 4+2x−2x2 > 0. Thus the interval of existence is (−1, 2).
8. (§1.3) Solve (an implicit solution of)
y 0 = (1 + 3x2 )/(3y 2 − 6y),
y(0) = 1.
Answer. We have (3y 2 − 6y)dy = (1 + 3x2 )dx so that y 3 − 3y 2 = x + x3 + c. Using
y(0) = 1 we get c = −2, and
y 3 − 3y 2 = x + x3 − 2,
which defines y as an implicit function of x near (x, y) = (0, 1).
9. (§1.4) Solve y 0 − y = 2te2t ,
Answer.
y(0) = 1.
µ(t) = e−t so that (e−t y)0 = 2tet and thus
Z
Z
−t
t
t
e y(t) = 2te dt = 2te − 2 et dt = 2(t − 1)et + c.
Setting t = 0 and y = 1 we get 1 = −2 + c, or c = 3. Hence y(t) = 2(t − 1)e2t + 3et .
3
10. (§1.4) Solve ty 0 + 2y = t2 − t + 1,
y(1) = 12 ,
t > 0.
0
Answer. Rewrite
with p(t) = 2/t and g(t) = t − 1 + 1/t. Take
R 2dt as 2y + p(t)y =2 g(t)
µ(t) = exp( t ) = t so that (t y)0 = t3 − t2 + t. Integrating and dividing by t2
gives y = t2 /4 − t/3 + 1/2 + c/t2 . Setting t = 1 and y = 1/2 we have c = 1/12. Thus
1
y = t2 /4 − t/3 + 1/2 + 12t
2.
11. (§1.4) Find the value of y0 for which the solution of the initial value problem
y 0 − y = 1 + 3 sin t,
y(0) = y0
remains finite as t → ∞ (i.e., uniformly bounded by some constant for all t).
Answer.
(e−t y)0 = e−t + 3e−t sin t so e−t y(t) = −e−t − 23 e−t (sin t + cos t) + c, or
3
y(t) = −1 − (sin t + cos t) + cet .
2
Setting t = 0 we get y0 = −1 − 3/2 + c. If y(t) is to remain bounded as t → ∞, we
must have c = 0 and thus y0 = −5/2.
12. (§1.4) A tank initially contains 120 L of pure water. A mixture containing a concentration of γ g/L of salt enters the tank at a rate of 2 L/min, and the well-stirred
mixture leaves the tank at the same rate. Find an expression in terms of γ for the
amount of salt in the tank at any time t. Also find the limiting amount of salt in the
tank as t → ∞.
Answer. Let S(t) be the amount of salt at time t. Then S(0) = 0. We have rate in
= 2γ and rate out = 2(S/120), thus
dS/dt = 2γ − S/60,
S(0) = 0.
This is a linear equation and we can take integrating factor et/60 , resulting in (et/60 S)0 =
2γet/60 . Integrating and dividing by et/60 , we get S(t) = 120γ + ce−t/60 . The condition S(0) = 0 gives c = −120γ, so S(t) = 120γ(1 − e−t/60 ) and hence S(t) → 120γ as
t → ∞.
4
Download