Find the general solution of the first-order linear differential equation dydx+xx2+1y=x31+x2
Solution Compare the differential equation to (1). Since P(x)=xx2+1, the integrating factor is e∫P(x)dx=exp[∫xx2+1dx]=exp[12ln(x2+1)]=exp[ln(x2+1)1/2]=√x2+1
1079
Now we multiply the differential equation by √x2+1 and obtain √x2+1dydx+x√x2+1y=x3√x2+1
The left side of the above equation is the derivative of √x2+1y, so we can write ddx(√x2+1y)=x3√x2+1
Integrating both sides, we find √x2+1y=∫x3√x2+1dx=↑Letu=x2+1,du=2xdx12∫(u−1)√udu=12∫(u1/2−u−1/2)du=12(u3/232−u1/212)+C=(x2+1)3/23−(x2+1)1/2+Cy=x2+13−1+C√x2+1Solve for y.
and we have the general solution to the differential equation.