Module 1: Basics of Linear Algebra

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/38

flashcard set

Earn XP

Description and Tags

Flashcards reviewing key definitions, matrix operations, properties, norms, decompositions, and vector calculus from Module 1: Basics of Linear Algebra.

Last updated 9:19 AM on 10/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

39 Terms

1
New cards

How are vectors and matrices represented in the module's notation?

Vectors are denoted by bold lowercase letters such as x\mathbf{x}, while matrices are denoted by bold uppercase letters such as A\mathbf{A}.

2
New cards

What do the symbols 0p\mathbf{0}_p and Ip\mathbf{I}_p represent?

0p\mathbf{0}_p denotes the zero vector in Rp\mathbb{R}^p, and Ip\mathbf{I}_p denotes the identity matrix of size p×pp \times p.

3
New cards

What notation represents the Euclidean inner product and Euclidean norm of vectors?

x⊤y\mathbf{x}^\top \mathbf{y} denotes the Euclidean inner product of two vectors, and ∥x∥2\|\mathbf{x}\|_2 denotes the Euclidean norm.

4
New cards

What is an n×mn \times m matrix A\mathbf{A}?

An n×mn \times m matrix A\mathbf{A} is a rectangular array with nn rows and mm columns, where the entry in row ii and column jj is denoted aija_{ij}.

5
New cards

Under what condition can two matrices A\mathbf{A} and B\mathbf{B} be added?

They can be added only if they have the same dimensions, i.e., A,B∈Rm×n\mathbf{A}, \mathbf{B} \in \mathbb{R}^{m \times n}, giving A+B=[aij+bij]\mathbf{A} + \mathbf{B} = [a_{ij} + b_{ij}].

6
New cards

How is the transpose of an n×mn \times m matrix A\mathbf{A} defined?

The transpose A⊤=[aji]\mathbf{A}^\top = [a_{ji}] is the m×nm \times n matrix obtained by swapping the rows and columns of A\mathbf{A}.

7
New cards

What are the transposition identities for sums and products of matrices?

For conformable matrices, (A+B)⊤=A⊤+B⊤(\mathbf{A} + \mathbf{B})^\top = \mathbf{A}^\top + \mathbf{B}^\top and (AC)⊤=C⊤A⊤(\mathbf{A}\mathbf{C})^\top = \mathbf{C}^\top \mathbf{A}^\top.

8
New cards

How is the entry cijc_{ij} of the matrix product C=AB\mathbf{C} = \mathbf{A}\mathbf{B} calculated?

Each entry cij=∑ℓ=1maiℓbℓjc_{ij} = \sum_{\ell=1}^{m} a_{i\ell} b_{\ell j} is the inner product of row ii of A\mathbf{A} with column jj of B\mathbf{B}.

9
New cards

Is matrix multiplication commutative in general?

No, in general, AB≠BA\mathbf{A}\mathbf{B} \neq \mathbf{B}\mathbf{A}.

10
New cards

What defines a symmetric square matrix A\mathbf{A}?

A square matrix A\mathbf{A} is symmetric if A=A⊤\mathbf{A} = \mathbf{A}^\top.

11
New cards

What condition characterizes an orthonormal square matrix A\mathbf{A}?

An orthonormal square matrix satisfies A⊤A=AA⊤=I\mathbf{A}^\top \mathbf{A} = \mathbf{A}\mathbf{A}^\top = \mathbf{I}, meaning its rows and columns are orthonormal.

12
New cards

What condition defines an idempotent square matrix?

A square matrix A\mathbf{A} is idempotent if A2=AA=A\mathbf{A}^2 = \mathbf{A}\mathbf{A} = \mathbf{A}.

13
New cards

When is a symmetric matrix A\mathbf{A} positive definite?

A symmetric matrix A\mathbf{A} is positive definite if x⊤Ax>0\mathbf{x}^\top \mathbf{A}\mathbf{x} > 0 for all x≠0\mathbf{x} \neq \mathbf{0}.

14
New cards

What is the rank of a matrix A\mathbf{A}, denoted rank(A)\text{rank}(\mathbf{A})?

The rank is the number of linearly independent columns of A\mathbf{A}, which is equivalently the number of linearly independent rows.

15
New cards

What inequality relates rank(AB)\text{rank}(\mathbf{A}\mathbf{B}) to the ranks of A\mathbf{A} and B\mathbf{B}?

rank(AB)≤min⁡{rank(A),rank(B)}\text{rank}(\mathbf{A}\mathbf{B}) \leq \min\{\text{rank}(\mathbf{A}), \text{rank}(\mathbf{B})\}.

16
New cards

What is the formula for the determinant of a 2×22 \times 2 matrix A=[a11a12a21a22]\mathbf{A} = \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix}?

The determinant is ∣A∣=a11a22−a12a21|\mathbf{A}| = a_{11}a_{22} - a_{12}a_{21}.

17
New cards

How does scalar multiplication affect the determinant of an n×nn \times n matrix A\mathbf{A}?

For an n×nn \times n matrix A\mathbf{A} and scalar α∈R\alpha \in \mathbb{R}, $$|\alpha \mathbf{A}| = \alpha^n |\mathbf{A}|$.

18
New cards

When is a square matrix considered singular?

A square matrix is singular if and only if its determinant is zero.

19
New cards

How is the matrix inverse A−1\mathbf{A}^{-1} defined for a full-rank square matrix A∈Rn×n\mathbf{A} \in \mathbb{R}^{n \times n}?

It is defined by A−1A=AA−1=In\mathbf{A}^{-1}\mathbf{A} = \mathbf{A}\mathbf{A}^{-1} = \mathbf{I}_n.

20
New cards

What is the inverse of a matrix product (AB)−1(\mathbf{A}\mathbf{B})^{-1} for full-rank matrices?

(AB)−1=B−1A−1(\mathbf{A}\mathbf{B})^{-1} = \mathbf{B}^{-1}\mathbf{A}^{-1}, where B∈Rn×n\mathbf{B} \in \mathbb{R}^{n \times n} is of full rank.

21
New cards

What is the trace of a square matrix A∈Rn×n\mathbf{A} \in \mathbb{R}^{n \times n}, denoted tr(A)\text{tr}(\mathbf{A})?

The trace is the sum of its diagonal entries: tr(A)=∑i=1naii\text{tr}(\mathbf{A}) = \sum_{i=1}^n a_{ii}.

22
New cards

What cyclic property does the trace satisfy for matrix products?

tr(AB)=tr(BA)\text{tr}(\mathbf{A}\mathbf{B}) = \text{tr}(\mathbf{B}\mathbf{A}) whenever both products are defined.

23
New cards

What is the Kronecker product C=A⊗B\mathbf{C} = \mathbf{A} \otimes \mathbf{B} for A∈Rn×m\mathbf{A} \in \mathbb{R}^{n \times m} and B∈Rk×l\mathbf{B} \in \mathbb{R}^{k \times l}?

It is the block matrix C∈Rnk×ml\mathbf{C} \in \mathbb{R}^{nk \times ml} consisting of sub-blocks aijBa_{ij}\mathbf{B}.

24
New cards

What three properties define a norm ∥⋅∥:V→R\parallel \cdot \parallel : V \rightarrow \mathbb{R} on a vector space VV?

  1. Positive definiteness (∥x∥≥0\|\mathbf{x}\| \geq 0 and ∥x∥=0  ⟺  x=0\|\mathbf{x}\| = 0 \iff \mathbf{x} = \mathbf{0}); 2. Absolute homogeneity (∥λx∥=∣λ∣∥x∥\|\lambda \mathbf{x}\| = |\lambda| \|\mathbf{x}\|); 3. Triangle inequality (∥x+y∥≤∥x∥+∥y∥\|\mathbf{x} + \mathbf{y}\| \leq \|\mathbf{x}\| + \|\mathbf{y}\|).
25
New cards

What are the definitions of the ℓ1\ell_1 norm and ℓ2\ell_2 norm for x∈Rn\mathbf{x} \in \mathbb{R}^n?

The ℓ1\ell_1 norm is ∥x∥1=∑i=1n∣xi∣\|\mathbf{x}\|_1 = \sum_{i=1}^n |x_i|, and the ℓ2\ell_2 norm is ∥x∥2=∑i=1nxi2\|\mathbf{x}\|_2 = \sqrt{\sum_{i=1}^n x_i^2}.

26
New cards

What is the formula for the ℓp\ell_p norm for p≥1p \geq 1?

∥x∥p=(∑i=1n∣xi∣p)1/p\|\mathbf{x}\|_p = \left( \sum_{i=1}^n |x_i|^p \right)^{1/p}.

27
New cards

What is the formula for the maximum norm ∥x∥∞\|\mathbf{x}\|_\infty?

∥x∥∞=max⁡1≤i≤n∣xi∣\|\mathbf{x}\|_\infty = \max_{1 \leq i \leq n} |x_i|.

28
New cards

What conditions must a matrix A∈Rn×n\mathbf{A} \in \mathbb{R}^{n \times n} satisfy for a Cholesky decomposition to exist?

The matrix A\mathbf{A} must be square, symmetric, and positive definite.

29
New cards

What is the Cholesky decomposition of a matrix A\mathbf{A}?

A=LL⊤\mathbf{A} = \mathbf{L}\mathbf{L}^\top, where L\mathbf{L} is a lower-triangular matrix with positive diagonal entries called the Cholesky factor.

30
New cards

How is det⁡(A)\det(\mathbf{A}) computed efficiently from its Cholesky factor L\mathbf{L}?

For A=LL⊤\mathbf{A} = \mathbf{L}\mathbf{L}^\top, det⁡(A)=det⁡(L)2=(∏i=1nlii)2\det(\mathbf{A}) = \det(\mathbf{L})^2 = \left( \prod_{i=1}^n l_{ii} \right)^2.

31
New cards

What two triangular steps are used to solve Ax=b\mathbf{A}\mathbf{x} = \mathbf{b} using the Cholesky factor L\mathbf{L}?

  1. Solve Lz=b\mathbf{L}\mathbf{z} = \mathbf{b}; 2. Solve L⊤x=z\mathbf{L}^\top \mathbf{x} = \mathbf{z}.
32
New cards

What is the definition of an eigenvector p\mathbf{p} and eigenvalue λ\lambda for a matrix A\mathbf{A}?

A nonzero vector p∈Rn\mathbf{p} \in \mathbb{R}^n is an eigenvector of A\mathbf{A} with eigenvalue λ∈R\lambda \in \mathbb{R} if Ap=λp\mathbf{A}\mathbf{p} = \lambda \mathbf{p}.

33
New cards

What polynomial equation is solved to find the eigenvalues of A\mathbf{A}?

The characteristic equation det⁡(A−λI)=0\det(\mathbf{A} - \lambda \mathbf{I}) = 0.

34
New cards

What is the spectral decomposition of a real symmetric matrix A\mathbf{A}?

A=PΛP⊤\mathbf{A} = \mathbf{P}\mathbf{\Lambda}\mathbf{P}^\top, where P\mathbf{P} is an orthonormal matrix of eigenvectors (P⊤P=I\mathbf{P}^\top\mathbf{P} = \mathbf{I}) and Λ\mathbf{\Lambda} is a diagonal matrix of corresponding eigenvalues.

35
New cards

How are matrix powers Ak\mathbf{A}^k computed using eigendecomposition?

Ak=PΛkP−1\mathbf{A}^k = \mathbf{P}\mathbf{\Lambda}^k \mathbf{P}^{-1}, where Λk=diag(λ1k,…,λnk)\mathbf{\Lambda}^k = \text{diag}(\lambda_1^k, \dots, \lambda_n^k).

36
New cards

What is the Singular Value Decomposition (SVD) of a real matrix A∈Rm×n\mathbf{A} \in \mathbb{R}^{m \times n}?

A=UΣV⊤\mathbf{A} = \mathbf{U}\mathbf{\Sigma}\mathbf{V}^\top, where U∈Rm×m\mathbf{U} \in \mathbb{R}^{m \times m} and V∈Rn×n\mathbf{V} \in \mathbb{R}^{n \times n} are orthonormal matrices, and Σ∈Rm×n\mathbf{\Sigma} \in \mathbb{R}^{m \times n} contains non-negative singular values on its diagonal.

37
New cards

How are the singular vectors in SVD related to the eigendecomposition of A⊤A\mathbf{A}^\top\mathbf{A} and AA⊤\mathbf{A}\mathbf{A}^\top?

The right singular vectors V\mathbf{V} are eigenvectors of A⊤A\mathbf{A}^\top\mathbf{A}, and the left singular vectors U\mathbf{U} are eigenvectors of AA⊤\mathbf{A}\mathbf{A}^\top.

38
New cards

What is the gradient of a quadratic form f(x)=x⊤Axf(\mathbf{x}) = \mathbf{x}^\top \mathbf{A} \mathbf{x} when A\mathbf{A} is symmetric?

∇x(x⊤Ax)=2Ax\nabla_\mathbf{x}(\mathbf{x}^\top \mathbf{A} \mathbf{x}) = 2\mathbf{A}\mathbf{x}.

39
New cards

In R, why is solve(A, b) preferred over solve(A) %*% b for solving linear systems?

In R, solve(A, b) is numerically better and more efficient than calculating the explicit inverse.