Question:medium

The general solution of the differential equation \(x \cos y \mathrm{~d} y=\left(x \mathrm{e}^{\mathrm{x}} \log x+\mathrm{e}^x\right) \mathrm{d} x\) is given by

Show Hint

Separate variables and notice that the right side is the derivative of e^x log x.
Updated On: Nov 16, 2026
  • \(\mathrm{sin}y=\mathrm{e}^{x}+\mathrm{clog}x\), where c is a constant of integration.
  • \(\mathrm{sin}y=\mathrm{e}^{\mathrm{x}}\mathrm{log}x+\mathrm{c}\), where c is a constant of integration.
  • \(\mathrm{e}^{x}\mathrm{sin}y=\mathrm{log}x+\mathrm{c}\), where c is a constant of integration.
  • \(\mathrm{sin}y=\mathrm{ce}^{x}+\mathrm{log}x\), where c is a constant of integration.
Show Solution

The Correct Option is B

Solution and Explanation

Step 1: Form
The integrand has the form $e^x\left(f(x)+f'(x)\right)$ with $f=\log x$.

Step 2: Standard result
$\int e^x\left(f+f'\right)dx=e^xf(x)+c$.

Step 3: Result
So $\sin y=e^x\log x+c$, option (B).

Final Answer:
The solution is sin y = e^x log x + c. \[ \boxed{\text{(B) }\sin y=\mathrm{e}^{x}\log x+c} \]
Was this answer helpful?
0