Questions: Find the integrating factor μ(x) for the following ODE
2 y′+(x sin x) y=x^2
Transcript text: Problem #10: Find the integrating factor $\mu(x)$ for the following ODE
\[
2 y^{\prime}+(x \sin x) y=x^{2}
\]
Solution
Solution Steps
To solve the given first-order linear ordinary differential equation (ODE), we need to find the integrating factor \(\mu(x)\). The standard form of a first-order linear ODE is \(y' + P(x)y = Q(x)\). We can rewrite the given ODE in this form and then determine the integrating factor \(\mu(x)\) using the formula \(\mu(x) = e^{\int P(x) \, dx}\).
Solution Approach
Rewrite the given ODE in the standard form \(y' + P(x)y = Q(x)\).
Identify \(P(x)\) from the standard form.
Compute the integrating factor \(\mu(x) = e^{\int P(x) \, dx}\).
Step 1: Rewrite the ODE
The given ordinary differential equation (ODE) is
\[
2y' + (x \sin x)y = x^2.
\]
We can rewrite it in standard form as
\[
y' + \frac{x \sin x}{2} y = \frac{x^2}{2}.
\]
Here, we identify \(P(x) = \frac{x \sin x}{2}\) and \(Q(x) = \frac{x^2}{2}\).
Step 2: Compute the Integrating Factor
The integrating factor \(\mu(x)\) is calculated using the formula