Find the general solution of the differential equation dydx=4y+2exy1/2
Solution We begin by writing the equation in the form of (3): dydx−4y=2exy1/2
This is a Bernoulli differential equation with P(x)=−4, Q(x)=2ex, and n=12. Then we follow the steps for solving a Bernoulli equation.
Step 1 Multiply the differential equation by y−1/2 to obtain y−1/2dydx−4y1/2=2ex
Step 2 Let v=v(x)=y1/2. Then dvdx=12y−1/2dydx.
Step 3 Substitute v and dvdx into y−1/2dydx−4y1/2=2ex. 2dvdx−4v=2exdvdx−2v=ex
This is a first-order linear differential equation in x and v.
Step 4 Multiply the differential equation by the integrating factor e∫−2dx=e−2x. e−2xdvdx−2e−2xv=e−xddx(e−2xv)=e−xe−2xv=∫e−xdx=−e−x+CC>0v=Ce2x−ex
Step 5 Using v=y1/2, we write the solution in terms of x and y. y1/2=Ce2x−exy=(Ce2x−ex)2