Skip to content
Hub Nexus
Linear Algebra

Linear Algebra, Laplace's Expansion

Up for GrabsUpdated 10 min read

Comments and detailsChangesSupport

Example 1.1

In this permutation expansion

\begin{matrix}| \begin{matrix}{t}_{1 , 1} & {t}_{1 , 2} & {t}_{1 , 3} \\ {t}_{2 , 1} & {t}_{2 , 2} & {t}_{2 , 3} \\ {t}_{3 , 1} & {t}_{3 , 2} & {t}_{3 , 3}\end{matrix} | & = \begin{matrix} & {t}_{1 , 1} {t}_{2 , 2} {t}_{3 , 3} | \begin{matrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{1 , 1} {t}_{2 , 3} {t}_{3 , 2} | \begin{matrix}1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{matrix} | \\ & \ + {t}_{1 , 2} {t}_{2 , 1} {t}_{3 , 3} | \begin{matrix}0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{1 , 2} {t}_{2 , 3} {t}_{3 , 1} | \begin{matrix}0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0\end{matrix} | \\ & \ + {t}_{1 , 3} {t}_{2 , 1} {t}_{3 , 2} | \begin{matrix}0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0\end{matrix} | + {t}_{1 , 3} {t}_{2 , 2} {t}_{3 , 1} | \begin{matrix}0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0\end{matrix} |\end{matrix}\end{matrix}

we can, for instance, factor out the entries from the first row

\begin{matrix} & = {t}_{1 , 1} ⋅ [ {t}_{2 , 2} {t}_{3 , 3} | \begin{matrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{2 , 3} {t}_{3 , 2} | \begin{matrix}1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{matrix} | \ ] \\ & \ + {t}_{1 , 2} ⋅ [ {t}_{2 , 1} {t}_{3 , 3} | \begin{matrix}0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{2 , 3} {t}_{3 , 1} | \begin{matrix}0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0\end{matrix} | \ ] \\ & \ + {t}_{1 , 3} ⋅ [ {t}_{2 , 1} {t}_{3 , 2} | \begin{matrix}0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0\end{matrix} | + {t}_{2 , 2} {t}_{3 , 1} | \begin{matrix}0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0\end{matrix} | \ ]\end{matrix}

and swap rows in the permutation matrices to get this.

\begin{matrix} & = {t}_{1 , 1} ⋅ [ {t}_{2 , 2} {t}_{3 , 3} | \begin{matrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{2 , 3} {t}_{3 , 2} | \begin{matrix}1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{matrix} | \ ] \\ & \ − {t}_{1 , 2} ⋅ [ {t}_{2 , 1} {t}_{3 , 3} | \begin{matrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{2 , 3} {t}_{3 , 1} | \begin{matrix}1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{matrix} | \ ] \\ & \ + {t}_{1 , 3} ⋅ [ {t}_{2 , 1} {t}_{3 , 2} | \begin{matrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{matrix} | + {t}_{2 , 2} {t}_{3 , 1} | \begin{matrix}1 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & 1 & 0\end{matrix} | \ ]\end{matrix}

The point of the swapping (one swap to each of the permutation matrices on
the second line and two swaps to each on the third line) is that
the three lines simplify to three terms.

= {t}_{1 , 1} ⋅ | \begin{matrix}{t}_{2 , 2} & {t}_{2 , 3} \\ {t}_{3 , 2} & {t}_{3 , 3}\end{matrix} | − {t}_{1 , 2} ⋅ | \begin{matrix}{t}_{2 , 1} & {t}_{2 , 3} \\ {t}_{3 , 1} & {t}_{3 , 3}\end{matrix} | + {t}_{1 , 3} ⋅ | \begin{matrix}{t}_{2 , 1} & {t}_{2 , 2} \\ {t}_{3 , 1} & {t}_{3 , 2}\end{matrix} |

The formula given in Theorem 1.5, which generalizes this example, is a recurrence — the determinant is expressed as a combination of determinants. This formula isn't circular because, as here, the determinant is expressed in terms of determinants of matrices of smaller size.

Definition 1.2

For any n \ × \ n matrix T, the
( n − 1 ) \ × \ ( n − 1 ) matrix formed by deleting row
i and column j of T is
the i , j minor of T. The
i , j cofactor {T}_{i , j} of T
is ( − 1 {)}^{i + j} times the determinant of the
i , j minor of T.

Example 1.3

The {}1 , 2 cofactor of the matrix from Example 1.1
is the negative of the second {}2 \ × \ 2 determinant.

{T}_{1 , 2} = − 1 ⋅ | \begin{matrix}{t}_{2 , 1} & {t}_{2 , 3} \\ {t}_{3 , 1} & {t}_{3 , 3}\end{matrix} |

Example 1.4

Where

T = ( \begin{matrix}1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9\end{matrix} )

these are the {}1 , 2 and {}2 , 2 cofactors.

{T}_{1 , 2} = ( − 1 {)}^{1 + 2} ⋅ | \begin{matrix}4 & 6 \\ 7 & 9\end{matrix} | = 6 \ {T}_{2 , 2} = ( − 1 {)}^{2 + 2} ⋅ | \begin{matrix}1 & 3 \\ 7 & 9\end{matrix} | = − 12

Theorem 1.5 (Laplace Expansion of Determinants)

Where T is an n \ × \ n matrix,
the determinant can be found by expanding by cofactors on
row i or column j.

\begin{matrix}| T | & = {t}_{i , 1} ⋅ {T}_{i , 1} + {t}_{i , 2} ⋅ {T}_{i , 2} + ⋯ + {t}_{i , n} ⋅ {T}_{i , n} \\ & = {t}_{1 , j} ⋅ {T}_{1 , j} + {t}_{2 , j} ⋅ {T}_{2 , j} + ⋯ + {t}_{n , j} ⋅ {T}_{n , j}\end{matrix}

Proof

Problem 15.

Example 1.6

We can compute the determinant

| T | = | \begin{matrix}1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9\end{matrix} |

by expanding along the first row, as in
Example 1.1.

| T | = 1 ⋅ ( + 1 ) | \begin{matrix}5 & 6 \\ 8 & 9\end{matrix} | + 2 ⋅ ( − 1 ) | \begin{matrix}4 & 6 \\ 7 & 9\end{matrix} | + 3 ⋅ ( + 1 ) | \begin{matrix}4 & 5 \\ 7 & 8\end{matrix} | = − 3 + 12 − 9 = 0

Alternatively, we can expand down the second column.

| T | = 2 ⋅ ( − 1 ) | \begin{matrix}4 & 6 \\ 7 & 9\end{matrix} | + 5 ⋅ ( + 1 ) | \begin{matrix}1 & 3 \\ 7 & 9\end{matrix} | + 8 ⋅ ( − 1 ) | \begin{matrix}1 & 3 \\ 4 & 6\end{matrix} | = 12 − 60 + 48 = 0

Example 1.7

A row or column with many zeroes suggests a Laplace expansion.

| \begin{matrix}1 & 5 & 0 \\ 2 & 1 & 1 \\ 3 & − 1 & 0\end{matrix} | = 0 ⋅ ( + 1 ) | \begin{matrix}2 & 1 \\ 3 & − 1\end{matrix} | + 1 ⋅ ( − 1 ) | \begin{matrix}1 & 5 \\ 3 & − 1\end{matrix} | + 0 ⋅ ( + 1 ) | \begin{matrix}1 & 5 \\ 2 & 1\end{matrix} | = 16

We finish by applying this result to
derive a new formula for the inverse of a matrix.
With Theorem 1.5,
the determinant of an n \ × \ n matrix T
can be calculated by taking linear combinations of entries from a row and
their associated cofactors.

{t}_{i , 1} ⋅ {T}_{i , 1} + {t}_{i , 2} ⋅ {T}_{i , 2} + … + {t}_{i , n} ⋅ {T}_{i , n} = | T | \ ( ∗ )

Recall that a matrix with two identical rows has a zero determinant.
Thus, for any matrix T,
weighing the cofactors by entries from the
"wrong" row — row k with k ≠ i — gives zero

{t}_{i , 1} ⋅ {T}_{k , 1} + {t}_{i , 2} ⋅ {T}_{k , 2} + … + {t}_{i , n} ⋅ {T}_{k , n} = 0 \ ( ∗ ∗ )

because it represents the expansion along the row k of a matrix with
row i equal to row k.
This equation summarizes (∗) and (∗ ∗).

( \begin{matrix}{t}_{1 , 1} & {t}_{1 , 2} & … & {t}_{1 , n} \\ {t}_{2 , 1} & {t}_{2 , 2} & … & {t}_{2 , n} \\ & ⋮ \\ {t}_{n , 1} & {t}_{n , 2} & … & {t}_{n , n}\end{matrix} ) ( \begin{matrix}{T}_{1 , 1} & {T}_{2 , 1} & … & {T}_{n , 1} \\ {T}_{1 , 2} & {T}_{2 , 2} & … & {T}_{n , 2} \\ & ⋮ & & \\ {T}_{1 , n} & {T}_{2 , n} & … & {T}_{n , n}\end{matrix} ) = ( \begin{matrix}| T | & 0 & … & 0 \\ 0 & | T | & … & 0 \\ & ⋮ & & \\ 0 & 0 & … & | T |\end{matrix} )

Note that the order of the subscripts in the matrix of cofactors
is opposite to the order of subscripts in the other matrix; e.g.,
along the first row of the matrix of cofactors
the subscripts are {}1 , 1 then {}2 , 1, etc.

Definition 1.8

The matrix adjoint to the square matrix T is

\text{adj} \ ( T ) = ( \begin{matrix}{T}_{1 , 1} & {T}_{2 , 1} & … & {T}_{n , 1} \\ {T}_{1 , 2} & {T}_{2 , 2} & … & {T}_{n , 2} \\ & ⋮ & & \\ {T}_{1 , n} & {T}_{2 , n} & … & {T}_{n , n}\end{matrix} )

where {T}_{j , i} is the j , i cofactor.

Theorem 1.9

Where T is a square matrix, T ⋅ \text{adj} \ ( T ) = \text{adj} \ ( T ) ⋅ T = | T | ⋅ I.

Proof

Equations (∗) and (∗ ∗).

Example 1.10

If

T = ( \begin{matrix}1 & 0 & 4 \\ 2 & 1 & − 1 \\ 1 & 0 & 1\end{matrix} )

then the adjoint \text{adj} \ ( T ) is

( \begin{matrix}{T}_{1 , 1} & {T}_{2 , 1} & {T}_{3 , 1} \\ {T}_{1 , 2} & {T}_{2 , 2} & {T}_{3 , 2} \\ {T}_{1 , 3} & {T}_{2 , 3} & {T}_{3 , 3}\end{matrix} ) \ \ = \ \ ( \begin{matrix}| \begin{matrix}1 & − 1 \\ 0 & 1\end{matrix} | & − | \begin{matrix}0 & 4 \\ 0 & 1\end{matrix} | & | \begin{matrix}0 & 4 \\ 1 & − 1\end{matrix} | \\ − | \begin{matrix}2 & − 1 \\ 1 & 1\end{matrix} | & | \begin{matrix}1 & 4 \\ 1 & 1\end{matrix} | & − | \begin{matrix}1 & 4 \\ 2 & − 1\end{matrix} | \\ | \begin{matrix}2 & 1 \\ 1 & 0\end{matrix} | & − | \begin{matrix}1 & 0 \\ 1 & 0\end{matrix} | & | \begin{matrix}1 & 0 \\ 2 & 1\end{matrix} |\end{matrix} ) \ \ = \ ( \begin{matrix}1 & 0 & − 4 \\ − 3 & − 3 & 9 \\ − 1 & 0 & 1\end{matrix} )

and taking the product with T gives the diagonal matrix | T | ⋅ I.

( \begin{matrix}1 & 0 & 4 \\ 2 & 1 & − 1 \\ 1 & 0 & 1\end{matrix} ) ( \begin{matrix}1 & 0 & − 4 \\ − 3 & − 3 & 9 \\ − 1 & 0 & 1\end{matrix} ) = ( \begin{matrix}− 3 & 0 & 0 \\ 0 & − 3 & 0 \\ 0 & 0 & − 3\end{matrix} )

Corollary 1.11

If | T | ≠ 0 then {T}^{− 1} = ( 1 / | T | ) ⋅ \text{adj} \ ( T ).

Example 1.12

The inverse of the matrix from Example 1.10
is ( 1 / − 3 ) ⋅ \text{adj} \ ( T ).

{T}^{− 1} = ( \begin{matrix}1 / − 3 & 0 / − 3 & − 4 / − 3 \\ − 3 / − 3 & − 3 / − 3 & 9 / − 3 \\ − 1 / − 3 & 0 / − 3 & 1 / − 3\end{matrix} ) = ( \begin{matrix}− 1 / 3 & 0 & 4 / 3 \\ 1 & 1 & − 3 \\ 1 / 3 & 0 & − 1 / 3\end{matrix} )

The formulas from this section are often used for by-hand
calculation and are sometimes useful with special types of matrices.
However, they are
not the best choice for computation with arbitrary matrices
because they require more arithmetic than, for instance, the
Gauss-Jordan method.

Exercises

This exercise is recommended for all readers.

Problem 1

Find the cofactor.

T = ( \begin{matrix}1 & 0 & 2 \\ − 1 & 1 & 3 \\ 0 & 2 & − 1\end{matrix} )

  • {T}_{2 , 3}
  • {T}_{3 , 2}
  • {T}_{1 , 3}

This exercise is recommended for all readers.

Problem 2

Find the determinant
by expanding

| \begin{matrix}3 & 0 & 1 \\ 1 & 2 & 2 \\ − 1 & 3 & 0\end{matrix} |

  • on the first row
  • on the second row
  • on the third column.

Problem 3

Find the adjoint of the matrix in Example 1.6.

This exercise is recommended for all readers.

Problem 4

Find the matrix adjoint to each.

  • ( \begin{matrix}2 & 1 & 4 \\ − 1 & 0 & 2 \\ 1 & 0 & 1\end{matrix} )
  • ( \begin{matrix}3 & − 1 \\ 2 & 4\end{matrix} )
  • ( \begin{matrix}1 & 1 \\ 5 & 0\end{matrix} )
  • ( \begin{matrix}1 & 4 & 3 \\ − 1 & 0 & 3 \\ 1 & 8 & 9\end{matrix} )

This exercise is recommended for all readers.

Problem 5

Find the inverse of each matrix in the prior question with
Theorem 1.9.

Problem 6

Find the matrix adjoint to this one.

( \begin{matrix}2 & 1 & 0 & 0 \\ 1 & 2 & 1 & 0 \\ 0 & 1 & 2 & 1 \\ 0 & 0 & 1 & 2\end{matrix} )

This exercise is recommended for all readers.

Problem 7

Expand across the first row to derive the formula for the determinant
of a {}2 \ × \ 2 matrix.

This exercise is recommended for all readers.

Problem 8

Expand across the first row to derive the formula for the determinant
of a {}3 \ × \ 3 matrix.

This exercise is recommended for all readers.

Problem 9

  • Give a formula for the adjoint of a {}2 \ × \ 2 matrix.
  • Use it to derive the formula for the inverse.

This exercise is recommended for all readers.

Problem 10

Can we compute a determinant by expanding down the diagonal?

Problem 11

Give a formula for the adjoint of a diagonal matrix.

This exercise is recommended for all readers.

Problem 12

Prove that the transpose of the adjoint is the adjoint of the transpose.

Problem 13

Prove or disprove: \text{adj} \ ( \text{adj} \ ( T ) ) = T.

Problem 14

A square matrix is upper triangular if
each i , j entry is zero in the part above the diagonal,
that is, when i > j.

Must the adjoint of an upper triangular matrix be upper triangular?
Lower triangular?

  • Prove that the inverse of a upper triangular matrix
    is upper triangular, if an inverse exists.

Problem 15

This question requires material from the optional Determinants Exist subsection.
Prove Theorem 1.5
by using the permutation expansion.

Problem 16

Prove that the determinant of a matrix equals the determinant of its
transpose using Laplace's expansion and induction on the size
of the matrix.

? Problem 17

Show that

{F}_{n} = | \begin{matrix}1 & − 1 & 1 & − 1 & 1 & − 1 & … \\ 1 & 1 & 0 & 1 & 0 & 1 & … \\ 0 & 1 & 1 & 0 & 1 & 0 & … \\ 0 & 0 & 1 & 1 & 0 & 1 & … \\ . & . & . & . & . & . & …\end{matrix} |

where {F}_{n} is the n-th term of
${}1 , 1 , 2 , 3 , 5 , … , x , y , x + y , … $, the Fibonacci sequence,
and the determinant is of order n − 1.
(Walter & Tytun 1949)

Solutions

References

  • Walter, Dan (proposer); Tytun, Alex (solver) (1949), "Elementary problem 834", American Mathematical Monthly, 56 (6), American Mathematical Society: 409.

Where this page came from

This page was imported from Wikibooks. From “Linear Algebra” on Wikibooks, by its contributors, under CC BY-SA 4.0. Changed here: set as a page; navigation and edit links left out; each image under its own licence, credited in its caption.

Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.