The general solution of $\left(x \frac{d y}{d x}-y\right) \sin \frac{y}{x}=x^3 e^x$ is

The general solution of $\left(x \frac{d y}{d x}-y\right) \sin \frac{y}{x}=x^3 e^x$ is
  1. $\mathrm{e}^{\mathrm{x}}(\mathrm{x}-1)+\cos \frac{\mathrm{y}}{\mathrm{x}}+\mathrm{c}=0$
  2. $\mathrm{xe}^{\mathrm{x}}+\cos \frac{\mathrm{y}}{\mathrm{x}}+\mathrm{c}=0$
  3. $\mathrm{e}^{\mathrm{x}}(\mathrm{x}+1)+\cos \frac{\mathrm{y}}{\mathrm{x}}+\mathrm{c}=0$
  4. $\mathrm{ex}^{\mathrm{x}}-\cos \frac{\mathrm{y}}{\mathrm{x}}+\mathrm{c}=0$

Solution

$\begin{aligned} & \left(x \frac{d y}{d x}-y\right) \sin \frac{y}{x}=x^3 e^x \\ & \text { Put } \frac{y}{x}=t \Rightarrow \frac{x \frac{d y}{d x}-y}{x^2}=\frac{d t}{d x} \end{aligned}$ Put $\frac{y}{x}=t \Rightarrow \frac{x \frac{d y}{d x}-y}{x^2}=\frac{d t}{d x}$ Hence eq. (i) becomes $\begin{aligned} & \mathrm{x}^2\left(\frac{d t}{d x}\right) \sin t=x^3 e^x \Rightarrow\left(\frac{d t}{d x}\right) \sin t=x e^x \\ & \therefore \int \sin t d t=\int x^x d x \\ & \therefore-\cos t=x e^x-\int e^x d x=x e^4-e^x+c \\ & \therefore-\cos \left(\frac{y}{x}\right)=e^x(x-1)+c \end{aligned}$

Asked in: MHT CET 2021 (20 Sep Shift 2)

Practice more Differential Equations questions on Aicharya