Match the integrating factor of the following differential equations.
| LIST I | LIST II |
| A. \(\displaystyle\frac{dy}{dx}-y=\cos x\) | I. \(e^x\) |
| B. \(\displaystyle\frac{dy}{dx}=\cos x-y\) | II. \(x^2\) |
| C. \(x\displaystyle\frac{dy}{dx}+2y=x^2\) | III. \(\displaystyle\frac{1}{x^2}\) |
| D. \(\displaystyle\frac{dy}{dx}=x+\displaystyle\frac{2}{x}y\) | IV. \(e^{-x}\) |
Choose the correct answer from the options given below:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → A-IV, B-I, C-II, D-III
Each equation is first written in the standard form \(\frac{dy}{dx}+Py = Q\); the integrating factor is then \(e^{\int P\,dx}\). For x > 0, \(e^{k\log x} = x^k\).
(A) \(\frac{dy}{dx}-y=\cos x\)
This matches (IV) \(e^{-x}\). Here P = −1:
\(\displaystyle e^{\int(-1)\,dx} = e^{-x}\)
(B) \(\frac{dy}{dx}=\cos x-y\)
This matches (I) \(e^x\). In standard form \(\frac{dy}{dx}+y = \cos x\), so P = 1:
\(\displaystyle e^{\int 1\,dx} = e^{x}\)
(C) \(x\frac{dy}{dx}+2y=x^2\)
This matches (II) \(x^2\). Dividing by x gives \(\frac{dy}{dx}+\frac{2}{x}y = x\), so \(P = \frac{2}{x}\):
\(\displaystyle e^{\int\frac{2}{x}dx} = e^{2\log x} = x^2\)
(D) \(\frac{dy}{dx}=x+\frac{2}{x}y\)
This matches (III) \(\frac{1}{x^2}\). In standard form \(\frac{dy}{dx}-\frac{2}{x}y = x\), so \(P = -\frac{2}{x}\):
\(\displaystyle e^{\int-\frac{2}{x}dx} = e^{-2\log x} = \frac{1}{x^2}\)