Question:

Which of the following is an integrating factor for the differential equation $x \cos x \frac{dy}{dx} + (x \sin x + \cos x) y = 1$?

Show Hint

For linear differential equations, the coefficient of $dy/dx$ must be 1 before calculating $P(x)$ and the Integrating Factor.
  • $x \cos x$
  • $x \sin x$
  • $x \sec x$
  • $x \csc x$
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Concept
Convert to standard linear form $\frac{dy}{dx} + P(x)y = Q(x)$, then $IF = e^{\int P(x) dx}$.

Step 2: Meaning

Divide by $x \cos x$: $\frac{dy}{dx} + \frac{x \sin x + \cos x}{x \cos x} y = \frac{1}{x \cos x}$. So $P(x) = \frac{\sin x}{\cos x} + \frac{1}{x} = \tan x + \frac{1}{x}$.

Step 3: Analysis

$\int P(x) dx = \int (\tan x + \frac{1}{x}) dx = \log(\sec x) + \log x = \log(x \sec x)$.

Step 4: Conclusion

$IF = e^{\log(x \sec x)} = x \sec x$. Final Answer: (C)
Was this answer helpful?
0
0