Maths WorkshopMaths problems with full solutions
Exercise 1635Linear algebra › DeterminantsL1Added 3 Nov 2026

A cyclic 3×3 determinant

#cyclic determinant#factorisation#roots of unity

Statement

Compute
Δ=∣1abb1aab1∣.\Delta = \begin{vmatrix} 1 & a & b \\ b & 1 & a \\ a & b & 1 \end{vmatrix}.

Hint

Add all columns to the first and factor 1+a+b1+a+b. Then recognise a quadratic in a,ba,b.

Show solutionHide solution

Solution

Column operation. C1←C1+C2+C3C_1\leftarrow C_1+C_2+C_3:
Δ=∣1+a+bab1+a+b1a1+a+bb1∣=(1+a+b)∣1ab11a1b1∣.\Delta = \begin{vmatrix} 1+a+b & a & b \\ 1+a+b & 1 & a \\ 1+a+b & b & 1 \end{vmatrix} = (1+a+b)\begin{vmatrix} 1 & a & b \\ 1 & 1 & a \\ 1 & b & 1 \end{vmatrix}.

Row operations. L2←L2−L1L_2\leftarrow L_2-L_1, L3←L3−L1L_3\leftarrow L_3-L_1:
Δ=(1+a+b)∣1ab01−aa−b0b−a1−b∣.\Delta = (1+a+b)\begin{vmatrix} 1 & a & b \\ 0 & 1-a & a-b \\ 0 & b-a & 1-b \end{vmatrix}.
Expand along the first column:
Δ=(1+a+b)∣1−aa−bb−a1−b∣.\Delta = (1+a+b)\begin{vmatrix} 1-a & a-b \\ b-a & 1-b \end{vmatrix}.

2×22\times2 determinant.
∣1−aa−bb−a1−b∣=(1−a)(1−b)−(a−b)(b−a)=(1−a)(1−b)+(a−b)2.\begin{vmatrix} 1-a & a-b \\ b-a & 1-b \end{vmatrix} = (1-a)(1-b) - (a-b)(b-a) = (1-a)(1-b)+(a-b)^2.
Expand: 1−a−b+ab+a2−2ab+b2=a2−ab+b2−a−b+11-a-b+ab+a^2-2ab+b^2 = a^2-ab+b^2-a-b+1.

Conclusion.
Δ=(1+a+b)(a2−ab+b2−a−b+1).\Delta = (1+a+b)(a^2-ab+b^2-a-b+1).

Remark. When a=b=1a=b=1, the determinant is 3⋅(1−1+1−1−1+1)=03\cdot(1-1+1-1-1+1)=0, consistent with a matrix with all entries 11.