TH

ดีเทอร์มิแนนต์ (Determinant) คือค่าคงที่ที่คำนวณได้จาก เมทริกซ์จัตุรัส (Square Matrix) เท่านั้น (เช่น เมทริกซ์มิติ $1 \times 1$, $2 \times 2$, $3 \times 3$) เขียนแทนด้วยสัญลักษณ์ $\det(A)$ หรือ $\vert{}A\vert{}$ ซึ่งมีความสำคัญอย่างมากในการแก้ระบบสมการเชิงเส้นและการหาเมทริกซ์ผกผัน (Inverse Matrix)

EN

A Determinant is a scalar value that can only be calculated from a Square Matrix (e.g., $1 \times 1$, $2 \times 2$, $3 \times 3$ matrices). It is denoted by $\det(A)$ or $\vert{}A\vert{}$. It is extremely important in solving systems of linear equations and finding the inverse matrix.

2

📐 การหา $\det$ ของเมทริกซ์มิติ $1 \times 1$ และ $2 \times 2$ 📐 Determinant of $1 \times 1$ and $2 \times 2$ Matrices

TH

มิติ $1 \times 1$: ค่าดีเทอร์มิแนนต์จะเท่ากับสมาชิกตัวนั้นเลย
มิติ $2 \times 2$: ใช้หลักการ "คูณลงลบด้วยคูณขึ้น"

$$ \begin{aligned} \text{ถ้า } A &= \begin{bmatrix} {\color{#1565c0}a} & {\color{#e65100}b} \\ {\color{#2e7d32}c} & {\color{#8e24aa}d} \end{bmatrix} \\ \det(A) &= \begin{vmatrix} {\color{#1565c0}a} & {\color{#e65100}b} \\ {\color{#2e7d32}c} & {\color{#8e24aa}d} \end{vmatrix} \\&= ({\color{#1565c0}a}{\color{#8e24aa}d}) - ({\color{#2e7d32}c}{\color{#e65100}b}) \end{aligned} $$
EN

$1 \times 1$ Matrix: The determinant is simply the element itself.
$2 \times 2$ Matrix: Use the rule "multiply down, minus multiply up".

$$ \begin{aligned} \text{If } A &= \begin{bmatrix} {\color{#1565c0}a} & {\color{#e65100}b} \\ {\color{#2e7d32}c} & {\color{#8e24aa}d} \end{bmatrix} \\ \det(A) &= \begin{vmatrix} {\color{#1565c0}a} & {\color{#e65100}b} \\ {\color{#2e7d32}c} & {\color{#8e24aa}d} \end{vmatrix} \\&= ({\color{#1565c0}a}{\color{#8e24aa}d}) - ({\color{#2e7d32}c}{\color{#e65100}b}) \end{aligned} $$
Example 2.1

$\text{กำหนดให้ } A = [-5] \text{ จงหา } \det(A)$

$$ \begin{aligned} \det(A) &= |-5| \\ &= -5 \end{aligned} $$

(ข้อควรระวัง: สัญลักษณ์ $|-5|$ ในเรื่องเมทริกซ์หมายถึงดีเทอร์มิแนนต์ ไม่ใช่ค่าสัมบูรณ์!)

$\text{Given } A = [-5]\text{, find } \det(A)$

$$ \begin{aligned} \det(A) &= |-5| \\ &= -5 \end{aligned} $$

(Note: The symbol $|-5|$ in matrices means determinant, NOT absolute value!)

Example 2.2

$\text{จงหาค่าของ } \det\left(\begin{bmatrix} 2 & 3 \\ 4 & 5 \end{bmatrix}\right)$

กระบวนการคูณทะแยง (คูณลงลบด้วยคูณขึ้น):

2 3 4 5 คูณขึ้น: -(4·3) = -12 คูณลง: +(2·5) = 10
$$ \begin{aligned} \text{คูณลง} &= (2)(5) \\&= 10 \\ \text{คูณขึ้น} &= (4)(3) \\&= 12 \\ \det &= \text{คูณลง} - \text{คูณขึ้น} \\&= 10 - 12 \\&= -2 \end{aligned} $$

$\text{Evaluate } \det\left(\begin{bmatrix} 2 & 3 \\ 4 & 5 \end{bmatrix}\right)$

Process of diagonal multiplication (down minus up):

2 3 4 5 Up: -(4·3) = -12 Down: +(2·5) = 10
$$ \begin{aligned} \text{Down} &= (2)(5) \\&= 10 \\ \text{Up} &= (4)(3) \\&= 12 \\ \det &= \text{Down} - \text{Up} \\&= 10 - 12 \\&= -2 \end{aligned} $$
Example 2.3

$\text{จงหาค่าของ } \begin{vmatrix} -1 & -2 \\ 3 & -4 \end{vmatrix}$

กระบวนการคูณทะแยง (คูณลงลบด้วยคูณขึ้น):

-1 -2 3 -4 คูณขึ้น: -(3·(-2)) = -(-6) คูณลง: +((-1)·(-4)) = 4
$$ \begin{aligned} \text{คูณลง} &= (-1)(-4) \\&= 4 \\ \text{คูณขึ้น} &= (3)(-2) \\&= -6 \\ \det &= \text{คูณลง} - \text{คูณขึ้น} \\&= 4 - (-6) \\&= 4 + 6 \\&= 10 \end{aligned} $$

$\text{Evaluate } \begin{vmatrix} -1 & -2 \\ 3 & -4 \end{vmatrix}$

Process of diagonal multiplication (down minus up):

-1 -2 3 -4 Up: -(3·(-2)) = -(-6) Down: +((-1)·(-4)) = 4
$$ \begin{aligned} \text{Down} &= (-1)(-4) \\&= 4 \\ \text{Up} &= (3)(-2) \\&= -6 \\ \det &= \text{Down} - \text{Up} \\&= 4 - (-6) \\&= 4 + 6 \\&= 10 \end{aligned} $$
Example 2.4

$\text{จงหาค่าของ } \begin{vmatrix} \frac{1}{2} & 2 \\ \frac{1}{4} & 4 \end{vmatrix}$

$$ \begin{aligned} \text{คูณลง} &= \left(\frac{1}{2}\right)(4) \\&= 2 \\ \text{คูณขึ้น} &= \left(\frac{1}{4}\right)(2) \\&= \frac{2}{4} = 0.5 \\ \det &= \text{คูณลง} - \text{คูณขึ้น} \\&= 2 - 0.5 \\&= 1.5 \end{aligned} $$

$\text{Evaluate } \begin{vmatrix} \frac{1}{2} & 2 \\ \frac{1}{4} & 4 \end{vmatrix}$

$$ \begin{aligned} \text{Down} &= \left(\frac{1}{2}\right)(4) \\&= 2 \\ \text{Up} &= \left(\frac{1}{4}\right)(2) \\&= \frac{2}{4} = 0.5 \\ \det &= \text{Down} - \text{Up} \\&= 2 - 0.5 \\&= 1.5 \end{aligned} $$
Example 2.5

$\text{จงหาค่า } x \text{ ที่ทำให้ } \begin{vmatrix} x & 2 \\ 3 & 4 \end{vmatrix} = 10$

$$ \begin{aligned} \text{คูณลง} - \text{คูณขึ้น} &= 10 \\ (x)(4) - (3)(2) &= 10 \\ 4x - 6 &= 10 \\ 4x &= 16 \\ x &= 4 \end{aligned} $$

$\text{Find } x \text{ such that } \begin{vmatrix} x & 2 \\ 3 & 4 \end{vmatrix} = 10$

$$ \begin{aligned} \text{Down} - \text{Up} &= 10 \\ (x)(4) - (3)(2) &= 10 \\ 4x - 6 &= 10 \\ 4x &= 16 \\ x &= 4 \end{aligned} $$
Example 2.6

$\text{จงแก้สมการ } \begin{vmatrix} x & x \\ 2 & x \end{vmatrix} = 0$

$$ \begin{aligned} (x)(x) - (2)(x) &= 0 \\ x^2 - 2x &= 0 \\ x(x - 2) &= 0 \\ x &= 0 \text{ หรือ } x = 2 \end{aligned} $$

$\text{Solve the equation } \begin{vmatrix} x & x \\ 2 & x \end{vmatrix} = 0$

$$ \begin{aligned} (x)(x) - (2)(x) &= 0 \\ x^2 - 2x &= 0 \\ x(x - 2) &= 0 \\ x &= 0 \text{ or } x = 2 \end{aligned} $$
Example 2.7

$\text{กำหนด } A = \begin{bmatrix} a & b \\ -b & a \end{bmatrix} \text{ จงหา } \det(A)$

$$ \begin{aligned} \det(A) &= (a)(a) - (-b)(b) \\ &= a^2 - (-b^2) \\ &= a^2 + b^2 \end{aligned} $$

$\text{Given } A = \begin{bmatrix} a & b \\ -b & a \end{bmatrix}\text{, find } \det(A)$

$$ \begin{aligned} \det(A) &= (a)(a) - (-b)(b) \\ &= a^2 - (-b^2) \\ &= a^2 + b^2 \end{aligned} $$
3

🧊 การหา $\det$ ของเมทริกซ์มิติ $3 \times 3$ 🧊 Determinant of $3 \times 3$ Matrices

TH

วิธีนำหลัก 1 และ 2 มาต่อท้าย (Sarrus' Rule):
ให้คัดลอกหลักที่ 1 และ 2 ของเมทริกซ์ไปต่อท้ายด้านขวามือ จากนั้นใช้หลักการ "คูณลงเป็นบวก คูณขึ้นเป็นลบ" โดยทำแนวทแยงทีละ 3 ตัว

$$ \begin{aligned} \text{ถ้า } A &= \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} \\ \det(A) &= \left| \begin{array}{ccc:cc} {\color{#1565c0}a} & {\color{#00897b}b} & {\color{#2e7d32}c} & a & b \\ d & {\color{#1565c0}e} & {\color{#00897b}f} & {\color{#2e7d32}d} & e \\ g & h & {\color{#1565c0}i} & {\color{#00897b}g} & {\color{#2e7d32}h} \end{array} \right|_{\text{\color{#1565c0}คูณลง (+)}}^{\text{\color{#c62828}คูณขึ้น (-)}} \\ &= \underbrace{({\color{#1565c0}aei} + {\color{#00897b}bfg} + {\color{#2e7d32}cdh})}_{\text{\color{#1565c0}คูณลง (+)}} - \underbrace{({\color{#c62828}gec} + {\color{#7b1fa2}hfa} + {\color{#e65100}idb})}_{\text{\color{#c62828}คูณขึ้น (-)}} \end{aligned} $$
EN

Sarrus' Rule:
Copy the first and second columns and append them to the right. Then use the rule "multiply diagonals down (add), multiply diagonals up (subtract)" with 3 elements at a time.

$$ \begin{aligned} \text{If } A &= \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} \\ \det(A) &= \left| \begin{array}{ccc:cc} {\color{#1565c0}a} & {\color{#00897b}b} & {\color{#2e7d32}c} & a & b \\ d & {\color{#1565c0}e} & {\color{#00897b}f} & {\color{#2e7d32}d} & e \\ g & h & {\color{#1565c0}i} & {\color{#00897b}g} & {\color{#2e7d32}h} \end{array} \right|_{\text{\color{#1565c0}down (+)}}^{\text{\color{#c62828}up (-)}} \\ &= \underbrace{({\color{#1565c0}aei} + {\color{#00897b}bfg} + {\color{#2e7d32}cdh})}_{\text{\color{#1565c0}Multiply Down (+)}} - \underbrace{({\color{#c62828}gec} + {\color{#7b1fa2}hfa} + {\color{#e65100}idb})}_{\text{\color{#c62828}Multiply Up (-)}} \end{aligned} $$
Example 3.1

$\text{จงหา } \det(A) \text{ เมื่อ } A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{bmatrix}$

กระบวนการเพิ่มหลักอีก 2 หลัก (กฎของซาร์รัส - Sarrus' Rule):

2 หลักที่เพิ่มมา (ต่อท้าย) 1 2 3 1 2 0 1 4 0 1 5 6 0 5 6 -(5·1·3) = -15 -(6·4·1) = -24 -(0·0·2) = -0 +(1·1·0) = 0 +(2·4·5) = 40 +(3·0·6) = 0 ลูกศรเฉียงลง: คูณลงเป็นบวก (+) ลูกศรเฉียงขึ้น: คูณขึ้นเป็นลบ (-)
$$ \begin{aligned} \text{คูณลง} &= (1)(1)(0) + (2)(4)(5) + (3)(0)(6) \\ &= 0 + 40 + 0 = 40 \\ \text{คูณขึ้น} &= (5)(1)(3) + (6)(4)(1) + (0)(0)(2) \\ &= 15 + 24 + 0 = 39 \\ \det(A) &= \text{คูณลง} - \text{คูณขึ้น} \\ &= 40 - 39 \\ &= 1 \end{aligned} $$

$\text{Find } \det(A) \text{ where } A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{bmatrix}$

Process of adding 2 columns (Sarrus' Rule):

Added 2 Columns 1 2 3 1 2 0 1 4 0 1 5 6 0 5 6 -(5·1·3) = -15 -(6·4·1) = -24 -(0·0·2) = -0 +(1·1·0) = 0 +(2·4·5) = 40 +(3·0·6) = 0 Down Diagonals: Add (+) Up Diagonals: Subtract (-)
$$ \begin{aligned} \text{Down} &= (1)(1)(0) + (2)(4)(5) + (3)(0)(6) \\ &= 0 + 40 + 0 = 40 \\ \text{Up} &= (5)(1)(3) + (6)(4)(1) + (0)(0)(2) \\ &= 15 + 24 + 0 = 39 \\ \det(A) &= \text{Down} - \text{Up} \\ &= 40 - 39 \\ &= 1 \end{aligned} $$
Example 3.2

$\text{จงหาค่าของ } \begin{vmatrix} 2 & -1 & 0 \\ -3 & 4 & 1 \\ 5 & -2 & 3 \end{vmatrix}$

กระบวนการเพิ่มหลักอีก 2 หลัก (กฎของซาร์รัส - Sarrus' Rule):

2 หลักที่เพิ่มมา (ต่อท้าย) 2 -1 0 2 -1 -3 4 1 -3 4 5 -2 3 5 -2 -(5·4·0) = -0 -((-2)·1·2) = -(-4) -(3·(-3)·(-1)) = -9 +(2·4·3) = 24 +((-1)·1·5) = -5 +(0·(-3)·(-2)) = 0 ลูกศรเฉียงลง: คูณลงเป็นบวก (+) ลูกศรเฉียงขึ้น: คูณขึ้นเป็นลบ (-)
$$ \begin{aligned} \text{คูณลง} &= (2)(4)(3) + (-1)(1)(5) + (0)(-3)(-2) \\&= 24 - 5 + 0 \\&= 19 \\ \text{คูณขึ้น} &= (5)(4)(0) + (-2)(1)(2) + (3)(-3)(-1) \\&= 0 - 4 + 9 \\&= 5 \\ \det &= 19 - 5 \\ &= 14 \end{aligned} $$

$\text{Evaluate } \begin{vmatrix} 2 & -1 & 0 \\ -3 & 4 & 1 \\ 5 & -2 & 3 \end{vmatrix}$

Process of adding 2 columns (Sarrus' Rule):

Added 2 Columns 2 -1 0 2 -1 -3 4 1 -3 4 5 -2 3 5 -2 -(5·4·0) = -0 -((-2)·1·2) = -(-4) -(3·(-3)·(-1)) = -9 +(2·4·3) = 24 +((-1)·1·5) = -5 +(0·(-3)·(-2)) = 0 Down Diagonals: Add (+) Up Diagonals: Subtract (-)
$$ \begin{aligned} \text{Down} &= (2)(4)(3) + (-1)(1)(5) + (0)(-3)(-2) \\&= 24 - 5 + 0 \\&= 19 \\ \text{Up} &= (5)(4)(0) + (-2)(1)(2) + (3)(-3)(-1) \\&= 0 - 4 + 9 \\&= 5 \\ \det &= 19 - 5 \\ &= 14 \end{aligned} $$
Example 3.3

$\text{พิจารณา } B = \begin{bmatrix} 1 & 0 & 4 \\ 2 & 0 & 5 \\ 3 & 0 & 6 \end{bmatrix} \text{ จงหา } \det(B)$

ข้อสังเกต: หากมีหลักหรือแถวใดเป็น 0 ทั้งหมด $\det$ จะเท่ากับ 0 ทันที

$$ \begin{aligned} \text{คูณลง} &= 0 + 0 + 0 \\&= 0 \\ \text{คูณขึ้น} &= 0 + 0 + 0 \\&= 0 \\ \det(B) &= 0 - 0 \\&= 0 \end{aligned} $$

$\text{Consider } B = \begin{bmatrix} 1 & 0 & 4 \\ 2 & 0 & 5 \\ 3 & 0 & 6 \end{bmatrix}\text{. Find } \det(B)$

Note: If an entire row or column is zero, the determinant is instantly 0.

$$ \begin{aligned} \text{Down} &= 0 + 0 + 0 \\&= 0 \\ \text{Up} &= 0 + 0 + 0 \\&= 0 \\ \det(B) &= 0 - 0 \\&= 0 \end{aligned} $$
Example 3.4

$\text{เมทริกซ์ทแยงมุม } C = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix} \text{ จงหา } \det(C)$

$$ \begin{aligned} \text{คูณลง} &= (2)(3)(4) + 0 + 0 \\&= 24 \\ \text{คูณขึ้น} &= 0 + 0 + 0 \\&= 0 \\ \det(C) &= 24 - 0 \\&= 24 \end{aligned} $$

$\text{Diagonal matrix } C = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}\text{. Find } \det(C)$

$$ \begin{aligned} \text{Down} &= (2)(3)(4) + 0 + 0 \\&= 24 \\ \text{Up} &= 0 + 0 + 0 \\&= 0 \\ \det(C) &= 24 - 0 \\&= 24 \end{aligned} $$
Example 3.5

$\text{จงหาค่า } x \text{ เมื่อ } \begin{vmatrix} x & 1 & 0 \\ 0 & 2 & 1 \\ 1 & 0 & 1 \end{vmatrix} = 5$

$$ \begin{aligned} \text{คูณลง} &= (x)(2)(1) + (1)(1)(1) + (0)(0)(0) \\ &= 2x + 1 \\ \text{คูณขึ้น} &= (1)(2)(0) + (0)(1)(x) + (1)(0)(1) \\ &= 0 \\ (2x + 1) - 0 &= 5 \\ 2x &= 4 \\ x &= 2 \end{aligned} $$

$\text{Find } x \text{ when } \begin{vmatrix} x & 1 & 0 \\ 0 & 2 & 1 \\ 1 & 0 & 1 \end{vmatrix} = 5$

$$ \begin{aligned} \text{Down} &= (x)(2)(1) + (1)(1)(1) + (0)(0)(0) \\ &= 2x + 1 \\ \text{Up} &= (1)(2)(0) + (0)(1)(x) + (1)(0)(1) \\ &= 0 \\ (2x + 1) - 0 &= 5 \\ 2x &= 4 \\ x &= 2 \end{aligned} $$
Example 3.6

$\text{จงหา } \det \text{ ของเมทริกซ์สามเหลี่ยมบน } D = \begin{bmatrix} a & b & c \\ 0 & d & e \\ 0 & 0 & f \end{bmatrix}$

$$ \begin{aligned} \text{คูณลง} &= adf + 0 + 0 \\&= adf \\ \text{คูณขึ้น} &= 0 + 0 + 0 \\&= 0 \\ \det(D) &= adf \end{aligned} $$

$\text{Find the det of upper triangular matrix } D = \begin{bmatrix} a & b & c \\ 0 & d & e \\ 0 & 0 & f \end{bmatrix}$

$$ \begin{aligned} \text{Down} &= adf + 0 + 0 \\&= adf \\ \text{Up} &= 0 + 0 + 0 \\&= 0 \\ \det(D) &= adf \end{aligned} $$
Example 3.7

$\text{จงหาค่าของ } \begin{vmatrix} 1 & -2 & 3 \\ 4 & 5 & -1 \\ -2 & 3 & 2 \end{vmatrix}$

กระบวนการเพิ่มหลักอีก 2 หลัก (กฎของซาร์รัส - Sarrus' Rule):

2 หลักที่เพิ่มมา (ต่อท้าย) 1 -2 3 1 -2 4 5 -1 4 5 -2 3 2 -2 3 -((-2)·5·3) = -(-30) -(3·(-1)·1) = -(-3) -(2·4·(-2)) = -(-16) +(1·5·2) = 10 +((-2)·(-1)·(-2)) = -4 +(3·4·3) = 36 ลูกศรเฉียงลง: คูณลงเป็นบวก (+) ลูกศรเฉียงขึ้น: คูณขึ้นเป็นลบ (-)
$$ \begin{aligned} \text{คูณลง} &= (1)(5)(2) + (-2)(-1)(-2) + (3)(4)(3) \\&= 10 - 4 + 36 \\&= 42 \\ \text{คูณขึ้น} &= (-2)(5)(3) + (3)(-1)(1) + (2)(4)(-2) \\&= -30 - 3 - 16 \\&= -49 \\ \det &= 42 - (-49) \\&= 42 + 49 \\&= 91 \end{aligned} $$

$\text{Evaluate } \begin{vmatrix} 1 & -2 & 3 \\ 4 & 5 & -1 \\ -2 & 3 & 2 \end{vmatrix}$

Process of adding 2 columns (Sarrus' Rule):

Added 2 Columns 1 -2 3 1 -2 4 5 -1 4 5 -2 3 2 -2 3 -((-2)·5·3) = -(-30) -(3·(-1)·1) = -(-3) -(2·4·(-2)) = -(-16) +(1·5·2) = 10 +((-2)·(-1)·(-2)) = -4 +(3·4·3) = 36 Down Diagonals: Add (+) Up Diagonals: Subtract (-)
$$ \begin{aligned} \text{Down} &= (1)(5)(2) + (-2)(-1)(-2) + (3)(4)(3) \\&= 10 - 4 + 36 \\&= 42 \\ \text{Up} &= (-2)(5)(3) + (3)(-1)(1) + (2)(4)(-2) \\&= -30 - 3 - 16 \\&= -49 \\ \det &= 42 - (-49) \\&= 42 + 49 \\&= 91 \end{aligned} $$
4

✂️ ไมเนอร์ (Minor) ✂️ Minor

TH

ไมเนอร์ของสมาชิกในแถวที่ $i$ และหลักที่ $j$ (สัญลักษณ์ $M_{ij}$):
คือค่าดีเทอร์มิแนนต์ที่ได้จากเมทริกซ์ย่อยขนาด $(n-1) \times (n-1)$ หลังจาก ตัดแถวที่ $i$ และหลักที่ $j$ ทิ้งไป

$$ M_{ij}(A) = \det(\text{เมทริกซ์ย่อยหลังตัดแถวที่ } i \text{ และหลักที่ } j) $$
EN

Minor of entry in row $i$ and column $j$ (denoted $M_{ij}$):
The determinant of the $(n-1) \times (n-1)$ submatrix formed by deleting the $i$-th row and $j$-th column.

$$ M_{ij}(A) = \det(\text{submatrix after deleting row } i \text{ and column } j) $$
Example 4.1

$\text{กำหนด } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{23}$

กระบวนการตัดแถวที่ 2 และหลักที่ 3 ทิ้งไป (Minor $M_{23}$):

1 2 3 4 5 6 7 8 9 เหลือ 1 2 7 8 แถบสีแดง: ตัดแถว 2 และหลัก 3 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{23} &= \begin{vmatrix} 1 & 2 \\ 7 & 8 \end{vmatrix} \\ &= (1)(8) - (7)(2) \\ &= 8 - 14 \\ &= -6 \end{aligned} $$

$\text{Given } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{23}$

Process of deleting row 2 and column 3 (Minor $M_{23}$):

1 2 3 4 5 6 7 8 9 Leaves 1 2 7 8 Red stripes: Deleted row 2 & column 3 | Green circles: Remaining entries
$$ \begin{aligned} M_{23} &= \begin{vmatrix} 1 & 2 \\ 7 & 8 \end{vmatrix} \\ &= (1)(8) - (7)(2) \\ &= 8 - 14 \\ &= -6 \end{aligned} $$
Example 4.2

$\text{จากเมทริกซ์ } A \text{ เดิม } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{11}$

กระบวนการตัดแถวที่ 1 และหลักที่ 1 ทิ้งไป (Minor $M_{11}$):

1 2 3 4 5 6 7 8 9 เหลือ 5 6 8 9 แถบสีแดง: ตัดแถว 1 และหลัก 1 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{11} &= \begin{vmatrix} 5 & 6 \\ 8 & 9 \end{vmatrix} \\ &= (5)(9) - (8)(6) \\ &= 45 - 48 \\ &= -3 \end{aligned} $$

$\text{From the same matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{11}$

Process of deleting row 1 and column 1 (Minor $M_{11}$):

1 2 3 4 5 6 7 8 9 Leaves 5 6 8 9 Red stripes: Deleted row 1 & column 1 | Green circles: Remaining entries
$$ \begin{aligned} M_{11} &= \begin{vmatrix} 5 & 6 \\ 8 & 9 \end{vmatrix} \\ &= (5)(9) - (8)(6) \\ &= 45 - 48 \\ &= -3 \end{aligned} $$
Example 4.3

$\text{จากเมทริกซ์ } A \text{ เดิม } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{32}$

กระบวนการตัดแถวที่ 3 และหลักที่ 2 ทิ้งไป (Minor $M_{32}$):

1 2 3 4 5 6 7 8 9 เหลือ 1 3 4 6 แถบสีแดง: ตัดแถว 3 และหลัก 2 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{32} &= \begin{vmatrix} 1 & 3 \\ 4 & 6 \end{vmatrix} \\ &= (1)(6) - (4)(3) \\ &= 6 - 12 \\ &= -6 \end{aligned} $$

$\text{From the same matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{32}$

Process of deleting row 3 and column 2 (Minor $M_{32}$):

1 2 3 4 5 6 7 8 9 Leaves 1 3 4 6 Red stripes: Deleted row 3 & column 2 | Green circles: Remaining entries
$$ \begin{aligned} M_{32} &= \begin{vmatrix} 1 & 3 \\ 4 & 6 \end{vmatrix} \\ &= (1)(6) - (4)(3) \\ &= 6 - 12 \\ &= -6 \end{aligned} $$
Example 4.4

$\text{จากเมทริกซ์ } A \text{ เดิม } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{21}$

กระบวนการตัดแถวที่ 2 และหลักที่ 1 ทิ้งไป (Minor $M_{21}$):

1 2 3 4 5 6 7 8 9 เหลือ 2 3 8 9 แถบสีแดง: ตัดแถว 2 และหลัก 1 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{21} &= \begin{vmatrix} 2 & 3 \\ 8 & 9 \end{vmatrix} \\ &= (2)(9) - (8)(3) \\ &= 18 - 24 \\ &= -6 \end{aligned} $$

$\text{From the same matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{21}$

Process of deleting row 2 and column 1 (Minor $M_{21}$):

1 2 3 4 5 6 7 8 9 Leaves 2 3 8 9 Red stripes: Deleted row 2 & column 1 | Green circles : Remaining entries
$$ \begin{aligned} M_{21} &= \begin{vmatrix} 2 & 3 \\ 8 & 9 \end{vmatrix} \\ &= (2)(9) - (8)(3) \\ &= 18 - 24 \\ &= -6 \end{aligned} $$
Example 4.5

$\text{จากเมทริกซ์ } A \text{ เดิม } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{22}$

กระบวนการตัดแถวที่ 2 และหลักที่ 2 ทิ้งไป (Minor $M_{22}$):

1 2 3 4 5 6 7 8 9 เหลือ 1 3 7 9 แถบสีแดง: ตัดแถว 2 และหลัก 2 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{22} &= \begin{vmatrix} 1 & 3 \\ 7 & 9 \end{vmatrix} \\ &= (1)(9) - (7)(3) \\ &= 9 - 21 \\ &= -12 \end{aligned} $$

$\text{From the same matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{22}$

Process of deleting row 2 and column 2 (Minor $M_{22}$):

1 2 3 4 5 6 7 8 9 Leaves 1 3 7 9 Red stripes: Deleted row 2 & column 2 | Green circles : Remaining entries
$$ \begin{aligned} M_{22} &= \begin{vmatrix} 1 & 3 \\ 7 & 9 \end{vmatrix} \\ &= (1)(9) - (7)(3) \\ &= 9 - 21 \\ &= -12 \end{aligned} $$
Example 4.6

$\text{จากเมทริกซ์ } A \text{ เดิม } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{31}$

กระบวนการตัดแถวที่ 3 และหลักที่ 1 ทิ้งไป (Minor $M_{31}$):

1 2 3 4 5 6 7 8 9 เหลือ 2 3 5 6 แถบสีแดง: ตัดแถว 3 และหลัก 1 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{31} &= \begin{vmatrix} 2 & 3 \\ 5 & 6 \end{vmatrix} \\ &= (2)(6) - (5)(3) \\ &= 12 - 15 \\ &= -3 \end{aligned} $$

$\text{From the same matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{31}$

Process of deleting row 3 and column 1 (Minor $M_{31}$):

1 2 3 4 5 6 7 8 9 Leaves 2 3 5 6 Red stripes: Deleted row 3 & column 1 | Green circles : Remaining entries
$$ \begin{aligned} M_{31} &= \begin{vmatrix} 2 & 3 \\ 5 & 6 \end{vmatrix} \\ &= (2)(6) - (5)(3) \\ &= 12 - 15 \\ &= -3 \end{aligned} $$
Example 4.7

$\text{จากเมทริกซ์ } A \text{ เดิม } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาไมเนอร์ } M_{33}$

กระบวนการตัดแถวที่ 3 และหลักที่ 3 ทิ้งไป (Minor $M_{33}$):

1 2 3 4 5 6 7 8 9 เหลือ 1 2 4 5 แถบสีแดง: ตัดแถว 3 และหลัก 3 ออก | วงกลมสีเขียว: สมาชิกที่เหลือ
$$ \begin{aligned} M_{33} &= \begin{vmatrix} 1 & 2 \\ 4 & 5 \end{vmatrix} \\ &= (1)(5) - (4)(2) \\ &= 5 - 8 \\ &= -3 \end{aligned} $$

$\text{From the same matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the minor } M_{33}$

Process of deleting row 3 and column 3 (Minor $M_{33}$):

1 2 3 4 5 6 7 8 9 Leaves 1 2 4 5 Red stripes: Deleted row 3 & column 3 | Green circles : Remaining entries
$$ \begin{aligned} M_{33} &= \begin{vmatrix} 1 & 2 \\ 4 & 5 \end{vmatrix} \\ &= (1)(5) - (4)(2) \\ &= 5 - 8 \\ &= -3 \end{aligned} $$
5

🎯 โคแฟกเตอร์ และการกระจาย (Cofactor Expansion) 🎯 Cofactor and Expansion

TH

1. โคแฟกเตอร์ ($C_{ij}$): ไมเนอร์ที่คูณกับ เครื่องหมายบวกลบสลับกัน $(-1)^{i+j}$ ตามตำแหน่งตารางหมากรุก:

$$ \begin{aligned} {\color{#8e24aa}C_{ij}} &= {\color{#c62828}(-1)^{i+j}} {\color{#1565c0}M_{ij}} \end{aligned} $$

2. การหา $\det$ โดยกระจายโคแฟกเตอร์ (Cofactor Expansion):
เลือกกระจายตามแถวที่ $i$ หรือหลักที่ $j$ ใดก็ได้ (💡 แนะนำให้เลือกแถวหรือหลักที่มี "เลข 0 มากที่สุด" เพื่อคำนวณได้เร็วที่สุด):

$$ \begin{aligned} \text{\color{#1565c0}กระจายตามแถวที่ } i : \quad \det(A) &= {\color{#1565c0}a_{i1}}{\color{#8e24aa}C_{i1}} + {\color{#1565c0}a_{i2}}{\color{#8e24aa}C_{i2}} + \dots + {\color{#1565c0}a_{in}}{\color{#8e24aa}C_{in}} \\ \text{\color{#00897b}กระจายตามหลักที่ } j : \quad \det(A) &= {\color{#00897b}a_{1j}}{\color{#8e24aa}C_{1j}} + {\color{#00897b}a_{2j}}{\color{#8e24aa}C_{2j}} + \dots + {\color{#00897b}a_{nj}}{\color{#8e24aa}C_{nj}} \end{aligned} $$
EN

1. Cofactor ($C_{ij}$): The minor multiplied by an alternating sign $(-1)^{i+j}$ checkerboard pattern:

$$ \begin{aligned} {\color{#8e24aa}C_{ij}} &= {\color{#c62828}(-1)^{i+j}} {\color{#1565c0}M_{ij}} \end{aligned} $$

2. Determinant by Cofactor Expansion:
Expand along any row $i$ or column $j$ (💡 Tip: Choose the row/column with "the most zeros" for the fastest calculation):

$$ \begin{aligned} \text{\color{#1565c0}Expand along row } i : \quad \det(A) &= {\color{#1565c0}a_{i1}}{\color{#8e24aa}C_{i1}} + {\color{#1565c0}a_{i2}}{\color{#8e24aa}C_{i2}} + \dots + {\color{#1565c0}a_{in}}{\color{#8e24aa}C_{in}} \\ \text{\color{#00897b}Expand along col } j : \quad \det(A) &= {\color{#00897b}a_{1j}}{\color{#8e24aa}C_{1j}} + {\color{#00897b}a_{2j}}{\color{#8e24aa}C_{2j}} + \dots + {\color{#00897b}a_{nj}}{\color{#8e24aa}C_{nj}} \end{aligned} $$
Example 5.1

$\text{กำหนด } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาโคแฟกเตอร์ } C_{11}$

ใช้สูตร $C_{ij} = (-1)^{i+j} M_{ij}$ โดยตัดแถวที่ 1 และหลักที่ 1 ทิ้งไป (เครื่องหมายบวก $(+1)$):

1 2 3 4 5 6 7 8 9 เหลือ (+) 5 6 8 9 เครื่องหมาย $(-1)^{1+1} = +1$ | $C_{11} = +(M_{11}) = -3$
$$ \begin{aligned} C_{11} &= (-1)^{1+1} M_{11} \\ &= (-1)^2 \begin{vmatrix} 5 & 6 \\ 8 & 9 \end{vmatrix} \\ &= (+1)\big((5)(9) - (8)(6)\big) \\ &= (+1)(45 - 48) \\ &= -3 \end{aligned} $$

$\text{Given } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the cofactor } C_{11}$

Apply formula $C_{ij} = (-1)^{i+j} M_{ij}$ by deleting row 1 and col 1 (positive sign $(+1)$):

1 2 3 4 5 6 7 8 9 Leaves (+) 5 6 8 9 Sign $(-1)^{1+1} = +1$ | $C_{11} = +(M_{11}) = -3$
$$ \begin{aligned} C_{11} &= (-1)^{1+1} M_{11} \\ &= (-1)^2 \begin{vmatrix} 5 & 6 \\ 8 & 9 \end{vmatrix} \\ &= (+1)\big((5)(9) - (8)(6)\big) \\ &= (+1)(45 - 48) \\ &= -3 \end{aligned} $$
Example 5.2

$\text{กำหนดเมทริกซ์ } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาโคแฟกเตอร์ } C_{12}$

ใช้สูตร $C_{ij} = (-1)^{i+j} M_{ij}$ โดยตัดแถวที่ 1 และหลักที่ 2 ทิ้งไป (เครื่องหมายลบ $(-1)$):

1 2 3 4 5 6 7 8 9 เหลือ (-) 4 6 7 9 เครื่องหมาย $(-1)^{1+2} = -1$ | $C_{12} = -(M_{12}) = 6$
$$ \begin{aligned} C_{12} &= (-1)^{1+2} M_{12} \\ &= (-1)^3 \begin{vmatrix} 4 & 6 \\ 7 & 9 \end{vmatrix} \\ &= (-1)\big((4)(9) - (7)(6)\big) \\ &= (-1)(36 - 42) \\ &= (-1)(-6) \\ &= 6 \end{aligned} $$

$\text{Given matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the cofactor } C_{12}$

Apply formula $C_{ij} = (-1)^{i+j} M_{ij}$ by deleting row 1 and col 2 (negative sign $(-1)$):

1 2 3 4 5 6 7 8 9 Leaves (-) 4 6 7 9 Sign $(-1)^{1+2} = -1$ | $C_{12} = -(M_{12}) = 6$
$$ \begin{aligned} C_{12} &= (-1)^{1+2} M_{12} \\ &= (-1)^3 \begin{vmatrix} 4 & 6 \\ 7 & 9 \end{vmatrix} \\ &= (-1)\big((4)(9) - (7)(6)\big) \\ &= (-1)(36 - 42) \\ &= (-1)(-6) \\ &= 6 \end{aligned} $$
Example 5.3

$\text{กำหนดเมทริกซ์ } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ จงหาโคแฟกเตอร์ } C_{32}$

ใช้สูตร $C_{ij} = (-1)^{i+j} M_{ij}$ โดยตัดแถวที่ 3 และหลักที่ 2 ทิ้งไป (เครื่องหมายลบ $(-1)$):

1 2 3 4 5 6 7 8 9 เหลือ (-) 1 3 4 6 เครื่องหมาย $(-1)^{3+2} = -1$ | $C_{32} = -(M_{32}) = 6$
$$ \begin{aligned} C_{32} &= (-1)^{3+2} M_{32} \\ &= (-1)^5 \begin{vmatrix} 1 & 3 \\ 4 & 6 \end{vmatrix} \\ &= (-1)\big((1)(6) - (4)(3)\big) \\ &= (-1)(6 - 12) \\ &= (-1)(-6) \\ &= 6 \end{aligned} $$

$\text{Given matrix } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, find the cofactor } C_{32}$

Apply formula $C_{ij} = (-1)^{i+j} M_{ij}$ by deleting row 3 and col 2 (negative sign $(-1)$):

1 2 3 4 5 6 7 8 9 Leaves (-) 1 3 4 6 Sign $(-1)^{3+2} = -1$ | $C_{32} = -(M_{32}) = 6$
$$ \begin{aligned} C_{32} &= (-1)^{3+2} M_{32} \\ &= (-1)^5 \begin{vmatrix} 1 & 3 \\ 4 & 6 \end{vmatrix} \\ &= (-1)\big((1)(6) - (4)(3)\big) \\ &= (-1)(6 - 12) \\ &= (-1)(-6) \\ &= 6 \end{aligned} $$
Example 5.4

$\text{กำหนด } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \text{ และทราบว่า } M_{23} = -6 \text{ จงหาโคแฟกเตอร์ } C_{23}$

ใช้สูตรความสัมพันธ์ระหว่างโคแฟกเตอร์กับไมเนอร์ $C_{ij} = (-1)^{i+j} M_{ij}$ โดยไม่ต้องคำนวณไมเนอร์ซ้ำ:

$$ \begin{aligned} C_{23} &= (-1)^{2+3} M_{23} \\ &= (-1)^5 \cdot (-6) \\ &= (-1) \cdot (-6) \\ &= 6 \end{aligned} $$

$\text{Given } A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\text{, given that } M_{23} = -6 \text{ find the cofactor } C_{23}$

Apply the relation formula between cofactor and minor $C_{ij} = (-1)^{i+j} M_{ij}$ without recomputing the minor:

$$ \begin{aligned} C_{23} &= (-1)^{2+3} M_{23} \\ &= (-1)^5 \cdot (-6) \\ &= (-1) \cdot (-6) \\ &= 6 \end{aligned} $$
Example 5.5

$\text{กำหนด } B = \begin{bmatrix} 2 & 1 & 3 \\ -1 & 0 & 4 \\ 5 & -2 & 1 \end{bmatrix}$ จงหา $\det(B)$ โดยกระจายโคแฟกเตอร์ตามแถวที่ 1

กระจายตามแถวที่ 1: $\det(B) = b_{11}C_{11} + b_{12}C_{12} + b_{13}C_{13}$

$$ \begin{aligned} \det(B) &= b_{11}C_{11} + b_{12}C_{12} + b_{13}C_{13} \\ &= 2\left( + \begin{vmatrix} 0 & 4 \\ -2 & 1 \end{vmatrix} \right) + 1\left( - \begin{vmatrix} -1 & 4 \\ 5 & 1 \end{vmatrix} \right) + 3\left( + \begin{vmatrix} -1 & 0 \\ 5 & -2 \end{vmatrix} \right) \\ &= 2\Big((0)(1) - (-2)(4)\Big) - 1\Big((-1)(1) - (5)(4)\Big) + 3\Big((-1)(-2) - (5)(0)\Big) \\ &= 2\big(0 - (-8)\big) - 1(-1 - 20) + 3(2 - 0) \\ &= 2(8) - 1(-21) + 3(2) \\ &= 16 + 21 + 6 \\ &= 43 \end{aligned} $$

$\text{Given } B = \begin{bmatrix} 2 & 1 & 3 \\ -1 & 0 & 4 \\ 5 & -2 & 1 \end{bmatrix}$, find $\det(B)$ by expanding along row 1:

Expand along row 1: $\det(B) = b_{11}C_{11} + b_{12}C_{12} + b_{13}C_{13}$

$$ \begin{aligned} \det(B) &= b_{11}C_{11} + b_{12}C_{12} + b_{13}C_{13} \\ &= 2\left( + \begin{vmatrix} 0 & 4 \\ -2 & 1 \end{vmatrix} \right) - 1\left( \begin{vmatrix} -1 & 4 \\ 5 & 1 \end{vmatrix} \right) + 3\left( \begin{vmatrix} -1 & 0 \\ 5 & -2 \end{vmatrix} \right) \\ &= 2\Big((0)(1) - (-2)(4)\Big) - 1\Big((-1)(1) - (5)(4)\Big) + 3\Big((-1)(-2) - (5)(0)\Big) \\ &= 2\big(0 - (-8)\big) - 1(-1 - 20) + 3(2 - 0) \\ &= 2(8) - 1(-21) + 3(2) \\ &= 16 + 21 + 6 \\ &= 43 \end{aligned} $$
Example 5.6

$\text{กำหนด } B = \begin{bmatrix} 2 & 1 & 3 \\ -1 & 0 & 4 \\ 5 & -2 & 1 \end{bmatrix}$ จงหา $\det(B)$ โดยเลือกกระจายโคแฟกเตอร์ตามหลักที่ 2

จุดเด่น: หลักที่ 2 มีสมาชิกเป็นเลข $0$ ทำให้พจน์ $0 \cdot C_{22} = 0$ ไม่ต้องคำนวณ!

$$ \begin{aligned} \det(B) &= b_{12}C_{12} + b_{22}C_{22} + b_{32}C_{32} \\ &= 1(-C_{12}) + {\color{#b71c1c}0(C_{22})} + (-2)(-C_{32}) \\ &= -1\begin{vmatrix} -1 & 4 \\ 5 & 1 \end{vmatrix} + {\color{#b71c1c}0} - (-2)\begin{vmatrix} 2 & 3 \\ -1 & 4 \end{vmatrix} \\ &= -1(-1 - 20) + 2(8 - (-3)) \\ &= -1(-21) + 2(11) \\ &= 21 + 22 \\ &= 43 \quad \color{#2e7d32}\text{(ได้ค่าเท่ากับกระจายแถว 1 ทุกประการ)} \end{aligned} $$

$\text{Given } B = \begin{bmatrix} 2 & 1 & 3 \\ -1 & 0 & 4 \\ 5 & -2 & 1 \end{bmatrix}$, find $\det(B)$ by expanding along column 2:

Key advantage: Column 2 contains $0$, so the term $0 \cdot C_{22} = 0$ requires no calculation!

$$ \begin{aligned} \det(B) &= b_{12}C_{12} + b_{22}C_{22} + b_{32}C_{32} \\ &= 1(-C_{12}) + {\color{#b71c1c}0(C_{22})} + (-2)(-C_{32}) \\ &= -1\begin{vmatrix} -1 & 4 \\ 5 & 1 \end{vmatrix} + {\color{#b71c1c}0} - (-2)\begin{vmatrix} 2 & 3 \\ -1 & 4 \end{vmatrix} \\ &= -1(-1 - 20) + 2(8 - (-3)) \\ &= -1(-21) + 2(11) \\ &= 21 + 22 \\ &= 43 \quad \color{#2e7d32}\text{(Identical result to row 1)} \end{aligned} $$
Example 5.7

$\text{จงหา } \det \text{ ของเมทริกซ์มิติ } 4 \times 4 \text{ นี้: } X = \begin{bmatrix} 2 & 0 & 0 & 1 \\ 0 & 3 & 0 & 0 \\ 1 & -1 & 4 & 2 \\ -2 & 5 & 0 & 1 \end{bmatrix}$

เทคนิค: เลือกกระจายตามแถวที่ 2 เพราะมีเลข 0 ถึง 3 ตัว เหลือพจน์ต้องคิดเพียงพจน์เดียว!

$$ \begin{aligned} \det(X) &= 0 \cdot C_{21} + 3 \cdot C_{22} + 0 \cdot C_{23} + 0 \cdot C_{24} \\ &= 3 \cdot (-1)^{2+2} \begin{vmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ -2 & 0 & 1 \end{vmatrix} \\ &= 3(1) \begin{vmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ -2 & 0 & 1 \end{vmatrix} \\ &\quad \text{กระจายต่อในเมทริกซ์ } 3 \times 3 \text{ ตามหลักที่ 2 (มี 0 สองตัว):} \\ &= 3 \cdot \left[ 4 \cdot (-1)^{2+2} \begin{vmatrix} 2 & 1 \\ -2 & 1 \end{vmatrix} \right] \\ &= 3 \cdot \left[ 4(1) \big( (2)(1) - (-2)(1) \big) \right] \\ &= 3 \cdot \big[ 4(2 + 2) \big] \\ &= 3(4 \cdot 4) \\ &= 48 \end{aligned} $$

$\text{Find the det of this } 4 \times 4 \text{ matrix: } X = \begin{bmatrix} 2 & 0 & 0 & 1 \\ 0 & 3 & 0 & 0 \\ 1 & -1 & 4 & 2 \\ -2 & 5 & 0 & 1 \end{bmatrix}$

Technique: Expand along row 2 because it has three zeros, leaving only a single term to evaluate!

$$ \begin{aligned} \det(X) &= 0 \cdot C_{21} + 3 \cdot C_{22} + 0 \cdot C_{23} + 0 \cdot C_{24} \\ &= 3 \cdot (-1)^{2+2} \begin{vmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ -2 & 0 & 1 \end{vmatrix} \\ &= 3(1) \begin{vmatrix} 2 & 0 & 1 \\ 1 & 4 & 2 \\ -2 & 0 & 1 \end{vmatrix} \\ &\quad \text{Expand the } 3 \times 3 \text{ along column 2 (which has two zeros):} \\ &= 3 \cdot \left[ 4 \cdot (-1)^{2+2} \begin{vmatrix} 2 & 1 \\ -2 & 1 \end{vmatrix} \right] \\ &= 3 \cdot \left[ 4(1) \big( (2)(1) - (-2)(1) \big) \right] \\ &= 3 \cdot \big[ 4(2 + 2) \big] \\ &= 3(4 \cdot 4) \\ &= 48 \end{aligned} $$
Example 5.8

$\text{จงหาค่า } x \text{ ถ้า } \begin{vmatrix} 1 & x & 0 \\ 2 & -1 & 0 \\ 5 & 4 & 3 \end{vmatrix} = -21$

กระจายตามหลักที่ 3 จะง่ายที่สุดเนื่องจากสมาชิกสองตัวแรกเป็น $0$:

$$ \begin{aligned} 3 \cdot (-1)^{3+3} \begin{vmatrix} 1 & x \\ 2 & -1 \end{vmatrix} &= -21 \\ 3(1)\big((1)(-1) - (2)(x)\big) &= -21 \\ 3(-1 - 2x) &= -21 \\ -1 - 2x &= \frac{-21}{3} \\ -1 - 2x &= -7 \\ -2x &= -6 \\ x &= 3 \end{aligned} $$

$\text{Find } x \text{ if } \begin{vmatrix} 1 & x & 0 \\ 2 & -1 & 0 \\ 5 & 4 & 3 \end{vmatrix} = -21$

Expanding along column 3 is easiest since the first two entries are $0$:

$$ \begin{aligned} 3 \cdot (-1)^{3+3} \begin{vmatrix} 1 & x \\ 2 & -1 \end{vmatrix} &= -21 \\ 3(1)\big((1)(-1) - (2)(x)\big) &= -21 \\ 3(-1 - 2x) &= -21 \\ -1 - 2x &= \frac{-21}{3} \\ -1 - 2x &= -7 \\ -2x &= -6 \\ x &= 3 \end{aligned} $$
6

⚙️ สมบัติของดีเทอร์มิแนนต์ ⚙️ Properties of Determinants

TH

สมบัติเหล่านี้ช่วยลัดขั้นตอนการคำนวณได้อย่างมหาศาล หากเมทริกซ์ $A$ และ $B$ เป็นเมทริกซ์จัตุรัสมิติ $n \times n$ จะได้ว่า:

  • $\det(AB) = \det(A)\det(B)$ (กระจายผลคูณได้)
  • $\det(A^t) = \det(A)$ (ทรานสโพสไม่มีผลกับ det)
  • $\det(cA) = {\color{#1565c0}c}^{{\color{#e65100}n}}\det(A)$ (ดึงค่าคงที่ $c$ ออกมา ต้องยกกำลังด้วยมิติ $n$)
  • $\det(A^{\color{#8e24aa}k}) = (\det(A))^{\color{#8e24aa}k}$ (ดึงเลขชี้กำลังออกนอก det ได้)
  • $\det(A^{-1}) = \frac{1}{\det(A)}$ (เมื่อ $\det(A) \neq 0$)
  • $\det(I) = {\color{#2e7d32}1}$ (เมทริกซ์เอกลักษณ์ det เท่ากับ 1 เสมอ)
EN

These properties greatly simplify calculations. If $A$ and $B$ are $n \times n$ square matrices:

  • $\det(AB) = \det(A)\det(B)$ (Product can be split)
  • $\det(A^t) = \det(A)$ (Transpose does not affect det)
  • $\det(cA) = {\color{#1565c0}c}^{{\color{#e65100}n}}\det(A)$ (Factoring out scalar $c$ requires power of dimension $n$)
  • $\det(A^{\color{#8e24aa}k}) = (\det(A))^{\color{#8e24aa}k}$ (Exponent can be pulled outside det)
  • $\det(A^{-1}) = \frac{1}{\det(A)}$ (When $\det(A) \neq 0$)
  • $\det(I) = {\color{#2e7d32}1}$ (Identity matrix det is always 1)
Example 6.1

กำหนดให้ $A$ และ $B$ เป็นเมทริกซ์มิติ $3 \times 3$ โดยที่ $\det(A) = 2$ และ $\det(B) = -3$ จงหา $\det(AB)$

ใช้สมบัติการกระจายผลคูณ: $\det(AB) = \det(A)\det(B)$

$$ \begin{aligned} \det(AB) &= \det(A) \cdot \det(B) \\ &= (2)(-3) \\ &= -6 \end{aligned} $$

Given that $A$ and $B$ are $3 \times 3$ matrices with $\det(A) = 2$ and $\det(B) = -3$, find $\det(AB)$

Apply the product property: $\det(AB) = \det(A)\det(B)$

$$ \begin{aligned} \det(AB) &= \det(A) \cdot \det(B) \\ &= (2)(-3) \\ &= -6 \end{aligned} $$
Example 6.2

กำหนดให้ $A$ เป็นเมทริกซ์มิติ $3 \times 3$ ซึ่งมี $\det(A) = 2$ จงหา $\det(A^t)$

การสลับแถวเป็นหลัก (Transpose) ไม่มีผลต่อค่าดีเทอร์มิแนนต์: $\det(A^t) = \det(A)$

$$ \begin{aligned} \det(A^t) &= \det(A) \\ &= 2 \end{aligned} $$

Given that $A$ is a $3 \times 3$ matrix such that $\det(A) = 2$, find $\det(A^t)$

Transposing a matrix does not change its determinant: $\det(A^t) = \det(A)$

$$ \begin{aligned} \det(A^t) &= \det(A) \\ &= 2 \end{aligned} $$
Example 6.3

กำหนดให้ $A$ เป็นเมทริกซ์มิติ $3 \times 3$ โดยที่ $\det(A) = 2$ จงหา $\det(3A)$

ข้อควรระวัง: เมื่อดึงค่าคงที่ $c$ ออกจากเมทริกซ์มิติ $n \times n$ ต้องยกกำลังด้วยมิติ $n$ เสมอ $\det(cA) = c^n \det(A)$ (ข้อนี้ $n = 3$):

$$ \begin{aligned} \det(3A) &= 3^{\color{#e65100}3} \cdot \det(A) \\ &= 27 \cdot (2) \\ &= 54 \end{aligned} $$

Given that $A$ is a $3 \times 3$ matrix with $\det(A) = 2$, find $\det(3A)$

Caution: Factoring out a scalar $c$ from an $n \times n$ matrix raises $c$ to the power of $n$: $\det(cA) = c^n \det(A)$ (here $n = 3$):

$$ \begin{aligned} \det(3A) &= 3^{\color{#e65100}3} \cdot \det(A) \\ &= 27 \cdot (2) \\ &= 54 \end{aligned} $$
Example 6.4

กำหนดให้ $A$ และ $B$ เป็นเมทริกซ์มิติ $3 \times 3$ โดยที่ $\det(A) = 2$ และ $\det(B) = -3$ จงหา $\det(A^2 B^t)$

ใช้สมบัติผลคูณร่วมกับเลขชี้กำลังและทรานสโพส: $\det(A^2 B^t) = (\det(A))^2 \cdot \det(B)$

$$ \begin{aligned} \det(A^2 B^t) &= \det(A^2) \cdot \det(B^t) \\ &= (\det(A))^2 \cdot \det(B) \\ &= (2)^2 \cdot (-3) \\ &= 4 \cdot (-3) \\ &= -12 \end{aligned} $$

Given that $A$ and $B$ are $3 \times 3$ matrices with $\det(A) = 2$ and $\det(B) = -3$, find $\det(A^2 B^t)$

Combine product rule with power rule and transpose rule: $\det(A^2 B^t) = (\det(A))^2 \cdot \det(B)$

$$ \begin{aligned} \det(A^2 B^t) &= \det(A^2) \cdot \det(B^t) \\ &= (\det(A))^2 \cdot \det(B) \\ &= (2)^2 \cdot (-3) \\ &= 4 \cdot (-3) \\ &= -12 \end{aligned} $$
Example 6.5

กำหนดให้ $A$ และ $B$ เป็นเมทริกซ์มิติ $3 \times 3$ โดยมี $\det(A) = 2$ และ $\det(B) = -3$ จงหา $\det(-2AB)$

จุดระวัง: เมทริกซ์ผลคูณ $AB$ มีมิติ $3 \times 3$ ดึง $(-2)$ ออกมาต้องยกกำลัง $3$ จะได้ $(-2)^3 = -8$:

$$ \begin{aligned} \det(-2AB) &= (-2)^{\color{#e65100}3} \cdot \det(AB) \\ &= (-8) \cdot [\det(A) \cdot \det(B)] \\ &= (-8) \cdot [(2) \cdot (-3)] \\ &= (-8) \cdot (-6) \\ &= 48 \end{aligned} $$

Given that $A$ and $B$ are $3 \times 3$ matrices with $\det(A) = 2$ and $\det(B) = -3$, find $\det(-2AB)$

Caution: The matrix $AB$ has dimension $3 \times 3$, so factoring out $(-2)$ requires $(-2)^3 = -8$:

$$ \begin{aligned} \det(-2AB) &= (-2)^{\color{#e65100}3} \cdot \det(AB) \\ &= (-8) \cdot [\det(A) \cdot \det(B)] \\ &= (-8) \cdot [(2) \cdot (-3)] \\ &= (-8) \cdot (-6) \\ &= 48 \end{aligned} $$
Example 6.6

กำหนดให้ $C$ เป็นเมทริกซ์มิติ $2 \times 2$ โดยที่ $\det(C) = 5$ ถ้า $\det(kC) = 45$ จงหาค่าของสเกลาร์ $k$

เนื่องจาก $C$ มีมิติ $2 \times 2$ จะได้ว่า $\det(kC) = k^2 \det(C)$:

$$ \begin{aligned} \det(kC) &= k^{\color{#e65100}2} \cdot \det(C) \\ 45 &= k^2 \cdot (5) \\ k^2 &= \frac{45}{5} = 9 \\ k &= \pm \sqrt{9} \\ k &= 3 \text{ หรือ } k = -3 \end{aligned} $$

Given that $C$ is a $2 \times 2$ matrix with $\det(C) = 5$. If $\det(kC) = 45$, find the scalar $k$

Since $C$ is a $2 \times 2$ matrix, $\det(kC) = k^2 \det(C)$:

$$ \begin{aligned} \det(kC) &= k^{\color{#e65100}2} \cdot \det(C) \\ 45 &= k^2 \cdot (5) \\ k^2 &= \frac{45}{5} = 9 \\ k &= \pm \sqrt{9} \\ k &= 3 \text{ or } k = -3 \end{aligned} $$
Example 6.7

กำหนดให้ $A, B$ เป็นเมทริกซ์จัตุรัสมิติ $n \times n$ จงทำให้อยู่ในรูปอย่างง่าย: $\det(A^3 B (2A^t))$

กระจาย $\det$ ตามสมบัติผลคูณ และดึงสเกลาร์ $2$ ออกจาก $A^t$ มิติ $n \times n$ เป็น $2^n$:

$$ \begin{aligned} \det(A^3 B (2A^t)) &= \det(A^3) \cdot \det(B) \cdot \det(2A^t) \\ &= (\det(A))^3 \cdot \det(B) \cdot [2^{\color{#e65100}n} \cdot \det(A^t)] \\ &= 2^n \cdot (\det(A))^3 \cdot \det(B) \cdot \det(A) \\ &= 2^n \cdot (\det(A))^4 \cdot \det(B) \end{aligned} $$

Given that $A, B$ are $n \times n$ square matrices. Simplify: $\det(A^3 B (2A^t))$

Distribute $\det$ across matrix factors and factor out scalar $2$ from $n \times n$ matrix $A^t$ as $2^n$:

$$ \begin{aligned} \det(A^3 B (2A^t)) &= \det(A^3) \cdot \det(B) \cdot \det(2A^t) \\ &= (\det(A))^3 \cdot \det(B) \cdot [2^{\color{#e65100}n} \cdot \det(A^t)] \\ &= 2^n \cdot (\det(A))^3 \cdot \det(B) \cdot \det(A) \\ &= 2^n \cdot (\det(A))^4 \cdot \det(B) \end{aligned} $$

คำศัพท์ที่น่าสนใจ Key Vocabulary

คำศัพท์คณิตศาสตร์ภาษาอังกฤษ พร้อมรากศัพท์

คำศัพท์ รากศัพท์ / Root ความหมาย / Meaning
Determinant determinare (to determine, set limits) ดีเทอร์มิแนนต์ · ค่าคงที่ประจำเมทริกซ์จัตุรัสที่ใช้บอกคุณสมบัติต่างๆ เช่น การมีตัวผกผัน
Matrix mater (mother, womb) เมทริกซ์ · กลุ่มของจำนวนที่เรียงเป็นแถวและหลักภายในเครื่องหมายวงเล็บ
Dimension / Order dimensio (measuring) มิติ / อันดับ · ขนาดของเมทริกซ์ (บอกด้วย แถว × หลัก)
Square Matrix exquadrare (to square) เมทริกซ์จัตุรัส · เมทริกซ์ที่มีจำนวนแถวเท่ากับจำนวนหลัก
Minor minor (less, smaller) ไมเนอร์ · ดีเทอร์มิแนนต์ของเมทริกซ์ย่อยที่ถูกตัดแถวและหลักออกไป 1 เส้น
Cofactor co- (together) + factor (doer/maker) โคแฟกเตอร์ · ค่าของไมเนอร์ที่มีการปรับเครื่องหมายบวกลบสลับกัน
Expansion expandere (to spread out) การกระจาย · วิธีการหาค่าดีเทอร์มิแนนต์โดยใช้ผลรวมของสมาชิกคูณด้วยโคแฟกเตอร์
Property proprietas (special character) สมบัติ · กฎหรือลักษณะเฉพาะที่ช่วยให้คำนวณได้เร็วขึ้น
Transpose trans- (across) + ponere (to place) ทรานสโพส · การสลับตำแหน่งระหว่างแถวกับหลักของเมทริกซ์
Row / Column columna (pillar) แถว (แนวนอน) / หลัก (แนวตั้ง)