Question:

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
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Divide by x: \(\cos y\,dy=e^x\left(\log x+\frac{1}{x}\right)dx\).

Step 2: Recognise the derivative
\(\frac{d}{dx}\left(e^x\log x\right)=e^x\log x+\frac{e^x}{x}\).

Step 3: Integrate
\(\int\cos y\,dy=\int e^x\left(\log x+\frac{1}{x}\right)dx\), so \(\sin y=e^x\log x+c\).

Step 4: Compare the options
This is option (B).

Final Answer:
The general 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
0