Loading [MathJax]/jax/output/CommonHTML/jax.js

EXAMPLE 1Solving a First-Order Linear Differential Equation

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 eP(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+xx2+1y=x3x2+1

The left side of the above equation is the derivative of x2+1y, so we can write ddx(x2+1y)=x3x2+1

Integrating both sides, we find x2+1y=x3x2+1dx=Letu=x2+1,du=2xdx12(u1)udu=12(u1/2u1/2)du=12(u3/232u1/212)+C=(x2+1)3/23(x2+1)1/2+Cy=x2+131+Cx2+1Solve for y.

and we have the general solution to the differential equation.