Solved Exercises on Properties of Determinants

Master determinant properties: row operations, cofactor expansion, and determinant calculations through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Row Swap Property
Exercise 1
Verify the row swap property: swapping two rows changes the determinant sign. For A = \(\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\), compare det(A) and det(B) where B is A with rows swapped.
Definition:

Row swap property: Swapping two rows of a matrix multiplies the determinant by -1

Method:
  1. Calculate det(A) using the 2×2 formula
  2. Create matrix B by swapping rows of A
  3. Calculate det(B) and compare to -det(A)
Original matrix
A = \(\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\)
After row swap
B = \(\begin{bmatrix} 3 & 4 \\ 1 & 2 \end{bmatrix}\)
Step 1: Calculate det(A)

A = \(\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}\)

det(A) = (1)(4) - (2)(3) = 4 - 6 = -2

Step 2: Create matrix B by swapping rows

B = \(\begin{bmatrix} 3 & 4 \\ 1 & 2 \end{bmatrix}\) (rows 1 and 2 of A swapped)

Step 3: Calculate det(B)

det(B) = (3)(2) - (4)(1) = 6 - 4 = 2

Step 4: Verify the property

det(B) = 2 = -(-2) = -det(A)

This confirms that swapping two rows changes the determinant sign ✓

det(A) = -2, det(B) = 2
Final answer:

Swapping rows changes determinant sign: det(B) = -det(A)

Applied rules:

• Row swap property: Swapping two rows multiplies determinant by -1

• 2×2 determinant: ad - bc formula

• Verification: Direct computation confirms theoretical property

2 Scalar Multiplication Property
Exercise 2
Verify the scalar multiplication property: multiplying a row by k multiplies the determinant by k. For A = \(\begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\), compare det(A) and det(C) where C is A with first row multiplied by 3.
Definition:

Scalar multiplication property: Multiplying any row or column by a scalar k multiplies the determinant by k

Original matrix
A = \(\begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\)
After scaling row
C = \(\begin{bmatrix} 6 & 9 \\ 1 & 4 \end{bmatrix}\)
Step 1: Calculate det(A)

A = \(\begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\)

det(A) = (2)(4) - (3)(1) = 8 - 3 = 5

Step 2: Create matrix C by multiplying first row by 3

C = \(\begin{bmatrix} 3(2) & 3(3) \\ 1 & 4 \end{bmatrix} = \begin{bmatrix} 6 & 9 \\ 1 & 4 \end{bmatrix}\)

Step 3: Calculate det(C)

det(C) = (6)(4) - (9)(1) = 24 - 9 = 15

Step 4: Verify the property

det(C) = 15 = 3 × 5 = 3 × det(A)

This confirms that multiplying a row by k multiplies the determinant by k ✓

Step 5: Generalize the property

For an n×n matrix, multiplying a single row by k multiplies the determinant by k

For example, multiplying all rows by k multiplies determinant by k^n

det(A) = 5, det(C) = 15 = 3 × det(A)
Final answer:

Multiplying a row by k multiplies determinant by k: det(C) = k·det(A)

Applied rules:

• Scalar multiplication property: det(kRᵢ) = k·det(Rᵢ)

• Row operation effect: Single row scaling affects determinant linearly

• Verification: Direct computation confirms theoretical property

3 Row Addition Property
Exercise 3
Verify the row addition property: adding a multiple of one row to another doesn't change the determinant. For A = \(\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 2 & 1 & 0 \end{bmatrix}\), compare det(A) and det(D) where D is A with 2 times row 2 added to row 3.
Definition:

Row addition property: Adding a multiple of one row to another row doesn't change the determinant

Original matrix
A = \(\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 2 & 1 & 0 \end{bmatrix}\)
After row operation
D = \(\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 2 & 3 & 8 \end{bmatrix}\)
Step 1: Calculate det(A) using cofactor expansion along first row

det(A) = 1·det\(\begin{bmatrix} 1 & 4 \\ 1 & 0 \end{bmatrix}\) - 2·det\(\begin{bmatrix} 0 & 4 \\ 2 & 0 \end{bmatrix}\) + 3·det\(\begin{bmatrix} 0 & 1 \\ 2 & 1 \end{bmatrix}\)

= 1[(1)(0)-(4)(1)] - 2[(0)(0)-(4)(2)] + 3[(0)(1)-(1)(2)]

= 1[-4] - 2[-8] + 3[-2]

= -4 + 16 - 6 = 6

Step 2: Create matrix D by adding 2 times row 2 to row 3

New row 3 = old row 3 + 2 × row 2

[2, 1, 0] + 2[0, 1, 4] = [2, 1, 0] + [0, 2, 8] = [2, 3, 8]

So D = \(\begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 2 & 3 & 8 \end{bmatrix}\)

Step 3: Calculate det(D) using cofactor expansion along first row

det(D) = 1·det\(\begin{bmatrix} 1 & 4 \\ 3 & 8 \end{bmatrix}\) - 2·det\(\begin{bmatrix} 0 & 4 \\ 2 & 8 \end{bmatrix}\) + 3·det\(\begin{bmatrix} 0 & 1 \\ 2 & 3 \end{bmatrix}\)

= 1[(1)(8)-(4)(3)] - 2[(0)(8)-(4)(2)] + 3[(0)(3)-(1)(2)]

= 1[8-12] - 2[0-8] + 3[0-2]

= 1[-4] - 2[-8] + 3[-2]

= -4 + 16 - 6 = 6

Step 4: Verify the property

det(D) = 6 = det(A)

This confirms that adding a multiple of one row to another doesn't change the determinant ✓

Step 5: Explain the geometric interpretation

Adding a multiple of one row to another represents a shear transformation

Shear transformations preserve volume, hence the determinant remains unchanged

det(A) = det(D) = 6
Final answer:

Adding a multiple of one row to another doesn't change the determinant

Applied rules:

• Row addition property: Rᵢ + kRⱼ → det unchanged

• Shear transformation: Preserves volume

• Verification: Direct computation confirms theoretical property

Properties of Determinants
\text{det}(A) = \sum_{j=1}^{n} (-1)^{i+j} a_{ij} M_{ij}
Cofactor Expansion
Property
det(kA) = k^n det(A)
Scalar Multiplication
Property
det(AB) = det(A)det(B)
Product Property
Property
det(A^{-1}) = 1/\text{det}(A)
Inverse Property
Row swap: Swapping two rows multiplies determinant by -1
Row addition: Adding multiple of one row to another leaves determinant unchanged
Zero row: If any row is all zeros, determinant is zero
Solution: Exercises 4 to 5
4 Equal Rows Property
Exercise 4
Verify that if two rows of a matrix are equal, the determinant is zero. For A = \(\begin{bmatrix} 1 & 2 & 3 \\ 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}\), calculate det(A) and explain why it's zero.
Definition:

Equal rows property: If two rows of a matrix are identical, the determinant is zero

Matrix with equal rows
A = \(\begin{bmatrix} 1 & 2 & 3 \\ 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}\)
Calculate
det(A) = 0
Step 1: Calculate det(A) using cofactor expansion along first row

det(A) = 1·det\(\begin{bmatrix} 2 & 3 \\ 5 & 6 \end{bmatrix}\) - 2·det\(\begin{bmatrix} 1 & 3 \\ 4 & 6 \end{bmatrix}\) + 3·det\(\begin{bmatrix} 1 & 2 \\ 4 & 5 \end{bmatrix}\)

= 1[(2)(6)-(3)(5)] - 2[(1)(6)-(3)(4)] + 3[(1)(5)-(2)(4)]

= 1[12-15] - 2[6-12] + 3[5-8]

= 1[-3] - 2[-6] + 3[-3]

= -3 + 12 - 9 = 0

Step 2: Verify using row operation

Subtract row 1 from row 2: R₂ ← R₂ - R₁

New row 2: [1, 2, 3] - [1, 2, 3] = [0, 0, 0]

This creates a row of zeros, so determinant is 0

Step 3: Explain the theoretical reason

If two rows are identical, swapping them should change the sign of the determinant

But the matrix remains the same after swapping identical rows

So det(A) = -det(A), which implies det(A) = 0

Step 4: Relate to linear dependence

When two rows are identical, the rows are linearly dependent

Linearly dependent rows mean the matrix is singular

Singular matrices have determinant zero

Step 5: Geometric interpretation

Identical rows mean the transformation "collapses" a dimension

This reduces the volume to zero, so determinant is zero

det(A) = 0
Final answer:

The determinant is zero because two rows are identical

Applied rules:

• Equal rows property: Identical rows ⇒ det = 0

• Linear dependence: Identical rows are linearly dependent

• Singular matrix: Linearly dependent rows ⇒ det = 0

5 Triangular Matrix Property
Exercise 5
Calculate the determinant of the lower triangular matrix L = \(\begin{bmatrix} 2 & 0 & 0 \\ 1 & 3 & 0 \\ 4 & 5 & -1 \end{bmatrix}\) and verify that it equals the product of diagonal elements.
Definition:

Triangular matrix property: For triangular matrices (upper or lower), determinant equals product of diagonal elements

Lower triangular matrix
L = \(\begin{bmatrix} 2 & 0 & 0 \\ 1 & 3 & 0 \\ 4 & 5 & -1 \end{bmatrix}\)
Diagonal elements
2, 3, -1
Product
2 × 3 × (-1) = -6
Step 1: Calculate det(L) using cofactor expansion along first row

det(L) = 2·det\(\begin{bmatrix} 3 & 0 \\ 5 & -1 \end{bmatrix}\) - 0·det\(\begin{bmatrix} 1 & 0 \\ 4 & -1 \end{bmatrix}\) + 0·det\(\begin{bmatrix} 1 & 3 \\ 4 & 5 \end{bmatrix}\)

= 2·[(3)(-1)-(0)(5)] - 0 + 0

= 2·[-3] = -6

Step 2: Verify using the triangular property

For triangular matrix L, det(L) = product of diagonal elements

det(L) = (2)(3)(-1) = -6

Step 3: Explain why the property holds

When expanding along the first row, only the first element contributes

This creates a recursive pattern where each subsequent determinant calculation only involves diagonal elements

Eventually, we get the product of all diagonal elements

Step 4: Generalize to upper triangular matrices

The same property holds for upper triangular matrices

For any triangular matrix: det(A) = ∏ aᵢᵢ

Step 5: Relate to computational efficiency

This property makes triangular matrices computationally efficient

Many matrix factorization methods aim to create triangular matrices for easy determinant calculation

det(L) = -6 = (2)(3)(-1)
Final answer:

The determinant equals the product of diagonal elements: -6

Applied rules:

• Triangular property: det(A) = ∏ diagonal elements

• Computational efficiency: Triangular matrices simplify calculations

• Recursive structure: Submatrices inherit triangular form

Properties of Determinants: Comprehensive Guide
\text{det}(A) = \sum_{\sigma \in S_n} \text{sgn}(\sigma) \prod_{i=1}^{n} a_{i,\sigma(i)}
Leibniz Formula
Key definitions:

Determinant: Scalar value that characterizes properties of a square matrix

Elementary row operations: Row swaps, scalar multiplication of rows, and row additions

Triangular matrix: Matrix with zeros above or below the main diagonal

Complete methodology:
  1. Identify matrix type: Triangular, symmetric, etc.
  2. Apply appropriate property: Use row operations to simplify
  3. Calculate determinant: Use cofactor expansion or special formulas
  4. Verify result: Use determinant properties
Tip 1: Use row operations to create zeros before cofactor expansion.
Tip 2: Look for triangular matrices - they're easy to compute.
Tip 3: Remember: det(A) = det(Aᵀ), so column operations work too.
Tip 4: If any row/column is zero, the determinant is zero.
Common errors: Forgetting sign changes in cofactor expansion, misapplying row operation effects.
Exam preparation: Master row operation effects, recognize special matrix forms.
Properties to know by heart:

• Row swap: Changes determinant sign

• Row addition: No change to determinant

• Row scaling: Multiplies determinant by scalar

• Triangular matrices: Product of diagonal elements

• Equal rows: Determinant is zero

• Zero row: Determinant is zero

• Identity matrix: Determinant is 1

Determinant Properties Visualization
Exercise 6: Property Analysis
Visual analysis of determinant properties:
• Effect of row operations
• Volume scaling interpretation
• Relationship to linear independence

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

  • Row operations have predictable effects on determinant
  • Linear dependence results in zero determinant
  • Volume scaling is reflected in absolute value

Questions & Answers

Question: Why does swapping two rows change the determinant's sign? What's the intuition behind this?

Answer: The sign change upon row swapping has a beautiful geometric interpretation:

Geometric intuition:

  • For a 2×2 matrix, the determinant represents the signed area of the parallelogram formed by row vectors
  • Swapping rows changes the orientation of the parallelogram, flipping it inside-out
  • This changes the sign of the area (though the absolute value remains the same)

Algebraic explanation:

From the Leibniz formula, swapping two rows corresponds to multiplying the permutation by a transposition, which changes the sign of the permutation. Since the determinant is the sum of terms weighted by the sign of permutations, the overall sign changes.

Practical consequence:

This property is crucial for understanding orientation in higher dimensions and plays a key role in integration theory and physics applications.

Question: How do I efficiently calculate determinants of large matrices using these properties?

Answer: Use row operations strategically to create zeros and simplify the matrix:

Efficient calculation strategy:

  1. Create zeros: Use row addition to create zeros in a row or column
  2. Look for triangular form: Aim for upper or lower triangular matrix
  3. Choose optimal expansion: Expand along row/column with most zeros
  4. Track operations: Keep track of sign changes and scalar factors

Example approach:

For a 4×4 matrix, use row operations to create zeros in the first column (except for one element), then expand along that column. This reduces the problem to calculating one 3×3 determinant instead of four.

The key is to reduce the matrix to a form where cofactor expansion is minimal, leveraging the properties that row addition doesn't change the determinant.

Question: What are the practical applications of determinant properties?

Answer: Determinant properties have numerous practical applications:

  • Computer Graphics: Determining if transformations preserve orientation
  • Physics: Calculating Jacobians for coordinate transformations in integrals
  • Engineering: Stability analysis of systems using characteristic polynomials
  • Economics: Input-output models and optimization problems
  • Statistics: Multivariate distributions require determinant calculations
  • Cryptography: Some encryption schemes rely on determinant properties

Specific examples:

In robotics, the Jacobian determinant helps determine singular configurations where the robot loses degrees of freedom.

In machine learning, determinants appear in Gaussian processes and multivariate probability distributions.

The row operation properties are especially important in numerical linear algebra, where computers use these properties to efficiently compute determinants of large matrices.