Docsity

Linear Algebra Homework: Pivoting Strategies, LU Factorization, and Special Matrices, Assignments of Cryptography and System Security

Toggle sidebar
bg1
Math 151A Homework #7 – practice homework.
1. Pivoting strategies (Section 6.2, problems 1c,2c,3c,4c)
Given the linear system
2x1−3x2+ 2x3= 5
−4x1+ 2x2−6x3= 14
2x1+ 2x2+ 4x3= 8
find the row interchanges required when using:
a. simple pivoting (algorithm 6.1)
b. partial pivoting (algorithm 6.2)
c. scaled partial pivoting (algorithm 6.3)
d. complete pivoting
2. LU factorization Consider the linear system
2x1+x2+x3=b1
−2x1−1x2=b2
2x1+ 3x2=b3
The coefficient matrix for the system does not have an LU factorization. Using an appropriate
permutation matrix, factor the resulting matrix (P A =LU). Use this factorization to solve the
system for xwhen b= (1,2,3)T.
3. Special matrices
Which of the following matrices are
i. symmetric
ii. singular
iii. strictly diagonally dominant
a. 2 1
1 3
b.
210
030
104
c.
426
307
−2−1−3

Partial preview of the text

Download Linear Algebra Homework: Pivoting Strategies, LU Factorization, and Special Matrices and more Assignments Cryptography and System Security in PDF only on Docsity!

Math 151A Homework #7 – practice homework.

  1. Pivoting strategies (Section 6.2, problems 1c,2c,3c,4c) Given the linear system

2 x 1 − 3 x 2 + 2x 3 = 5 − 4 x 1 + 2x 2 − 6 x 3 = 14 2 x 1 + 2x 2 + 4x 3 = 8

find the row interchanges required when using:

a. simple pivoting (algorithm 6.1) b. partial pivoting (algorithm 6.2) c. scaled partial pivoting (algorithm 6.3) d. complete pivoting

  1. LU factorization Consider the linear system

2 x 1 + x 2 + x 3 = b 1 − 2 x 1 − 1 x 2 = b 2 2 x 1 + 3x 2 = b 3

The coefficient matrix for the system does not have an LU factorization. Using an appropriate permutation matrix, factor the resulting matrix (P A = LU ). Use this factorization to solve the system for x when b = (1, 2 , 3)T^.

  1. Special matrices Which of the following matrices are

i. symmetric ii. singular iii. strictly diagonally dominant

a.

[

]

b.

c.