Matrix determinant are a fundamental concept in linear algebra, linking square matrices to scalar values that encode geometric and algebraic information. This collection of exercises covers every essential topic: computing determinants of 2×2 and 3×3 matrices, applying cofactor expansion along any row or column, exploiting row reduction and elementary row operations, using the key properties of determinants (multilinearity, alternating sign, multiplicativity), testing matrix invertibility, applying Cramer’s rule to linear systems, and extending to 4×4 and n×n determinants. Problems progress from easy direct calculations to challenging theoretical proofs, making this page suitable for high school students, undergraduates, and anyone preparing for exams in linear algebra or advanced mathematics.
Contents7 sections
Determinants of 2×2 Matrices
The determinant of a 2×2 matrix is the simplest case and the foundation for all higher-order computations. For a matrix A=(acbd), the determinant is defined as det(A)=ad−bc. Mastering this formula, including cases with fractions, negative entries, and parameters, prepares you for cofactor expansion and more advanced topics.
Problem 1: Direct Computation of a 2×2 Determinant
Easy
Consider the matrix A=(5234).
Compute det(A) using the standard formula.
State whether A is invertible and justify your answer.
Hint
Recall that for a 2×2 matrix the determinant equals the product of the main diagonal entries minus the product of the off-diagonal entries. A matrix is invertible if and only if its determinant is nonzero.
View Solution
Solution to question 1:det(A)=(5)(4)−(3)(2)=20−6=14Solution to question 2:
Since det(A)=14=0, the matrix A is invertible. A square matrix is invertible if and only if its determinant is different from zero.
Problem 2: Determinant with Negative and Fractional Entries
Easy
Let B=(−3621−4).
Calculate det(B).
Find det(2B) without recomputing the full product matrix, using only det(B).
Hint
Apply the formula directly. For question 2, use the scalar multiplication property: det(kA)=kndet(A) for an n×n matrix.
View Solution
Solution to question 1:det(B)=(−3)(−4)−(21)(6)=12−3=9Solution to question 2:
Since B is a 2×2 matrix, det(2B)=22det(B)=4×9=36.
Problem 3: Finding a Parameter from a Given Determinant
Medium
The matrix C=(x+123x−2) has determinant equal to −4.
Set up and solve the equation det(C)=−4 for x.
For each value of x found, determine whether C is invertible.
Hint
Expand the determinant as a polynomial in x, then solve the resulting quadratic equation. Check the discriminant carefully.
View Solution
Solution to question 1:det(C)=(x+1)(x−2)−(3)(2)=x2−x−2−6=x2−x−8
Setting x2−x−8=−4:
x2−x−4=0⟹x=21±17Solution to question 2:
For both values, det(C)=−4=0, so C is invertible in both cases.
Determinants of 3×3 Matrices: Cofactor Expansion and Sarrus’ Rule
Computing the determinant of a 3×3 matrix requires expanding along a row or column using cofactors, or applying Sarrus’ rule as a mnemonic. Choosing the row or column with the most zeros significantly reduces calculation effort. This section develops fluency with both techniques across a range of entry types.
Problem 4: Sarrus’ Rule on a Standard 3×3 Matrix
Easy
Compute the determinant of the matrix
D=20413−1−121
Use Sarrus’ rule to evaluate det(D).
Verify your result by cofactor expansion along the first row.
Hint
Sarrus’ rule: copy the first two columns to the right, sum the three downward diagonal products, subtract the three upward diagonal products. For cofactor expansion along row 1, recall det(D)=a11C11+a12C12+a13C13 where Cij=(−1)i+jMij.
View Solution
Solution to question 1 (Sarrus):det(D)=(2)(3)(1)+(1)(2)(4)+(−1)(0)(−1)−(4)(3)(−1)−(−1)(2)(2)−(1)(0)(1)=6+8+0−(−12)−(−4)−0=6+8+12+4=30Solution to question 2 (cofactor expansion):det(D)=2det(3−121)−1det(0421)+(−1)det(043−1)=2(3+2)−1(0−8)+(−1)(0−12)=2(5)−1(−8)+(−1)(−12)=10+8+12=30✓
Problem 5: Strategic Cofactor Expansion Along the Best Row or Column
Medium
Evaluate the determinant of
E=3−2705−4006
Identify the most efficient row or column for cofactor expansion and justify your choice.
Compute det(E) using that expansion and state a general rule suggested by this result.
Hint
Notice the structure of the matrix. A matrix of this form is called lower triangular. Consider expanding along the first row, or recall the determinant rule for triangular matrices.
View Solution
Solution to question 1:
The first row contains two zeros, so cofactor expansion along row 1 involves only one nonzero term, making the computation fastest.
Solution to question 2:det(E)=3⋅det(5−406)−0+0=3(30−0)=90General rule: The determinant of any triangular matrix (upper or lower) equals the product of its main diagonal entries:
det(E)=3×5×6=90
Problem 6: 3×3 Determinant with a Symbolic Parameter
Medium
Let
F=13021tt−12
Express det(F) as a polynomial in t.
Find all values of t for which F is singular (not invertible).
Hint
Expand along the first row. Collect all powers of t and set the resulting polynomial to zero. Factor if possible, or use the quadratic formula.
View Solution
Solution to question 1:det(F)=1⋅det(1t−12)−2⋅det(30−12)+t⋅det(301t)=(2+t)−2(6)+t(3t)=2+t−12+3t2=3t2+t−10Solution to question 2:3t2+t−10=0⟹t=6−1±1+120=6−1±11t=610=35ort=6−12=−2
The matrix F is singular for t=35 and t=−2.
Properties of Determinants and Row Operations
Rather than expanding every determinant from scratch, the properties of determinants allow powerful shortcuts. These include: swapping two rows changes the sign, multiplying a row by a scalar multiplies the determinant by that scalar, adding a multiple of one row to another leaves the determinant unchanged, and the determinant of a product equals the product of determinants. These exercises train you to apply these rules fluently.
Problem 7: Identifying the Effect of Row Operations
Easy
Suppose det(A)=6 for a 3×3 matrix A. For each operation below, state the determinant of the resulting matrix without full computation.
Swap row 1 and row 3 of A to obtain matrix A1.
Multiply row 2 of A by −5 to obtain matrix A2.
Replace row 3 of A by row 3 +7⋅ row 1 to obtain matrix A3.
Hint
Each part corresponds to one elementary row operation. Recall: (i) row swap multiplies determinant by −1; (ii) scalar multiplication of a row multiplies the determinant by that scalar; (iii) adding a multiple of one row to another does not change the determinant.
View Solution
Solution to question 1:
Swapping two rows multiplies the determinant by −1:
det(A1)=−det(A)=−6Solution to question 2:
Multiplying one row by a scalar k multiplies the determinant by k:
det(A2)=(−5)det(A)=−30Solution to question 3:
Adding a multiple of one row to another does not change the determinant:
det(A3)=det(A)=6
Problem 8: Determinant via Row Reduction to Triangular Form
Medium
Use elementary row operations to compute the determinant of
G=123254349
Reduce G to upper triangular form, tracking all row operations and their effect on the determinant.
Read off the determinant from the triangular form.
Hint
Use R2←R2−2R1 and R3←R3−3R1 first to clear the first column below the pivot. Since these are of the type “add a multiple of one row to another”, they do not change the determinant.
View Solution
Solution to question 1:
Step 1: R2←R2−2R1, R3←R3−3R1 (no change to det):
10021−23−20
Step 2: R3←R3+2R2 (no change to det):
1002103−2−4Solution to question 2:
The matrix is now upper triangular; its determinant is the product of diagonal entries:
det(G)=1×1×(−4)=−4
Problem 9: Determinant of a Product and Scalar Multiple
Medium
Let A and B be 3×3 matrices with det(A)=4 and det(B)=−3.
Find det(AB) and det(BA).
Find det(3A) and det(A−1B).
Hint
Use det(AB)=det(A)det(B), det(kA)=kndet(A) for n×n, and det(A−1)=1/det(A).
View Solution
Solution to question 1:det(AB)=det(A)det(B)=(4)(−3)=−12det(BA)=det(B)det(A)=(−3)(4)=−12
(The determinant of a product is commutative even though matrix multiplication is not.)
Solution to question 2:det(3A)=33det(A)=27×4=108det(A−1B)=det(A−1)det(B)=41×(−3)=−43
Invertibility, Singularity, and the Determinant Criterion
One of the most important applications of the determinant is deciding whether a matrix is invertible (nonsingular) or singular. A square matrix is invertible if and only if its determinant is nonzero. This section presents problems that connect the determinant to the existence of an inverse, linear independence of rows or columns, and the solvability of linear systems.
Problem 10: Testing Invertibility and Finding the Inverse via the Adjugate
Medium
Consider the matrix H=2−10131024.
Compute det(H) and confirm that H is invertible.
Find H−1 using the formula H−1=det(H)1adj(H).
Hint
Expand along the first row to find det(H). For the adjugate, compute all nine cofactors Cij=(−1)i+jMij and transpose the resulting cofactor matrix.
View Solution
Solution to question 1:det(H)=2det(3124)−1det(−1024)+0=2(10)−1(−4)=20+4=24
Since det(H)=24=0, the matrix H is invertible.
Solution to question 2:
The cofactor matrix is:
C=10−4248−4−1−27
The adjugate is the transpose of the cofactor matrix:
adj(H)=CT=104−1−48−22−47
Therefore:
H−1=241104−1−48−22−47
Problem 11: Singularity and Linear Dependence
Medium
Determine whether the vectors v1=(1,2,−1), v2=(3,0,4), and v3=(5,4,2) are linearly independent.
Form the matrix whose rows are v1,v2,v3 and compute its determinant.
Interpret the result in terms of linear independence and explain the connection to the determinant.
Hint
Three vectors in R3 are linearly dependent if and only if the determinant of the matrix formed by these vectors (as rows or columns) is zero.
View Solution
Solution to question 1:det135204−142
Expanding along row 1:
=1(0−16)−2(6−20)+(−1)(12−0)=−16−2(−14)−12=−16+28−12=0Solution to question 2:
Since det=0, the three vectors are linearly dependent. Indeed, one can verify that v3=2v1+v2. A zero determinant means the rows (or columns) of the matrix are linearly dependent, and equivalently the matrix is singular.
Cramer’s Rule: Solving Linear Systems with Determinants
Cramer’s rule expresses each variable in a square linear system Ax=b as a ratio of determinants: xi=det(Ai)/det(A), where Ai is A with its i-th column replaced by b. While not the most computationally efficient method for large systems, Cramer’s rule provides theoretical insight and is practical for 2×2 and 3×3 systems.
Problem 12: Cramer’s Rule for a 2×2 System
Easy
Solve the linear system using Cramer’s rule:
{3x+2y=8x−4y=−6
Find det(A) and confirm the system has a unique solution.
Apply Cramer’s rule to find x and y.
Hint
Form the coefficient matrix A and compute its determinant. Then replace the first column with the right-hand side vector b to get A1, and the second column for A2.
View Solution
Solution to question 1:A=(312−4),det(A)=(3)(−4)−(2)(1)=−12−2=−14=0
The system has a unique solution.
Solution to question 2:A1=(8−62−4),det(A1)=(8)(−4)−(2)(−6)=−32+12=−20A2=(318−6),det(A2)=(3)(−6)−(8)(1)=−18−8=−26x=det(A)det(A1)=−14−20=710,y=det(A)det(A2)=−14−26=713
Problem 13: Cramer’s Rule for a 3×3 System
Medium
Use Cramer’s rule to solve:
⎩⎨⎧x+y+z=62x−y+z=3x+2y−z=2
Compute det(A).
Find x, y, and z using Cramer’s rule.
Hint
Replace the first, second, and third columns of A with the vector b=(6,3,2)T to form A1, A2, A3 respectively. Use cofactor expansion efficiently by choosing rows or columns with small entries.
View Solution
Solution to question 1:A=1211−1211−1det(A)=1(1−2)−1(−2−1)+1(4+1)=−1+3+5=7Solution to question 2:det(A1)=6321−1211−1=6(1−2)−1(−3−2)+1(6+2)=−6+5+8=7x=77=1det(A2)=12163211−1=1(−3−2)−6(−2−1)+1(4−3)=−5+18+1=14y=714=2det(A3)=1211−12632=1(−2−6)−1(4−3)+6(4+1)=−8−1+30=21z=721=3
The solution is x=1,y=2,z=3.
Determinants of 4×4 Matrices and Block Structures
Extending determinant calculations to 4×4 matrices demands efficient strategies: cofactor expansion combined with careful choice of the expansion row or column, or exploiting block matrix structure when the matrix decomposes into smaller blocks. These problems build the algebraic stamina required for higher linear algebra courses and competitive mathematics.
Problem 14: Determinant of a 4×4 Matrix by Cofactor Expansion
Medium
Compute the determinant of
K=20400−1021030321−3
Identify the most efficient column for cofactor expansion and state why.
Evaluate det(K) completely.
Hint
Column 2 contains two zeros, making it ideal for expansion. Only entries k22=−1 and k42=2 are nonzero in that column. Each will produce a 3×3 minor to evaluate.
View Solution
Solution to question 1:
Column 2 has entries (0,−1,0,2), so only two terms are nonzero in the expansion, minimising work.
Solution to question 2:
Expanding along column 2:
det(K)=0⋅C12+(−1)⋅C22+0⋅C32+2⋅C42C22=(+1)det24013031−3
Expanding the 3×3 minor along its third row:
=(−3)det(2413)=(−3)(6−4)=−6
So C22=−6.
C42=−1⋅det204103321
Expanding the 3×3 minor along row 2:
=−(2)det(2413)⋅(−1)2+3=−2(2)⋅(−1)=4
Wait, let us expand row 2 properly: only entry a23=2 is nonzero:
det=0−0+2⋅(−1)2+3det(2413)=2(−1)(2)=−4
So C42=(−1)4+2(−4)=(+1)(−4)=−4.Therefore:
det(K)=(−1)(−6)+2(−4)=6−8=−2
Problem 15: Block Triangular Matrix Determinant
Hard
Let
M=(A0CB)
where A=(3214), B=(1052), and C is a 2×2 matrix with arbitrary entries. Here 0 denotes the 2×2 zero matrix.
State and prove the block triangular determinant formula det(M)=det(A)det(B).
Compute det(M) for this specific A and B.
Hint
For part 1, expand det(M) along the last two rows (which form the block (0∣B)), or use cofactor expansion along columns 1 and 2 to reduce to det(A) times a 2×2 determinant. Note that the result is independent of C.
View Solution
Solution to question 1:
Write M as a 4×4 matrix. Expanding along the first two columns, the only nonzero contributions from rows 3 and 4 come from the B-block. More rigorously, one uses the Leibniz formula for determinants: every permutation σ that picks an entry from the lower-left zero block produces a zero term. Hence:
det(M)=det(A)det(B)
regardless of C. This result generalises to any block upper (or lower) triangular square matrix.
Solution to question 2:det(A)=(3)(4)−(1)(2)=12−2=10det(B)=(1)(2)−(5)(0)=2det(M)=10×2=20
Advanced Problems: Theoretical and Proof-Based Determinant Questions
At the highest level of difficulty, determinant problems move beyond calculation into proof and theory: proving that the determinant of a skew-symmetric odd-order matrix is zero, showing that det(AB)=det(A)det(B) for a specific pair, working with Vandermonde determinants, or analysing how determinants interact with rank and linear independence. These exercises are suitable for upper-division undergraduates and graduate preparation.
Problem 16: Skew-Symmetric Matrices and Odd Order
Hard
A square matrix A is called skew-symmetric if AT=−A.
Prove that if A is an n×n skew-symmetric matrix and n is odd, then det(A)=0.
Give a specific example of a 3×3 skew-symmetric matrix and verify that its determinant is zero.
Hint
Use two determinant properties: det(AT)=det(A) and det(−A)=(−1)ndet(A). Combine them with the condition AT=−A.
View Solution
Solution to question 1:
Since AT=−A, taking determinants of both sides:
det(AT)=det(−A)det(A)=(−1)ndet(A)
When n is odd, (−1)n=−1, so:
det(A)=−det(A)⟹2det(A)=0⟹det(A)=0Solution to question 2:
The matrix
A=0−1210−3−230
satisfies AT=−A. Expanding along row 1:
det(A)=0(0−(−9))−1(0−6)+(−2)(3−0)=0+6−6=0✓
Problem 17: Vandermonde Determinant
Hard
The Vandermonde matrix of order 3 is defined as
V=111abca2b2c2
Compute det(V) by row-reducing: subtract row 1 from rows 2 and 3, then factor.
State the Vandermonde formula and give the condition under which V is invertible.
Hint
After R2←R2−R1 and R3←R3−R1, factor (b−a) from row 2 and (c−a) from row 3. The remaining 2×2 determinant factors further with another row operation.
View Solution
Solution to question 1:
Apply R2←R2−R1 and R3←R3−R1:
det(V)=100ab−ac−aa2b2−a2c2−a2
Factor (b−a) from row 2 and (c−a) from row 3:
=(b−a)(c−a)100a11a2b+ac+a
Apply R3←R3−R2 in the 2×2 block:
=(b−a)(c−a)10b+ac−b=(b−a)(c−a)(c−b)Solution to question 2:
The Vandermonde formula is:
det(V)=(b−a)(c−a)(c−b)=1≤i<j≤3∏(xj−xi)
where x1=a,x2=b,x3=c. The matrix V is invertible if and only if all three values a, b, c are distinct.
Problem 18: Determinant, Rank, and the Characterisation of Singular Matrices
Hard
Let A be an n×n real matrix.
Prove that det(A)=0 if and only if rank(A)=n.
Let A and B be n×n matrices and assume AB is invertible. Show that both A and B must be invertible.
Hint
For part 1, use the equivalence between full rank and invertibility, and between invertibility and nonzero determinant. For part 2, use the multiplicativity of the determinant: det(AB)=det(A)det(B). If a product of real numbers is nonzero, what can you say about each factor?
View Solution
Solution to question 1:
The following statements are equivalent for an n×n matrix A:
(i) A is invertible; (ii) rank(A)=n; (iii) the rows (equivalently columns) of A are linearly independent; (iv) det(A)=0. The chain of implications (i)⇔(ii) follows from the rank-nullity theorem (the null space is trivial iff rank is full), and (i)⇔(iv) follows from the Leibniz formula: if any row is a linear combination of others, cofactor expansion yields zero. Conversely, row-reducing a full-rank matrix yields an upper triangular matrix with nonzero diagonal, whose determinant is nonzero.
Solution to question 2:
Since AB is invertible, det(AB)=0. By the multiplicativity property:
det(AB)=det(A)det(B)=0
A product of real numbers is nonzero if and only if each factor is nonzero. Therefore det(A)=0 and det(B)=0, which means both A and B are invertible. ■