Professional Documents
Culture Documents
5, #18
Linear Equations
with the initial condition y(1) = 0. The function for which we wish to solve is y and the independent variable
is x. Also, ln (x) imposes the condition x > 0 upon the independent variable.
= eln |x|
but since we know x > 0
= eln (x)
=x
Multiplying our FOLDE by this integrating factor, we get Integration by parts:
Z
′
xy + y = x ln (x) x ln (x) dx
So
Let u = ln (x), so dv = x dx.
′ 2
(xy) = x ln (x) Then du = x1 dx and v = x2 .
and we integrate 1
Z 2
x 1
= x2 ln (x) − · dx
Z
′
Z 2 2 x
(xy) dx = x ln (x) dx 1 1
Z
= x2 ln (x) − x dx
1 2 1 2 2
xy = x ln (x) − x2 + C2
1 x2
2 4 1 2
= x ln (x) − · + C1
1 1 C2 2 2 2
y = x ln (x) − x +
2 4 x 1 1
= x2 ln (x) − x2 + C2
From y(1) = 0, we know x = 1, then y = 0. Substituting, 2 4
1 1 C2
0= · 1 · ln (1) − · 1 +
2 4 1
1
0 = − + C2
4
1
C2 =
4
Thus, the particular solution to xy ′ + y = x ln (x), y(1) = 0 is
1 1 1
y= x ln (x) − x +
2 4 4x