Homework 4
Homework 4
Assignment# 4
Recommended Problems (do not turn in): Sec 2.2: 1, 3, 4, 6, 7, 8, 9, 12, 14, 15, 16, 19, 20, 21, 24.
Sec 2.3: 1, 2, 3, 4, 5, 6, 7, 9, 11, 15, 16, 17, 18.
1
2. Consider the system (AB)x = b with
1 0 0 2 0 −1 x1 −18
A = 2 1 0 , B = 0 2 3 , x = x2 , b = 18 .
2 −2 1 0 0 9 x3 −18
y1
(a) Denote y = y2 . Solve the system Ay = b by forward substitution.
y3
(b) For y obtained on the previous step, solve the system Bx = y by backward substitution.
(c) Compute the product AB and check that x solves the original system.
2/6
−4 3 0
3. a) Find LU decomposition of the matrix A = 8 0 −2
−4 −15 7
1 2 3
b) Find LU decomposition of the matrix B = 4 5 6
7 8 9
2 −1 2
c) Find LDU decomposition of the matrix B = 2 2 −1
−1 2 2
3/6
4. True or False? (you need to provide justification or counterexample)
a) If A is 2 × 2 matrix such that A2 = 0 then some elements of A are zero.
b) If B is 2 × 2 matrix such that B 2 = I then B = ±I.
c) If A, B and C are 2 × 2 matrices such that AB = AC then B = C.
4/6
5. Find the inverses of the following matrices:
1 2
a) A =
3 4
√
1/2 0 3/2
b) B = √0 1 0
− 3/2 0 1/2
0 1 0
c) C = 0 0 1
−1 0 0
5/6
6. For which values of parameter a the following matrix is not invertible?
a2
1 a
1 2 4
1 −3 9
6/6