Debre Tabor University
College of Natural and Computational Science
Department of Mathematics
Linear Algebra worksheet for Computer Science
√2 √3 √6
1. Show that 𝑖 + 𝑗 + 𝑘 is a unit vector.
2 3 6
2. Let 𝑣 = (2, −3, 1) and 𝑤 = (5, 0, −4), then find ‖2𝑣 − 3𝑤‖.
3. Let 𝑣 = (2, 1,2) and 𝑢 = (5, 0, 4), then find
a) 𝑃𝑟𝑜𝑗𝑣𝑢 b) 𝑃𝑟𝑜𝑗𝑢𝑣 c) ‖𝑃𝑟𝑜𝑗𝑣𝑢 ‖
4. Find the norm of the following vectors.
a) 𝑣 = 𝑖 − 3𝑗 + 4𝑘 b) 𝑣 = 8𝑖 + 6𝑘
5. Compute the area of a parallelogram having adjacent sides of vectors.
a) 𝑣 = 𝑖 − 3𝑗 + 4𝑘 , 𝑢 = 𝑖 − 3𝑗 + 2𝑘
6. Find the angle between the vector 𝑎 = 𝑖 − 2𝑗 + 2𝑘 and 𝑢 = −3𝑖 + 6𝑗 − 2𝑘.
7. Show that the following are basis of the space 𝑉 indicated.
a) {(−1, 1, 1), (1, −1, 1), (1, 1, −1)}, 𝑉 = ℝ3
b) {(1 + 𝑥, 𝑥 + 𝑥 2 , 𝑥 2 + 𝑥 3 , 𝑥 3 ); 𝑉 is set of polynomials of degree 3.
8. Find the characteristic equations, characteristic polynomial and eigen values of the
following matrices:
9. Find the basis and dimensions of a subspace 𝑤 = {(𝑥, 𝑦, 𝑧): 𝑥 + 𝑦 − 𝑧 = 0} of
ℝ3 .
10. Show that if matrix A, B are similar, then so are 𝐴𝑇 and 𝐵 𝑇 .
11. Show that Similar matrices have the same eigenvalues.
12. For the following matrix determine an invertible matrix 𝑃, such that 𝑃 −1 𝐴𝑃 is
diagonal with the diagonal entries in increasing order of magnitude.
13. Let
a) Find the LU decomposition of A.
b) Find 𝐴−1 using the LU decomposition of A.
c) Use the LU decomposition of A to solve the system
3𝑥1 – 6𝑥2 − 3𝑥3 = −3
2𝑥 1 + 6𝑥3 = −22
−4𝑥1 + 7𝑥2 + 4𝑥3 = 3
14. Let
a) Show that the column vectors of A are linearly independent.
b) Find the QR decomposition of A.
15. Determine the following matrices are either positive definite or positive semi-
definite.
16. Find the Cholesky decomposition of the following matrices, if possible.
𝐼𝑛 Assignment ⋕ 𝑄10, 𝑄 11, 𝑄 12, 𝑄 13. 𝑏 individual
𝐺𝑟 Assignment 𝑄 13. 𝑐, 𝑄 14, 𝑄 15. 𝑐, 𝑄 16. 𝑏