What is a solution to the differential equation xy"+2y'?

1 Answer
Feb 25, 2018

#y=C_2/x+C_3#

Explanation:

Assuming we want to solve the differential equation

#xy''+2y'=0#

Let #z=y'# then #z'=y''#

#xz'+2z=0#

Now we have a first order differential equation,
which can be solved using seperation of variables

#x(dz)/dx+2z=0=>1/(2z)dz=-1/xdx#

Integrate both sides

#1/2int1/zdz=-int1/xdx#

#=>1/2ln(z)=-ln(x)+C#

#=>z=C_1/x^2#

Substitute back #z=y'#

#y'=C_1/x^2=>y=intC_1/x^2dx=>y=C_2/x+C_3#