Problem 1: Solve the equation Ax=b by using the LU factorization for A=2−46−45−9221=1−2301−1001200−4−30261 and b=606.
Solution: Let
L=1−2301−1001,U=200−4−30261.
First we would like to solve Ly=b. By forward substitution, we get y1=6,y2=0+2y1=12,y3=6−3y1+y2=0. Finally we would like to solve Ux=y. By backward substitution, we get x3=0,x2=(12−6x3)/(−3)=−4,x1=(6+4x2−2x3)/2=−5.