Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Coursework 1 ID:
Problem 1. Solve the following differential equation for t > 0:
1
ty + 2y = t2 t + 1, y(1) =
2
Solution: Transform the DE into the standard form
2 1
y + y = t 1 +
t t
Applying integrating factor Z
2
(t) = exp dt = t2
t
Then we have
d 2 1
t y = t2 t 1 + = t3 t2 + t
dt t
Integrating with respect to t gives
Z
t y = (t3 t2 + t) dt + C
2
t4 t3 t2
t2 y = + +C
4 3 2
1
To determine the constant C, substitute t = 1, y = :
2
1 1 1 1 1
= + +C C =
2 4 3 2 12
So the solution to the given system is
1 2 1 1 1
y= t t + + t2
4 3 2 12
1
Problem 3. Find the value of b for which the equation
(ye2xy + x) dx + bxe2xy dy = 0
M N
= 2xye2xy + e2xy and = 2bxye2xy + be2xy
y x
For the given DE to be exact,
M N
=
y x
2xye2xy + e2xy = 2bxye2xy + be2xy
b=1
To solve the given DE with b = 1, we need to find a function (x, y) such that x = M and y = N , so
we have
e2xy x2
Z
= ye2xy + x = (ye2xy + x) dx + f1 (y) = + + f1 (y) (1)
x 2 2
e2xy
Z
= xe2xy = xe2xy dy + f2 (x) = + f2 (x) (2)
y 2
e2xy x2
+ +C =0
2 2
or, by letting k = 2C,
1
y= ln(k x2 )
2x