ExamBro
ExamBro
KCET · Maths · Differential Equations

The integrating factor of \( \frac{d y}{d x}+y=\frac{1+y}{x} \) is

  1. A \( x e^{x} \)
  2. B \( x e^{\frac{1}{x}} \)
  3. C \( \frac{e^{x}}{x} \)
  4. D \( \frac{x}{e^{x}} \)
Verified Solution

Answer & Solution

Correct Answer

(C) \( \frac{e^{x}}{x} \)

Step-by-step Solution

Detailed explanation

Given differential equation,
\[
\begin{array}{l}
\frac{d y}{d x}+y=\frac{1+y}{x} \\
\Rightarrow \frac{d y}{d x}+y\left(1-\frac{1}{x}\right)=\frac{1}{x}
\end{array}
\]
So, integrating factor is given by
I.F. \( =e^{\int\left(1-\frac{1}{x}\right) d x}=e^{x} e^{-\ln x}=\frac{e^{x}}{x} \)