For the given differential equation find the particular solution satisfying the given conditions.
[xsin2(yx)−y]dx+xdy=0, y=π4 when x=1.
Given, sin2(yx)−yx+dydx=0⇒dydx=yx−sin2(yx) ....(i)
Thus, the given differential equation is homogeneous.
So, put
yx=v
i.e., y=vx⇒dydx=v+xdvdx
Then, Eq. (i) becomes
v+xdvdx=v−sin2v⇒xdvdx=−sin2v⇒cosec2v dv=−1xdx
On integrating both sides, we get
∫cosec2v dv=−∫dxx⇒−cotv=−log|x|+C⇒log|x|−cotv=C⇒log|x|−cot(yx)=C (Put v=yx) ...(ii)
When x=1, then y=π4, therefore,
log|1|−cotπ4=C⇒C=0−1=−1
On putting the value of C in Eq. (ii), we get
log|x|−cot(yx)=−1⇒log|x|−cot(yx)=−loge (∵1=loge)
⇒cot(yx)=log|ex| [∵logm+logn=logmn]
This is the required solution of the given differential equation.