6. Systems, Sequences and Probability

Determinants

Compute determinants for 2x2 and 3x3 matrices and use properties to determine invertibility and solve linear systems.

Determinants

Hey students! šŸ‘‹ Ready to dive into one of the coolest tools in linear algebra? Today we're exploring determinants - a special number that tells us incredible things about matrices! By the end of this lesson, you'll know how to calculate determinants for 2Ɨ2 and 3Ɨ3 matrices, understand what they reveal about matrix invertibility, and see how they help solve linear systems. Think of determinants as a matrix's "fingerprint" that reveals its hidden secrets! šŸ•µļø

What Are Determinants and Why Do They Matter?

A determinant is a single number calculated from the elements of a square matrix that provides crucial information about the matrix's properties. Imagine you're a detective šŸ”, and the determinant is your key piece of evidence that tells you whether a matrix is "solvable" or not!

The determinant has several amazing properties:

  • If the determinant equals zero, the matrix is not invertible (singular)
  • If the determinant is non-zero, the matrix is invertible
  • The determinant helps us solve systems of linear equations
  • It represents the scaling factor of linear transformations

Think of it this way, students: if you have a system of equations representing intersecting lines, the determinant tells you whether those lines actually intersect at a unique point (non-zero determinant) or are parallel and never meet (zero determinant)! šŸ“

Computing 2Ɨ2 Determinants

Let's start with 2Ɨ2 matrices since they're the foundation for understanding larger determinants. For a 2Ɨ2 matrix:

$$A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}$$

The determinant is calculated using this simple formula:

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

Here's how it works, students: you multiply the elements on the main diagonal (top-left to bottom-right), then subtract the product of the elements on the anti-diagonal (top-right to bottom-left). It's like drawing an "X" through your matrix! āœ–ļø

Example 1: Let's find the determinant of $\begin{bmatrix} 3 & 2 \\ 1 & 4 \end{bmatrix}$

$$\det(A) = (3)(4) - (2)(1) = 12 - 2 = 10$$

Since the determinant is 10 (non-zero), this matrix is invertible!

Example 2: Now try $\begin{bmatrix} 6 & 4 \\ 3 & 2 \end{bmatrix}$

$$\det(A) = (6)(2) - (4)(3) = 12 - 12 = 0$$

This determinant is zero, so the matrix is not invertible. Notice how the second row is exactly half of the first row? That's a telltale sign! 🚨

Computing 3Ɨ3 Determinants

Now for the exciting part - 3Ɨ3 determinants! These require more steps but follow a logical pattern. For a 3Ɨ3 matrix:

$$A = \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix}$$

We use cofactor expansion along the first row:

$$\det(A) = a\begin{vmatrix} e & f \\ h & i \end{vmatrix} - b\begin{vmatrix} d & f \\ g & i \end{vmatrix} + c\begin{vmatrix} d & e \\ g & h \end{vmatrix}$$

This expands to:

$$\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)$$

Step-by-step process:

  1. Choose the first row (you can use any row or column, but the first row is conventional)
  2. For each element, multiply it by the determinant of the 2Ɨ2 matrix that remains after removing that element's row and column
  3. Alternate signs: +, -, +, -, + ... (starting with +)

Example: Let's calculate the determinant of $\begin{bmatrix} 2 & 1 & 3 \\ 0 & 4 & 1 \\ 1 & 2 & 0 \end{bmatrix}$

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

$$= 2(4 \cdot 0 - 1 \cdot 2) - 1(0 \cdot 0 - 1 \cdot 1) + 3(0 \cdot 2 - 4 \cdot 1)$$

$$= 2(-2) - 1(-1) + 3(-4) = -4 + 1 - 12 = -15$$

Since the determinant is -15 (non-zero), this matrix is invertible! šŸŽ‰

Properties of Determinants and Matrix Invertibility

Here's where determinants become your mathematical superpower, students! They're like a truth detector for matrices. 🦸

Key Properties:

  1. Invertibility Test: A matrix is invertible if and only if its determinant is non-zero
  • $\det(A) \neq 0$ → Matrix A is invertible
  • $\det(A) = 0$ → Matrix A is singular (not invertible)
  1. Row Operations Effects:
  • Swapping two rows changes the sign of the determinant
  • Multiplying a row by a constant k multiplies the determinant by k
  • Adding a multiple of one row to another doesn't change the determinant
  1. Product Rule: For square matrices A and B of the same size:

$$\det(AB) = \det(A) \cdot \det(B)$$

  1. Transpose Property: $\det(A^T) = \det(A)$

Real-world connection: In economics, determinants help analyze market equilibrium. If you have supply and demand equations, the determinant of the coefficient matrix tells you whether there's a unique equilibrium price and quantity! šŸ’°

Using Determinants to Solve Linear Systems

Determinants unlock Cramer's Rule - an elegant method for solving linear systems! For a system $Ax = b$ where A is an nƗn matrix with $\det(A) \neq 0$, each variable can be found using:

$$x_i = \frac{\det(A_i)}{\det(A)}$$

where $A_i$ is matrix A with the i-th column replaced by vector b.

Example: Solve the system:

$$\begin{align}

$2x + y &= 5 \\$

$x + 3y &= 8$

$\end{align}$$$

First, find $\det(A)$ where $A = \begin{bmatrix} 2 & 1 \\ 1 & 3 \end{bmatrix}$:

$$\det(A) = (2)(3) - (1)(1) = 6 - 1 = 5$$

Since $\det(A) = 5 \neq 0$, the system has a unique solution!

For x: Replace the first column with $\begin{bmatrix} 5 \\ 8 \end{bmatrix}$:

$$x = \frac{\det\begin{bmatrix} 5 & 1 \\ 8 & 3 \end{bmatrix}}{\det(A)} = \frac{(5)(3) - (1)(8)}{5} = \frac{15 - 8}{5} = \frac{7}{5}$$

For y: Replace the second column with $\begin{bmatrix} 5 \\ 8 \end{bmatrix}$:

$$y = \frac{\det\begin{bmatrix} 2 & 5 \\ 1 & 8 \end{bmatrix}}{\det(A)} = \frac{(2)(8) - (5)(1)}{5} = \frac{16 - 5}{5} = \frac{11}{5}$$

Solution: $x = \frac{7}{5}$, $y = \frac{11}{5}$ āœ…

Conclusion

Congratulations, students! You've mastered the fundamentals of determinants! šŸŽŠ We've explored how to calculate determinants for 2Ɨ2 matrices using the simple cross-multiplication formula ($ad - bc$), tackled 3Ɨ3 determinants through cofactor expansion, and discovered how determinants serve as the ultimate test for matrix invertibility. You've also seen how Cramer's Rule uses determinants to solve linear systems elegantly. Remember: non-zero determinants mean invertible matrices and unique solutions, while zero determinants signal trouble ahead. These skills will be invaluable as you continue your mathematical journey!

Study Notes

• 2Ɨ2 Determinant Formula: For $\begin{bmatrix} a & b \\ c & d \end{bmatrix}$, $\det = ad - bc$

• 3Ɨ3 Determinant: Use cofactor expansion: $\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)$

• Invertibility Rule: Matrix is invertible ⟺ $\det(A) \neq 0$

• Zero Determinant: Matrix is singular (not invertible) when $\det(A) = 0$

• Cramer's Rule: For system $Ax = b$, $x_i = \frac{\det(A_i)}{\det(A)}$ where $A_i$ has column i replaced by b

• Product Property: $\det(AB) = \det(A) \cdot \det(B)$

• Transpose Property: $\det(A^T) = \det(A)$

• Row Operations: Swapping rows changes sign, multiplying row by k multiplies determinant by k

• Sign Pattern for 3Ɨ3: Alternate +, -, + when expanding along first row

• Practical Test: If rows/columns are proportional, determinant = 0

Practice Quiz

5 questions to test your understanding