Determinants (2x2 and 3x3)

Master determinants: definition, calculation methods, properties, and applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 2×2 determinant calculation
Exercise 1
Calculate the determinant of matrix:
\(A = \begin{bmatrix} 3 & 5 \\ 2 & 7 \end{bmatrix}\)
Definition:

Determinant: A scalar value that can be computed from the elements of a square matrix and encodes certain properties of the linear transformation described by the matrix

2×2 determinant method:
  1. For a 2×2 matrix \(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\)
  2. Calculate: \(ad - bc\)
  3. Multiply diagonal elements and subtract the product of off-diagonal elements
Matrix A
\(\begin{bmatrix} 3 & 5 \\ 2 & 7 \end{bmatrix}\)
Formula
\(ad - bc\)
Result
\(11\)
Step 1: Identify matrix elements

For matrix \(A = \begin{bmatrix} 3 & 5 \\ 2 & 7 \end{bmatrix}\):

\(a = 3\), \(b = 5\), \(c = 2\), \(d = 7\)

Step 2: Apply the 2×2 determinant formula

\(\det(A) = ad - bc\)

\(\det(A) = (3)(7) - (5)(2)\)

Step 3: Calculate the products

\((3)(7) = 21\)

\((5)(2) = 10\)

Step 4: Subtract to find the determinant

\(\det(A) = 21 - 10 = 11\)

\(\det(A) = 11\)
Final answer:

The determinant of matrix A is 11

Applied rules:

• 2×2 determinant formula: \(\det\begin{bmatrix} a & b \\ c & d \end{bmatrix} = ad - bc\)

• Diagonal product: Multiply elements on the main diagonal (top-left to bottom-right)

• Off-diagonal product: Multiply elements on the anti-diagonal (top-right to bottom-left)

• Subtraction: Subtract the off-diagonal product from the diagonal product

2 3×3 determinant calculation
Exercise 2
Find the determinant of matrix:
\(B = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\)
Definition:

3×3 determinant: Computed using cofactor expansion along any row or column, typically the first row

Matrix B
\(\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\)
Expansion
\(1\cdot\det\begin{bmatrix}5&6\\8&9\end{bmatrix} - 2\cdot\det\begin{bmatrix}4&6\\7&9\end{bmatrix} + 3\cdot\det\begin{bmatrix}4&5\\7&8\end{bmatrix}\)
Result
\(0\)
Step 1: Apply cofactor expansion along first row

\(\det(B) = a_{11}C_{11} + a_{12}C_{12} + a_{13}C_{13}\)

Where \(C_{ij} = (-1)^{i+j}M_{ij}\) and \(M_{ij}\) is the minor (determinant of 2×2 submatrix)

Step 2: Calculate each cofactor

\(C_{11} = (-1)^{1+1}\det\begin{bmatrix} 5 & 6 \\ 8 & 9 \end{bmatrix} = (1)[(5)(9) - (6)(8)] = 45 - 48 = -3\)

\(C_{12} = (-1)^{1+2}\det\begin{bmatrix} 4 & 6 \\ 7 & 9 \end{bmatrix} = (-1)[(4)(9) - (6)(7)] = (-1)[36 - 42] = (-1)(-6) = 6\)

\(C_{13} = (-1)^{1+3}\det\begin{bmatrix} 4 & 5 \\ 7 & 8 \end{bmatrix} = (1)[(4)(8) - (5)(7)] = 32 - 35 = -3\)

Step 3: Calculate the determinant

\(\det(B) = (1)(-3) + (2)(6) + (3)(-3)\)

\(\det(B) = -3 + 12 - 9 = 0\)

\(\det(B) = 0\)
Final answer:

The determinant of matrix B is 0

Applied rules:

• Cofactor expansion: \(\det(A) = \sum a_{ij}C_{ij}\) for any row or column

• Sign pattern: \((-1)^{i+j}\) alternates signs in checkerboard pattern

• Minor calculation: Remove row i and column j to get submatrix

• Singular matrix: Determinant of 0 means matrix is not invertible

3 Determinant properties
Exercise 3
Given \(\det(C) = 4\) and \(\det(D) = -2\), find \(\det(3C)\) and \(\det(CD)\) where C and D are 2×2 matrices
Definition:

Determinant properties: Rules governing how determinants behave under scalar multiplication and matrix multiplication

Scalar Property
\(\det(kA) = k^n\det(A)\) for \(n \times n\) matrix
Multiplication Property
\(\det(AB) = \det(A)\det(B)\)
Results
\(\det(3C) = 36\), \(\det(CD) = -8\)
Step 1: Calculate \(\det(3C)\)

For a 2×2 matrix and scalar k, \(\det(kA) = k^2\det(A)\)

\(\det(3C) = 3^2 \cdot \det(C) = 9 \cdot 4 = 36\)

Step 2: Calculate \(\det(CD)\)

For any two square matrices of the same size: \(\det(CD) = \det(C)\det(D)\)

\(\det(CD) = (4)(-2) = -8\)

Step 3: Verify the properties

• Scalar multiplication: Multiplies determinant by \(k^n\) where n is matrix dimension

• Matrix multiplication: Determinant of product equals product of determinants

\(\det(3C) = 36\), \(\det(CD) = -8\)
Final answer:

\(\det(3C) = 36\) and \(\det(CD) = -8\)

Applied rules:

• Scalar property: \(\det(kA) = k^n\det(A)\) where n is the dimension

• Multiplication property: \(\det(AB) = \det(A)\det(B)\)

• Dimension matters: For 2×2 matrices, scalar multiplication raises to power 2

Determinant Properties and Calculation Methods
\(\det(A) = \sum_{j=1}^{n} a_{ij}C_{ij}, \quad \det(kA) = k^n\det(A), \quad \det(AB) = \det(A)\det(B)\)
Determinant Formulas and Properties
2×2 Formula
\( \det\begin{bmatrix} a & b \\ c & d \end{bmatrix} = ad - bc \)
Direct calculation method
3×3 Expansion
\( \sum a_{ij}C_{ij} \)
Cofactor expansion
Scalar Property
\( \det(kA) = k^n\det(A) \)
Dimension scaling
Key definitions:

Determinant: A scalar value computed from a square matrix that provides information about the matrix's properties, including invertibility

Cofactor: The signed minor of an element, calculated as \(C_{ij} = (-1)^{i+j}M_{ij}\) where \(M_{ij}\) is the determinant of the submatrix formed by removing row i and column j

Minor: The determinant of a submatrix obtained by deleting one row and one column

Singular matrix: A matrix with determinant zero, which is not invertible

Non-singular matrix: A matrix with non-zero determinant, which is invertible

Determinant calculation methodology:
  1. Identify matrix size: Use appropriate formula for 2×2 or 3×3 matrices
  2. For 2×2: Apply the direct formula \(ad - bc\)
  3. For 3×3: Use cofactor expansion along any row or column
  4. Calculate minors: Find determinants of 2×2 submatrices
  5. Apply signs: Use the checkerboard pattern of signs \((-1)^{i+j}\)
Tip 1: For 3×3 determinants, choose the row or column with the most zeros to minimize calculations.
Tip 2: The determinant of a triangular matrix equals the product of diagonal elements.
Tip 3: A matrix is invertible if and only if its determinant is non-zero.
Tip 4: The determinant changes sign when two rows or columns are swapped.
Solution: Exercises 4 to 5
4 Determinant and matrix inversion
Exercise 4
Find the determinant of \(E = \begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix}\) and use it to find \(E^{-1}\) if it exists
Definition:

Matrix inverse: Exists only when the determinant is non-zero, calculated using the adjugate matrix divided by the determinant

Matrix E
\(\begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix}\)
Determinant
\(11\)
Inverse
\(\frac{1}{11}\begin{bmatrix} 4 & 1 \\ -3 & 2 \end{bmatrix}\)
Step 1: Calculate the determinant

\(\det(E) = (2)(4) - (-1)(3) = 8 - (-3) = 8 + 3 = 11\)

Since \(\det(E) \neq 0\), the inverse exists.

Step 2: Find the matrix of cofactors

For a 2×2 matrix \(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\), the cofactor matrix is \(\begin{bmatrix} d & -c \\ -b & a \end{bmatrix}\)

Cofactor matrix: \(\begin{bmatrix} 4 & -3 \\ -(-1) & 2 \end{bmatrix} = \begin{bmatrix} 4 & -3 \\ 1 & 2 \end{bmatrix}\)

Step 3: Transpose the cofactor matrix (adjugate)

Adjugate: \(\begin{bmatrix} 4 & 1 \\ -3 & 2 \end{bmatrix}\)

Step 4: Calculate the inverse

\(E^{-1} = \frac{1}{\det(E)} \cdot \text{adj}(E) = \frac{1}{11}\begin{bmatrix} 4 & 1 \\ -3 & 2 \end{bmatrix}\)

\(\det(E) = 11\), \(E^{-1} = \frac{1}{11}\begin{bmatrix} 4 & 1 \\ -3 & 2 \end{bmatrix}\)
Final answer:

The determinant of matrix E is 11, and its inverse is \(\frac{1}{11}\begin{bmatrix} 4 & 1 \\ -3 & 2 \end{bmatrix}\)

Applied rules:

• Invertibility criterion: A matrix is invertible if and only if its determinant is non-zero

• 2×2 inverse formula: \(A^{-1} = \frac{1}{\det(A)}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\)

• Cofactor method: Use the adjugate matrix divided by the determinant

5 Determinant of special matrices
Exercise 5
Find the determinants of the following matrices:
Identity: \(I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\), Zero: \(O = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\), Diagonal: \(D = \begin{bmatrix} 3 & 0 \\ 0 & 5 \end{bmatrix}\)
Definition:

Special matrices: Matrices with specific structures that have predictable determinant values

Identity Matrix
\(\det(I) = 1\)
Zero Matrix
\(\det(O) = 0\)
Diagonal Matrix
\(\det(D) = 15\)
Step 1: Calculate \(\det(I)\)

For the 2×2 identity matrix: \(\det(I) = (1)(1) - (0)(0) = 1 - 0 = 1\)

The determinant of any identity matrix is 1.

Step 2: Calculate \(\det(O)\)

For the 2×2 zero matrix: \(\det(O) = (0)(0) - (0)(0) = 0 - 0 = 0\)

The determinant of any zero matrix is 0.

Step 3: Calculate \(\det(D)\)

For a diagonal matrix, the determinant is the product of diagonal elements:

\(\det(D) = (3)(5) = 15\)

Step 4: Generalize the patterns

• Identity matrix: \(\det(I_n) = 1\) for any dimension n

• Zero matrix: \(\det(O_n) = 0\) for any dimension n

• Diagonal matrix: \(\det(\text{diag}(d_1, \ldots, d_n)) = d_1 \cdot d_2 \cdots d_n\)

\(\det(I) = 1\), \(\det(O) = 0\), \(\det(D) = 15\)
Final answer:

\(\det(I) = 1\), \(\det(O) = 0\), \(\det(D) = 15\)

Applied rules:

• Identity property: Determinant of identity matrix is always 1

• Zero matrix property: Determinant of zero matrix is always 0

• Diagonal matrix property: Determinant equals product of diagonal elements

Comprehensive Guide: Determinants
\(\det(A) = \sum_{\sigma \in S_n} \text{sgn}(\sigma) \prod_{i=1}^{n} a_{i,\sigma(i)}, \quad \det(A^{-1}) = \frac{1}{\det(A)}\)
Advanced Determinant Definition
Key definitions:

Determinant: A function from the set of square matrices to the real numbers that describes the scaling factor of the linear transformation represented by the matrix

Geometric interpretation: For 2×2 matrices, the absolute value of the determinant represents the area of the parallelogram formed by the row or column vectors

Algebraic interpretation: The determinant provides information about matrix invertibility and linear independence of vectors

Determinant calculation methods:
  1. Direct calculation: Use specific formulas for small matrices (2×2, 3×3)
  2. Cofactor expansion: Expand along any row or column using minors and cofactors
  3. Row reduction: Use elementary row operations to create zeros and simplify calculation
  4. Special cases: Apply properties for triangular, diagonal, or identity matrices
Tip 1: For 3×3 matrices, use the Rule of Sarrus as an alternative to cofactor expansion.
Tip 2: Determinants are unchanged by transposition: \(\det(A) = \det(A^T)\).
Tip 3: The determinant of a product equals the product of determinants: \(\det(ABC) = \det(A)\det(B)\det(C)\).
Tip 4: Swapping two rows or columns changes the sign of the determinant.
Common errors: Miscounting signs in cofactor expansion, arithmetic mistakes, forgetting to check invertibility conditions.
Exam preparation: Practice with different matrix types, memorize special case properties, understand geometric interpretations.
Important properties and applications:

• Linearity: Determinants are linear in each row and column

• Zero row/column: If any row or column is zero, the determinant is zero

• Proportionality: If two rows or columns are proportional, the determinant is zero

• Invertibility: A matrix is invertible if and only if its determinant is non-zero

Visualization: Determinant Properties and Patterns
Understanding Determinant Behavior
Visualizing how determinants change with matrix properties:
1. Determinant vs matrix scaling
2. Effect of row operations on determinant
3. Special matrix determinants
4. Geometric interpretation

Analysis: The visualization shows how different matrix operations affect the determinant value.

  • Scalar multiplication scales determinant by power of dimension
  • Row swaps change sign of determinant
  • Adding multiples of rows doesn't change determinant
  • Identity matrix has determinant of 1

Questions & Answers

Question: Why is the determinant zero when two rows or columns are identical?

Answer: When two rows (or columns) are identical, the determinant is zero due to the alternating property of determinants. If you swap two identical rows, the determinant should change sign, but since the matrix remains unchanged, we have:

If \(A\) has identical rows and \(B\) is obtained by swapping those rows, then \(A = B\), so \(\det(A) = \det(B)\).

But swapping rows changes the sign: \(\det(B) = -\det(A)\).

Therefore: \(\det(A) = -\det(A)\), which means \(2\det(A) = 0\), so \(\det(A) = 0\).

Geometrically, identical rows mean the vectors are linearly dependent, so they don't span a full-dimensional space, resulting in zero volume/area.

Question: What's the difference between a matrix having determinant zero and having all elements zero?

Answer: These are related but distinct concepts:

  • Zero matrix: Every element is zero (e.g., \(\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}\)). Its determinant is definitely zero.
  • Determinant zero: The determinant equals zero, but the matrix may have non-zero elements (e.g., \(\begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}\)).

A zero matrix always has determinant zero, but a matrix with determinant zero doesn't have to be a zero matrix. Any matrix with linearly dependent rows or columns will have determinant zero.

Question: How do determinants relate to solving systems of linear equations?

Answer: Determinants play a crucial role in solving linear systems:

Cramer's Rule: For a system \(Ax = b\) where A is an n×n matrix, if \(\det(A) \neq 0\), then the system has a unique solution given by \(x_i = \frac{\det(A_i)}{\det(A)}\), where \(A_i\) is A with column i replaced by b.

Existence of solution: If \(\det(A) \neq 0\), the system has a unique solution. If \(\det(A) = 0\), the system either has no solution or infinitely many solutions.

Matrix inversion: Determinants determine whether a matrix has an inverse, which is essential for solving matrix equations.