MCQ
The solution of $x \frac{d y}{d x}+y=e^x$ is
  • $y=\frac{e^x}{x}+\frac{c}{x}$
  • B
    $y=x e^x+c x$
  • C
    $y=x e^x+c$
  • D
    $x=\frac{e^y}{y}+\frac{c}{y}$

Answer

Correct option: A.
$y=\frac{e^x}{x}+\frac{c}{x}$
$x \frac{d y}{d x}+y=e^x$
$\frac{d y}{d x}+\frac{y}{x}=\frac{e^x}{x}$
It is a linear differential equation with
$\text { I.F. }=e^{\int \frac{1}{x} d x}=e^{\log x}=x$
Now, solution is $y \cdot x=\int \frac{e^x}{x} \cdot x d x+c$
$\Rightarrow y x=e^x+c$
$\Rightarrow y=\frac{e^x}{x}+\frac{c}{x}$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free