For the given differential equation find the particular solution satisfying the given conditions.
dydx−yx+cosec(yx)=0, y=0 when x=1.
Given, dydx=yx−cosec(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−cosecv⇒xdvdx=−cosecv⇒sinvdv=−1xdx
On integarting both sides, we get
∫sinvdv=−∫dxx⇒−cosv=−log|x|+C⇒log|x|−cos(yx)=C ...(iii)
when x=1, then y=0, therefore log1−cos0=C⇒C=0−1=−1
On putting the value of C in Eq. (ii), we get log|x|−cos(yx)=−1
⇒log|x|+1=cosyx⇒log|x|+loge=cos(yx) [∵loge=1]
log|ex|=cos(yx)
This is the required solution of the given diffrential equation.