Question:

The integrating factor of the differential equation $2dy = (y + \cos x) dx$ is

Show Hint

Always ensure the coefficient of $\frac{dy}{dx}$ is exactly 1 before identifying $P(x)$. Forgetting to divide by a constant coefficient like the '2' here is a very common mistake.
Updated On: Jun 26, 2026
  • $e^{-2x}$
  • $e^{-x/2}$
  • $e^{2x}$
  • $e^{x/2}$
  • $-e^{x/2}$
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept:
For a linear differential equation of the form $\frac{dy}{dx} + P(x)y = Q(x)$, the integrating factor (I.F.) is defined as $e^{\int P(x) dx}$.

Step 2: Detailed Explanation:

1. Rearrange the given equation into the standard linear form:
\[ 2 \frac{dy}{dx} = y + \cos x \]
\[ 2 \frac{dy}{dx} - y = \cos x \]
Divide by 2:
\[ \frac{dy}{dx} - \frac{1}{2}y = \frac{1}{2}\cos x \]
2. Identify $P(x)$:
Comparing with $\frac{dy}{dx} + P(x)y = Q(x)$, we have $P(x) = -\frac{1}{2}$.
3. Calculate the I.F.:
\[ \text{I.F.} = e^{\int P(x) dx} = e^{\int -1/2 dx} \]
\[ \text{I.F.} = e^{-x/2} \]

Step 3: Final Answer:

The integrating factor is $e^{-x/2}$.
Was this answer helpful?
0
0