For the non-homogeneous Cauchy-Euler Equation,
y''-(5/x)y'+(9/x^2)y=4x
I tried performing the substitution z=lnx and x=e^z. That transforms the equation into y''-6y'+9y=4e^z with respect to z. After finding the homogeneous solutions y=e^(3z) and y=ze^(3z), I do the method of undetermined coefficients with the yp=Ae^(z) as the particular solution. Substituted into y''-6y'+9y=4ez, the solution is A=1. So yp=e^z, which transforms to yp=x. But if I just use the homogeneous solutions y=e^(3z) and y=ze^(3z), convert them to y1=x^3 and y2=(x^3)lnx, and then do variation of parameters with respect to x, the solution is yp=2(x^3)ln^2(x) which transforms into yp=2e^(3z)z^2 as the particular solution. I don't know why the results don't match and what mistake I made? Is the undetermined coefficients method a legitimate way to solve these types of equations?
y''-(5/x)y'+(9/x^2)y=4x
I tried performing the substitution z=lnx and x=e^z. That transforms the equation into y''-6y'+9y=4e^z with respect to z. After finding the homogeneous solutions y=e^(3z) and y=ze^(3z), I do the method of undetermined coefficients with the yp=Ae^(z) as the particular solution. Substituted into y''-6y'+9y=4ez, the solution is A=1. So yp=e^z, which transforms to yp=x. But if I just use the homogeneous solutions y=e^(3z) and y=ze^(3z), convert them to y1=x^3 and y2=(x^3)lnx, and then do variation of parameters with respect to x, the solution is yp=2(x^3)ln^2(x) which transforms into yp=2e^(3z)z^2 as the particular solution. I don't know why the results don't match and what mistake I made? Is the undetermined coefficients method a legitimate way to solve these types of equations?