Here you will learn how to find solution of linear differential equation of first order first degree with examples.
Let’s begin –
Solution of Linear Differential Equation
(1) Linear Differential Equation of the form dydx + Py = Q
A differential equation is linear if the dependent variable (y) and its derivative appear only in first degree.
The general form of a linear differential equation is
dydx + Py = Q
where P and Q are functions of x (or constants)
This type of differential equations are solved when they are multiplied a factor, which is called integrating factor, because by multiplication of this factor the left hand side of the differential equation (i) becomes exact differential of some function.
Algorithm :
1). Write the differential equation in the form dydx + Py = Q and obtain P and Q
2). find the integrating factor (I. f.) given by I.f = e∫Pdx
3). Multiply both sides of equation in step 1 by I.f.
4). Integrate both sides of the equation obtained in step 3 with respect to x to obtain
y(I.f) = ∫ Q(I.f) dx + C, which gives the required solution.
Example : Solve the differential equation : dydx – yx = 2x2
Solution : We are given that,
dydx – yx = 2x2
Clearly it is a differential equation of the form
dydx + Py = Q , where P = −1x and Q = 2x2
Now, I.f = e∫Pdx = e∫(−1/x)dx = e−logx = 1x
By algorithm, the solution is
y1x = ∫ 2x dx + C
⟹ yx = x2 + C
⟹ y = x3 + Cx, which is the required solution.
(2) Linear Differential Equation of the form dxdy + Rx = S
Sometimes a linear differential equation can be put in the form dxdy + Rx = S where R and S are functions of y or constants
Note that here y is independent variable and x is a dependent variable.
Algorithm :
1). Write the differential equation in the form dxdy + Rx = S and obtain R and S
2). find the integrating factor (I. f.) given by I.f = e∫Rdy
3). Multiply both sides of equation in step 1 by I.f.
4). Integrate both sides of the equation obtained in step 3 with respect to x to obtain
x(I.f) = ∫ S(I.f) dy + C, which gives the required solution.
Example : Solve the differential equation : ydx + x–y3 dy = 0
Solution : We are given that,
ydx + x–y3 dy = 0
⟹ dydx + xy = y2
Clearly it is a differential equation of the form
dxdy + Ry = S , where R = 1y and S = y2
Now, I.f = e∫Rdy = e∫(1/y)dy = elogy = y
By algorithm, the solution is
xy = ∫ y3 dy + C
⟹ xy = y44 + C, which is the required solution.