Linear Algebra Notes
Linear Algebra Notes
● Matrix Addition:
● Scalar Multiplication:
○ c * A = [c * a_ij]
● Matrix Multiplication:
● Identity Matrix:
● Transpose:
○ A * x = b
● Augmented matrix:
○ [A | b]
● Row Operations:
○ Swap rows
○ Multiply a row by a nonzero scalar
● Gaussian Elimination:
● Gauss-Jordan Elimination:
3. Determinants
● 2x2 Matrix:
○ det A = ad - bc
○ det A = a11 * (minor of a11) - a12 * (minor of a12) + a13 * (minor of a13)
● Properties:
○ det(A^T) = det A
● 2x2 Matrix:
● General formula:
● Vector addition:
● Scalar multiplication:
○ c * v = [c * v1, …, c * vn]
● Dot product:
○ u dot v = u1 * v1 + u2 * v2 + … + un * vn
● Unit vector:
○ v divided by ||v||
● Orthogonality:
○ u and v are orthogonal if u dot v = 0
● The span of vectors v1, …, vn is the set of all linear combinations of them
● Basis:
● Dimension:
● A * v = lambda * v
● Find eigenvalues:
○ det(A - lambda * I) = 0
● Find eigenvectors:
○ Solve (A - lambda * I) * v = 0
9. Diagonalization
● A = PDP^(-1)
○ P is matrix of eigenvectors
● Orthogonal set:
● Orthonormal set:
● Gram-Schmidt Process:
○ T(c * u) = c * T(u)
● Matrix of T:
○ T(x) = A * x
● Standard matrix: