Question:

General solution of the differential equation \(x\cos y\ \mathrm{d}y=(x\mathrm{e}^{x}\log x+\mathrm{e}^{x})\mathrm{d}x\) is (where \(C\) is a constant of integration.)

Show Hint

Divide by x and notice that the right side is the derivative of e to the x times log x.
Updated On: Nov 17, 2026
  • \(\sin y=\mathrm{e}^{x}\log x+C\)
  • \(\sin y=\mathrm{e}^{x}+C\log x\)
  • \(\sin y=C\mathrm{e}^{x}+\log x\)
  • \(\mathrm{e}^{x}\sin y=\log x+C\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

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

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

Step 3: Integrate
\(\displaystyle\int\cos y\,dy=\int d\left(e^{x}\log x\right)\Rightarrow\sin y=e^{x}\log x+C\).

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

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