Linear-algebra-TDSM
Linear Algebra
Basic Linear Algebra
8-1.
Give a pair of square matrices A and B such that:
- AB=BA (it commutes)
- AB≠BA (does not commute)
In general, matrix multiplication is not commutative.
8-3.
Prove that matrix multiplication is associative, i.e. that (AB)C=A(BC) for compatible matrices A, B and C.
8-5.
Prove that if AC=CA and BC=CB, then
C(AB+BA)=(AB+BA)C
8-7.
Prove that (A−1)−1=A.
8-9.
Is the LU factorization of a matrix unique? Justify your answer.
8-11.
Show that if M is a square matrix which is not invertible, then either L or U in the LU-decomposition M=L⋅U has a zero in its diagonal.
Eigenvalues and Eigenvectors
8-13.
Prove that the eigenvalues of A and AT are identical.
8-15.
Suppose that matrix A has an eigenvector v with eigenvalue λ. Show that v is also an eigenvector for A2, and find the corresponding eigenvalue. How about for Ak, for 2≤k≤n?
8-17.
Show that the eigenvalues of MMT are the same as that of MTM. Are their eigenvectors also the same?
Implementation Projects
8-19.
Implement Gaussian elimination for solving systems of equations, C⋅X=Y. Compare your implementation against a popular library routine for
- Speed: How does the run time compare, for both dense and sparse coefficient matrices?
- Accuracy: What are the size of the numerical residuals CX−Y, particularly as the condition number of the matrix increases.
- Stability: Does your program crash on a singular matrix? What about almost singular matrices, created by adding a little random noise to a singular matrix?
Interview Questions
8-21.
What is singular value decomposition? What is a singular value? And what is a singular vector?
Kaggle Challenges
8-23.
Tell what someone is looking at from analysis of their brain waves.
https://www.kaggle.com/c/decoding-the-human-brain
8-25.
Identify mobile phone users from accelerometer data.
https://www.kaggle.com/c/accelerometer-biometric-competition