Question

Please show all steps in completing this problem, thank you very much!

Solve the system Ax=b using the LU factorization of A and the matrix b given below. -2 0 0 1 -1 -2 7 A=LU= -2 -1 0 0 1 3 -17

0 0
Add a comment Improve this question Transcribed image text
Answer #1

here LU factorization is given so first we solve LY=B

-2 0 0 12 y1 -2 -1 0 12 y2 -1-2 2 -10

24112

y1=-6

.

2/1 y2 12

2(-6) y2= 12

12 y2 12

y2=12- 12

y2=0

2=0

.

2y1-y2-23 = -10

2(-6) 0 2y3-10

-12-2y_3=-10

-2y_3=-10+12

2 243

{\color{Blue} y_3=-1}

.

vector y is

{\color{Blue} \begin{pmatrix}y_1\\ y_2\\ y_3\end{pmatrix}=\begin{pmatrix}-6\\ 0\\ -1\end{pmatrix}}

.

.

now solve for UX=Y

\begin{pmatrix}1&-1&-2&7\\ 0&1&3&-17\\ 0&0&1&-5\end{pmatrix}\begin{pmatrix}x_1\\ x_2\\ x_3\\ x_4\end{pmatrix}=\begin{pmatrix}-6\\ 0\\ -1\end{pmatrix}

x_3-5x_4=-1

{\color{Blue} x_3=-1+5x_4}

.

3r3-17x4

x_2+3(-1+5x_4)-17x_4=0

x_2-3+15x_4-17x_4=0

x_2-2x_4-3=0

{\color{Blue} x_2 =3+2x_4}

.

x_1-x_2-2x_3+7x_4=-6

x_1-(3+2x_4)-2(-1+5x_4)+7x_4=-6

x_1-3-2x_4+2-10x_4+7x_4=-6

1-5x4- 1 = -6

x_1=-6+1+5x_4

{\color{Blue} x_1=-5+5x_4}

.

{\color{Blue} x_4=x_4}.................free

.

.

general solution is

\begin{pmatrix}x_1\\ x_2\\ x_3\\ x_4\end{pmatrix}=\begin{pmatrix}-5\\ 3\\ -1\\ 0\end{pmatrix}+x_4\begin{pmatrix}5\\ 2\\ 5\\ 1\end{pmatrix}

take x_4=s

{\color{Red} \begin{pmatrix}x_1\\ x_2\\ x_3\\ x_4\end{pmatrix}=\begin{pmatrix}-5\\ 3\\ -1\\ 0\end{pmatrix}+s\begin{pmatrix}5\\ 2\\ 5\\ 1\end{pmatrix}}

Add a comment
Know the answer?
Add Answer to:
Please show all steps in completing this problem, thank you very much! Solve the system Ax=b...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT