Linear Algebra Review: Introduction To Machine Learning (CSC 311) Spring 2020
Linear Algebra Review: Introduction To Machine Learning (CSC 311) Spring 2020
University of Toronto
A scalar is a number.
Norms measure how “large” a vector is. They can be defined for
matrices too.
kxkp = |xi |p .
i
Cyclic property:
Not all non-zero matrices are invertible, e.g., the following matrix
is not invertible:
1 1
1 1
A diagonal matrix has all entries equal to zero except the diagonal
entries which might or might not be zero, e.g. identity matrix.
diag(v)x = v x,
det(A) or |A|
det(AB) = det(A)det(B)
a b
c d = ad − bc
If det(A) = 0, then:
A is linearly dependent.
Av = λv
||v||2 = 1
Av = λv
λv − Av = 0
(λI − A)v = 0
det(λI − A) = 0
AV = Vdiag(λ) =⇒ A = Vdiag(λ)V−1
If A is m × n, then U is m × m, D is m × n, and V is n × n.