Linear Algebra Practice Exercises
Linear Algebra Practice Exercises
Part I
7. det(cA) = cdetA.
13. If A is a square matrix such that all its right upper corner submatrices
are nonsingular then A has LDU decomposition.
1
18. If Fn is a Fourier matrix then F4 [1, 0, 1, 0] = [2, 0, 0, 0].
22. The product of orthogonal matrices (of the same size) is an orthogonal
matrix.
3. Find the projection matrix onto span{[1, 2, 1]T , [2, 1, 0]T } Find the
least squares solution to x[1, 2, 1]T + y[2, 1, 0]T = [1, 1, 2]T .
4. (a) Find the matrix of the projection P : R3 R3 onto the the plane
x + y + z = 0.
(b) Find the projection of R3 onto the line span{[1, 1, 2].
2
(b) Decompose x = [1, 1, 3]T as v = v1 + v2 , where v1 V , v2 V .
7. Find an orthogonal basis of V , where V = span{[1, 1, 1, 1], [1, 0, 1, 0]}.
1 1 0 1
8. For the matrix A = 0 2 2 and vector v = 2 find its
0 1 1 1
decomposition as v = vnull +vrow , where vnull N (A) and vrow R(A).
9. Find QR factorization for
1 1
(a) A = 1 0
1 2
1 0 1
(b) A = 1 1 0
0 1 2
10. Find the closest function c + dx2 to x4 onR the interval [-0,1].
1
( We consider the inner product (f, g) = 0 f gdx.)
11. Find the orthogonal basis of the vector space of quadratic polynomials
a + bx + cx2 over the interval [0, 1].
12. Compute F4 (c), where c = [1, 2, 3, 4]T , by using FFT.
13. Compute the determinant of the matrix
1 1 1 1
1 1 2 2
(a) A =
1 2 1 1 .
1 2 2 1
0 0 1 1 0
0 1 2 0 0
0 2 1 3 0 .
(b) B =
1 2 2 3 4
2 2 1 3 2
1 1 1
14. Let A = a b c
a2 b 2 c 2
3
Determine if each of the following statement is true or false.