Given D.E is
(x−1)2y′′−2(x−1)y′+2y=(x−1)2,y(0)=3,y′(0)=6 Notice that solution of homogeneious equation (x−1)2y′′−2(x−1)y′+2y=0 is
y1=(x−1)We find second independent solution fron Liouville formula is
Wy1y2(x)=∣∣y1y1′y2y2′∣∣=C1e−∫(x−1)2−2(x−1)dx=C1(x−1)2 Thus,
y12y1y2′−y1′y2=C1(x−1)2(x−1)2=C1⟹(y1y2)′=C1⟹y2=C1(x−1)2+C2(x−1) Hence, general solution of homogeneous equation is
yo(x)=C1(x−1)2+C2(x−1) Now, using methood of variation of parameters and construct general solution of inhomogeneous equation ,
y1(x)andy2(x):y0(x)=C1y1(x)+C2y2(x),whereC1,C2are arbitrary constants.
Thus,
The derivatives of the unknown functions C1(x)&C2(x)can be determined from the system of equations
C1′(x)y1(x)+C2′(x)y2(x)=0C1′(x)y1′(x)+C2′(x)y2′(x)=f(x) Hence,
C’1(x)=–Wy1,y2(x)y2(x)f(x),C’2(x)=Wy1,y2(x)y1(x)f(x).
Furthermore, knowing the derivatives of C’1(x) and C’2(x) ,one can find the C1(x)&C2(x) Thus,
C1(x)=–∫Wy1,y2(x)y2(x)f(x)dx+A1,C2(x)=∫Wy1,y2(x)y1(x)f(x)dx+A2 whereA1&A2 are constants of integration.Then the general solution of the original nonhomogeneous equation will be expressed by the formula
y(x)=C1(x)y1(x)+C2(x)y2(x)=[–∫Wy1,y2(x)y2(x)f(x)dx+A1]⋅y1(x)+[∫Wy1,y2(x)y1(x)f(x)dx+A2]⋅y2(x)=A1y1(x)+A2y2(x)+Y(x) Where,
Y(x)=y2(x)∫Wy1,y2(x)y1(x)f(x)dx–y1(x)∫Wy1,y2(x)y2(x)f(x)dx Thus, from above fact by putting f(x)=(x−1)2 and solving exactly as above we get the general solution is
C1(x−1)−(x+ln(x−1))(x−1)+C2x(x−1)+xln(x−1)(x−1) Thus particular solution is
−(x−1)(10x+ln(x−1)−xln(x−1)+3−πi+πxi)
Comments