Let us solve the differential equation x2dx2d2y−2xdxdy+2y=x3. Let us use the transformation x=et. Then yx′=yt′⋅tx′=yt′⋅xt′1=yt′⋅e−t, yx2′′=(yt2′′⋅e−t−yt′⋅e−t)e−t=(yt2′′−yt′)e−2t.
It follows that we have the following equation e2t(yt2′′−yt′)e−2t−2etyt′e−t+2y=e3t, which is equivalent to the equation yt2′′−3yt′+2y=e3t. The characteristic equation k2−3k+2=0 is equivalent to (k−1)(k−2)=0, and hence has the roots k1=1 and k2=2. The general solution of the differential equation yt2′′−3yt′+2y=e3t is y(t)=C1et+C2e2t+yp(t), where yp(t)=ae3t. It follows that yp′(t)=3ae3t,yp′′(t)=9ae3t. We have that 9ae3t−9ae3t+2ae3t=e3t. Then 2a=1, and thus a=21. Therefore, y(t)=C1et+C2e2t+21e3t. We conclude that the general solutions of the differential equation x2dx2d2y−2xdxdy+2y=x3 is y(x)=C1x+C2x2+21x3.
Comments