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.
Problem 2: Find an LU factorization of A=2624−6−4−9−7−23−2−5−3−23389−14.
Solution: Start row-reducing the matrix A:
2624−6−4−9−7−23−2−5−3−23389−14∼20000−43−36−9−21−12−33−16−713∼20000−43000−210003−15−510∼20000−43000−210003−1500=U
Pick out the entries in boldface, normalized and assemble them to make
L=1312−301−12−3001−120001000001.
Problem 3: Consider the production model x=Cx+d for an economy with two sectors, where
C=[.0.6.5.2],b=[5030].
Use an inverse matrix to determine the production level necessary to satisfy the final demand.
Solution(sketch): According to the equation, we obtain (I−C)x=d. Then use Gaussian elimination to solve it.