About

Exam Practice

Comprehensive cheat sheet, quiz bank, and flashcards covering Lay's Linear Algebra (5th Ed) Chapters 1 & 2 (Sections 1.1-1.9 and 2.1-2.5).

Reference text: Linear Algebra and Its Applications (5th Edition), David C. Lay, Steven R. Lay, Judi J. McDonald

1. Systems & Row Echelon Forms (Lay §1.1 – §1.2)

FormDefining CharacteristicsPivot Positions
Row Echelon Form (REF)1. All non-zero rows are above any all-zero rows.
2. Each leading entry (pivot) of a row is strictly to the right of the leading entry of the row above it.
3. All entries in a column below a leading entry are zeros.
Leading non-zero entries in each non-zero row.
Reduced Row Echelon Form (RREF)Satisfies all REF conditions PLUS:
1. The leading entry in each non-zero row is 11.
2. Each leading 11 is the only non-zero entry in its entire column (zeros above and below).
Each pivot is 11, and pivot columns contain zeros in all other rows.

Linear System Solvability & Variables (Lay §1.2)

System StateEchelon Form ConditionSolution Set
Inconsistent (No Solution)Rightmost column of augmented matrix contains a pivot position: [0  0  ⋯  0∣b][0 \; 0 \; \cdots \; 0 \mid b] with b≠0b \ne 0.Empty set ∅\emptyset
Consistent - Unique SolutionNo row [0  ⋯  0∣b][0 \; \cdots \; 0 \mid b] with b≠0b \ne 0 AND every column of coefficient matrix has a pivot (00 free variables).Exactly one unique solution vector x\mathbf{x}
Consistent - Infinitely ManyConsistent system with at least one non-pivot column in coefficient matrix (≥1\ge 1 free variable).Parametric solution set with free variables as parameters

Row Reduction Terminology (Lay §1.1 – §1.2)

Elementary Row Operations1. Replacement: Ri←Ri+cRjR_i \leftarrow R_i + c R_j
2. Interchange: Ri↔RjR_i \leftrightarrow R_j
3. Scaling: Ri←cRiR_i \leftarrow c R_i (c≠0c \ne 0). All operations are reversible.
Row Equivalence (A∼BA \sim B)Two matrices are row equivalent if one can be transformed into the other by a sequence of elementary row operations. They share the identical solution set.
Basic vs Free VariablesBasic variables correspond to pivot columns in coefficient matrix AA. Free variables correspond to non-pivot columns.
Uniqueness of RREF (Theorem 1)Each matrix is row equivalent to one and only one reduced echelon matrix (RREF is unique). REF is not unique.

2. Vector Equations & Span (Lay §1.3 – §1.4)

Linear CombinationGiven vectors v1,…,vp\mathbf{v}_1, \dots, \mathbf{v}_p and scalars c1,…,cpc_1, \dots, c_p, the vector y=c1v1+⋯+cpvp\mathbf{y} = c_1\mathbf{v}_1 + \cdots + c_p\mathbf{v}_p is a linear combination.
Span⁡{v1,…,vp}\operatorname{Span}\{\mathbf{v}_1, \dots, \mathbf{v}_p\}The collection of all linear combinations c1v1+⋯+cpvpc_1\mathbf{v}_1 + \cdots + c_p\mathbf{v}_p. In R3\mathbb{R}^3, span of 1 non-zero vector is a line through 0\mathbf{0}; span of 2 non-parallel vectors is a plane through 0\mathbf{0}.
Matrix Equation Ax=bA\mathbf{x} = \mathbf{b}If A=[a1  ⋯  an]A = [\mathbf{a}_1 \; \cdots \; \mathbf{a}_n], then Ax=x1a1+⋯+xnanA\mathbf{x} = x_1\mathbf{a}_1 + \cdots + x_n\mathbf{a}_n. Thus Ax=bA\mathbf{x} = \mathbf{b} has a solution iff b∈Span⁡{a1,…,an}\mathbf{b} \in \operatorname{Span}\{\mathbf{a}_1, \dots, \mathbf{a}_n\}.
Row-Vector Product RuleThe ii-th entry of AxA\mathbf{x} is the dot product of row ii of AA and vector x\mathbf{x}: (Ax)i=ai1x1+⋯+ainxn(A\mathbf{x})_i = a_{i1}x_1 + \cdots + a_{in}x_n.

Theorem 4: Equivalence of Spanning Rm\mathbb{R}^m (Lay §1.4)

Statement (For any m×nm \times n matrix AA)Meaning & Operational Test
Statement AFor each b∈Rm\mathbf{b} \in \mathbb{R}^m, the equation Ax=bA\mathbf{x} = \mathbf{b} has a solution.
Statement BEach b∈Rm\mathbf{b} \in \mathbb{R}^m is a linear combination of the columns of AA.
Statement CThe columns of AA span Rm\mathbb{R}^m (Span⁡{a1,…,an}=Rm\operatorname{Span}\{\mathbf{a}_1, \dots, \mathbf{a}_n\} = \mathbb{R}^m).
Statement D (Operational Test)AA has a pivot position in every row (i.e. every row has a leading entry in echelon form).

3. Solution Sets: Homogeneous vs Non-homogeneous (Lay §1.5 – §1.6)

PropertyHomogeneous: Ax=0A\mathbf{x} = \mathbf{0}Non-homogeneous: Ax=bA\mathbf{x} = \mathbf{b} (b≠0\mathbf{b} \ne \mathbf{0})
Trivial SolutionAlways has x=0\mathbf{x} = \mathbf{0} (always consistent).Never has x=0\mathbf{x} = \mathbf{0} as a solution.
Non-trivial SolutionsExists if and only if the equation has at least one free variable.May be inconsistent if augmented column [A∣b][A \mid \mathbf{b}] has a pivot.
Parametric Vector Formx=su+tv\mathbf{x} = s\mathbf{u} + t\mathbf{v} (passes through origin 0\mathbf{0}).x=p+su+tv\mathbf{x} = \mathbf{p} + s\mathbf{u} + t\mathbf{v}, where p\mathbf{p} is a particular solution (Ap=bA\mathbf{p} = \mathbf{b}) and su+tvs\mathbf{u} + t\mathbf{v} solves Ax=0A\mathbf{x} = \mathbf{0}.
Geometric MeaningLine or plane passing through the origin 0\mathbf{0}.Line or plane parallel to homogeneous solution set, shifted by vector p\mathbf{p}.

Applications of Linear Systems (Lay §1.6)

Network Flow (Junction Rule)At each intersection: ∑Flow In=∑Flow Out\sum \text{Flow In} = \sum \text{Flow Out}. For the entire network: Total Flow In=Total Flow Out\text{Total Flow In} = \text{Total Flow Out}.
Chemical BalancingAtoms of each chemical element on reactant side = atoms on product side. Formulated as a homogeneous system Ax=0A\mathbf{x} = \mathbf{0} for integer weights xi>0x_i > 0.

4. Linear Independence Quick Tests (Lay §1.7)

Condition / ScenarioConclusionReason / Theorem
General set {v1,…,vp}\{\mathbf{v}_1, \dots, \mathbf{v}_p\}Linearly independent iff c1v1+⋯+cpvp=0c_1\mathbf{v}_1 + \cdots + c_p\mathbf{v}_p = \mathbf{0} has ONLY the trivial solution c1=⋯=cp=0c_1 = \cdots = c_p = 0.Definition: Ax=0A\mathbf{x} = \mathbf{0} has only the trivial solution   ⟺  A\iff A has a pivot in every column.
Two vectors {v1,v2}\{\mathbf{v}_1, \mathbf{v}_2\}Linearly dependent iff one is a scalar multiple of the other.If neither vector is a scalar multiple of the other, they are linearly independent.
Set contains zero vector 0\mathbf{0}Always linearly dependent.Theorem 9: 10+0v2+⋯+0vp=01\mathbf{0} + 0\mathbf{v}_2 + \cdots + 0\mathbf{v}_p = \mathbf{0} provides a non-trivial combination.
More vectors than entries (p>np > n in Rn\mathbb{R}^n)Always linearly dependent.Theorem 8: In an n×pn \times p matrix with p>np > n, at most nn pivots, leaving at least p−n≥1p - n \ge 1 free variables.

5. Linear Transformations (Lay §1.8 – §1.9)

ConceptDefinition / FormulaPivot Criterion on Standard Matrix AA
Linearity Properties1. T(u+v)=T(u)+T(v)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})
2. T(cu)=cT(u)T(c\mathbf{u}) = c T(\mathbf{u})
Consequently, T(0)=0T(\mathbf{0}) = \mathbf{0} and T(cu+dv)=cT(u)+dT(v)T(c\mathbf{u} + d\mathbf{v}) = c T(\mathbf{u}) + d T(\mathbf{v}).
Holds for any matrix transformation T(x)=AxT(\mathbf{x}) = A\mathbf{x}.
Standard Matrix [T][T]A=[T(e1)  T(e2)  ⋯  T(en)]A = [T(\mathbf{e}_1) \; T(\mathbf{e}_2) \; \cdots \; T(\mathbf{e}_n)], where ej\mathbf{e}_j are columns of identity matrix InI_n.Every linear transformation T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m is unique matrix multiplication T(x)=AxT(\mathbf{x}) = A\mathbf{x}.
One-to-One (Injective)T(u)=T(v)  ⟹  u=vT(\mathbf{u}) = T(\mathbf{v}) \implies \mathbf{u} = \mathbf{v}. Equivalently, T(x)=0T(\mathbf{x}) = \mathbf{0} has only the trivial solution.Columns of AA are linearly independent   ⟺  A\iff A has a pivot in EVERY COLUMN.
Onto Rm\mathbb{R}^m (Surjective)For every b∈Rm\mathbf{b} \in \mathbb{R}^m, there exists at least one x\mathbf{x} such that T(x)=bT(\mathbf{x}) = \mathbf{b}.Columns of AA span Rm  ⟺  A\mathbb{R}^m \iff A has a pivot in EVERY ROW.

2D Geometric Linear Transformations (Lay §1.9)

TransformationStandard Matrix AAAction on (x,y)(x, y)
Reflection across xx-axis[100−1]\begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}(x,−y)(x, -y)
Reflection across yy-axis[−1001]\begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}(−x,y)(-x, y)
Reflection across line y=xy = x[0110]\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}(y,x)(y, x)
Counterclockwise Rotation by θ\theta[cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}Rotates vector counterclockwise by θ\theta
Horizontal Shear by factor kk[1k01]\begin{bmatrix} 1 & k \\ 0 & 1 \end{bmatrix}(x+ky,y)(x + ky, y)
Vertical Shear by factor kk[10k1]\begin{bmatrix} 1 & 0 \\ k & 1 \end{bmatrix}(x,y+kx)(x, y + kx)
Dilation (k>1k > 1) / Contraction (0<k<10 < k < 1)[k00k]\begin{bmatrix} k & 0 \\ 0 & k \end{bmatrix}(kx,ky)(kx, ky)

6. Matrix Operations & Transpose (Lay §2.1)

Matrix Multiplication ConformityIf AA is m×nm \times n and BB is n×pn \times p, product ABAB is m×pm \times p. Inner dimensions must match. In general, AB≠BAAB \ne BA (NOT commutative).
Row-Column Rule for ABABThe entry (AB)ij=ai1b1j+ai2b2j+⋯+ainbnj(AB)_{ij} = a_{i1}b_{1j} + a_{i2}b_{2j} + \cdots + a_{in}b_{nj} (dot product of row ii of AA and column jj of BB).
Transpose Properties1. (AT)T=A(A^T)^T = A
2. (A+B)T=AT+BT(A + B)^T = A^T + B^T
3. (rA)T=rAT(rA)^T = r A^T
4. (AB)T=BTAT(AB)^T = B^T A^T (REVERSE ORDER!)
Matrix PowersIf AA is square n×nn \times n, Ak=A⋅A⋯AA^k = A \cdot A \cdots A (kk times). A0=InA^0 = I_n.

7. Matrix Inverses & Inversion Algorithm (Lay §2.2)

TopicRule / FormulaKey Requirement
2×22 \times 2 Matrix InverseIf A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, then A−1=1ad−bc[d−b−ca]A^{-1} = \frac{1}{ad - bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}Invertible if and only if det⁡A=ad−bc≠0\det A = ad - bc \ne 0.
Inverse of a Product(AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1}Reverse order! Both AA and BB must be invertible n×nn \times n square matrices.
Inverse of Transpose(AT)−1=(A−1)T(A^T)^{-1} = (A^{-1})^TThe inverse of the transpose equals the transpose of the inverse.
Algorithm for Finding A−1A^{-1}Row reduce augmented matrix [A∣In][A \mid I_n]. If AA is invertible, [A∣In]∼[In∣A−1][A \mid I_n] \sim [I_n \mid A^{-1}].If row reduction yields a row of zeros on the left side, AA is singular (not invertible).

8. The Invertible Matrix Theorem (IMT) Master Reference (Lay §2.3)

Statement (For any square n×nn \times n matrix AA, all 12 statements are equivalent)Category
a. AA is an invertible matrix.Invertibility
b. AA is row equivalent to the n×nn \times n identity matrix InI_n.Row reduction
c. AA has nn pivot positions.Row reduction
d. The equation Ax=0A\mathbf{x} = \mathbf{0} has only the trivial solution.Homogeneous System
e. The columns of AA form a linearly independent set.Linear Independence
f. The linear transformation x↦Ax\mathbf{x} \mapsto A\mathbf{x} is one-to-one.Transformations
g. The equation Ax=bA\mathbf{x} = \mathbf{b} has at least one solution for each b∈Rn\mathbf{b} \in \mathbb{R}^n.Solvability
h. The columns of AA span Rn\mathbb{R}^n.Vector Span
i. The linear transformation x↦Ax\mathbf{x} \mapsto A\mathbf{x} maps Rn\mathbb{R}^n onto Rn\mathbb{R}^n.Transformations
j. There is an n×nn \times n matrix CC such that CA=InCA = I_n.Left inverse
k. There is an n×nn \times n matrix DD such that AD=InAD = I_n.Right inverse
l. ATA^T is an invertible matrix.Transpose

9. Partitioned Matrices & LU Factorization (Lay §2.4 – §2.5)

TopicForm / AlgorithmProcedure & Purpose
Block Matrix Multiplication[A11A12A21A22][B11B12B21B22]=[A11B11+A12B21A11B12+A12B22A21B11+A22B21A21B12+A22B22]\begin{bmatrix} A_{11} & A_{12} \\ A_{21} & A_{22} \end{bmatrix} \begin{bmatrix} B_{11} & B_{12} \\ B_{21} & B_{22} \end{bmatrix} = \begin{bmatrix} A_{11}B_{11} + A_{12}B_{21} & A_{11}B_{12} + A_{12}B_{22} \\ A_{21}B_{11} + A_{22}B_{21} & A_{21}B_{12} + A_{22}B_{22} \end{bmatrix}Multiply blocks as if they were scalars, preserving block order.
Block Diagonal Inverse(diag⁡(A1,…,Ak))−1=diag⁡(A1−1,…,Ak−1)(\operatorname{diag}(A_1, \dots, A_k))^{-1} = \operatorname{diag}(A_1^{-1}, \dots, A_k^{-1})A block diagonal matrix is invertible iff each diagonal block is invertible.
LU Factorization: StructureA=LUA = LU, where LL is Unit Lower-Triangular (11s on main diagonal) and UU is Upper-Triangular (Row Echelon Form).Applies when AA can be row-reduced to echelon form without row interchanges.
LU Factorization: Algorithm1. Reduce AA to echelon form UU using only row replacements.
2. Divide each column of LL below diagonal by its leading entry, or place the multiplier cc in LL where Ri←Ri−cRjR_i \leftarrow R_i - c R_j was used.
LL records the multipliers needed to clear entries below pivots.
Solving Ax=bA\mathbf{x} = \mathbf{b} using LULUStep 1: Solve Ly=bL\mathbf{y} = \mathbf{b} for y\mathbf{y} via Forward Substitution.
Step 2: Solve Ux=yU\mathbf{x} = \mathbf{y} for x\mathbf{x} via Back Substitution.
Significantly faster than full row reduction for multiple right-hand sides b\mathbf{b}.