Transpose transfers determinant identities from rows to columns; cofactor cancellation then gives the adjoint formula and Cramer’s rule.
Course contents
Transpose transfers determinant identities from rows to columns. Column linearity then makes it possible to isolate one coefficient in a linear combination: replacing a column creates repeated columns in every unwanted term. This cancellation gives Cramer’s rule and connects it to the adjoint identity.
Throughout this note, matrices and scalars are real; whenever a determinant is written, the matrix is square.
Transpose does not change determinant
Theorem
Determinant of a transpose
For every square matrix A,
det(AT)=det(A).
Although the recursive definition uses the first row, transposition leaves its value unchanged.
Proof
A factorization proof of transpose invariance
If A is singular, then AT is singular as well: transposing either inverse
equation would turn an inverse for AT into an inverse for A. Thus both
determinants are zero. If A is invertible, write
A=E1E2⋯Ek
as a product of elementary matrices. A swap or nonzero scaling elementary
matrix is unchanged by transposition. The transpose of an addition matrix
I+cEij is I+cEji, which is another addition matrix with determinant
one. Therefore det(ErT)=det(Er) for every factor, while
AT=EkT⋯E2TE1T.
The determinant product rule gives det(AT)=det(A). The matrix factors reverse
order, but their determinant values are scalars, whose product may be reordered.
This proof uses the factorization and row-operation results of 7.2. It supplies a derivation of the column expansion stated in 7.1 without using that column formula in the argument.
Theorem
Cofactor expansion along any column
For any fixed column j of a square matrix A=[aij], with n≥2,
where Mij is the minor determinant and Cij=(−1)i+jMij is
the cofactor,
det(A)=a1jC1j+a2jC2j+⋯+anjCnj,
Equivalently,
det(A)=i=1∑n(−1)i+jaijMij.
So you may expand along a row or along a column. The right choice is whichever
one produces the cleanest minors.
To see why the column formula follows from the row formula, fix column j. Write A(i∣j) for the matrix obtained by deleting row i and column j. The entry aij becomes the entry in row j of AT, and deleting that row and column gives
(AT)(j∣i)=(A(i∣j))T
The two submatrices have the same determinant by transpose invariance. Therefore row-j expansion of AT is
which equals det(A). This is the promised column-j expansion.
Worked example
A column expansion with many zeros
Let
A=160791085.
The third column has one zero, so expand along that column:
det(A)=0⋅C13+8C23+5C33.
That gives
det(A)=−81071+51679=−8(1)+5(9−42)=−173.
The same answer would come from row expansion, but the chosen column makes the
arithmetic shorter.
Column operations obey the same pattern
Because transpose preserves determinant, every row-operation rule has a column
version.
Theorem
How column operations change determinant
Let B be obtained from a square matrix A by one elementary column
operation.
Swapping two distinct columns p and q multiplies the determinant by −1.
Multiplying column p by β multiplies the determinant by β.
For a reversible elementary operation, β=0.
Replacing column q by Cq+cCp, with p=q, leaves the determinant
unchanged.
These are the row rules applied to AT, followed by transpose invariance. The
source and target columns in rule 3 must be different. The same transfer gives
multilinearity in one column and the fact that two equal columns force a zero
determinant. Those two properties will do the cancellation work in Cramer's rule.
Worked example
Use column operations to create zeros
Consider
C=34−321−1−162.
Apply the column operations C1←C1−C2 and then
C1←C1+C3, using the updated first column at each step:
34−321−1−162⟶13−221−1−162.
After the first step, the second step gives
13−221−1−162⟶09021−1−162.
These are column-addition operations, so the determinant is unchanged. Expand
along the first column:
det(C)=9(−1)2+12−1−12=−9(4−1)=−27.
The negative cofactor sign at position (2,1) is essential. Choose row or column operations according to which creates useful zeros, and use the updated matrix at each step.
Adjoint matrices package all cofactors at once
The cofactor of one entry helps in one expansion. The adjoint matrix collects
all cofactors into one object.
Definition
Adjoint matrix
For an n×n matrix A=[aij] with n≥2, let Cij denote the cofactor of
aij, and first form the cofactor matrix
For the 1×1 base case, define det([a])=a and adj([a])=[1]. Then [a][1]=[a]=det([a])I1. The cofactor identity proof below handles n≥2.
Theorem
Adjoint identity and inverse formula
For every square matrix A, including singular matrices,
Aadj(A)=det(A)I.
If det(A)=0, then A is invertible and
A−1=det(A)1adj(A).
Proof
The diagonal and off-diagonal cases
The following proof assumes n≥2; the 1×1 base case was defined above.
The (i,j) entry of Aadj(A) is
(Aadj(A))ij=k=1∑naikCjk.
If i=j, this is cofactor expansion along row i, so it equals det(A). If
i=j, form B by replacing row j of A with row i. The matrix B
has two equal rows, hence det(B)=0. Expanding B along its replaced row
j uses exactly the cofactors Cjk from A: deleting row j removes
the replacement. Therefore
0=det(B)=k=1∑naikCjk.
The diagonal entries are det(A) and every off-diagonal entry is zero. When
det(A)=0, divide by that scalar and use the square-matrix inverse
criterion. The identity itself remains valid when A is singular; only the
inverse formula requires division.
Worked example
Recover the 2×2 inverse formula from the adjoint
Let
A=[acbd],det(A)=ad−bc=0.
The cofactor matrix is
[d−b−ca],
so
adj(A)=[d−c−ba].
Therefore
A−1=ad−bc1[d−c−ba].
The familiar inverse formula is really the adjoint identity written in the
2×2 case. Multiplication displays the cancellation:
Aadj(A)=[ad−bc00ad−bc]=(ad−bc)I2.
The transpose in the adjoint is essential. If the untransposed cofactor matrix
[d−b−ca] were used instead, the product would generally have entries
ad−b2, ab−ac, cd−bd, and ad−c2, not a scalar on the diagonal with
zero off-diagonal entries.
Cramer's rule solves one coordinate at a time
Theorem
Cramer's rule
Let A∈Mn(R) satisfy det(A)=0, and let b∈Rn. For
each j, let Mj be the matrix obtained by replacing the jth column of
A with b.
If x is the unique solution of
Ax=b,
then
xj=det(A)det(Mj).
Each coordinate is a determinant ratio, expressing its dependence on the coefficient matrix and the right-hand side.
Proof
Fixed-column linearity isolates x_j
Write the columns of A as a1,…,an. Since det(A)=0, the system
has a unique solution and
b=x1a1+⋯+xnan.
In Mj, keep every column except column j fixed and substitute this sum
only into column j. By linearity in that column,
When k=j, the determinant has two equal columns, so that term is zero.
The remaining term is xjdet(A). Hence
det(Mj)=xjdet(A),xj=det(A)det(Mj).
The order of the columns never changes, which is why no additional sign appears.
Why replacing one column isolates one unknown
The visual below follows the determinant logic behind Cramer's rule: replace one
column by the right-hand side vector, use column linearity, and watch repeated
columns force the extra terms to vanish.
For n≥2, the established inverse formula gives a second, compatible reading of the same coordinate formula. Since det(A)=0, we have adj(A)=det(A)A−1. Applying A−1 to Ax=b and then substituting this identity gives
det(A)x=adj(A)b,xj=det(A)∑i=1nCijbi
The numerator is exactly det(Mj): expand Mj down its replaced column j. Deleting that column removes b and leaves the same minor as in A, so the cofactor attached to bi is Cij. Thus the adjoint route and the fixed-column linearity route meet at the same signed sum. For n=1, write A=[a] and b=[b1] with a=0; directly, x1=b1/a.
Substitution gives 5/2−2+3/2=2, 5/2+1/2=3, and
5/2−1−1/2=1, so all three equations agree with b.
The numerical data also provide an independent audit of the signs and of the adjoint route. Multiplying the displayed adjoint by b gives
adj(A)b=15−63
so the adjoint identity predicts x=adj(A)b/det(A), exactly the vector obtained from the three replacement determinants. For example, the first entry is −1(2)+5(3)+2(1)=15; the signs in the cofactor matrix are already included before this multiplication.
Worked example
Solve a 2×2 system with Cramer's rule
Solve
{2x1+x2=5,x1+3x2=7.
Write
A=[2113],b=[57].
First compute
det(A)=2⋅3−1⋅1=5.
Replace the first column by b:
M1=[5713],det(M1)=15−7=8.
Replace the second column by b:
M2=[2157],det(M2)=14−5=9.
So
x1=58,x2=59.
Substitution checks the result: 2(8/5)+9/5=5 and 8/5+3(9/5)=7.
Common mistake
Common mistake
Cramer's rule is not a universal system solver
Cramer's rule requires a square coefficient matrix and a nonzero determinant.
If the system is rectangular or singular, the rule is not available. Even when
it applies, it is usually less efficient than Gaussian elimination for large
systems.
Counterexample mode
Zero replacement determinants do not classify singular systems
Let A=diag(1,0,0), a nonzero singular matrix. With
b=e1=(1,0,0)T, the equations are x1=1, 0=0, and 0=0, so the
solutions are (1,s,t). With b=e2=(0,1,0)T, the second equation is
0=1, so the system is inconsistent.
Write the replacement column triples explicitly. For b=e1,
(M1)=(e1,0,0), (M2)=(e1,e1,0), and (M3)=(e1,0,e1); every
determinant is zero because of a zero column or repeated columns. For b=e2,
(M1)=(e2,0,0), (M2)=(e1,e2,0), and (M3)=(e1,0,e2); every
determinant is zero because each triple has a zero column, and M1 has two
zero columns. Thus all six formal ratios are 0/0 and undefined. Require
det(A)=0 before using Cramer's rule. For a singular system, row-reduce the
augmented matrix and inspect consistency and free variables.
Quick check
Checkpoint
Does transpose change the determinant of a square matrix?
State the theorem directly.
Solution · Answer
No. det(AT)=det(A).
Checkpoint
What column operation leaves the determinant unchanged?
Think of the column analogue of a type-III row operation.
Solution · Answer
Adding a scalar multiple of one distinct source column to another target column
leaves the determinant unchanged.
Checkpoint
When may Cramer's rule be used?
Identify the structural hypotheses on A.
Solution · Answer
When the coefficient matrix is square and invertible, equivalently when its
determinant is nonzero.
Exercises
Checkpoint
Use a column expansion to compute det130040256.
Choose the column with the most zeros.
Solution · Guided solution
Expand along the second column:
det=4(−1)2+21026=4(6)=24.
Checkpoint
For A=[1324], write down adj(A).
Compute the four cofactors first, then transpose the cofactor matrix.
Solution · Guided solution
The cofactors are C11=4, C12=−3, C21=−2, and C22=1. Hence
adj(A)=[4−3−21].
Checkpoint
Use Cramer's rule to find x_1 for the system x1+x2=3, 2x1−x2=0.