Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
The general solution of the differential equation \(\frac{d y}{d x}+y g^{\prime}(x)=g(x) g^{\prime}(x)\) is
MathematicsDifferential EquationsAP EAMCETAP EAMCET 2020 (18 Sep Shift 2)
Options:
  • A \(g(x)+\log (1+y+g(x))=c\)
  • B \(g(x)+\log (1+y-g(x))=c\)
  • C \(g(x)-\log (1+y+g(x))=c\)
  • D \(g(x)-\log (1+y-g(x))=c\)
Solution:
1077 Upvotes Verified Answer
The correct answer is: \(g(x)+\log (1+y-g(x))=c\)
\(\begin{aligned}
& \frac{d y}{d x}+y g^{\prime}(x)=g(x) \cdot g^{\prime}(x) \\
& \therefore P=g^{\prime}(x) \text { and } Q=g(x) \cdot g^{\prime}(x) \\
& \text {IF }=e^{\int p d x} \\
& =e^{\int g^{\prime}(x) d x} \\
& \mathrm{IF}=e^{g(x)} \\
\end{aligned}\)
General Solution is
\(\begin{aligned}
y(\mathrm{IF}) & =\int Q(\mathrm{IF}) d x+c \\
y\left(e^{g(x)}\right) & =\int g(x) \cdot g^{\prime}(x) \cdot e^{g(x)} d x+c
\end{aligned}\)
Put, \(g(x)=t\)
\(\begin{gathered}
g^{\prime}(x) d x=d t \\
y e^{g(x)}=\int t e^t d t+e^c \\
y e^{g(x)}=e^t(t-1)+e^c \\
y e^{g(x)}=e^t \cdot t-e^t+e^c \\
y e^{g(x)}=e^{g(x)} \cdot g(x)-e^{g(x)}+e^c \\
e^{g(x)}[y+1-g(x)]=e^c
\end{gathered}\)
Taking \(\log\) on both sides,
\(\begin{aligned}
\log _e e^{g(x)}[y+1-g(x)] & =\log _e e^c \\
g(x)+[y+1-g(x)] & =C
\end{aligned}\)
Hence, option (b) is correct.

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.