Question
Question: How do I calculate the determinant of a \(4 \times 4\) matrix?...
How do I calculate the determinant of a 4×4 matrix?
Solution
The determinant of a square matrix A is the integer obtained through a range of methods using the elements of the matrix. Only square matrices have a determinant, for non-square ones it’s not defined. In this question, we have 4×4 matrix. And here we have non-zero entries, so it doesn’t matter what row or column to pick to perform so-called Laplace expansion. The general formula for calculating determinants which work for determinants of any size:
Δ=i,j=1∑n(−1)i+jaijMij
Complete step by step solution:
Let us take a 4×4matrix.
A = \left( {\begin{array}{*{20}{c}}
{a11}&{a12}&{a13}&{a14} \\\
{a21}&{a22}&{a23}&{a24} \\\
{a31}&{a32}&{a33}&{a34} \\\
{a41}&{a42}&{a43}&{a44}
\end{array}} \right)
Let us apply the formula.
Δ=i,j=1∑n(−1)i+jaijMij
Here, 4×4matrix is given. So, the value of n is equal to 4.
For j=1:
The index i is changing from 1 to 4 and j is equal to 1. Put the values into the above equation.
Δ=i,j=1∑4(−1)i+jai1Mi1
That is equal to,
Δ=(−1)1+1a11M11+(−1)2+1a21M21+(−1)3+1a31M31+(−1)4+1a41M41
Now, we already know that if the base is negative and the exponent is odd then the answer is negative and if the base is negative and the exponent is even then the answer is positive.
So,
Δ=(1)a11M11+(−1)a21M21+(1)a31M31+(−1)a41M41
That is equal to,
Δ=a11M11−a21M21+a31M31−a41M41 ...(1)
To find the value of Δ we need to calculate minors M11, M21, M31, M41. These are determinants of order 3×3:
The value of M11 is:
{M_{11}} = \left| {\begin{array}{*{20}{c}}
{{a_{22}}}&{{a_{23}}}&{{a_{24}}} \\\
{{a_{32}}}&{{a_{33}}}&{{a_{34}}} \\\
{{a_{42}}}&{{a_{43}}}&{{a_{44}}}
\end{array}} \right|
M11=a22(a33a44−a34a43)−a23(a32a44−a34a42)+a24(a32a43−a42a33)
The value of M21 is:
{M_{21}} = \left| {\begin{array}{*{20}{c}}
{{a_{12}}}&{{a_{13}}}&{{a_{14}}} \\\
{{a_{32}}}&{{a_{33}}}&{{a_{34}}} \\\
{{a_{42}}}&{{a_{43}}}&{{a_{44}}}
\end{array}} \right|
M21=a12(a33a44−a34a43)−a13(a31a44−a34a41)+a14(a32a43−a42a33)
The value of M31 is:
{M_{31}} = \left| {\begin{array}{*{20}{c}}
{{a_{12}}}&{{a_{13}}}&{{a_{14}}} \\\
{{a_{22}}}&{{a_{23}}}&{{a_{24}}} \\\
{{a_{42}}}&{{a_{43}}}&{{a_{44}}}
\end{array}} \right|
So,
M31=a12(a23a44−a24a42)−a13(a22a44−a24a42)+a14(a22a43−a23a42)
The value of M41 is:
{M_{41}} = \left| {\begin{array}{*{20}{c}}
{{a_{12}}}&{{a_{13}}}&{{a_{14}}} \\\
{{a_{22}}}&{{a_{23}}}&{{a_{24}}} \\\
{{a_{32}}}&{{a_{33}}}&{{a_{34}}}
\end{array}} \right|
So,
M41=a12(a23a34−a32a24)−a13(a22a34−a32a24)+a14(a22a33−a23a32)
Substitute all the values in equation (1). And calculate the value of the determinant.
Note:
To solve this type of question, first of all, make sure that we are dealing with a square matrix i.e. the number of rows and the number of columns is the same. If it is a square matrix then we can solve the question by applying the general formula for calculating determinants as below.
Δ=i,j=1∑4(−1)i+jai1Mi1