Question
Question: Write the general form of \[(1 + \tan y)(dx - dy) + 2xdy = 0\]...
Write the general form of (1+tany)(dx−dy)+2xdy=0
Solution
The most general form of linear differential equations of first order is dxdy+Py=Q , where P and Q are functions of x.
To solve such an equation multiply both sides by e∫Pdx . Then the solution of this equation will be
ye∫Pdx=∫Qe∫Pdxdx+c
Another form of first order linear differential equation is dydx+P1x=Q1 , where P1 and Q1 are functions of y only. And the solution of such an equation is given by x.e∫P1dx=∫(Q1×e∫P1dx)dy+c
Complete step by step answer:
Step 1: Rearranging the terms in (1+tany)(dx−dy)+2xdy=0
Divide both sides of the equation by dy, we get
(1+tany)(dx−dy)+2xdy=0
(1+tany)(dydx−1)+2x=0
Taking dydx separately we get
(1+tany)(dydx−1)+2x=0
(1+tany)dydx−(1+tany)+2x=0
(1+tany)dydx+2x=(1+tany)
dydx+1+tany2x=1
The above equation is in the form of first order linear differential equation, dydx+P1x=Q1
Step 2: On comparing both equation dydx+1+tany2x=1 & dydx+P1x=Q1 , we get
P1=1+tany2x & Q1=1
Step 3: finding the integrating factor (I.F)
As we know that, integrating factor is given by
I.F=e∫P1dy
Substituting the values we get,
I.F=e∫1+tany2dy
We know that tany=cosysiny , replacing tan y with its value, we get
⇒ I.F=e∫cosy+siny2cosydy
Now adding and subtracting siny in numerator, we get
⇒ I.F=e∫cosy+sinycosy+siny+cosy−sinydy
⇒ I.F=e∫1+cosy+sinycosy−sinydy
⇒ I.F=ey+log(cosy+siny) ∫cosy+sinycosy−sinydy=dydlog(cosy+siny)
⇒ I.F=ey.(cosy+siny)
Step 4: Determining the general solution
As we know that the general solution of linear first degree differential equation is given by,
x.e∫P1dx=∫(Q1×e∫P1dx)dy+c
Substituting the values, we get
x.ey.(cosy+siny)=∫1.ey(cosy+siny)dy+C
⇒ x.ey.(cosy+siny)=∫ey(siny+cosy)dy+C
Since, ∫ey[f(y)+f′(y)]dy=ey.f(y)+C
Therefore, we have
x.ey.(cosy+siny)=eysiny+C
Cancelling ey from both sides, we get
⇒ x.(cosy+siny)=siny+Ce−y
Note: This function g(x)=e∫Pdx is called Integrating Factor (I.F.) of the given differential equation.
The general solution of the first order linear differential equation of the form dxdy+Py=Q is given by ye∫Pdx=∫Qe∫Pdxdx+c
The general solution of the first order linear differential equation of the form dydx+P1x=Q1 is given by x.e∫P1dx=∫(Q1×e∫P1dx)dy+c