Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Write the general form of (1+tany)(dxdy)+2xdy=0

Answer
VerifiedVerified
426k+ views
like imagedislike image
Hint: The most general form of linear differential equations of first order is dydx+Py=Q , where P and Q are functions of x.
To solve such an equation multiply both sides by ePdx . Then the solution of this equation will be
 yePdx=QePdxdx+c
Another form of first order linear differential equation is dxdy+P1x=Q1 , where P1 and Q1 are functions of y only. And the solution of such an equation is given by x.eP1dx=(Q1×eP1dx)dy+c

Complete step by step answer:
Step 1: Rearranging the terms in (1+tany)(dxdy)+2xdy=0
Divide both sides of the equation by dy, we get
 (1+tany)(dxdy)+2xdy=0
 (1+tany)(dxdy1)+2x=0
Taking dxdy separately we get
 (1+tany)(dxdy1)+2x=0
 (1+tany)dxdy(1+tany)+2x=0
 (1+tany)dxdy+2x=(1+tany)
 dxdy+2x1+tany=1
The above equation is in the form of first order linear differential equation, dxdy+P1x=Q1
Step 2: On comparing both equation dxdy+2x1+tany=1 & dxdy+P1x=Q1 , we get
 P1=2x1+tany & Q1=1
Step 3: finding the integrating factor (I.F)
As we know that, integrating factor is given by
 I.F=eP1dy
Substituting the values we get,
 I.F=e21+tanydy
We know that tany=sinycosy , replacing tan y with its value, we get
  I.F=e2cosycosy+sinydy
Now adding and subtracting siny in numerator, we get
  I.F=ecosy+siny+cosysinycosy+sinydy
  I.F=e1+cosysinycosy+sinydy
  I.F=ey+log(cosy+siny) {cosysinycosy+sinydy=dlog(cosy+siny)dy}
  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.eP1dx=(Q1×eP1dx)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+Cey

Note: This function g(x)=ePdx is called Integrating Factor (I.F.) of the given differential equation.
The general solution of the first order linear differential equation of the form dydx+Py=Q is given by yePdx=QePdxdx+c
The general solution of the first order linear differential equation of the form dxdy+P1x=Q1 is given by x.eP1dx=(Q1×eP1dx)dy+c


Latest Vedantu courses for you
Grade 10 | CBSE | SCHOOL | English
Vedantu 10 CBSE Pro Course - (2025-26)
calendar iconAcademic year 2025-26
language iconENGLISH
book iconUnlimited access till final school exam
tick
School Full course for CBSE students
PhysicsPhysics
Social scienceSocial science
ChemistryChemistry
MathsMaths
BiologyBiology
EnglishEnglish
₹38,500 (9% Off)
₹35,000 per year
Select and buy