Related Formula
Standard first-order linear differential equation form:
(dy)/(dx) + P(x)y = Q(x)$$\frac{dy}{dx} + P(x)y = Q(x)$$
Integrating Factor:
I.F. = e∫ P(x)dx$$I.F. = e^{\int P(x)dx}$$
Solution layout:
y · (I.F.) = ∫ Q(x) · (I.F.) dx + C$$y \cdot (I.F.) = \int Q(x) \cdot (I.F.) dx + C$$
Core Logic
Rearrange the given differential equation into standard linear form:
x(x² + e^x)(dy)/(dx) + e^x(x - 2)y = x³$$x(x^2 + e^x)\frac{dy}{dx} + e^x(x - 2)y = x^3$$
(dy)/(dx) + (e^x(x - 2))/(x(x² + e^x))y = (x²)/(x² + e^x)$$\frac{dy}{dx} + \frac{e^x(x - 2)}{x(x^2 + e^x)}y = \frac{x^2}{x^2 + e^x}$$
Step 1: Determine Integrating Factor
We need to integrate P(x) = (e^x(x-2))/(x(x²+e^x))$P(x) = \frac{e^x(x-2)}{x(x^2+e^x)}$:
∫ (e^x(x-2))/(x(x²+e^x)) dx = ∫ (xe^x - 2e^x)/(x(x²+e^x)) dx = ∫ ((xe^x - 2e^x)/(x³))/(1 + (e^x)/(x²)) dx$$\int \frac{e^x(x-2)}{x(x^2+e^x)} dx = \int \frac{xe^x - 2e^x}{x(x^2+e^x)} dx = \int \frac{\frac{xe^x - 2e^x}{x^3}}{1 + \frac{e^x}{x^2}} dx$$
Let t = 1 + (e^x)/(x²)$t = 1 + \frac{e^x}{x^2}$. Then dt = (x²e^x - e^x(2x))/(x⁴) dx = (xe^x - 2e^x)/(x³) dx$dt = \frac{x^2e^x - e^x(2x)}{x^4} dx = \frac{xe^x - 2e^x}{x^3} dx$.
Thus:
∫ P(x)dx = ∫ (dt)/(t) = ln|t| = ln|1 + (e^x)/(x²)|$$\int P(x)dx = \int \frac{dt}{t} = \ln|t| = \ln\left|1 + \frac{e^x}{x^2}\right|$$
Therefore, the integrating factor is:
I.F. = eln(1 + (e^x)/(x²)) = 1 + (e^x)/(x²) = (x² + e^x)/(x²)$$I.F. = e^{\ln\left(1 + \frac{e^x}{x^2}\right)} = 1 + \frac{e^x}{x^2} = \frac{x^2 + e^x}{x^2}$$
Step 2: Construct the General Solution
Using the linear equation solution template:
y · ((x² + e^x)/(x²)) = ∫ ((x²)/(x² + e^x)) · ((x² + e^x)/(x²)) dx + C$$y \cdot \left(\frac{x^2 + e^x}{x^2}\right) = \int \left(\frac{x^2}{x^2 + e^x}\right) \cdot \left(\frac{x^2 + e^x}{x^2}\right) dx + C$$
y · (1 + (e^x)/(x²)) = ∫ 1 · dx + C$$y \cdot \left(1 + \frac{e^x}{x^2}\right) = \int 1 \cdot dx + C$$
y · (1 + (e^x)/(x²)) = x + C$$y \cdot \left(1 + \frac{e^x}{x^2}\right) = x + C$$
Step 3: Evaluate Constant and Compute y(2)
The curve passes through (1, 0)$(1, 0)$. Substitute x=1, y=0$x=1, y=0$:
0 · (1 + e) = 1 + C C = -1$$0 \cdot (1 + e) = 1 + C \implies C = -1$$
So the exact solution equation is:
y · (1 + (e^x)/(x²)) = x - 1 y = (x - 1)/(1 + (e^x)/(x²))$$y \cdot \left(1 + \frac{e^x}{x^2}\right) = x - 1 \implies y = \frac{x - 1}{1 + \frac{e^x}{x^2}}$$
To find y(2)$y(2)$, substitute x=2$x=2$:
y(2) = (2 - 1)/(1 + (e²)/(2²)) = (1)/(1 + (e²)/(4)) = (4)/(4 + e²)$$y(2) = \frac{2 - 1}{1 + \frac{e^2}{2^2}} = \frac{1}{1 + \frac{e^2}{4}} = \frac{4}{4 + e^2}$$
Pattern Recognition
Spotting the functional derivative framework inside P(x)$P(x)$ by dividing the numerator and denominator by x³$x^3$ uncovers the standard form ∫ (f'(x))/(f(x))dx$\int \frac{f'(x)}{f(x)}dx$ cleanly, converting an otherwise intimidating integral into a basic natural log operation.
Chapter Mix
Class 12 Mathematics: Differential Equations
Class 12 Mathematics: Integrals