Docsity

Problems on the Separate Variables and Integrates - Assignment 2 | MATH 301, Assignments of Differential Equations

Toggle sidebar
bg1
Di¤erential Equations - Math 301
Solutions and hints for assigned homework problems
CHAPTER 2
Sec.2.1-
19. The critical points or c.p. of the DE y0=yy3are y= 0;1:It is given that y=y0when
x= 0; so the initial value is just the y-intercept of each solution curve.
(a) If y0>1then the solution curve intersects the y-axis above 1. In this region y0<0so
the solution curve must be decreasing.
(b) If 0< y0<1then the y-intercept is between 0 and 1 where y0>0and solution curve is
increasing.
(c) If 1< y0<0then the y-intercept is between 1and 0 where y0<0and solution curve
is decreasing.
(d) If y0<1then the y-intercept is below 1where y0>0and solution curve is increasing.
21. c.p. are y= 0;3and y0=y23y. For y > 3we …nd that y0>0so in the phase portrait
the arrow must point up and in the xy-coordinates the solution curve must be increasing. For
0< y < 3the derivative y0<0so in the phase portrait the arrow points down and the solution
curve is decreasing. We also see that y= 3 is an unstable (repelling) c.p. For y < 0we have y0>0
so in the phase portrait the arrow points up and the solution curve is increasing. We also see that
y= 0 is an asymptotically stable (attracting) c.p.
23. The only c.p. is y= 2:Since y0= (y2)4is never negative, the arrows in the phase portait
must point up both above and below y= 2. Thus the c.p. is semistable. Also the solution curves
in the xy-coordinates must be increasing both above and below y= 2:
25. c.p. are y= 0;2with y0=y2(4 y2):For y > 2and y < 2the derivative y0<0so in the
phase portrait the arrows point down and in the xy-coordinates the solution curves are decreasing.
For 0< y < 2and 2< y < 0the derivative y0>0so in the phase portrait the arrows point up
and the solution curves are increasing. Also y= 0 is semistable, y= 2 is asymptotically stable and
y=2is unstable.
27. c.p. are y= 0;1since ln 1 = 0:Since in the DE y0=yln(y+ 2) the function ln(y+ 2) is
not de…ned for y 2the phase portrait is set up for 2< y < 1:For 2< y < 1and y > 0
the derivative y0>0so in the phase portrait the arrows point up and in the xy-coordinates the
solution curves are increasing. For 1< y < 0the derivative y0<0so in the phase portrait the
arrow points down and the solution curve is decreasing. It follows that y=1is asymptotically
stable and y= 0 is unstable.
29. In yy0-coordinates (also called the “phase plane”) the c.p. occur where the curve crosses
the y-axis and the derivative y0= 0:Hence in the given graph the c.p. are y= 0; c: The graph also
shows that y0<0for 0< y < c so in the phase portrait the arrow points down and the solution
curve in the xy-coordinates is decreasing. For y < 0and for y > c the derivative y0>0so the
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Problems on the Separate Variables and Integrates - Assignment 2 | MATH 301 and more Assignments Differential Equations in PDF only on Docsity!

Di§erential Equations - Math 301

Solutions and hints for assigned homework problems CHAPTER 2

Sec.2.1-

  1. The critical points or c.p. of the DE y^0 = y y^3 are y = 0;  1 : It is given that y = y 0 when x = 0; so the initial value is just the y-intercept of each solution curve. (a) If y 0 > 1 then the solution curve intersects the y-axis above 1. In this region y^0 < 0 so the solution curve must be decreasing. (b) If 0 < y 0 < 1 then the y-intercept is between 0 and 1 where y^0 > 0 and solution curve is increasing. (c) If 1 < y 0 < 0 then the y-intercept is between 1 and 0 where y^0 < 0 and solution curve is decreasing. (d) If y 0 < 1 then the y-intercept is below 1 where y^0 > 0 and solution curve is increasing.
  2. c.p. are y = 0; 3 and y^0 = y^2 3 y. For y > 3 we Önd that y^0 > 0 so in the phase portrait the arrow must point up and in the xy-coordinates the solution curve must be increasing. For 0 < y < 3 the derivative y^0 < 0 so in the phase portrait the arrow points down and the solution curve is decreasing. We also see that y = 3 is an unstable (repelling) c.p. For y < 0 we have y^0 > 0 so in the phase portrait the arrow points up and the solution curve is increasing. We also see that y = 0 is an asymptotically stable (attracting) c.p.
  3. The only c.p. is y = 2: Since y^0 = (y 2)^4 is never negative, the arrows in the phase portait must point up both above and below y = 2. Thus the c.p. is semistable. Also the solution curves in the xy-coordinates must be increasing both above and below y = 2:
  4. c.p. are y = 0;  2 with y^0 = y^2 (4 y^2 ): For y > 2 and y < 2 the derivative y^0 < 0 so in the phase portrait the arrows point down and in the xy-coordinates the solution curves are decreasing. For 0 < y < 2 and 2 < y < 0 the derivative y^0 > 0 so in the phase portrait the arrows point up and the solution curves are increasing. Also y = 0 is semistable, y = 2 is asymptotically stable and y = 2 is unstable.
  5. c.p. are y = 0; 1 since ln 1 = 0: Since in the DE y^0 = y ln(y + 2) the function ln(y + 2) is not deÖned for y  2 the phase portrait is set up for 2 < y < 1 : For 2 < y < 1 and y > 0 the derivative y^0 > 0 so in the phase portrait the arrows point up and in the xy-coordinates the solution curves are increasing. For 1 < y < 0 the derivative y^0 < 0 so in the phase portrait the arrow points down and the solution curve is decreasing. It follows that y = 1 is asymptotically stable and y = 0 is unstable.
  6. In yy^0 -coordinates (also called the ìphase planeî) the c.p. occur where the curve crosses the y-axis and the derivative y^0 = 0: Hence in the given graph the c.p. are y = 0; c: The graph also shows that y^0 < 0 for 0 < y < c so in the phase portrait the arrow points down and the solution curve in the xy-coordinates is decreasing. For y < 0 and for y > c the derivative y^0 > 0 so the

arrows point up in the phase portrait and the solution curves are increasing. Also the c.p. y = 0 is asymptotically stable and y = c is unstable.

Sec.2.2-

  1. Separate variables: dy = sin(5x)dx and integrate: y = (1=5) cos(5x) + c: (explicit solution)
  2. Separate variables: dy = e^3 xdx and integrate: y = (1=3)e^3 x^ + c: (explicit solution)
  3. Separate variables and integrate: Z (^1) y dy^ =

Z 4

x dx^ =)^ ln^ jyj^ = 4 ln^ jxj^ +^ c^ =) jyj^ =^ e

ln(x^4 )ec (^) =) y = c 0 x (^4) with c 0 = ec:

Note that this solution is explicit.

  1. Separate variables and integrate: Z e^2 ydy =

Z

e^3 xdx =)

2 e

2 y (^) =^1 3 e

3 x (^) + c =) 3 e 2 y (^) = 2e 3 x (^) + c 0 with c 0 = 6c:

This is an implicit solution but we can easily obtain an explicit solution as follows:

e^2 y^ = 32 e^3 x^ 2 c =) 2 y = ln

3 e

3 x (^) 2 c

=) y = 21 ln

c 1 23 e^3 x

; c 1 = 2 c:

  1. Separate variables and integrate: Z |{z}^ ln^ x u

x| {z }^2 dx dv

Z (^) (y + 1) 2 y dy^ =)^

x^3 3 ln^ x^

Z (^) x 3 3

| {z x dx} integration by parts

Z (^) y (^2) + 2y + 1 y dy

Now simplifying inside each of the two integrals, and then completing the integration process gives the implicit solution x^3 3 ln^ x^ ^

x^3 9 =^

y^2 2 + 2y^ + ln^ jyj^ +^ c Obtaining an explicit solution is not feasible in this case since both variables x and y appear both inside and outside the logarithm.

  1. Separate variables and integrate: Z (^1) sec^2 x dx^ =^

Z 1

csc y dy^ =)

Z

cos| {z }^2 x [1+cos(2x)]= 2

dx =

Z

sin ydy =)

x 2 +

sin(2x) 4 = cos^ y^ +^ c

Multiplying by 4 and rearranging terms gives

4 cos y = 2x + sin(2x) + c 0 with c 0 = 4 c:

Since u = y + 3 and w = x + 4 we substitute these values to get

y 5 ln jy + 3j = x 5 ln jx + 4j + c 0 with c 0 = c + 1:

  1. Separate variables and integrate: Z p^1 1 y^2

dy =

Z

xdx =) sin^1 y = x

2 2 +^ c^ =)^ y^ = sin

x^2 2 +^ c

  1. We solve the DE Örst by separating variables Z (^1) x^2 + 1

dx =

Z

4 dt =) tan^1 x = 4t + c =) x = tan(4t + c)

The last expression is an explicit solution. Next we use the given initial value to Önd c and solve the IVP

1 = x

= tan

4 +^ c

=) c +  = tan^1 1 =

4 =)^ c^ =^ ^

which gives the unique solution x = tan(4t 3 =4):

  1. First separate variables and solve the DE Z (^1) y

dy =

Z (^1) x x^2

dx =

Z ^1

x^2

x

dx =) ln jyj = ^1 x

ln jxj + c:

Using exponentials we get an explicit solution

jyj = e^1 =xln^ jxj+c^ = e

1 =xec jxj

=) y = c^0 e

1 =x x

; c 0 = ec:

Now we use the given initial value to solve the IVP

1 = y(1) = c^0 e

1 1

) c 0 =^1 e

= e^1 ) y = e

1 1 =x x

Sec.2.3-

  1. The integrating factor is (x) = e

R (^) 5 dx = e^5 x^ so the soltuion and the interval of deÖnition are found as y = 1 e^5 x

Z

e^5 x: 0 dx + c

= ce^5 x^ for all x in I = (1; 1 ):

  1. The integrating factor is (x) = e

R (^1) dx = ex^ and the soltuion is found as

y = 1 ex

Z

ex:e^3 xdx + c

= ex

e^4 x^ + c

=^1

e^3 x^ + cex:

Since limx!1 cex^ = limx!1(c=ex) = 0 the second term above is transient; thus for large values of x the solution is approximately e^3 x= 4 : The interval of deÖntion is I = (1; 1 ); i.e. 1 < x < 1 :

  1. The integrating factor is (x) = e

R (^3) x (^2) dx = ex^3 and the soltuion is found as

y =

ex^3

[

Z

ex

3 :x^2 dx | {z } u=x^3 ; du=3x^2 dx

  • c] = ex

3

Z

eu^

du 3 +^ c

3 +^ ce

x^3 :

Since limx!1 cex^3 = limx!1(c=ex^3 ) = 0 the second term above is transient; thus for large values of x the solution is approximately 1 = 3 : The interval of deÖntion is I = (1; 1 ):

  1. First we write the DE in standard form by dividing by x^2 to get

y^0 +^1 x

y = 1 x^2

Now the integrating factor is (x) = e

R (^) (1=x)dx = eln^ jxj^ = jxj: We can remove the absolute value by Önding the interval of deÖnition. Since in the standard form above we divide by x it must be that x 6 = 0: So we may pick I = (0; 1 ) or x > 0 for a largest interval on which the solution can be deÖned (the alternative interval (1; 0) gives the same answer). With x > 0 we have jxj = x so the integrating factor is (x) = x: Now we calculate the solution as

y =

x

Z

x

x^2 dx^ +^ c

x

Z 1

x dx^ +^

c x =

x ln^ x^ +^

c x =^

c + ln x x : Since limx!1(c=x) = 0 the term c=x is transient. Further, by LíHospitalís rule

x^ lim!1^ ln^ x x

= lim x!1^1 =x 1

= lim x!1^1 x

so in fact the entire solution is transient in this problem.

  1. First we write the DE in standard form by dividing by x to get dy dx

x

y = x sin x:

Now the integrating factor is

(x) = e

R (^) (1=x)dx = e^ ln^ jxj^ = e^ ln(1=jxj)^ =

jxj =

x

where we removed the absolute value because as in Problem 7 above the interval of deÖnition can be chosen as (0; 1 ); i.e. x > 0 : Now we calculate the solution as

y = 1 1 =x

Z

x

x sin xdx + c

= x

Z

sin xdx + c

= cx x cos x:

  1. First we write the DE in standard form by dividing by cos x to get dy dx
  • sin^ x cos x

y = 1 cos x

Next, using the trigonometric substitution u = cos x and du = sin xdx the integrating factor is computed as

(x) = e

R (^) (sin x= cos x)dx = e^

R (^) (1=u)du = eln(1njuj)^ = (^) j cos^1 xj :

Since in the standard form we divide by cos x; we must have cos x 6 = 0: A largest interval on which this is true is I = (= 2 ; =2); there are many more intervals of this same size, but it is enough to pick one. For = 2 < x < = 2 we have cos x > 0 so that the integrating factor is (x) = 1= cos x: Now we calculate the solution as

y =

1 = cos x

Z

cos x

cos x dx^ +^ c

= cos x

Z

sec^2 xdx + c

= cos x tan x + c cos x = sin x + c cos x:

  1. First we write the DE in standard form by dividing by x + 1 to get dy dx
  • x^ + 2 x + 1

y =^2 xe

x x + 1

Next, using the algebraic substitution u = x + 1 and du = dx the integrating factor is computed as

(x) = e

R (^) [(x+2)=(x+1)]dx = e

R (^) [(u1+2)=u]du = e

R (^) [1+(1=u)]du = eu+ln(juj)^ = ueu^ = (x + 1)ex+

where the absolute value was removed by noting that the interval of deÖnition in this case must be I = ( 1 ; 1 ) or x > 1 (since in standard form we divided by x + 1 we must have x + 1 6 = 0 or x 6 = 1 ). Now we calculate the solution as

y =

(x + 1)ex+

Z

(x + 1)ex+^

2 xex x + 1 dx^ +^ c

(x + 1)ex+

2 e

Z

xdx + c

x^2 + c 0 (x + 1)ex^ ; c^0 =^

c e : Using the LíHospitalís rule as in Problem 7 above we Önd that the whole solution is transient in this case.

  1. The integrating factor with the independent variable  is

() = e

R (^) sec d = eln^ j^ sec^ +tan^ j^ = j sec  + tan j = 1 + sin^  cos 

In the DE the coe¢ cient sec  = 1= cos  is deÖned on a largest interval I = (= 2 ; =2); see Problem 17 above. If = 2 < x < = 2 then cos  > 0 so the absolute value can be removed to get

() = 1 + sin cos  :

Now we can calculate the solution of the DE as

r =

cos  1 + sin 

Z

1 + sin  cos  cos^ d^ +^ c

cos  1 + sin 

Z

(1 + sin )d + c

( cos  + c) cos  1 + sin  :

  1. First we write the DE in standard form by dividing by x to get

dy dx

3 +^1

x

y = e

3 x x

Next, the integrating factor and the interval of deÖntion are

(x) = e

R (^) [3+(1=x)]dx = e^3 x+ln^ jxj^ = xe^3 x; I = (0; 1 ) i.e. x > 0 :

Now we compute the solution of the DE

y =

xe^3 x

Z

xe^3 x^

e^3 x x dx^ +^ c

xe^3 x

Z

1 dx + c

x + c xe^3 x^ =^ e

3 x(1 + c x ):

Since limx!1 e^3 x(1 + c=x) = (0)(1) = 0; the entire solution is transient.

  1. First we Önd the general solution of the DE by writing it in standard form by dividing by x to get

y^0 +^1 x

y = e

x x

Next, the integrating factor and the interval of deÖntion are

(x) = e

R (^) (1=x)dx = eln^ jxj^ = x; I = (0; 1 ) i.e. x > 0 :

Thus the general solution of the DE is

y =

x

Z

x

ex x dx^ +^ c

x

Z

exdx + c

ex^ + c x : Now we Önd the unique solution of the IVP using the given initial value

2 = y(1) = e^ +^ c 1

=) c = 2 e  0 : 72 so y = e

x (^) e + 2 x

The solution has the form f (x; y) = c where c is and arbitrary constant and f (x; y) is found using the solution procedure for exact DE:

f (x; y) =

Z

(5x + 4y)dx =^5 2

x^2 + 4xy + g(y) [ y was held constant in this integration]

We could just as easily integrate by holding x constant. Next we Önd g(y) to complete the solution 4 x 8 y^3 = @f @y

= 0 + 4x + g^0 (y) =) g(y) =

Z

8 y^3 dy = 2 y^4 + c 1

where c 1 is the usual numerical arbitrary constant of integration (we could also set c 1 = 0 to suppress it at this stage). Thus the solution of the DE is

5 2 x

(^2) + 4xy 2 y (^4) = c 0 ; c 0 = c c 1 :

  1. The DE is exact since @ @y (2xy

| {z } M

) = 4xy =

@x (2x

(^2) y + 4 | {z } N

The solution has the form f (x; y) = c where c is and arbitrary constant and f (x; y) is found using the solution procedure for exact DE:

f (x; y) =

Z

(2x^2 y + 4)dy = x^2 y^2 + 4y + h(x) [ x was held constant in this integration]

We could just as easily integrate by holding y constant. Next we Önd h(x) to complete the solution 2 xy^2 3 =

@f @x = 2xy

(^2) + 0 + h (^0) (x) =) h(x) =

Z

3 dx = 3 x + c 1

where c 1 is the usual numerical arbitrary constant of integration (we could also set c 1 = 0 to suppress it at this stage). Thus the solution of the DE is

x^2 y^2 + 4y 3 x = c 0 ; c 0 = c c 1 :

  1. The DE is not exact since the following partial derivatives are not equal @ @y (x

(^2) y 2 | {z } M

) = 2 y;

@x (x

(^2) 2 xy | {z } N

) = 2x 2 y:

  1. Taking both terms to one side of the equation shows it to be exact since @ @y (x^ ^ y

(^3) + y (^2) sin x | {z } M

) = 3 y^2 + 2y sin x = (^) @x@ ( | 3 xy^2 {z 2 y cos x} N

The solution has the form f (x; y) = c where c is and arbitrary constant and f (x; y) is found using the solution procedure for exact DE:

f (x; y) =

Z

(x y^3 + y^2 sin x)dx =

2 x

(^2) xy (^3) y (^2) cos x + g(y) [ y was held constant]

We could just as easily integrate by holding x constant. Next we Önd g(y) to complete the solution 3 xy^2 2 y cos x =

@f @y = 0^ ^3 xy

(^2) 2 y cos x + g (^0) (y) =) g(y) = c 1

where c 1 is the usual numerical arbitrary constant of integration (we could also set c 1 = 0 to suppress it at this stage). Thus the solution of the DE is

1 2 x

(^2) xy (^3) y (^2) cos x = c 0 ; c 0 = c c 1 :

  1. The DE is not exact since the following partial derivatives are not equal @ @y (y^ ln^ y^ ^ e

xy | {z } M

) = ln y + 1 + xexy;

@x (

|^ y +{z^ x^ ln^ y} N

) = ln y:

  1. To check for exactness it is Örst necessary to write the DE as a di§erential expression

(2xex^ y + 6x^2 )dx xdy = 0:

In this form the DE is exact since @ @y

(2 | xex^ {z y + 6x^2 } M

@x

( (^) |{z}x N

The solution has the form f (x; y) = c where c is and arbitrary constant and f (x; y) is found using the solution procedure for exact DE:

f (x; y) =

Z

xdy = xy + h(x) [ x was held constant in this integration]

In this problem it was easier to integrate N by holding x constant. Next we Önd h(x) to complete the solution

2 xex^ y + 6x^2 = @f@x = y + h^0 (x) =) h^0 (x) = 2xex^ + 6x^2

where we set the arbitrary constant of integration c 1 = 0 to suppress it at this stage. Thus the solution of the DE is x^3 y^3 tan^1 (3x) = c 0 ; c 0 = 3c:

  1. The DE is exact since @ @y (tan^ |^ x^ ^ {zsin^ x^ sin^ y} M

) = sin x cos y =

@x (cos^ |^ x{z^ cos^ y} N

The solution has the form f (x; y) = c where c is and arbitrary constant and f (x; y) is found using the solution procedure for exact DE:

f (x; y) =

Z

(cos x cos y)dy = cos x sin y + h(x) [ x was held constant]

In this problem it was easier to integrate N by holding x constant. Next we Önd h(x) to complete the solution

tan x sin x sin y = @f @x

= sin x sin y + h^0 (x) =) h(x) =

Z

tan xdx = ln j cos xj

where we set the arbitrary constant of integration c 1 = 0 to suppress it at this stage. Thus the solution of the DE is cos x sin y ln j cos xj = c:

  1. The DE is exact since, with t instead of x we have equal partial derivatives @ @y

(4 |t 3 y (^) {z 15 t^2 y} M

) = 4t^3 1 = @ @t

(t |^4 + 3{zy 2 (^) }t N

The solution has the form f (t; y) = c where c is and arbitrary constant and f (t; y) is found using the solution procedure for exact DE:

f (t; y) =

Z

(4t^3 y 15 t^2 y)dt = t^4 y 5 t^3 yt + g(y) [ y was held constant]

We could just as easily integrate by holding t constant. Next we Önd g(y) to complete the solution t^4 + 3y^2 t =

@f @y =^ t

(^4) 0 t + g (^0) (y) =) g(y) =

Z

3 y^2 dy = y^3

where we set the arbitrary constant of integration c 1 = 0 to suppress it at this stage. Thus the solution of the DE is t^4 y 5 t^3 yt + y^3 = c:

  1. First we Önd the general solution of the DE which is exact because @ @y [(x^ +^ y)

2 | {z } M

] = 2x + 2y =

@x (2xy^ +^ x

| {z } N

The solution has the form f (x; y) = c where c is and arbitrary constant and f (x; y) is found using the solution procedure for exact DE:

f (x; y) =

Z

(2xy + x^2 1)dy = xy^2 + x^2 y y + h(x) [ x was held constant]

Next we Önd h(x) to complete the general solution

y^2 + 2xy 0 + h^0 (x) =

@f @x = (x^ +^ y)

(^2) = x (^2) + 2xy + y (^2) =) h (^0) (x) = x (^2) =) h(x) = x^3 3

where we set the arbitrary constant of integration c 1 = 0 to suppress it at this stage. Thus the solution of the DE is

xy^2 + x^2 y y +

x^3 3 =^ c:

  1. For exactness the following partial derivatives must be equal @ @y

(y |^3 + kxy{z 4 2 x} M

) = 3y^2 + 4kxy^3 ; @ @x

(3 | xy^2 + 20{z x^2 y}^3 N

) = 3y^2 + 40xy^3 :

Comparing the values of the partial derivatives we Önd that

4 k = 40 so k = 10:

Sec.2.6-

  1. With f (x; y) = 2x 3 y + 1 given in this problem, Eulerís method is the di§erence equation

yn+1 = yn + h(2xn 3 yn + 1); y 0 = 5; x 0 = 1:

If h = 0: 1 then

y 1 = 5 + 0:1(2 15 + 1) = 5 1 :2 = 3: 8  y(1:1) y 2 = 3:8 + 0:1(2: 2 11 :4 + 1) = 3: 8 0 :82 = 2: 98  y(1:2)

If h = 0: 05 then

The next table lists the same values (the Örst few and last few) for h = 0: 05

xn yn Actual value Abs. error % Rel. error 0.00 1.0000 1.0000 0 0 0.05 1.0500 1.0513 0.0013 0. 0.10 1.1025 1.1052 0.0027 0. 0.15 1.1576 1.1618 0.0042 0. 0.20 1.2155 1.2214 0.0059 0. .. .

  1. In this problem, the IVP y^0 = 2xy with y(1) = 1 is both linear and separable (Sections 2.2, 2.3). It can be solved explicitly as y = ex^2 ^1. On the other hand, Eulerís method is

yn+1 = yn + h(2xnyn) = (1 + 2hxn)yn; y 0 = 1; x 0 = 1:

For h = 0: 1 the following table lists the values of Euler estimates, the values obtained from the explicit solution and the errors:

xn yn Actual value Abs. error % Rel. error 1.0 1.0000 1.0000 0 0 1.1 1.2000 1.2337 0.0337 2. 1.2 1.4640 1.5527 0.0887 5. 1.3 1.8154 1.9937 0.1784 8. 1.4 2.2874 2.6117 0.3243 12. 1.5 2.9278 3.4903 0.5625 16.

The next table lists the same values (the Örst few and last few) for h = 0: 05

xn yn Actual value Abs. error % Rel. error 1.00 1.0000 1.0000 0 0 1.05 1.1000 1.1079 0.07937 0. 1.10 1.2155 1.2337 0.0182 1. .. .