Question
Question: If $x \sin(\frac{y}{x})dy = (y \sin(\frac{y}{x})-x)dx$ and $y(1) = \frac{\pi}{2}$ then the value of ...
If xsin(xy)dy=(ysin(xy)−x)dx and y(1)=2π then the value of cos(ey) is _______.

Answer
1
Explanation
Solution
- Rewrite the differential equation in the form dxdy=xy−sin(xy)1.
- Identify it as a homogeneous differential equation and substitute y=vx, which implies dxdy=v+xdxdv.
- The substitution leads to xdxdv=−sin(v)1.
- Separate variables to get sin(v)dv=−xdx.
- Integrate both sides: ∫sin(v)dv=−∫xdx, yielding −cos(v)=−ln∣x∣+C.
- Simplify to cos(v)=ln∣x∣−C. Substitute back v=xy to get cos(xy)=ln∣x∣+C1.
- Apply the initial condition y(1)=2π: cos(1π/2)=ln∣1∣+C1⟹0=0+C1⟹C1=0.
- The particular solution is cos(xy)=ln∣x∣.
- Evaluate cos(ey) by substituting x=e: cos(ey)=ln∣e∣=1.