Question 13 Marks
Solve the following differential equation:
$x \cos \text{y dy} = ( xe^{x} \log x + e^{x}) dx$
Answer
View full question & answer→$x \cos \text{y dy} = ( xe^{x} \log x + e^{x}) dx$
$\Rightarrow \int \cos \text{y dy} = \int \bigg( e^{x} \log x + \frac{e^{x}}{x}\bigg) \text{dx}$
$\therefore \sin y = \int {e^{x}} \log \text{x dx} + \int \frac{e^{x}}{x} \text{dx}$
$= \log x .e^{x} - \int e^{x} \frac{1}{x} \text{dx} + \int \frac{e^{x}}{x} \text{dx + c}$
$= e^{x} \log \text{x + c}$



