Solve the equation Ax = b by using the LU factorization given for A.
A= [4 -6 4 = [1 0 0 [4 -6 4 [0
-12 15 -7 -3 1 0 0 -3 5 b= 12
12 -15 8] 3 -1 1] 0 0 1] -12]
Let Ly=b and Ux=y. Solve for x and y.
y=
x=
Given, A =
L =
U =
b =
Let Ly = b where y = .
Then, =
i.e., y1 = 0
- 3y1 + y2 = 12
3y1 - y2 + y3 = -12
i.e., y1 = 0
y2 = 12
y3 = 0
Therefore, = .
Again, let Ux = y where x = .
Then, =
i.e., 4x1 - 6x2 + 4x3 = 0
- 3x2 + 5x3 = 12
x3 = 0
i.e., x3 = 0
x2 = -4
x1 = -6
Therefore, = .
Get Answers For Free
Most questions answered within 1 hours.