Study Notes

Linear Algebra Exam - Cheatsheet

Mihail Barbosu
0 imports

Free ยท 2 imports included

Study Notes Preview

5 sections locked
Section 1

Linear Algebra Exam - Cheatsheet

STUDY GUIDE

๐ŸŽ“ Linear Algebra Exam - Study Guide

๐Ÿ“‹ Course Structure

code
๐Ÿ“š Linear Algebra โ”œโ”€โ”€ ๐Ÿ“– Chapter 1: Determinants and Trace โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Determinant: Motivation and Definition โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Properties of Determinants โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Trace of a Matrix and its Properties โ”‚ โ””โ”€โ”€ ๐Ÿ”น Characteristic Polynomial โ”œโ”€โ”€ ๐Ÿ“– Chapter 2: Eigenvalues and Eigenvectors โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Definition and Equivalent Statements โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Example Calculation of Eigenvalues and Eigenvectors โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Properties and Geometric Interpretation โ”‚ โ””โ”€โ”€ ๐Ÿ”น Determinant, Trace, and Eigenvalues Relationship โ”œโ”€โ”€ ๐Ÿ“– Chapter 3: Cholesky Decomposition โ”‚ โ”œโ”€โ”€ ๐Ÿ”น LU Decomposition โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Definition and Properties of Cholesky Decomposition โ”‚ โ””โ”€โ”€ ๐Ÿ”น Applications of Cholesky Decomposition โ”œโ”€โ”€ ๐Ÿ“– Chapter 4: Eigendecomposition and Diagonalization โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Diagonal Matrices and Diagonalization โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Power of Diagonalization โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Diagonalizability, Algebraic, and Geometric Multiplicity โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Orthogonal Diagonalizability and Symmetric Matrices โ”‚ โ””โ”€โ”€ ๐Ÿ”น Eigendecomposition โ”œโ”€โ”€ ๐Ÿ“– Chapter 5: Singular Value Decomposition (SVD) โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Introduction to SVD โ”‚ โ”œโ”€โ”€ ๐Ÿ”น SVD Theorem and Properties โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Calculating SVD โ”‚ โ””โ”€โ”€ ๐Ÿ”น Comparison of EVD and SVD โ””โ”€โ”€ ๐Ÿ“– Chapter 6: Matrix Approximation via SVD โ”œโ”€โ”€ ๐Ÿ”น Low-Rank Approximation โ””โ”€โ”€ ๐Ÿ”น Optimality of SVD Approximation
Section 2

๐Ÿ“– Chapter 1: Determinants and Trace

What this chapter covers: This chapter introduces determinants and traces as methods to summarize matrices. It covers the motivation behind determinants, their formal definition, and key properties. The chapter also defines the trace of a matrix and discusses its properties, including invariance under cyclic permutations. Finally, it introduces the characteristic polynomial as a background concept.

๐Ÿ”‘ Essential Concepts & Formulas

Concept/FormulaDefinition/EquationWhen to UseQuick Check
Determinant (2x2)det(A) = aโ‚โ‚aโ‚‚โ‚‚ - aโ‚โ‚‚aโ‚‚โ‚Invertibility check, area scalingVerify non-zero for invertible matrix
Determinant (Laplace Expansion)det(A) = ฮฃ (-1)โฑโบสฒ aแตขโฑผ det(Aแตขโฑผ)General matrix determinant calculationExpand along row/column with most zeros
Tracetr(A) = ฮฃ aแตขแตขSum of eigenvalues, matrix similaritySum of diagonal elements

๐Ÿ› ๏ธ Problem Types

Type A: Determinant Calculation Setup: "Given a matrix A, find det(A)." Method: Use Laplace expansion or Gaussian elimination to reduce to triangular form. Example: A = [[1, 2], [3, 4]]; det(A) = (14) - (23) = -2

Type B: Trace Calculation Setup: "Given a matrix A, find tr(A)." Method: Sum the diagonal elements of A. Example: A = [[1, 2], [3, 4]]; tr(A) = 1 + 4 = 5

๐Ÿงฎ Solved Example

Problem: Calculate the determinant of A = [[2, 1], [1, 3]].

Given: A = [[2, 1], [1, 3]]

"
โœ…
Solution: det(A) = (2 * 3) - (1 * 1) = 6 - 1 = 5
"
โœ…
Answer: det(A) = 5

โš ๏ธ Common Mistakes

โŒ Mistake 1: Incorrect sign in Laplace expansion. โœ… How to avoid: Carefully track the (-1)โฑโบสฒ term.

โŒ Mistake 2: Forgetting to multiply by ฮป when scaling a row/column in determinant calculation. โœ… How to avoid: Remember det(ฮปA) = ฮปโฟdet(A) for an n x n matrix.

๐Ÿฆ Erik's Tip

When calculating determinants, always look for rows or columns with zeros to simplify the Laplace expansion.

๐Ÿ“– Chapter 2: Eigenvalues and Eigenvectors

What this chapter covers: This chapter introduces eigenvalues and eigenvectors, fundamental concepts in linear algebra. It defines eigenvalues and eigenvectors, discusses equivalent statements, and provides examples. The chapter also covers the properties of eigenvalues and eigenvectors and their geometric interpretation.

๐Ÿ”‘ Essential Concepts & Formulas

Concept/FormulaDefinition/EquationWhen to UseQuick Check
Eigenvalue EquationAx = ฮปxFinding eigenvalues and eigenvectorsVerify Ax = ฮปx after solving
Characteristic Equationdet(A - ฮปI) = 0Finding eigenvaluesSolve for ฮป
EigenspaceNull space of (A - ฮปI)Finding eigenvectorsBasis for the eigenspace

๐Ÿ› ๏ธ Problem Types

Type A: Finding Eigenvalues Setup: "Given a matrix A, find its eigenvalues." Method: Solve the characteristic equation det(A - ฮปI) = 0 for ฮป. Example: A = [[2, 1], [1, 2]]; det([[2-ฮป, 1], [1, 2-ฮป]]) = (2-ฮป)ยฒ - 1 = 0; ฮป = 1, 3

Type B: Finding Eigenvectors Setup: "Given a matrix A and an eigenvalue ฮป, find the corresponding eigenvector." Method: Solve (A - ฮปI)x = 0 for x. Example: For ฮป = 1, [[1, 1], [1, 1]]x = 0; x = [-1, 1]แต€

๐Ÿงฎ Solved Example

Problem: Find the eigenvalues and eigenvectors of A = [[4, 2], [1, 3]].

Given: A = [[4, 2], [1, 3]]

"
โœ…
Solution: det(A - ฮปI) = (4-ฮป)(3-ฮป) - 2 = ฮปยฒ - 7ฮป + 10 = (ฮป - 2)(ฮป - 5) = 0. Eigenvalues: ฮปโ‚ = 2, ฮปโ‚‚ = 5. For ฮปโ‚ = 2: [[2, 2], [1, 1]]x = 0; xโ‚ = [-1, 1]แต€ For ฮปโ‚‚ = 5: [[-1, 2], [1, -2]]x = 0; xโ‚‚ = [2, 1]แต€
"
โœ…
Answer: Eigenvalues: ฮปโ‚ = 2, ฮปโ‚‚ = 5. Eigenvectors: xโ‚ = [-1, 1]แต€, xโ‚‚ = [2, 1]แต€

โš ๏ธ Common Mistakes

โŒ Mistake 1: Incorrectly solving the characteristic equation. โœ… How to avoid: Double-check your algebra and use the quadratic formula if necessary.

โŒ Mistake 2: Not finding a basis for the eigenspace. โœ… How to avoid: Ensure you have a set of linearly independent eigenvectors.

๐Ÿฆ Erik's Tip

Remember that eigenvectors are only defined up to a scalar multiple. Any non-zero multiple of an eigenvector is also an eigenvector.

๐Ÿ“– Chapter 3: Cholesky Decomposition

What this chapter covers: This chapter introduces the Cholesky decomposition, a specific type of matrix decomposition applicable to symmetric, positive definite matrices. It defines the decomposition and discusses its applications.

๐Ÿ”‘ Essential Concepts & Formulas

Concept/FormulaDefinition/EquationWhen to UseQuick Check
LU DecompositionA = LUSolving linear systemsVerify A = LU
Cholesky DecompositionA = LLแต€Symmetric positive definite matricesVerify A = LLแต€, L is lower triangular
Positive Definitexแต€Ax > 0 for all x โ‰  0Check if Cholesky decomposition is applicableEigenvalues are positive

๐Ÿ› ๏ธ Problem Types

Type A: LU Decomposition Setup: "Given a matrix A, find its LU decomposition." Method: Use Gaussian elimination to find U, then construct L from the elementary row operations. Example: A = [[2, 1], [4, 3]]; L = [[1, 0], [2, 1]]; U = [[2, 1], [0, 1]]

Type B: Cholesky Decomposition Setup: "Given a symmetric positive definite matrix A, find its Cholesky decomposition." Method: Use the Cholesky algorithm to find L. Example: A = [[4, 2], [2, 5]]; L = [[2, 0], [1, 2]]

๐Ÿงฎ Solved Example

Problem: Find the Cholesky decomposition of A = [[4, 2], [2, 5]].

Given: A = [[4, 2], [2, 5]]

"
โœ…
Solution: lโ‚โ‚ = โˆšaโ‚โ‚ = โˆš4 = 2 lโ‚‚โ‚ = aโ‚‚โ‚ / lโ‚โ‚ = 2 / 2 = 1 lโ‚‚โ‚‚ = โˆš(aโ‚‚โ‚‚ - lโ‚‚โ‚ยฒ) = โˆš(5 - 1ยฒ) = โˆš4 = 2 L = [[2, 0], [1, 2]]
"
โœ…
Answer: L = [[2, 0], [1, 2]]

โš ๏ธ Common Mistakes

โŒ Mistake 1: Applying Cholesky decomposition to a non-symmetric or non-positive definite matrix. โœ… How to avoid: Check if the matrix is symmetric and positive definite before attempting Cholesky decomposition.

โŒ Mistake 2: Incorrectly calculating the elements of L. โœ… How to avoid: Carefully follow the Cholesky algorithm.

๐Ÿฆ Erik's Tip

Remember that the Cholesky decomposition only exists for symmetric positive definite matrices.

5 more sections

Create a free account to import and read the full study notes โ€” all 7 sections.

No credit card ยท 2 free imports included

    Linear Algebra Exam - Cheatsheet โ€” Cheatsheet | Evrika | Evrika Study