(a) Given equation is $x\ dy - y\ dx + x^{2}e^{x}dx = 0$ $\Rightarrow \ \frac{x\ dy - y\ dx}{x^{2}} + e^{x}dx = 0$ $\Rightarrow d\ \left( \frac{y}{x}\ \right) + d\left( e^{x} \right) = 0$ $\Rightarrow \frac{y}{x} + e^{x} = c$
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.