Tutorial 1 Solutions
Tutorial 1 Solutions
IIT Guwahati
Tutorial Sheet No. 7 Date: March 9, 2020
(1) Determine the order and degree of the following differential equations. Also, state whether
they are linear or nonlinear.
d4 y dy 2 d2 y d2 y dy 21 d2 y
(a) dx 4 +19 dx
= 11y; (b) dx 2 +x sin y = 0; (c) dx 2 +y sin x = 0; (d) (1+ dx
) = x dx 2;
d6 y d4 y d3 y 3
d y 2
2d y
(e) dx6
+ dx4 dx3
+ y = x; (f ) x3 dx x
3 + x dx2 + y = e .
Solution: (a) O=4, D=1, nonlinear; (b) O=2, D=1, nonlinear; (c) O=2, D=1, linear;
(d) O=2, D=2, nonlinear; (e) O=6, D=1, nonlinear; (f ) O=3, D=1, linear.
(3) In part c) of the above problem, show that the parabola itself forms an integral curve of
the differential equation. Thus show that two integral curves of the differential equation
pass through each point of the parabola.
dy dy 2
Solution: It is easy to verify that y = x2 /4 is a solution of y = x dx − dx .
(4) Show that if (Nx − My )/(xM − yN ) is a function say g(z) of z = xy, then the
R equation
M (x, y)dx + N (x, y)dy = 0 has an integrating factor µ(z), 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
2
(5) Under what conditions, are the following differential equations 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.
(6) Examine the following differential equations for exactness. Solve them by finding appro-
priate integrating factors if necessary.
i) (xy 2 + y)dx + (x2 y − x)dy = 0. ii) y 2 (x2 + 2)dx + (x3 + y 3 )(ydx − xdy) = 0.
iii) (sin x tan y + 1)dx − cos x sec2 ydy = 0. iv) cos x cos2 ydx − 2 sin x sin y cos ydy = 0.
v) (2y 2 − 4x + 5)dx + (4 − 2y + 4xy)dy = 0. vi) (y 2 + xy + 1)dx + (x2 + xy + 1)dy = 0.
vii) xdy = (y + x2 + 9y 2 )dx. viii) xdy − ydx = (2x2 − 3)dx.
ix) ex dx + (ex coty + 2y cosecy)dy = 0. x) ydx + (2x − yey )dy = 0.
∂M ∂N
Solutions: i) Not exact as ∂y
− ∂x
= 2. It may be re-arranged as
xy(ydx + xdy) + ydx − xdy = 0,
which gives d(xy) − d(y/x) = 0. Solution is xy − ln xy = C.
y/x
x2 +2 y3
ydx−xdy
ii) The equation is not exact. Upon rearranging terms, + 1+
x3
dx x3
y2
= 0.
y 2
Setting t = xy gives x1 + x23 dx + 1 + t13 dt = 0. The solution is ln|x| − x12 + xy − 2x2 = C.
vi) The equation is not exact. Upon rearranging the terms we get
d(x + y)
(x + y)(ydx + xdy) + d(x + y) = 0 ⇒ d(xy) + = 0.
x+y
The solution is xy + ln|x + y| = C.
(7) Solve the following equations by converting them to linear form (if necessary):
dy 1 − e−2x dy
(i) +y = x . (ii) (1 + x2 ) + xy + x3 + x = 0.
dx e + e−x dx
dy
(iii) = y(xy 3 − 1) (iv) ydx − 4(x + y 6 )dy = 0.
dx
dy dy 1
(v) (x + 2)2 = 5 − 8y − 4xy. (vi) = , y(−2) = 0.
dx dx x + y2
dy y
(vii) = , y(5) = 2. (viii) xdy + (xy + 2y − 2e−x )dx = 0, y(1) = 0.
dx y−x
dy
(ix) y 1/2 + y 3/2 = 1, y(0) = 4.
dx
−2x
Solutions: i) P (x) = 1, Q(x) = e1−e
x +e−x . The solution is
−2x
R R R
y = e− P (x)dx e P (x)dx Q(x)dx + Ce− P (x)dx ⇒ y = e−x ex e1−e −x
R R
x +e−x dx + Ce . This gives
−x −x x −x
y = e ln|(e + e )| + Ce .
x √C .
ii) The equation is linear in y and P (x) = 1+x2
, Q(x) = −x. Solution is y = −1 + 1+x2
(8) Examine whether the following equations are in homogeneous form. Solve each of them
by converting them to separable form after making appropriate substitutions if necessary.
i) (x sin xy − y cos xy )dx + x cos xy dy = 0. ii) (3y − 7x + 7)dx p
+ (7y − 3x + 3)dy = 0.
dy y x3 y
iii) dx = 2 x + y + x tan x2 . iv) 2xdy − 2ydx = x2 + 4y 2 dx.
Solutions: i) Here M (tx, ty) = tM (x, y) and N (tx, ty) = tN (x, y). Therefore the equation
is in homogeneous form. Using the transformation y = vx changes it to the separable
dv
equation dx = − tanx v . The solution is x sin( xy ) = B.
3y − 7x = −7
7y − 3x = −3
7(1−t2 ) 2
equation dt
du
= u(7t−3)
by setting y = tu. The solution is (x−1)14 +( x−1+y
x−1−y
y
)3 +(1− (x−1) 7
2) =
C.
iii) The equation is not homogeneous. Setting y = vx2 transforms it to the separable
dv
= x1 v1 + tan v . The solution is given by x = A(cos xy2 + xy2 sin xy2 ).
equation dx