x2y'' +xy' - y=x2ex
homogeneous equation:
x2y'' +xy' - y=0
It can be noted that one of the solutions of the homogeneous equation is
y1=x
Find the second independent solution
according to the Liouville-Ostrogradsky formula:
Wy1y2=∣∣y1y1′y2y2′∣∣=C1e−∫a2(x)a1(x)
y2′y1−y2y1′=C1e−∫x2−xdx=C1elnx=C1x
y12y2′y1−y2y1′=y12C1x=x2C1x=xC1
(y1y2)′=xC1
y1y2=C1ln(x)+C2
y2= xC1ln(x)+xC2
Common solution:
y0(x)= xC1ln(x) +xC2
system of equations:
xC1′ln(x)+xC2′=0
C1′(xln(x))′+C2′(x)′=ex
C2'= -C1ln(x)
C1'(ln(x)+1) + C2'= ex
C1'(ln(x) +1) - C1'ln(x) = ex
C1' =ex
C2'= - exln(x)=-1
C1=ex + A1
C2=-x+A2
y(x)= C1(x)xln(x) + C2x= (ex+A1)xln(x) + (-x+A2)x=x+A1xln(x) - x2 +xA2
Comments