First Order Differential Equations
First Order Differential Equations
Introduction:
Fundamental definitions:
Specific mathematical fields include geometry and analytical mechanics. Scientific fields
include much of physics and astronomy (celestial mechanics), geology (weather modeling),
chemistry (reaction rates),[1] biology (infectious diseases, genetic variation), ecology and
population modeling (population competition), economics (stock trends, interest rates and the
market equilibrium price changes).
Many mathematicians have studied differential equations and contributed to the field, including
Newton, Leibniz, the Bernoulli family, Riccati, Clairaut, d'Alembert, and Euler.
A simple example is Newton's second law of motion — the relationship between the
displacement x and the time t of the object under the force F, which leads to the differential
equation.
Example:
𝑖) 𝑦 ′ = 3𝑥 3 + 𝑦
𝜕𝑢 𝜕2𝑢
𝑖𝑖) =𝑐
𝜕𝑡 𝜕𝑥 2
The order of a differential equation is the order of the highest derivative occurring in it.
The degree of a differential equation is the power of the highest derivative exists in the
equation, provided the equation is free of radicals and terms with fractional degree.
The order and degree of the differential equations in the above examples are respectively
𝑖) 2; 1
𝑖𝑖) 2; 1
𝑑𝑛 𝑦 𝑑𝑛−1 𝑦 𝑑𝑦
𝑏0 (𝑥) 𝑛
+ 𝑏1 (𝑥) 𝑛−1
+ ⋯ . . +𝑏𝑛−1 (𝑥) + 𝑏𝑛 (𝑥)𝑦 = 𝑅(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥
Where b0, b1,…., bn, and R(x) are functions of x alone.
For example,
𝑑𝑦
1). The solution of − 2𝑦 = 0 is 𝑦 = 𝑒 2𝑥
𝑑𝑥
𝑑
Since 𝑑𝑥 (𝑒 2𝑥 ) − 2(𝑒 2𝑥 ) = 2𝑒 2𝑥 − 2𝑒 2𝑥 = 0.
This solution is a particular solution. The expression 𝑦 = 𝑐𝑒 2𝑥 also satisfies the equation and
it is the general solution of this equation, for any arbitrary c.
d2y dy
2) Consider the differential equation 2
−3 + 2y = 0 .
dx dx
dy d2y
Let y = e2x, then = 2e2 x and 2 = 4e2 x .
dx dx
d2y dy
Hence 2
− 3 + 2 y = 0 implying that y = e2x is a solution of the given differential equation.
dx dx
Also y = ex is a solution. These two solutions are particular solutions of the given equation.
Note that y = C1 e2x+ C2 ex is also a solution , where C1and C2 are arbitrary constants. This
solution is called the general solution of the given differential equation , which is the linear
comination of all possible linearly independent solutions.
Note:
A differential equation together with an initial condition is called an Initial Value problem.
The initial condition is used to determine the value of the arbitrary constants in the general
solution.
In practice, differential equations arise in many ways, one of which is useful in that it gives us
a feeling for the kinds of solutions to be expected. In this section we start with the relation
involving arbitrary constants, and, by elimination of those arbitrary constants obtain a
differential equation which is consistent with the original relation. In other words we will obtain
a differential equation for which the given relation is the general solution.
Methods for elimination of arbitrary constants vary the way in which the constants enter the
given relation. Since each differentiation yields a new relation, the number of derivatives that
needs to used is same as that of the number of arbitrary constants to be eliminated. Thus in
eliminating arbitrary constants from a relation we obtain a differential equation that is
Example (a): Eliminate the arbitrary constants c1 and c2 from the relation
y = c1e−2 x + c2e3 x . − − − − − −(1)
y + 2 y = 15c2e3 x ;
the elimination of c1 from equations (1) and (2) yields
y + 2 y ' = 5c2e3 x .
−y e−2 x e3 x
− y −2e−2 x 3e3 x = 0. − − − − − − − (4)
− y 4e−2 x 9e3 x
-2x 3x
Since e and e cannot be zero, equation (4) may be rewritten, with the factors e-2x and e3x
removed, as
y 1 1
y −2 3 = 0 from which the differential equation y − y − 6 y = 0 follows
y 4 9
immediately.
This latter method has the advantage of making it easy to see that the elimination of the
from a relation of the form y = c1e + c2em2 x + ... + cnemn x will
m1x
constants c1 ,c2 ,..., cn
always lead to a differential equation
dny d n−1 y
a0 n + a1 n−1 + ... + an y = 0, in which the coefficients a0 , a1 ,..., an are constants. The
dx dx
study of such differential equations will receive much of our attention.
Therefore, using the original equation, we find that y = x + 2 xyy, which may be written
2 2
Another method will be used in this example as an illustration of a device which is frequently
helpful. The method is based upon the isolation of an arbitrary constant.
x2 + y 2
The equation ( x − a) 2 + y 2 = a 2 may be put in the form = 2a.
x
Then differentiation of both members leads to
Example (c): Eliminate B and from the relation x = B cos(t + ),- - - - - - - - (5) in
which is a parameter (not to be eliminated).
dx
= − B sin(t + ), − − − − − − − − − − (6)
dt
d 2x
2
= − 2 B cos(t + ). − − − − − − − − − (7)
dt
Comparison of equations (5) and (7) show at once that
d 2x
2
+ 2 x = 0.
dt
Since c 0, c = −( y + xy) and substitution into the original leads to the result
x3 ( y)2 + x 2 yy + 4 = 0.
Exercises:
𝑑𝑦
= 𝑓(𝑥, 𝑦)
𝑑𝑥
𝑜𝑟 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0
Before discussing some of the analytic techniques for finding solutions we shall state an
important theorem concerning to the uniqueness and existence of solution.
𝑑𝑦
Consider = 𝑓(𝑥, 𝑦) (1)
𝑑𝑥
c) At 𝑥 = 𝑥0 , 𝑦 = 𝑦(𝑥0 ) = 𝑦0
d) 𝑦(𝑥) is unique in |𝑥 − 𝑥0 | ≤ ℎ
In rough language, the theorem states that if 𝑓(𝑥, 𝑦) is sufficiently well behaved near
the point (𝑥0 , 𝑦0 ), then the differential equation ,
𝑑𝑦
= 𝑓(𝑥, 𝑦)
𝑑𝑥
has a solution that passes through the point (𝑥0 , 𝑦0 ) and that solution is unique near (𝑥0 , 𝑦0 ).
If the differential equation M dx + N dy = 0 is simple enough that the variables can be separated
,i.e., the equation can rewritten as 𝑀(𝑥) 𝑑𝑥 + 𝑁(𝑦) 𝑑𝑦 = 0 , where M is a function of 𝑥 alone
and N is a function of 𝑦 alone , then the solution can be obtained by direct integration.
Example:
i) 2𝑥 𝑑𝑥 + 𝑒 𝑦 𝑑𝑦 = 0. The solution is ∫ 2𝑥 𝑑𝑥 + ∫ 𝑒 𝑦 𝑑𝑦 = 𝑐
i.e. 𝑥 2 + 𝑒 𝑦 = 𝑐, where 𝑐 is some arbitrary constanst.
Here the variables are not separated but it can be reduced to that form by dividing the equation
by tan 𝑥 tan 𝑦. Then
sec2 𝑥 sec2 𝑦
𝑑𝑥 + 𝑑𝑦 = 0 where the variables are separated.
tan 𝑥 tan 𝑦
The solution is
sec2 𝑥 sec2 𝑦
∫ 𝑑𝑥 + ∫ 𝑑𝑦 = 𝑐
tan 𝑥 tan 𝑦
tan 𝑥 tan 𝑦 = 𝑐 ′
Remark:
From the above example it is clear that an equation of the type 𝑓1 (𝑥)𝑓2 (𝑦)𝑑𝑥 +
𝑔1 (𝑥)𝑔2 (𝑦)𝑑𝑦 = 0 can be reduced to variable separable equation.
Ex 1:
Solution:
cos 𝑥 𝑒𝑦
𝑑𝑥 + 𝑒 𝑦 +1 𝑑𝑦 = 0
sin 𝑥
𝑒𝑦
The solution is ∫ cot 𝑥 𝑑𝑥 + ∫ 𝑒 𝑦 +1 𝑑𝑦 = log 𝑐
sin 𝑥 (𝑒 𝑦 + 1) = 𝑐
Ex 2:
Solution:
𝑥𝑦 + 𝑥 = 𝑥(𝑦 + 1)
𝑥 2 𝑦 2 + 𝑥 2 + 𝑦 2 + 1 = 𝑥 2 (𝑦 2 + 1) + 1(𝑦 2 + 1) = (𝑥 2 + 1)(𝑦 2 + 1)
𝑥(𝑦 + 1)𝑑𝑥 + (𝑥 2 + 1)(𝑦 2 + 1) = 0
2𝑥 2𝑦
∫ 𝑥 2 +1 𝑑𝑥 + ∫ 𝑦 2+1 𝑑𝑦 = 2 log 𝑐
(𝑥 2 + 1)(𝑦 2 + 1) = 𝑐 2
𝑑𝑦
Ex 3: 𝑆𝑜𝑙𝑣𝑒 = sin(𝑥 + 𝑦)
𝑑𝑥
Solution:
𝑃𝑢𝑡 𝑧 = 𝑥 + 𝑦
𝑑𝑧 𝑑𝑦
Then 𝑑𝑥 = 1 + 𝑑𝑥
𝑑𝑧
= 1 + sin 𝑧
𝑑𝑥
𝑑𝑧
= 𝑑𝑥
1+sin 𝑧
1−sin 𝑧
𝑑𝑧 = 𝑑𝑥
cos2 𝑧
Integrating,
tan 𝑧 − sec 𝑧 = 𝑥 + 𝑐
tan(𝑥 + 𝑦) − sec(𝑥 + 𝑦) = 𝑥 + 𝑐
𝑑𝑣
or 𝑥 𝑑𝑥 = g(v) – v, which can be solved by separating the variables and integrating.
Example1:
𝑆𝑜𝑙𝑣𝑒 (2𝑥 + 𝑦)2 𝑑𝑥 = 𝑥𝑦 𝑑𝑦
Solution:
Put 𝑦 = 𝑣𝑥 then 𝑑𝑦 = 𝑣 𝑑𝑥 + 𝑥 𝑑𝑣
4(1 + 𝑣) 𝑑𝑥 = 𝑣𝑥 𝑑𝑣
4 𝑣
𝑑𝑥 = 𝑑𝑣
𝑥 1+𝑣
4 log 𝑥 = 𝑣 − log(𝑣 + 1) + 𝑐
𝑦 𝑦+𝑥
4 log 𝑥 = − log ( )+𝑐
𝑥 𝑥
Example 2:
𝑆𝑜𝑙𝑣𝑒 (𝑥 2 − 𝑥𝑦 + 𝑦 2 )𝑑𝑥 − 𝑥𝑦 𝑑𝑦 = 0
Solution:
𝑃𝑢𝑡 𝑦 = 𝑣𝑥 then 𝑑𝑦 = 𝑣 𝑑𝑥 + 𝑥 𝑑𝑣
(𝑥 2 − 𝑣𝑥 2 + 𝑣 2 𝑥 2 ) 𝑑𝑥 − 𝑣𝑥 2 (𝑣 𝑑𝑥 + 𝑥 𝑑𝑣) = 0
(1 − 𝑣)𝑑𝑥 − 𝑣𝑥 𝑑𝑣 = 0
𝑑𝑥 𝑣
− 𝑑𝑣 = 0
𝑥 1−𝑣
Integrating, log 𝑥 + 𝑣 − log(1 − 𝑣) = 𝑐
𝑦 𝑦
log 𝑥 + − log (1 − ) = 𝑐
𝑥 𝑥
Remark:
Ex 3:
𝑑𝑦 𝑦
𝑆𝑜𝑙𝑣𝑒 =
𝑑𝑥 𝑥 + √𝑥𝑦
Solution:
𝑃𝑢𝑡 𝑥 = 𝑣𝑦 𝑡ℎ𝑒𝑛 𝑑𝑥 = 𝑣 𝑑𝑦 + 𝑦 𝑑𝑣
√𝑣𝑑𝑦 = 𝑦 𝑑𝑣
Integrating,
2√𝑣 = log 𝑦 + 𝑐
𝑥
2√ = log 𝑦 + 𝑐
𝑦
𝑎 𝑏
Case 1: When ≠ 𝑏′
𝑎′
𝑑𝑌 𝑎𝑋 + 𝑏𝑌 + (𝑎ℎ + 𝑏𝑘 + 𝑐)
= ′
𝑑𝑋 𝑎 𝑋 + 𝑏 ′ 𝑌 + (𝑎′ ℎ + 𝑏 ′ 𝑘 + 𝑐 ′ )
𝑎 𝑏
Case 2: When = 𝑏′ i.e., 𝑎𝑏 ′ − 𝑏𝑎′ = 0 , then equation can be reduced to variable-
𝑎′
separable
𝑎 𝑏
Clearly, 𝑎′ ≠ 𝑏′ 𝑥 = 𝑋 + ℎ, 𝑦 = 𝑌 + 𝑘
𝑑𝑥 = 𝑑𝑋, 𝑑𝑦 = 𝑑𝑌
𝑑𝑌 𝑌+𝑋+(𝑘+ℎ−2)
∴ 𝑑𝑋 = 𝑌−𝑋+(𝑘−ℎ−4) k + ℎ − 2 = 0, 𝑘 − ℎ − 4 = 0
ℎ = −1, 𝑘=3
𝑑𝑌 𝑌+𝑋
= put 𝑌 = 𝑉𝑋
𝑑𝑋 𝑌−𝑋
𝑑𝑌 𝑑𝑉
∴ =𝑉+𝑋
𝑑𝑋 𝑑𝑋
𝑑𝑉 𝑉+1
Substituting, 𝑉 + 𝑋 𝑑𝑋 = 𝑉−1
𝑉−1 𝑑𝑋
2
𝑑𝑉 =
1 + 2𝑉 − 𝑉 𝑋
1
Integrating both sides, − 2 log(1 + 2𝑉 − 𝑉 2 ) = log 𝑋 + 𝑐
𝑎 2 6 𝑏
Here = 1 = − −3 = 𝑏′
𝑎′
𝑑𝑧 𝑑𝑦
Put 𝑧 = 𝑥 − 3𝑦 = 1 − 3 𝑑𝑥
𝑑𝑥
𝑑𝑧 2𝑧+7
i.e =1−3
𝑑𝑥 𝑧+4
𝑑𝑧
i.e (𝑧 + 4) 𝑑𝑥 = 𝑧 + 4 − 6𝑧 − 21
𝑧+4
Separating, 𝑑𝑥 + 5𝑧+17 𝑑𝑧 = 0
3
i.e Solution is 5𝑥 + 𝑧 + 5 log(5𝑧 + 17) = 𝑐
4. Exact Equations:
These are equations of the type 𝑀(𝑥, 𝑦)𝑑𝑥 + 𝑁(𝑥, 𝑦)𝑑𝑦 = 0 in which separation of variables
may not be possible. Suppose that a function 𝐹(𝑥, 𝑦) can be found that has for its total
differential the expression 𝑀𝑑𝑥 + 𝑁𝑑𝑦, that is 𝑑𝐹 = 𝑀𝑑𝑥 + 𝑁𝑑𝑦, then the solution is
𝐹(𝑥, 𝑦) = 𝑐.
If the equation 𝑀𝑑𝑥 + 𝑁𝑑𝑦 = 0 is exact, then by definition 𝑡ℎ𝑒𝑟𝑒 𝑒𝑥𝑖𝑠𝑡𝑠 𝑎 𝐹 such that
𝑑𝐹 = 𝑀𝑑𝑥 + 𝑁𝑑𝑦
𝜕𝐹 𝜕𝐹
𝑐𝑜𝑚𝑝𝑎𝑟𝑖𝑛𝑔 𝑡ℎ𝑒 𝑎𝑏𝑜𝑣𝑒 𝑒𝑞𝑢𝑎𝑡𝑖𝑜𝑛𝑠 𝑤𝑒 𝑔𝑒𝑡 𝑀 = , 𝑁=
𝜕𝑥 𝜕𝑦
𝜕𝑀 𝜕2𝐹 𝜕𝑁 𝜕2 𝐹
These two equations lead to = 𝜕𝑦𝜕𝑥 and = 𝜕𝑥𝜕𝑦
𝜕𝑦 𝜕𝑥
𝜕2𝐹 𝜕2𝐹 𝜕𝑀 𝜕𝑁
Since = 𝜕𝑥𝜕𝑦 = …………………… (1)
𝜕𝑦𝜕𝑥 𝜕𝑦 𝜕𝑥
Thus for an equation Mdx+Ndy = 0 to be exact it is necessary that the condition (1) is to be
satisfied. Now let us prove the converse of the above result. Let us assume that the condition
(1) holds. Let (x,y) be a function for which = M ( x, y) . (i.e., the function is the result of
x
integrating Mdx w.r.t. x alone holding y as a constant.
2 M 2 2 M N
Then = ; hence from (1) , = = = .
yx y xy yx y x
= N + B ( y ), where B(y) is an arbitrary function of y.
y
F F
Then dF = dx + dy = dx + − B( y ) dy = Mdx + Ndy.
x y x y
Hence the given equation is exact. Thus , we have proved the following theorem.
M N
Theorem: If M,N, and are all continuous functions of x and y , then a necessary and
y x
𝜕𝑀 𝜕𝑁
sufficient condition for the differential equation Mdx+Ndy = 0 to be exact is that 𝜕𝑦
= 𝜕𝑥
.
Note : If the differential equation Mdx +Ndy = 0 is exact then the solution of the equation can
be obtained as follows. Let F be a function of x and y such that dF = Mdx+Ndy.
F F F
Then comparing with the equation dF = dx + dy we get =M(x,y).
x y x
F
=
y y
M ( x, y)dx + B( y) = N ( x, y) implies that B( y) consists of terms in N(x,y) which
does not contain x.
𝜕𝐹
= 𝑁 = 𝑥 2 + 2𝑦…………………..(2)
𝜕𝑦
Definition: A differential equation is said to be linear if dependent variable and its differential
coefficient occur only in the first degree and not multiplied together.
𝑑𝑦
Consider the equation + 𝑃(𝑥)𝑦 = 𝑄(𝑥) (Legendre’s equation), where P and Q are numeric
𝑑𝑥
constants or function of x alone.
𝑑𝑦
To solve, multiply both sides by 𝑒 ∫ 𝑃𝑥 so that 𝑑𝑥 𝑒 ∫ 𝑃𝑑𝑥 + 𝑦 𝑒 ∫ 𝑃𝑑𝑥 𝑃 = 𝑄 𝑒 ∫ 𝑃𝑑𝑥
𝑑
The above equation is equivalent to (𝑦 𝑒 ∫ 𝑃𝑑𝑥 ) = 𝑄 𝑒 ∫ 𝑃𝑑𝑥
𝑑𝑥
𝑦 (𝐼. 𝐹. ) = ∫ 𝑄(𝑥)(𝐼. 𝐹. ) 𝑑𝑥 + 𝑐
𝑑𝑦
Ex 1: Solve (𝑥 + 1) − 𝑦 = 𝑒 3𝑥 (𝑥 + 1)2
𝑑𝑥
𝑑𝑦 𝑦
Dividing throughout by (𝑥 + 1), − 𝑦+1 = 𝑒 3𝑥 (𝑥 + 1)
𝑑𝑥
1 1
𝑃=− , 𝐼. 𝐹 =
𝑥+1 𝑥+1
𝑦 1 1
Thus the solution is = ∫ 𝑒 3𝑥 (𝑥 + 1). 𝑥+1 𝑑𝑥 + 𝑐 = 3 𝑒 3𝑥 + 𝑐.
𝑥+1
Ex 2: Solve (1 + 𝑦 2 )𝑑𝑥 = (tan−1 𝑦 − 𝑥)𝑑𝑦
𝑑𝑥 𝑥 tan−1 𝑦
+ =
𝑑𝑦 1 + 𝑦 2 1 + 𝑦 2
1 tan−1 𝑦
Which is Leibnitz equation in 𝑥 where 𝑃(𝑦) = 1+𝑦 2 , 𝑄(𝑦) = 1+𝑦 2
1
∫ 𝑑𝑦 −1 𝑦
𝐼. 𝐹 = 𝑒 ∫ 𝑃𝑑𝑦 = 𝑒 1+𝑦 2 = 𝑒 tan
tan−1 𝑦 −1 𝑦
Thus, the solution is 𝑥 𝑒 ∫ 𝑃𝑑𝑦 = ∫ . 𝑒 tan 𝑑𝑦 + 𝑐
1+𝑦 2
−1 𝑦
𝑥 𝑒 tan = ∫ 𝑡 𝑒 𝑡 𝑑𝑡 + 𝑐 where 𝑡 = tan−1 𝑦
= 𝑡 𝑒𝑡 − 𝑒𝑡 + 𝑐
−1 𝑦
= (tan−1 𝑦 − 1)𝑒 tan +𝑐
−1 𝑦
∴ 𝑥 = tan−1 𝑦 − 1 + 𝑐 𝑒 − tan
6. Bernoulli equation
𝑑𝑦
The equation + 𝑃(𝑥)𝑦 = 𝑄(𝑥)𝑦 𝑛 is reducible to the Leibnitz’s linear equation and is
𝑑𝑥
usually called Bernoulli’s equation.
𝑑𝑦
To solve, divide both sides by 𝑦 𝑛 , so that 𝑦 −𝑛 𝑑𝑥 + 𝑃(𝑥)𝑦1−𝑛 = 𝑄(𝑥).
𝑑𝑧
Put 𝑦1−𝑛 = 𝑧. Equation reduces to 𝑑𝑥 + 𝑃(𝑥)(1 − 𝑛)𝑧 = 𝑄(𝑥)(1 − 𝑛) which is linear in 𝑧 and
can be solved.
𝑑𝑦
Note: general equation reducible to Leibnitz’s linear equation is 𝑓 ′ (𝑦) 𝑑𝑥 + 𝑃(𝑥)𝑓(𝑦) =
𝑄(𝑥).
𝑑𝑦 𝑦 −5
Dividing by 𝑥𝑦 6 , 𝑦 −6 𝑑𝑥 + = 𝑥2.
𝑥
𝑑𝑦 𝑑𝑧
Put 𝑦 −5 = 𝑧, so −5𝑦 −6 𝑑𝑥 = 𝑑𝑥
1 𝑑𝑧 𝑧 𝑑𝑧 5
i.e − 5 𝑑𝑥 + 𝑥 = 𝑥 2 , i.e 𝑑𝑥 − 𝑥 𝑧 = −5𝑥 2 which is linear in 𝑧.
5
I.F = 𝑒 − ∫𝑥𝑑𝑥 = 𝑒 −5 log 𝑥 = 𝑥 −5
Solution is 𝑧(𝐼. 𝐹) = ∫ −5𝑥 2 (𝐼. 𝐹)𝑑𝑥 + 𝑐
i.e 𝑧𝑥 −5 = ∫ −5𝑥 2 . 𝑥 −5 𝑑𝑥 + 𝑐
𝑥 −2
i.e 𝑦 −5 𝑥 −5 = −5 (−2) + 𝑐
𝑑𝑧 𝑧 𝑧
Ex 2: Solve 𝑑𝑥 + (𝑥) log 𝑧 = 𝑥 (log 𝑧)2
1 𝑑𝑧 1 1
Dividing by 𝑧, 𝑧 𝑑𝑥 + 𝑥 log 𝑧 = 𝑥 (log 𝑧 )2
𝑑𝑦 1 𝑑𝑧
𝑦 = log 𝑧 = 𝑧 𝑑𝑥
𝑑𝑥
𝑑𝑦 𝑦 𝑦2 𝑑𝑦 𝑑𝑦 𝑑𝑥
∴ +𝑥 = => 𝑥 𝑑𝑥 = 𝑦 2 − 𝑦 => =
𝑑𝑥 𝑥 𝑦(𝑦−1) 𝑥
1 1 𝑑𝑥
=> (𝑦 −1 − 𝑦) 𝑑𝑦 = 𝑥
i.e 𝑦 − 1 = 𝑐𝑥𝑦
Suppose that 𝑢, possibly a function of both 𝑥 and 𝑦, is to be an integrating factor of (1). Then
𝜕𝑀 𝜕𝑢 𝜕𝑁 𝜕𝑢
Hence, 𝑢 must satisfy 𝑢 𝜕𝑦 + 𝑀 𝜕𝑦 = 𝑢 𝜕𝑥 + 𝑁 𝜕𝑥 .
𝜕𝑀 𝜕𝑁 𝜕𝑢 𝜕𝑢
∴ 𝑢 ( 𝜕𝑦 − 𝜕𝑥 ) = 𝑁 𝜕𝑥 − 𝑀 𝜕𝑦.
𝜕𝑢 𝜕𝑢 𝑑𝑢
First let 𝑢 be a function of 𝑥 alone. Then 𝜕𝑦 = 0 and 𝜕𝑥 becomes 𝑑𝑥 .
𝜕𝑀 𝜕𝑁 𝑑𝑢 1 𝜕𝑀 𝜕𝑁 𝑑𝑢
Then we have 𝑢 ( 𝜕𝑦 − 𝜕𝑥 ) = 𝑁 𝑑𝑥 or 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) 𝑑𝑥 = 𝑢
1 𝜕𝑀 𝜕𝑁
If the left member of the above equation as function of 𝑥 alone, we have 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) = 𝑓(𝑥)
Using the above integrating factors, one can convert the equation to exact form and solve.
𝜕𝑀 𝜕𝑁
− = 4𝑥 + 6𝑦 − (2𝑥 + 2𝑦) = 2𝑥 + 4𝑦
𝜕𝑦 𝜕𝑥
1 𝜕𝑀 𝜕𝑁 2𝑥+4𝑦 2
Hence, 𝑁 ( 𝜕𝑦 − 𝜕𝑥 ) = 𝑥(𝑥+2𝑦) = 𝑥.
𝑑𝑥
∴ 𝐼. 𝐹 = 𝑒 2 ∫ 𝑥 = 𝑥 2 .
𝑥4 1
∴ Solution is 𝑥 4 𝑦 + 𝑥 3 𝑦 2 − = 4 𝑐 = 𝑐′.
4
𝜕𝑀 𝜕𝑁
∴ − = −𝑥 − 𝑦 − 1
𝜕𝑦 𝜕𝑥
1 𝜕𝑀 𝜕𝑁 𝑥+𝑦+1 1
So 𝑀 ( 𝜕𝑦 − 𝜕𝑥 ) = − 𝑦(𝑥+𝑦+1) = − 𝑦
1
∫𝑦𝑑𝑦
I.F = 𝑒 =𝑦
Here we are concerned with the equations that are simple enough to enable us to find the
integrating factors by inspection. The ability to do this depends largely upon recognition of
certain common exact differential and upon experience. Below are four exact differential that
occur frequently:
𝑦 𝑥𝑑𝑦 − 𝑦𝑑𝑥
𝑑( ) =
𝑥 𝑥2
𝑦 𝑥𝑑𝑦 − 𝑦𝑑𝑥
𝑑 (tan−1 ) =
𝑥 𝑥2 + 𝑦2
Using these exact differentials, it is possible to group the terms in given differential equation
and obtain the integrating factors.
1
Solution on integration, − 2𝑥 2𝑦 2 + log 𝑦 = 𝑐.
𝑑𝑦 𝑦
Ex 2: Solve 𝑥 𝑑𝑥 = 𝑦 + cos2 𝑥
𝑦
𝑥𝑑𝑦 − 𝑦𝑑𝑥 = cos2 𝑑𝑥
𝑥
𝑦 𝑦
𝑑 ( ) . 𝑥 2 = cos2 𝑑𝑥
𝑥 𝑥
𝑦 𝑦 𝑑𝑥
sec 2 𝑑( ) = 2
𝑥 𝑥 𝑥
𝑦 1
∴ tan 𝑥 = − 𝑥 + 𝑐.
3𝑥 2 𝑦 𝑑𝑥 − 𝑥 3 𝑑𝑦
+ 𝑦 2 𝑑𝑦 = 0
𝑦2
x3 x3 y 3
d + y 2 dy = 0 , which is exact. Therefore, the solution is + =C.
y y 3