Académique Documents
Professionnel Documents
Culture Documents
IIT Guwahati
Tutorial Sheet No. 2 Date: March 15, 2018
(1) Under what conditions, the following differential equations are exact?
(a) (ax + by)dx + (kx + ly)dy = 0; (b) [f (x) + g(y)]dx + [h(x) + l(y)]dy = 0;
(c) (x3 + xy 2 )dx + (ax2 y + bxy 2 )dy = 0.
(2) Are the following equations exact? If exact, obtain the general solution.
(a) (2xy − sec2 x)dx + (x2 + 2y)dy = 0. (b) (x − 2xy + ey )dx + (y − x2 + xey )dy = 0.
Solution: (a) Since My (x, y) = 2x = Nx (x, y), the equation is exact. Then, there exists f (x, y)
such that fx = M and fy = N . Integrate fx = M w.r.t. x to have
Z
f (x, y) = (2xy − sec2 x)dx + g(y) = x2 y − tan x + g(y).
x2
Z
f (x, y) = (x − 2xy + ey )dx + g(y) = − x2 y + xey + g(y).
2
and g(y) = y 2 /2.
x2
The general solution is thus given by f (x, y) = c i.e., 2 − x2 y + xey + y 2 /2 = c.
(4) Show that if (Nx − My )/(xM − yM ) = g(xy) then the equation M (x, y)dx + N (x, y)dy = 0 has
R
an integrating factor of the form µ(xy), where µ(u) = exp g(u)du .
∂ ∂(xy)
{µ(xy)N } = µ0 (xy) N + µ(xy)Nx
∂x ∂x
= µ(xy) [g(xy)yN + Nx ] .
Now, (Nx − My ) = (xM − yN )g(xy) =⇒ yN g(xy) + Nx = xM g(xy) + My , hence
∂ ∂
{µ(xy)M } = {µ(xy)N }.
∂y ∂x
(5) Find the particular solution of
(a) xy 0 + 3y = sin
x2
x
, x 6= 0, y(π/2) = 1.
0 2, 0 ≤ x < 1,
(b) y + y = f (x), y(0) = 0, where f (x) =
0, x ≥ 1.
y3
(c) x2 y 0 + xy = x, y(1) = 1, x 6= 0.
Solution: (a) I.F. µ(x) = x3 . The general solution is x3 y(x) = − cos x+C. The initial condition
3 3
y(π/2) = 1 =⇒ C = π8 . The particular solution is yx3 + cos x = π8 .
(b) Split the problem into two IVPs: I. For 0 ≤ x < 1, y 0 + y = 2, y(0) = 0;
II. For x ≥ 1, y 0 + y = 0, y(1) = k, where limx→1− φ1 (x) = k, and φ1 (x) is the solution of I. The
solution of IVP I is φ1 (x) = 2 − 2e−x . Now,
lim φ1 (x) = lim (2 − 2e−x ) = 2 − 2e−1 = k.
x→1− x→1−
dy
(6) Given that y1 (x) = x is a solution of = −y 2 + xy + 1, obtain the general solution.
dx
Solution: This is a Riccati equation with one solution f (x) = x is known. The substitution
1
y(x) = f (x) + v(x) = x + v1 transforms the given equation to a linear equation in v(x), i.e.,
−x2 /2 v(x) =
dv
R −x2 /2
dx − xv = 1. Its solution is e e dx + C. Now, replacing v(x) = 1/(y(x) − x), we
obtain
2
e−x /2
Z
2
= e−x /2 dx + C.
y−x
3