Linear Algebra Core Concepts
One of the foundational ideas in linear algebra is the relationship between a matrix’s determinant and its invertibility. For a square matrix A , the determinant, denoted det(A) , provides a…

Given vectors u = (2, -1) and v = (4, -2), which of the following is true about their relationship?
In solving a linear system Ax = b, which condition guarantees that Cramer's rule can be applied?
When performing LU decomposition with partial pivoting, which equation correctly represents the factorization?
If a matrix B is orthogonal, which of the following identities holds true?
A system of linear equations has more equations than unknowns. What is the standard term for such a system?
During Gaussian elimination, why might the algorithm fail without pivoting?
Which of the following best describes the effect of swapping two rows of a matrix on its determinant?
In the context of eigenvalues, what does the characteristic polynomial of an n×n matrix represent?
When applying the Successive Over-Relaxation (SOR) method, which range of the relaxation parameter ω ensures convergence?
Understanding Matrix Invertibility and Determinants
One of the foundational ideas in linear algebra is the relationship between a matrix’s determinant and its invertibility. For a square matrix A, the determinant, denoted det(A), provides a quick test:
- If det(A) ≠ 0, the matrix is invertible (also called nonsingular).
- If det(A) = 0, the matrix is singular and cannot have an inverse.
Consider a 2×2 matrix. The determinant is computed as ad - bc. When this value equals zero, the rows (or columns) are linearly dependent, meaning one row can be expressed as a scalar multiple of the other. This dependence directly prevents the existence of an inverse.
Key Takeaway
For any square matrix, a zero determinant guarantees non‑invertibility. The trace of the matrix or its diagonal form does not affect this rule.
Scalar Multiples and Linear Dependence of Vectors
Vectors in ℝⁿ can be related in several ways: they may be orthogonal, have equal magnitude, be linearly independent, or be scalar multiples of each other. When two vectors u and v satisfy v = k·u for some scalar k, they are said to be collinear and are linearly dependent.
Example: u = (2, -1) and v = (4, -2). Notice that v = 2·u. Therefore:
- The vectors share the same direction.
- They are not orthogonal (their dot product is not zero).
- They do not have the same magnitude; ‖v‖ = 2·‖u‖.
Practical Implication
When solving systems or performing basis checks, identifying scalar multiples helps quickly detect linear dependence, reducing computational effort.
Cramer's Rule and the Role of the Determinant
Cramer's Rule provides explicit formulas for the solution of a linear system Ax = b using determinants. The rule is applicable only when the coefficient matrix A is square and det(A) ≠ 0. Under this condition, each component x_i is given by:
x_i = det(A_i) / det(A)
where A_i is the matrix formed by replacing the i‑th column of A with the vector b. If the determinant is zero, the system either has infinitely many solutions or none, and Cramer's Rule cannot be used.
When to Use Cramer's Rule
- Small systems (typically 2×2 or 3×3) where determinant calculation is straightforward.
- When an explicit analytical expression for each variable is desired.
LU Decomposition with Partial Pivoting
LU decomposition factors a matrix A into a product of a lower‑triangular matrix L and an upper‑triangular matrix U. However, to maintain numerical stability, especially when a pivot element is zero or very small, we introduce a permutation matrix P that records row swaps.
The correct factorization with partial pivoting is:
PA = LU
Here:
- P is a permutation matrix representing the row exchanges.
- L has ones on its diagonal and stores the multipliers used during elimination.
- U is an upper‑triangular matrix containing the results after elimination.
Why Pivoting Matters
Without pivoting, a zero pivot would make division impossible, halting the algorithm. Pivoting ensures that the largest available element in the column is used as the pivot, improving accuracy.
Properties of Orthogonal Matrices
An orthogonal matrix B satisfies the condition that its transpose is its inverse:
B^T B = I
This identity implies several important properties:
- Columns (and rows) of B are orthonormal vectors.
- The determinant of an orthogonal matrix is either +1 or −1, never zero.
- Orthogonal transformations preserve lengths and angles, making them essential in rotations and reflections.
Common Misconceptions
It is incorrect to think that B B = I or B² = I hold for all orthogonal matrices; those equalities are true only for specific cases (e.g., when B is symmetric or involutory).
Classifying Linear Systems by Size
Linear systems can be described by the relationship between the number of equations (rows) and unknowns (columns):
- Underdetermined: fewer equations than unknowns – typically infinite solutions.
- Overdetermined: more equations than unknowns – often no exact solution; solved via least‑squares.
- Square: equal number of equations and unknowns – may have a unique solution if the coefficient matrix is invertible.
When a system has more equations than unknowns, it is called an overdetermined system. Such systems arise frequently in data fitting and regression analysis.
Solving Overdetermined Systems
Because an exact solution may not exist, we often seek the vector x that minimizes the residual ‖Ax − b‖₂. This leads to the normal equations AᵀA x = Aᵀb, a cornerstone of the least‑squares method.
Pivoting in Gaussian Elimination
Gaussian elimination transforms a matrix into row‑echelon form to solve linear systems. A critical step is selecting a non‑zero pivot element. If a pivot becomes zero (or extremely small), the algorithm can fail or produce large numerical errors.
Pivoting strategies—partial (row swaps) or complete (row and column swaps)—ensure that the chosen pivot is the largest magnitude element available in the column, preventing division by zero and reducing rounding errors.
Consequences of Ignoring Pivoting
- Division by zero, causing the algorithm to break.
- Amplified rounding errors, leading to inaccurate solutions.
- Potential misidentification of matrix rank.
Effect of Row Swaps on the Determinant
Elementary row operations affect the determinant in predictable ways:
- Swapping two rows multiplies the determinant by -1 (changes its sign).
- Multiplying a row by a scalar k multiplies the determinant by k.
- Adding a multiple of one row to another leaves the determinant unchanged.
Therefore, when two rows are interchanged, the magnitude of the determinant remains the same, but its sign flips. This property is essential when tracking determinant changes during Gaussian elimination or LU factorization.
Practical Example
Suppose det(A) = 5. After swapping rows 1 and 2, the new determinant becomes -5. If another swap is performed, the sign returns to positive.
Summary of Core Linear Algebra Concepts
By mastering these key ideas, students can confidently approach more advanced topics such as eigenvalues, singular value decomposition, and numerical linear algebra.
- Zero determinant ⇔ non‑invertible matrix.
- Scalar multiples indicate linear dependence.
- Cramer's rule requires a non‑zero determinant.
- LU decomposition with partial pivoting follows
PA = LU. - Orthogonal matrices satisfy
BᵀB = I. - More equations than unknowns → overdetermined system.
- Pivoting prevents zero pivots and improves numerical stability.
- Row swaps change the sign of the determinant.
Understanding these principles lays a solid foundation for solving real‑world problems in engineering, computer science, and data analytics.
