Consider the differential equation dxdy=ytanx−y2secx
Divide by y2 on both the sides, we get y21(dxdy)=ytanx−secx...(1)
Let y1=z
Diff both side, we get y2−1.dxdy=dxdz
Put value of y21dxdy in the equation (1) , we get −(dxdz)−(tanx)z=−secx ⇒(dxdz)+(tanx)z=sec
This is the linear diff equation in 'z' i.e.
This is of the form dxdz+P.z=Q
then integrating factor =e∫Pdx ∴ In the given question I.F.=e∫tanxdx=elog(secx)=secx