Assignment 1
Assignment 1
Assume that the functions p, f , д, h are continuous on R. If the ODE is not exact, then
find an integrating factor. Show that the general solution of the ODE is given by
∫ ∫ dy ∫ ∫
exp p(x) dx − f (x) exp p(x) dx dx = C.
д(y)
1
5. Solve the following ODEs:
y 0 − (1 + x)−1 tan y = (1 + x)e x sec y. Ans: sin y = (1 + x) C + e x .
(a)
(b) tan y y 0 + tan x = cos y cos2 x. Ans: sec y sec x = sin x + C.
(c) xy 0 + y log y = y(log y)2 . Ans: (x log y)−1 = x −1 + C.
√ √ 2
(d) y 0 = y x + xy . Ans: x = y C + log y .
6. Check whether the following ODEs are exact, and then solve:
(a) 2xy dx + (x 2 + y 2 ) dy = 0. Ans: 3x 3y + y 3 = C.
(b) cos y dx − (x sin y − y 2 ) dy = 0. Ans: y 3 + 3x cos y = C.
(c) (3x 2y + 8xy 2 ) dx + (x 3 + 8x 2y + 12y 2 ) dy = 0. Ans: x 3y + 4x 2y 2 + 4y 3 = C.
7. Check whether the following ODEs are exact. If not, find an integrating factor and then
solve:
(a) (x 2 + y 2 + x) dx + xy dy = 0. Ans: µ = x, 3x 4 + 4x 3 + 6x 2y 2 = C.
(b) y(2x + y 3 ) dx = x(2x − y 3) dy. Ans: µ = y −3, x 2 + xy 3 = Cy 2 .
(c) e x (x + 1) dx + yey − xe x dy = 0. Ans: µ = e −y , 2xe x−y + y 2 = C.
(d) (y 2 − 3xy − 2x 2 ) dx + (xy − x 2 ) dy = 0. Ans: µ = 2x, x 2y 2 − 2x 3y − x 4 = C.