11 Substitution Suggested by The Equation
11 Substitution Suggested by The Equation
An equation in the form M (x, y)dx + N (x, y)dy = 0 may not yield at once (or at all)
to the methods discussed in the previous discussions. Even then the usefulness of these
methods will not be exhausted. It may be possible by some change of variables to transform
the equation into a type which we know how to solve.
The term (x + 2y) appears twice in the equation and thus it attracts attention, hence we
may put
x + 2y = u
and, because no other terms of x and ystands out, we retain any one of the two.
Another equation,
(1 + 3x sin y)dx − x2 cos y dy = 0
the presence of both sin y and its differential cos y dy, and the fact that the variable y appears
in the equation in no other manner, leads us to put
u = sin y du = cos y dy
u = Ax + By + C
wherein B 6= 0.
Example 1.
Solve
(3 tan x − 2 cos y) sec2 xdx + tan x sin ydy = 0 (1)
Solution:
Let
u = tan x
du = sec2 xdx
M (x, y) = 3u − 2 cos y
My = 2 sin y
and
N (x, y) = u sin y
Nx = sin y
Then,
u3 − u2 cos y = c (3)
Since u = tan x, then (3) becomes
u = sin y
du = cos ydy
Simplifying,
x2 v(3 + v)dx + 2x3 dv = 0 (3)
Using separation of variables, divide (3) by x3 v(3 + v)
dx 2dv
+ =0
x v(v + 3)
Z Z
dx 2dv
+ =c
x v(v + 3)
2 2
ln |x| + ln |v| − ln |v + 3| = ln |c|
3 3
3 ln |x| + 2 ln |v| − 2 ln |v + 3| = 3 ln |c|
ln (u2 ) + ln |x3 | − ln (u + 3x)2 = ln |c|
u 2 x3
=c
(u + 3x)2
x3 sin2 y
=c
(3x + sin y)2
x3 sin4 y = c(3x + sin y)2
Example 4.
Solve
dy
= (9x + 4y + 1)2 (1)
dx
Solution:
We can write (1) as
dy = (9x + 4y + 1)2 dx (2)
Let
u = 9x + 4y + 1
du = 9dx + 4dy
1
dx = (du − 4dy)
9
Substituting these to (2), we have
1
dy = u2 (du − 4dy)
9
9dy = u2 (du − 4dy)
(9 + 4u2 )dy = u2 du
Separating the variables, gives
1 2 2 1
(9 + 4u )dy = u du ·
4u2 + 9 4u2 + 9
u2 du
dy = 2
4u + 9
u2 du
Z Z
dy =
4u2 + 9
1 9 2 −1 2u
y = u− Tan +c
4 16 3 3
We have,
1 3 2u
y = u − Tan−1 +c (3)
4 8 3
Since u = 9x + 4y + 1, then (3) becomes
1 3 −1 2(9x + 4y + 1)
y = (9x + 4y + 1) − Tan +c
4 8 3
−1 2(9x + 4y + 1) 18x + 2
Tan = +c
3 3
2
(9x + 4y + 1) = tan (6x + c)
3
2(9x + 4y + 1) = 3 tan (6x + c)
Example 5.
dy
= 1 + 6xex−y (1)
dx
Solution:
Let
u=x−y
du = dx − dy
dy
= 1 + 6xeu
dx
dx − du
= 1 + 6xeu
dx
dx − du = (1 + 6xeu )dx
[1 − (1 + 6xeu )]dx = du
We have,
−6xeu dx = du (2)
Diving (2) by eu to separate the variables becomes
du
−6xdx = u
Z Ze
−6xdx = e−u du
−3x2 = −e−u + c
−3x2 = −e−(x−y) + c
−3x2 = −ey−x + c
3x2 + c = ey−x
Example 6.
Solve
(x + 2y − 1)dx − (x + 2y − 5)dy = 0 (1)
Solution:
Let
u = x + 2y
du = dx + 2dy
dx = du − 2dy
We now have,
u − 4 ln |u + 3| − y = C (2)
Since u = x + 2y, then substituting to (2) we have
Solve,
(x + 2y − 1)dx + [2(x + 2y) − 3]dy = 0 (1)
Solution:
Let
u = x + 2y
du = dx + 2dy
dx = du − 2dy
We now have,
1 2
(u) − u − y = c (2)
2
Since u = x + 2y, then (2) becomes
1
(x + 2y)2 − (x + 2y) − y = c
2
(x + 2y)2 − 2(x + 2y) − 2y = c
(x + 2y)2 − 2x − 6y = c
(x + 2y − 1)2 = 2y + c
Example 8.
Solve,
y(x tan x + ln |y|)dx + tan xdy = 0 (1)
Solution:
We can rewrite (1) as
dy
(x tan x + ln |y|)dx + tan x =0 (2)
y
Let
u = ln |y|
dy
du =
y
M (x, u) = x tan x + u
∂M
=1
∂u
and
N (x, u) = tan x
∂N
= sec2 x
∂x
Using the formula,
Mu − Nx 1 − secx
=
N tan x
Mu − Nx − tan2 x
=
N tan x
Mu − Nx
= − tan x
N
Integrating,
−x cos x + sin x + u sin x = c (4)
Since u = ln |y|, then (4) gives us the result as
or
ln |y| = x cot x + c csc x − 1
Example 9.
Solve
4(3x + y − 2)dx − (3x + y)dy = 0 (1)
Solution:
Let
u = 3x + y
y = u − 3x
dy = du − 3dx