Professional Documents
Culture Documents
We rst nd the homogeneous solution to the equation y 0 cot xy = 0. By using separation of variables, we
obtain that
1 0
y = cot x
y
so that integrating both sides with respect to x and then exponentiating gives us
y = c sin x
(1)
for some constant c. To nd the particular solution, we regard c as a function of x, write c = c(x), and plug
(1) this into the original given equation
(c(x)sin x) 0 (cot x)c(x)sin x
)c (x)sin x + c(x)cos x c(x)cos x
)c 0(x) sin x
)c 0(x)
)c(x)
0
=
=
=
=
=
2x sin x
2x sin x
2x sin x
2x
x2 + c1:
(2)
for some constant c. To nd the particular solution, we regard c as a function of x, write c = c(x), and plug
(2) into the original given equation
(c(x) ex) 0 + c(x) ex = x x2 x3
)c 0(x)ex c(x)ex + c(x)ex = x x2 x3
2
3 x
)c 0(x) = (x
Z x x Z)e
Z
)c(x) = xex dx x2ex dx x3ex dx:
||||||||||{z}}}}}}}}} |||||||||||{z}}}}}}}}}}}} |||||||||||{z}}}}}}}}}}}
(i)
(ii)
(iii)
R
u=x
dv = exdx
To integrate (i), we integrate by parts, letting
, so that (i)=xex ex dx = xex ex + C
du = dx v = ex
for some constant C.
R
u = x2
dv = exdx
To integrate (ii), we integrate by parts, letting
, so that (ii)=x2ex 2 xex dx, but
du = 2xdx v = ex
by above this is x2ex 2(xex ex + C) = x2ex 2xex + 2ex 2C.
R
u = x3
dv = exdx
To integrate (iii), we integrate by parts, letting
, so that (iii)=x3ex 3 x2ex dx,
2
du = 3x dx v = ex
but by above this is x3ex 3(x2ex 2xex + 2ex 2C) = x3ex 3x2ex + 6xex 6ex + 6C.
Then we have
so that
y = 5 5x + 2x2 x3 c1ex
Suppose x 2 [0; 1]. Then y 0 + 2y = 1. We will call the function that solves this DE y1. We solve the
corresponding homogeneous equation, y 0 + 2y = 0. Dividing by y, subtracting 2 from both sides, and
integrating w.r.t. x, and exponentiating gives us y = ce2x () for come constant c.
Now, we regard c as a function of x, write c = c(x). Then if we plug in () for the given DE, we get
1
(c(x)e2x) 0 + 2(c(x)e2x) = 1, so that c 0(x) = e2x. Integrating with respect to x gives us that c(x) = 2 e2x + c1
for some constant c1.
1
1
Then the general solution of the above is y1 = 2 e2x + c1 e2x = 2 + c1e2x. To solve for c1, we use the initial
1
Suppose instead that x > 1. Then y 0 + 2y = 0. We will call the function that solves this DE y2. We know
by above that y = c2 e2x, for some constant c2. Observe that y1 and y2 are both bounded at x = 1, which
implies that limx!1 y1 and limx!1+ y2 exist. Further, it must be that limx!1 y1 = limx!1+ y2, by page 32.
Hence, we calculate limx!1 y1.
1 1
1 1
lim y1 = lim e2x = e2:
2
2 2
x!1
x!1 2
Then if limx!1+ y2 = c2e2, and it must be that
us that c2 =
e2
2
2.
1
2
8
>
1 1
>
< e2x
2 2
y=
2
>
> e 1 e2x
:
2 2
06x61
1<x