Question
Mathematics Question on Differential equations
For the differential equations, find the general solution:dxdy=1+cosx1−cosx
Answer
The given differential equation is:
dxdy=1+cosx1−cosx
⇒dxdy=2sin22x2cos22x=tan22x
⇒dxdy=(sec22x−1)
separating the variables,we get:
dy=(sec22x−1)dx
Now,integrating both sides of this equation,we get:
∫dy=∫(sec22x−1)dx=∫sec22xdx−∫dx
⇒y=2tan2x−x+C
This is the required general solution of the given differential equation.