LA Endterm — Pattern Recognition Cheatsheet
Recognise the question type instantly, then apply the right method. Based on 2024 & 2025 endterms.
Confident Topics
"Find the common intersection point, if it exists"
"For which value(s) of h is the system consistent"
"Find the reduced echelon form"
- Write augmented matrix $[A \mid \mathbf{b}]$
- Row reduce to RREF
- No row $[0\ 0\ \dots\ 0 \mid d],\ d\neq 0$ means consistent
- Free variables → parametric form
"Express A⁻¹ in terms of A, Aᵀ and I"
"Solve for X"
"Suppose A satisfies the identity … Express A⁻¹"
- Multiply both sides by $A^{-1}$ on the correct side (left or right)
- Key rules: $(AB)^{-1} = B^{-1}A^{-1}$, $(A^T)^{-1} = (A^{-1})^T$, $(AB)^T = B^TA^T$
- Order matters — matrix multiplication is not commutative
"Give all those that are guaranteed to be a basis for the column space"
"Find a basis for Col(A)"
- Row reduce $A$ to echelon form
- Identify pivot columns
- Take those columns from the original $A$ (not the echelon form!)
- Non-pivot column = linear combination of pivot columns (read from echelon form)
"Find all the eigenvalues"
"Find a basis for the eigenspace"
"Find an eigenvector associated to λ = …"
- Eigenvalues: solve $\det(A - \lambda I) = 0$
- Eigenvectors: solve $(A - \lambda I)\mathbf{x} = \mathbf{0}$, parametric form
- Triangular matrix → eigenvalues are diagonal entries
- Shortcut: if eigenvectors given, verify $A\mathbf{v} = \lambda\mathbf{v}$ to find $\lambda$
"For which value(s) of h is A diagonalizable?"
"Which of the following matrices P can be used in a correct diagonalization?"
- Find eigenvalues and their algebraic multiplicities
- For each eigenvalue with a.m. > 1: find eigenspace dimension (g.m.)
- Diagonalizable iff g.m. = a.m. for every eigenvalue
- Shortcut: columns of $P$ must be eigenvectors — check $A\mathbf{v} = \lambda\mathbf{v}$
"Find the general solution of x_{k+1} = Ax_k"
"Find the unique solution of the initial value problem"
"Find y_n"
- General solution: $\mathbf{x}_k = c_1\lambda_1^k\mathbf{v}_1 + c_2\lambda_2^k\mathbf{v}_2$
- For IVP: plug $k=0$, set equal to $\mathbf{x}_0$, solve for $c_1, c_2$
- Read off the component they ask for ($x_n$ or $y_n$)
"Find the equation y = a + bx of the best line (in the least-squares sense)"
"Give the normal equations"
- Design matrix: $X = \begin{bmatrix} 1 & x_1 \\ 1 & x_2 \\ \vdots & \vdots \end{bmatrix}$, observation vector $\mathbf{y}$
- Compute $X^TX$ and $X^T\mathbf{y}$
- Solve $X^TX\boldsymbol{\beta} = X^T\mathbf{y}$
- Answer: $y = \beta_0 + \beta_1 x$
"Find an orthogonal basis for Col(A)"
"Find an orthogonal basis for Span{b₁, b₂, b₃}"
- $\mathbf{v}_1 = \mathbf{b}_1$
- $\mathbf{v}_2 = \mathbf{b}_2 - \frac{\mathbf{b}_2 \cdot \mathbf{v}_1}{\mathbf{v}_1 \cdot \mathbf{v}_1}\mathbf{v}_1$
- $\mathbf{v}_3 = \mathbf{b}_3 - \frac{\mathbf{b}_3 \cdot \mathbf{v}_1}{\mathbf{v}_1 \cdot \mathbf{v}_1}\mathbf{v}_1 - \frac{\mathbf{b}_3 \cdot \mathbf{v}_2}{\mathbf{v}_2 \cdot \mathbf{v}_2}\mathbf{v}_2$
- If $\mathbf{v}_k = \mathbf{0}$ → that vector was dependent, skip it
- Verify: $\mathbf{v}_i \cdot \mathbf{v}_j = 0$ for $i \neq j$
"Find a basis for W⊥"
"Find a vector orthogonal to Col(A)"
- Put spanning vectors of $W$ as rows of a matrix
- Find the null space
- That null space $= W^\perp$
"It is given that λ = a+bi is an eigenvalue. Find P and C such that A = PCP⁻¹"
"A is similar to a matrix of the form r[cosφ, −sinφ; sinφ, cosφ]. Find r and φ"
- $r = |\lambda| = \sqrt{a^2+b^2}$, $\varphi = \arctan(b/a)$
- $C = \begin{bmatrix} a & -b \\ b & a \end{bmatrix}$
- Find eigenvector $\mathbf{v}$ for the complex eigenvalue: solve $(A-\lambda I)\mathbf{x}=\mathbf{0}$
- $P = [\text{Re}(\mathbf{v}) \mid \text{Im}(\mathbf{v})]$
"Find all possible values for det(A)"
"For which values of a and b is the matrix singular?"
- Take $\det$ of both sides
- Use: $\det(AB) = \det A \cdot \det B$, $\det(A^T)=\det A$, $\det(A^{-1})=\tfrac{1}{\det A}$, $\det(cA)=c^n\det A$
- Solve the resulting equation for $\det(A)$
- Singular means $\det A = 0$
"Find an orthogonal basis of ℝⁿ consisting of eigenvectors"
"A is symmetric… if A has another eigenvalue μ, find a basis for E_μ"
- Symmetric → eigenspaces for different eigenvalues are orthogonal
- If $E_\lambda$ is known, $E_\mu$ is its orthogonal complement
- Put $E_\lambda$ basis vectors as rows, find null space
"Find rank(A) and dim Nul(A)"
rank = number of pivot columns. dim Nul = $n$ − rank (number of columns minus pivots).
"Compute det(A)"
"Find the determinant"
Cofactor expansion along row/column with most zeros. Or row reduce to triangular (track sign flips from swaps).
Review Tomorrow — Needed Multiple Hints
"Find the second column/row of the standard matrix P of the orthogonal projection"
"Let T(y) = proj_W(y). Find the standard matrix"
"Find proj_W(y)"
Key concepts you got confused on:
- $P$ is the machine, $\mathbf{y}$ is the input, $P\mathbf{y}$ is the shadow on $W$
- The $k$-th column of $P$ equals projecting $\mathbf{e}_k$ onto $W$
- You don't need to build the full matrix — just project the right $\mathbf{e}_k$
Steps:
- Get an orthogonal basis for $W$ (Gram-Schmidt if needed)
- Normalize to orthonormal: $\mathbf{u}_i = \mathbf{v}_i / \|\mathbf{v}_i\|$
- $P = UU^T$ where $U = [\mathbf{u}_1 \mid \mathbf{u}_2 \mid \dots]$
- Or use projection formula directly: $\displaystyle\text{proj}_W(\mathbf{y}) = \sum \frac{\mathbf{y}\cdot\mathbf{v}_i}{\mathbf{v}_i\cdot\mathbf{v}_i}\mathbf{v}_i$
"Find an eigenvector associated to λ = a + bi"
What tripped you up:
- Row reducing with complex entries — don't bother, just use one row directly
- The system is guaranteed to have a free variable (eigenvalue means det = 0)
- Pick the cleaner row, express $x_1$ in terms of $x_2$, choose $x_2$ to cancel denominators
"Find the standard matrix A of this transformation"
"Write NSI if there is not sufficient information"
The trick you needed a hint for:
- Given $T$ on non-standard vectors → express $\mathbf{e}_1, \mathbf{e}_2$ as combinations of the given inputs
- Then use linearity: $T(\mathbf{e}_i) =$ same combination of the given outputs
- $A = [T(\mathbf{e}_1) \mid T(\mathbf{e}_2) \mid \dots]$
- NSI = the given vectors don't span the domain (can't express all standard basis vectors)
For geometric transformations (rotation/reflection):
- Rotation by $\theta$ ccw: $\begin{bmatrix}\cos\theta & -\sin\theta \\ \sin\theta & \cos\theta\end{bmatrix}$, clockwise: use $-\theta$
- Reflect x-axis: $\begin{bmatrix}1&0\\0&-1\end{bmatrix}$, y-axis: $\begin{bmatrix}-1&0\\0&1\end{bmatrix}$, y=x: $\begin{bmatrix}0&1\\1&0\end{bmatrix}$, y=−x: $\begin{bmatrix}0&-1\\-1&0\end{bmatrix}$
- Composition: multiply right-to-left (T₂ ∘ T₁ → A₂A₁)
Not Attempted — Skim If Time Permits
"Find [w]_B"
"Find the coordinate vector"
Row reduce $[\mathbf{b}_1\ \mathbf{b}_2\ \dots \mid \mathbf{w}]$ to $[I \mid \mathbf{c}]$. Then $[\mathbf{w}]_\mathcal{B} = \mathbf{c}$.
"If true, give a proof. If false, give an explicit counterexample."
- Common true: direct computation, use $P^2=P$, expand dot products, IMT
- Common false: try 2×2 matrices with simple entries (0s and 1s), upper triangular
- $(A+B)(A-B) \neq A^2 - B^2$ because $AB \neq BA$
- $AB = 0$ does NOT imply $BA = 0$
CSE1205 Linear Algebra — TU Delft — Endterm prep based on 2024 & 2025 exams