TH

ในการคูณจำนวนจริง เราทราบว่าการคูณด้วย "ส่วนกลับ" จะทำให้ผลลัพธ์มีค่าเป็น 1 (เช่น $5 \times 5^{-1} = 1$) สำหรับเรื่องเมทริกซ์ก็มีแนวคิดคล้ายกัน เราเรียกสิ่งนั้นว่า "อินเวอร์สการคูณของเมทริกซ์ (Inverse Matrix)" ซึ่งเมื่อนำไปคูณกับเมทริกซ์ตั้งต้น จะได้ผลลัพธ์เป็น เมทริกซ์เอกลักษณ์ ($I$)

EN

In real number multiplication, multiplying by a "reciprocal" gives 1 (e.g., $5 \times 5^{-1} = 1$). Matrices have a similar concept called the "Multiplicative Inverse of a Matrix". When an inverse matrix is multiplied by the original matrix, the result is the Identity Matrix ($I$).

1

📖 นิยามและประเภทของเมทริกซ์ 📖 Definition & Matrix Types

TH

นิยามของอินเวอร์ส ($A^{-1}$): กำหนดให้ $A$ เป็นเมทริกซ์จัตุรัส หากมีเมทริกซ์ $A^{-1}$ ที่ทำให้:

$$ {\color{#1565c0}A}{\color{#8e24aa}A^{-1}} = {\color{#8e24aa}A^{-1}}{\color{#1565c0}A} = {\color{#2e7d32}I} $$

จะเรียก $A^{-1}$ ว่าเป็น อินเวอร์สการคูณของเมทริกซ์ $A$

  • เมทริกซ์เอกฐาน (Singular Matrix): คือเมทริกซ์ที่ หาอินเวอร์สไม่ได้ เกิดขึ้นเมื่อ $\displaystyle \det(A) = 0$
  • เมทริกซ์ไม่เอกฐาน (Non-singular Matrix): คือเมทริกซ์ที่ หาอินเวอร์สได้ เกิดขึ้นเมื่อ $\displaystyle \det(A) \neq 0$
EN

Definition of Inverse ($A^{-1}$): Let $A$ be a square matrix. If there exists a matrix $A^{-1}$ such that:

$$ {\color{#1565c0}A}{\color{#8e24aa}A^{-1}} = {\color{#8e24aa}A^{-1}}{\color{#1565c0}A} = {\color{#2e7d32}I} $$

Then $A^{-1}$ is called the multiplicative inverse of matrix $A$.

  • Singular Matrix: A matrix that does not have an inverse. This occurs when $\displaystyle \det(A) = 0$.
  • Non-singular Matrix: A matrix that has an inverse. This occurs when $\displaystyle \det(A) \neq 0$.
2

🧩 การหาอินเวอร์สของเมทริกซ์ $2 \times 2$ 🧩 Inverse of a $2 \times 2$ Matrix

TH

กำหนดให้ ${\color{#1565c0}A} = \begin{bmatrix} {\color{#1565c0}a} & {\color{#e65100}b} \\ {\color{#e65100}c} & {\color{#1565c0}d} \end{bmatrix}$ เราสามารถหา ${\color{#8e24aa}A^{-1}}$ ได้จากสูตรลัด:

$$ {\color{#8e24aa}A^{-1}} = \frac{1}{{\color{#c62828}\det(A)}} \begin{bmatrix} {\color{#1565c0}d} & {\color{#e65100}-b} \\ {\color{#e65100}-c} & {\color{#1565c0}a} \end{bmatrix} $$

เทคนิคจำ: สลับตำแหน่งเส้นทแยงมุมหลัก (${\color{#1565c0}a, d}$) และ เปลี่ยนเครื่องหมายเส้นทแยงมุมรอง (${\color{#e65100}b, c}$) จากนั้นหารด้วย ${\color{#c62828}\det(A)}$

EN

Given ${\color{#1565c0}A} = \begin{bmatrix} {\color{#1565c0}a} & {\color{#e65100}b} \\ {\color{#e65100}c} & {\color{#1565c0}d} \end{bmatrix}$, we can find ${\color{#8e24aa}A^{-1}}$ using the formula:

$$ {\color{#8e24aa}A^{-1}} = \frac{1}{{\color{#c62828}\det(A)}} \begin{bmatrix} {\color{#1565c0}d} & {\color{#e65100}-b} \\ {\color{#e65100}-c} & {\color{#1565c0}a} \end{bmatrix} $$

Tip to remember: Swap the main diagonal elements (${\color{#1565c0}a, d}$), change the signs of the secondary diagonal elements (${\color{#e65100}b, c}$), and divide by ${\color{#c62828}\det(A)}$.

Example 2.1

จงหาอินเวอร์สของ $A = \begin{bmatrix} 4 & 7 \\ 1 & 2 \end{bmatrix}$

$$ \begin{aligned} \det(A) &= (4)(2) - (7)(1) \\ &= 8 - 7 \\ &= 1 \\ A^{-1} &= \frac{1}{1} \begin{bmatrix} 2 & -7 \\ -1 & 4 \end{bmatrix} \\ &= \begin{bmatrix} 2 & -7 \\ -1 & 4 \end{bmatrix} \end{aligned} $$

Find the inverse of $A = \begin{bmatrix} 4 & 7 \\ 1 & 2 \end{bmatrix}$

$$ \begin{aligned} \det(A) &= (4)(2) - (7)(1) \\ &= 8 - 7 \\ &= 1 \\ A^{-1} &= \frac{1}{1} \begin{bmatrix} 2 & -7 \\ -1 & 4 \end{bmatrix} \\ &= \begin{bmatrix} 2 & -7 \\ -1 & 4 \end{bmatrix} \end{aligned} $$
Example 2.2

จงหาอินเวอร์สของ $B = \begin{bmatrix} 3 & 4 \\ 2 & 1 \end{bmatrix}$

$$ \begin{aligned} \det(B) &= (3)(1) - (4)(2) \\ &= 3 - 8 \\ &= -5 \\ B^{-1} &= \frac{1}{-5} \begin{bmatrix} 1 & -4 \\ -2 & 3 \end{bmatrix} \\ &= \begin{bmatrix} -\frac{1}{5} & \frac{4}{5} \\ \frac{2}{5} & -\frac{3}{5} \end{bmatrix} \end{aligned} $$

Find the inverse of $B = \begin{bmatrix} 3 & 4 \\ 2 & 1 \end{bmatrix}$

$$ \begin{aligned} \det(B) &= (3)(1) - (4)(2) \\ &= 3 - 8 \\ &= -5 \\ B^{-1} &= \frac{1}{-5} \begin{bmatrix} 1 & -4 \\ -2 & 3 \end{bmatrix} \\ &= \begin{bmatrix} -\frac{1}{5} & \frac{4}{5} \\ \frac{2}{5} & -\frac{3}{5} \end{bmatrix} \end{aligned} $$
Example 2.3

จงพิจารณาว่า $C = \begin{bmatrix} 6 & -3 \\ -4 & 2 \end{bmatrix}$ มีอินเวอร์สหรือไม่

$$ \begin{aligned} \det(C) &= (6)(2) - (-3)(-4) \\ &= 12 - 12 \\ &= 0 \\ \text{เนื่องจาก } &\det(C) = 0 \text{ จึงเป็นเมทริกซ์เอกฐาน} \\ &\text{(ไม่มีอินเวอร์สการคูณ)} \end{aligned} $$

Determine if $C = \begin{bmatrix} 6 & -3 \\ -4 & 2 \end{bmatrix}$ has an inverse.

$$ \begin{aligned} \det(C) &= (6)(2) - (-3)(-4) \\ &= 12 - 12 \\ &= 0 \\ \text{Since } &\det(C) = 0 \text{, it is a singular matrix.} \\ &\text{(No multiplicative inverse)} \end{aligned} $$
Example 2.4

จงหาอินเวอร์สของ $D = \begin{bmatrix} -2 & 0 \\ 0 & 5 \end{bmatrix}$

$$ \begin{aligned} \det(D) &= (-2)(5) - (0)(0) \\ &= -10 \\ D^{-1} &= \frac{1}{-10} \begin{bmatrix} 5 & 0 \\ 0 & -2 \end{bmatrix} \\ &= \begin{bmatrix} -\frac{1}{2} & 0 \\ 0 & \frac{1}{5} \end{bmatrix} \end{aligned} $$

Find the inverse of $D = \begin{bmatrix} -2 & 0 \\ 0 & 5 \end{bmatrix}$

$$ \begin{aligned} \det(D) &= (-2)(5) - (0)(0) \\ &= -10 \\ D^{-1} &= \frac{1}{-10} \begin{bmatrix} 5 & 0 \\ 0 & -2 \end{bmatrix} \\ &= \begin{bmatrix} -\frac{1}{2} & 0 \\ 0 & \frac{1}{5} \end{bmatrix} \end{aligned} $$
Example 2.5

กำหนด $A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}$ จงหาเมทริกซ์ $X$ ที่ทำให้ $AX = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$

$$ \begin{aligned} \text{จากสมการ } AX &= I \\ X &= A^{-1} \\ \det(A) &= (2)(2) - (3)(1) \\&= 1 \\ X &= \frac{1}{1} \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix} \end{aligned} $$

Given $A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}$, find matrix $X$ such that $AX = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$.

$$ \begin{aligned} \text{From } AX &= I \\ X &= A^{-1} \\ \det(A) &= (2)(2) - (3)(1) \\&= 1 \\ X &= \frac{1}{1} \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix} \end{aligned} $$
Example 2.6

จงหาค่า $x$ ที่ทำให้เมทริกซ์ $\begin{bmatrix} x-1 & 4 \\ 2 & x+1 \end{bmatrix}$ เป็นเมทริกซ์เอกฐาน

$$ \begin{aligned} \text{เมทริกซ์เอกฐานมี } \det &= 0 \\ (x-1)(x+1) - (4)(2) &= 0 \\ x^2 - 1 - 8 &= 0 \\ x^2 - 9 &= 0 \\ (x-3)(x+3) &= 0 \\ x &= 3, -3 \end{aligned} $$

Find $x$ such that the matrix $\begin{bmatrix} x-1 & 4 \\ 2 & x+1 \end{bmatrix}$ is a singular matrix.

$$ \begin{aligned} \text{Singular matrix implies } \det &= 0 \\ (x-1)(x+1) - (4)(2) &= 0 \\ x^2 - 1 - 8 &= 0 \\ x^2 - 9 &= 0 \\ (x-3)(x+3) &= 0 \\ x &= 3, -3 \end{aligned} $$
Example 2.7

กำหนด $A = \begin{bmatrix} 1 & -2 \\ 0 & 1 \end{bmatrix}$ จงหา $\det(A^{-1})$

$$ \begin{aligned} \text{โดยสมบัติ } \det(A^{-1}) &= \frac{1}{\det(A)} \\ \det(A) &= (1)(1) - (-2)(0) \\ &= 1 \\ \det(A^{-1}) &= \frac{1}{1} \\ &= 1 \end{aligned} $$

Given $A = \begin{bmatrix} 1 & -2 \\ 0 & 1 \end{bmatrix}$, find $\det(A^{-1})$.

$$ \begin{aligned} \text{By property } \det(A^{-1}) &= \frac{1}{\det(A)} \\ \det(A) &= (1)(1) - (-2)(0) \\ &= 1 \\ \det(A^{-1}) &= \frac{1}{1} \\ &= 1 \end{aligned} $$
3

⚙️ การหาอินเวอร์ส $3 \times 3$ และเมทริกซ์ผูกพัน ⚙️ Inverse of a $3 \times 3$ Matrix & Adjoint

TH

สำหรับเมทริกซ์ขนาด $3 \times 3$ ขึ้นไป เราต้องอาศัย เมทริกซ์ผูกพัน (Adjoint Matrix: ${\color{#00838f}\operatorname{adj}(A)}$) ซึ่งเกิดจากการนำเมทริกซ์โคแฟกเตอร์มาทรานสโพส:

$$ {\color{#00838f}\operatorname{adj}(A)} = [{\color{#1565c0}C_{ij}(A)}]^t $$

และสูตรในการหาอินเวอร์ส ${\color{#8e24aa}A^{-1}}$ จะถูกนิยามว่า:

$$ {\color{#8e24aa}A^{-1}} = \frac{1}{{\color{#c62828}\det(A)}} \cdot {\color{#00838f}\operatorname{adj}(A)} $$
EN

For matrices of size $3 \times 3$ and larger, we use the Adjoint Matrix (${\color{#00838f}\operatorname{adj}(A)}$), which is the transpose of the cofactor matrix:

$$ {\color{#00838f}\operatorname{adj}(A)} = [{\color{#1565c0}C_{ij}(A)}]^t $$

And the formula for the inverse ${\color{#8e24aa}A^{-1}}$ is defined as:

$$ {\color{#8e24aa}A^{-1}} = \frac{1}{{\color{#c62828}\det(A)}} \cdot {\color{#00838f}\operatorname{adj}(A)} $$
Example 3.1

กำหนด $A = \begin{bmatrix} 1 & 2 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 2 \end{bmatrix}$ จงหา $A^{-1}$

$$ \begin{aligned} \text{ขั้นที่ 1: หา } &\det(A) \\ \det(A) &= 1(2-0) - 2(0-1) + 1(0-1) \\ &= 2 + 2 - 1 \\ &= 3 \\ \text{ขั้นที่ 2: หา } &adj(A) \text{ จากโคแฟกเตอร์} \\ C_{11} &= +(2-0) \\&= 2 \\ C_{12} &= -(0-1) \\&= 1 \\ C_{13} &= +(0-1) \\&= -1 \\ C_{21} &= -(4-0) \\&= -4 \\ C_{22} &= +(2-1) \\&= 1 \\ C_{23} &= -(0-2) \\&= 2 \\ C_{31} &= +(2-1) \\&= 1 \\ C_{32} &= -(1-0) \\&= -1 \\ C_{33} &= +(1-0) \\&= 1 \\ adj(A) &= \begin{bmatrix} 2 & 1 & -1 \\ -4 & 1 & 2 \\ 1 & -1 & 1 \end{bmatrix}^t \\ &= \begin{bmatrix} 2 & -4 & 1 \\ 1 & 1 & -1 \\ -1 & 2 & 1 \end{bmatrix} \\ \text{ขั้นที่ 3: แทนค่าในสูตร } &A^{-1} \\ A^{-1} &= \frac{1}{3} \begin{bmatrix} 2 & -4 & 1 \\ 1 & 1 & -1 \\ -1 & 2 & 1 \end{bmatrix} \end{aligned} $$

Given $A = \begin{bmatrix} 1 & 2 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 2 \end{bmatrix}$, find $A^{-1}$.

$$ \begin{aligned} \text{Step 1: Find } &\det(A) \\ \det(A) &= 1(2-0) - 2(0-1) + 1(0-1) \\ &= 2 + 2 - 1 \\ &= 3 \\ \text{Step 2: Find } &adj(A) \text{ from cofactors} \\ C_{11} &= +(2-0) \\&= 2 \\ C_{12} &= -(0-1) \\&= 1 \\ C_{13} &= +(0-1) \\&= -1 \\ C_{21} &= -(4-0) \\&= -4 \\ C_{22} &= +(2-1) \\&= 1 \\ C_{23} &= -(0-2) \\&= 2 \\ C_{31} &= +(2-1) \\&= 1 \\ C_{32} &= -(1-0) \\&= -1 \\ C_{33} &= +(1-0) \\&= 1 \\ adj(A) &= \begin{bmatrix} 2 & 1 & -1 \\ -4 & 1 & 2 \\ 1 & -1 & 1 \end{bmatrix}^t \\ &= \begin{bmatrix} 2 & -4 & 1 \\ 1 & 1 & -1 \\ -1 & 2 & 1 \end{bmatrix} \\ \text{Step 3: Apply formula for } &A^{-1} \\ A^{-1} &= \frac{1}{3} \begin{bmatrix} 2 & -4 & 1 \\ 1 & 1 & -1 \\ -1 & 2 & 1 \end{bmatrix} \end{aligned} $$
Example 3.2

กำหนด $B = \begin{bmatrix} 1 & 1 & 1 \\ 0 & 2 & 3 \\ 5 & 5 & 1 \end{bmatrix}$ จงหา $B^{-1}$

$$ \begin{aligned} \text{ขั้นที่ 1: หา } &\det(B) \\ \det(B) &= 1(2-15) - 1(0-15) + 1(0-10) \\ &= -13 + 15 - 10 \\ &= -8 \\ \text{ขั้นที่ 2: หา } &adj(B) \text{ จากโคแฟกเตอร์} \\ C_{11} &= +(2-15) \\&= -13 \\ C_{12} &= -(0-15) \\&= 15 \\ C_{13} &= +(0-10) \\&= -10 \\ C_{21} &= -(1-5) \\&= 4 \\ C_{22} &= +(1-5) \\&= -4 \\ C_{23} &= -(5-5) \\&= 0 \\ C_{31} &= +(3-2) \\&= 1 \\ C_{32} &= -(3-0) \\&= -3 \\ C_{33} &= +(2-0) \\&= 2 \\ adj(B) &= \begin{bmatrix} -13 & 15 & -10 \\ 4 & -4 & 0 \\ 1 & -3 & 2 \end{bmatrix}^t \\ &= \begin{bmatrix} -13 & 4 & 1 \\ 15 & -4 & -3 \\ -10 & 0 & 2 \end{bmatrix} \\ \text{ขั้นที่ 3: แทนค่าในสูตร } &B^{-1} \\ B^{-1} &= -\frac{1}{8} \begin{bmatrix} -13 & 4 & 1 \\ 15 & -4 & -3 \\ -10 & 0 & 2 \end{bmatrix} \end{aligned} $$

Given $B = \begin{bmatrix} 1 & 1 & 1 \\ 0 & 2 & 3 \\ 5 & 5 & 1 \end{bmatrix}$, find $B^{-1}$.

$$ \begin{aligned} \text{Step 1: Find } &\det(B) \\ \det(B) &= 1(2-15) - 1(0-15) + 1(0-10) \\ &= -13 + 15 - 10 \\ &= -8 \\ \text{Step 2: Find } &adj(B) \text{ from cofactors} \\ C_{11} &= +(2-15) \\&= -13 \\ C_{12} &= -(0-15) \\&= 15 \\ C_{13} &= +(0-10) \\&= -10 \\ C_{21} &= -(1-5) \\&= 4 \\ C_{22} &= +(1-5) \\&= -4 \\ C_{23} &= -(5-5) \\&= 0 \\ C_{31} &= +(3-2) \\&= 1 \\ C_{32} &= -(3-0) \\&= -3 \\ C_{33} &= +(2-0) \\&= 2 \\ adj(B) &= \begin{bmatrix} -13 & 15 & -10 \\ 4 & -4 & 0 \\ 1 & -3 & 2 \end{bmatrix}^t \\ &= \begin{bmatrix} -13 & 4 & 1 \\ 15 & -4 & -3 \\ -10 & 0 & 2 \end{bmatrix} \\ \text{Step 3: Apply formula for } &B^{-1} \\ B^{-1} &= -\frac{1}{8} \begin{bmatrix} -13 & 4 & 1 \\ 15 & -4 & -3 \\ -10 & 0 & 2 \end{bmatrix} \end{aligned} $$
Example 3.3

กำหนด $C = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 2 & 1 \\ 0 & 1 & 2 \end{bmatrix}$ จงหา $C^{-1}$

$$ \begin{aligned} \text{ขั้นที่ 1: หา } &\det(C) \\ \det(C) &= 2(4-1) - 1(2-0) + 0 \\ &= 6 - 2 \\ &= 4 \\ \text{ขั้นที่ 2: หา } &adj(C) \text{ จากโคแฟกเตอร์} \\ C_{11} &= +(4-1) \\&= 3 \\ C_{12} &= -(2-0) \\&= -2 \\ C_{13} &= +(1-0) \\&= 1 \\ C_{21} &= -(2-0) \\&= -2 \\ C_{22} &= +(4-0) \\&= 4 \\ C_{23} &= -(2-0) \\&= -2 \\ C_{31} &= +(1-0) \\&= 1 \\ C_{32} &= -(2-0) \\&= -2 \\ C_{33} &= +(4-1) \\&= 3 \\ adj(C) &= \begin{bmatrix} 3 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 3 \end{bmatrix}^t \\ &= \begin{bmatrix} 3 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 3 \end{bmatrix} \\ \text{ขั้นที่ 3: แทนค่าในสูตร } &C^{-1} \\ C^{-1} &= \frac{1}{4} \begin{bmatrix} 3 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 3 \end{bmatrix} \end{aligned} $$

Given $C = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 2 & 1 \\ 0 & 1 & 2 \end{bmatrix}$, find $C^{-1}$.

$$ \begin{aligned} \text{Step 1: Find } &\det(C) \\ \det(C) &= 2(4-1) - 1(2-0) + 0 \\ &= 6 - 2 \\ &= 4 \\ \text{Step 2: Find } &adj(C) \text{ from cofactors} \\ C_{11} &= +(4-1) \\&= 3 \\ C_{12} &= -(2-0) \\&= -2 \\ C_{13} &= +(1-0) \\&= 1 \\ C_{21} &= -(2-0) \\&= -2 \\ C_{22} &= +(4-0) \\&= 4 \\ C_{23} &= -(2-0) \\&= -2 \\ C_{31} &= +(1-0) \\&= 1 \\ C_{32} &= -(2-0) \\&= -2 \\ C_{33} &= +(4-1) \\&= 3 \\ adj(C) &= \begin{bmatrix} 3 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 3 \end{bmatrix}^t \\ &= \begin{bmatrix} 3 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 3 \end{bmatrix} \\ \text{Step 3: Apply formula for } &C^{-1} \\ C^{-1} &= \frac{1}{4} \begin{bmatrix} 3 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 3 \end{bmatrix} \end{aligned} $$
Example 3.4

กำหนด $A = \begin{bmatrix} 1 & 0 & 2 \\ 2 & 1 & 0 \\ 0 & 2 & 1 \end{bmatrix}$ จงหา $A^{-1}$

$$ \begin{aligned} \text{ขั้นที่ 1: หา } &\det(A) \\ \det(A) &= 1(1-0) - 0(2-0) + 2(4-0) \\ &= 1 - 0 + 8 \\ &= 9 \\ \text{ขั้นที่ 2: หา } &adj(A) \text{ จากโคแฟกเตอร์} \\ C_{11} &= +(1-0) \\&= 1 \\ C_{12} &= -(2-0) \\&= -2 \\ C_{13} &= +(4-0) \\&= 4 \\ C_{21} &= -(0-4) \\&= 4 \\ C_{22} &= +(1-0) \\&= 1 \\ C_{23} &= -(2-0) \\&= -2 \\ C_{31} &= +(0-2) \\&= -2 \\ C_{32} &= -(0-4) \\&= 4 \\ C_{33} &= +(1-0) \\&= 1 \\ adj(A) &= \begin{bmatrix} 1 & -2 & 4 \\ 4 & 1 & -2 \\ -2 & 4 & 1 \end{bmatrix}^t \\ &= \begin{bmatrix} 1 & 4 & -2 \\ -2 & 1 & 4 \\ 4 & -2 & 1 \end{bmatrix} \\ \text{ขั้นที่ 3: แทนค่าในสูตร } &A^{-1} \\ A^{-1} &= \frac{1}{9} \begin{bmatrix} 1 & 4 & -2 \\ -2 & 1 & 4 \\ 4 & -2 & 1 \end{bmatrix} \end{aligned} $$

Given $A = \begin{bmatrix} 1 & 0 & 2 \\ 2 & 1 & 0 \\ 0 & 2 & 1 \end{bmatrix}$, find $A^{-1}$.

$$ \begin{aligned} \text{Step 1: Find } &\det(A) \\ \det(A) &= 1(1-0) - 0(2-0) + 2(4-0) \\ &= 1 - 0 + 8 \\ &= 9 \\ \text{Step 2: Find } &adj(A) \text{ from cofactors} \\ C_{11} &= +(1-0) \\&= 1 \\ C_{12} &= -(2-0) \\&= -2 \\ C_{13} &= +(4-0) \\&= 4 \\ C_{21} &= -(0-4) \\&= 4 \\ C_{22} &= +(1-0) \\&= 1 \\ C_{23} &= -(2-0) \\&= -2 \\ C_{31} &= +(0-2) \\&= -2 \\ C_{32} &= -(0-4) \\&= 4 \\ C_{33} &= +(1-0) \\&= 1 \\ adj(A) &= \begin{bmatrix} 1 & -2 & 4 \\ 4 & 1 & -2 \\ -2 & 4 & 1 \end{bmatrix}^t \\ &= \begin{bmatrix} 1 & 4 & -2 \\ -2 & 1 & 4 \\ 4 & -2 & 1 \end{bmatrix} \\ \text{Step 3: Apply formula for } &A^{-1} \\ A^{-1} &= \frac{1}{9} \begin{bmatrix} 1 & 4 & -2 \\ -2 & 1 & 4 \\ 4 & -2 & 1 \end{bmatrix} \end{aligned} $$
Example 3.5

จงหาอินเวอร์สของเมทริกซ์เฉียง $D = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}$

$$ \begin{aligned} \text{สำหรับเมทริกซ์เฉียง } &\text{สามารถกลับเศษเป็นส่วนที่เส้นทแยงมุมได้เลย} \\ D^{-1} &= \begin{bmatrix} \frac{1}{2} & 0 & 0 \\ 0 & \frac{1}{3} & 0 \\ 0 & 0 & \frac{1}{4} \end{bmatrix} \end{aligned} $$

Find the inverse of the diagonal matrix $D = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}$.

$$ \begin{aligned} \text{For a diagonal matrix, } &\text{simply take the reciprocals of the diagonal elements.} \\ D^{-1} &= \begin{bmatrix} \frac{1}{2} & 0 & 0 \\ 0 & \frac{1}{3} & 0 \\ 0 & 0 & \frac{1}{4} \end{bmatrix} \end{aligned} $$
Example 3.6

ตรวจสอบว่าเมทริกซ์ $M = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}$ มีอินเวอร์สหรือไม่

$$ \begin{aligned} \det(M) &= 1(45-48) - 2(36-42) + 3(32-35) \\ &= 1(-3) - 2(-6) + 3(-3) \\ &= -3 + 12 - 9 \\ &= 0 \\ \text{เนื่องจาก } &\det(M) = 0 \text{ จึงไม่มีอินเวอร์ส} \end{aligned} $$

Check if the matrix $M = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}$ has an inverse.

$$ \begin{aligned} \det(M) &= 1(45-48) - 2(36-42) + 3(32-35) \\ &= 1(-3) - 2(-6) + 3(-3) \\ &= -3 + 12 - 9 \\ &= 0 \\ \text{Since } &\det(M) = 0 \text{, it has no inverse.} \end{aligned} $$
Example 3.7

กำหนด $A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 1 \\ -1 & 0 & 1 \end{bmatrix}$ จงหาสมาชิกแถวที่ 1 หลักที่ 3 ของ $A^{-1}$

$$ \begin{aligned} \det(A) &= 1(2-0) - 1(0-(-1)) + 0 \\&= 2 - 1 \\&= 1 \\ \text{สมาชิก } &(A^{-1})_{13} = \frac{C_{31}}{\det(A)} \quad \text{(เพราะเกิดจากการทรานสโพส)} \\ C_{31} &= + \det\begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} \\&= 1 - 0 \\&= 1 \\ (A^{-1})_{13} &= \frac{1}{1} \\&= 1 \end{aligned} $$

Given $A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 1 \\ -1 & 0 & 1 \end{bmatrix}$, find the element in row 1, col 3 of $A^{-1}$.

$$ \begin{aligned} \det(A) &= 1(2-0) - 1(0-(-1)) + 0 \\&= 2 - 1 \\&= 1 \\ \text{Element } &(A^{-1})_{13} = \frac{C_{31}}{\det(A)} \quad \text{(due to transpose)} \\ C_{31} &= + \det\begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} \\&= 1 - 0 \\&= 1 \\ (A^{-1})_{13} &= \frac{1}{1} \\&= 1 \end{aligned} $$
Example 3.8

กำหนด $adj(A) = \begin{bmatrix} 4 & 2 & 1 \\ -1 & 3 & 0 \\ 2 & 1 & 5 \end{bmatrix}$ และ $\det(A) = 2$ จงหา $A^{-1}$

$$ \begin{aligned} A^{-1} &= \frac{1}{\det(A)} \cdot adj(A) \\ A^{-1} &= \frac{1}{2} \begin{bmatrix} 4 & 2 & 1 \\ -1 & 3 & 0 \\ 2 & 1 & 5 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 & 0.5 \\ -0.5 & 1.5 & 0 \\ 1 & 0.5 & 2.5 \end{bmatrix} \end{aligned} $$

Given $adj(A) = \begin{bmatrix} 4 & 2 & 1 \\ -1 & 3 & 0 \\ 2 & 1 & 5 \end{bmatrix}$ and $\det(A) = 2$, find $A^{-1}$.

$$ \begin{aligned} A^{-1} &= \frac{1}{\det(A)} \cdot adj(A) \\ A^{-1} &= \frac{1}{2} \begin{bmatrix} 4 & 2 & 1 \\ -1 & 3 & 0 \\ 2 & 1 & 5 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 & 0.5 \\ -0.5 & 1.5 & 0 \\ 1 & 0.5 & 2.5 \end{bmatrix} \end{aligned} $$
Example 3.9

กำหนดเมทริกซ์เอกลักษณ์ $I = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}$ จงหา $I^{-1}$

$$ \begin{aligned} \text{เนื่องจาก } I \cdot I &= I \\ \text{ดังนั้น } I^{-1} &= I \\&= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \end{aligned} $$

Given Identity matrix $I = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}$, find $I^{-1}$.

$$ \begin{aligned} \text{Since } I \cdot I &= I \\ \text{Therefore, } I^{-1} &= I \\&= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \end{aligned} $$
Example 3.10

จงหาเมทริกซ์ $X$ จากสมการ $XA = B$

$$ \begin{aligned} XA &= B \\ XA(A^{-1}) &= B(A^{-1}) \quad \text{(คูณ } A^{-1} \text{ ทางขวา)} \\ X(I) &= B A^{-1} \\ X &= B A^{-1} \end{aligned} $$

** ระวังเรื่องลำดับการคูณ $A^{-1} B \neq B A^{-1}$ **

Find matrix $X$ from the equation $XA = B$.

$$ \begin{aligned} XA &= B \\ XA(A^{-1}) &= B(A^{-1}) \quad \text{(Multiply } A^{-1} \text{ on the right)} \\ X(I) &= B A^{-1} \\ X &= B A^{-1} \end{aligned} $$

** Be careful with multiplication order: $A^{-1} B \neq B A^{-1}$ **

4

✨ สมบัติของอินเวอร์สเมทริกซ์ ✨ Properties of Inverse Matrices

TH

สมบัติเหล่านี้ช่วยลดขั้นตอนในการคำนวณได้อย่างมหาศาล:

  • $({\color{#8e24aa}A^{-1}})^{-1} = {\color{#1565c0}A}$ (อินเวอร์สซ้อนอินเวอร์สได้ตัวเดิม)
  • $({\color{#1565c0}A}{\color{#2e7d32}B})^{-1} = {\color{#2e7d32}B^{-1}} {\color{#1565c0}A^{-1}}$ ⚠️ (ต้องสลับลำดับการคูณ!)
  • $({\color{#1565c0}A}^t)^{-1} = ({\color{#8e24aa}A^{-1}})^t$ (สลับที่การทรานสโพสกับอินเวอร์สได้)
  • $({\color{#e65100}k}{\color{#1565c0}A})^{-1} = {\color{#e65100}\frac{1}{k}} {\color{#8e24aa}A^{-1}}$ (เมื่อ $k \neq 0$ คือค่าคงที่ ต้องกลับเศษเป็นส่วน)
  • $\displaystyle \det({\color{#8e24aa}A^{-1}}) = \frac{1}{{\color{#c62828}\det(A)}}$ (ดีเทอร์มิแนนต์ของอินเวอร์สคือส่วนกลับของ $\det$)
  • $\displaystyle \det({\color{#00838f}\operatorname{adj}(A)}) = ({\color{#c62828}\det(A)})^{n-1}$ (เมื่อ $A$ มีมิติ $n \times n$)
EN

These properties greatly simplify calculations:

  • $({\color{#8e24aa}A^{-1}})^{-1} = {\color{#1565c0}A}$ (Double inverse returns original)
  • $({\color{#1565c0}A}{\color{#2e7d32}B})^{-1} = {\color{#2e7d32}B^{-1}} {\color{#1565c0}A^{-1}}$ ⚠️ (Order must be reversed!)
  • $({\color{#1565c0}A}^t)^{-1} = ({\color{#8e24aa}A^{-1}})^t$ (Transpose and inverse can commute)
  • $({\color{#e65100}k}{\color{#1565c0}A})^{-1} = {\color{#e65100}\frac{1}{k}} {\color{#8e24aa}A^{-1}}$ (where $k \neq 0$ is a scalar, takes reciprocal)
  • $\displaystyle \det({\color{#8e24aa}A^{-1}}) = \frac{1}{{\color{#c62828}\det(A)}}$ (Determinant of inverse is reciprocal of $\det$)
  • $\displaystyle \det({\color{#00838f}\operatorname{adj}(A)}) = ({\color{#c62828}\det(A)})^{n-1}$ (for an $n \times n$ matrix $A$)
Example 4.1

กำหนด $A^{-1} = \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix}$ จงหาเมทริกซ์ $A$

$$ \begin{aligned} A &= (A^{-1})^{-1} \\ \det(A^{-1}) &= (2)(3) - (5)(1) \\&= 1 \\ A &= \frac{1}{1} \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix} \end{aligned} $$

Given $A^{-1} = \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix}$, find matrix $A$.

$$ \begin{aligned} A &= (A^{-1})^{-1} \\ \det(A^{-1}) &= (2)(3) - (5)(1) \\&= 1 \\ A &= \frac{1}{1} \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix} \end{aligned} $$
Example 4.2

กำหนด $A^{-1} = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix}$ และ $B^{-1} = \begin{bmatrix} 0 & 1 \\ -1 & 1 \end{bmatrix}$ จงหา $(AB)^{-1}$

$$ \begin{aligned} (AB)^{-1} &= B^{-1} A^{-1} \\ &= \begin{bmatrix} 0 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} \\ &= \begin{bmatrix} 0(1)+1(2) & 0(0)+1(1) \\ -1(1)+1(2) & -1(0)+1(1) \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} \end{aligned} $$

Given $A^{-1} = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix}$ and $B^{-1} = \begin{bmatrix} 0 & 1 \\ -1 & 1 \end{bmatrix}$, find $(AB)^{-1}$.

$$ \begin{aligned} (AB)^{-1} &= B^{-1} A^{-1} \\ &= \begin{bmatrix} 0 & 1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} \\ &= \begin{bmatrix} 0(1)+1(2) & 0(0)+1(1) \\ -1(1)+1(2) & -1(0)+1(1) \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} \end{aligned} $$
Example 4.3

กำหนด $\det(A) = 4$ จงหา $\det(A^{-1})$

$$ \begin{aligned} \det(A^{-1}) &= \frac{1}{\det(A)} \\ &= \frac{1}{4} \end{aligned} $$

Given $\det(A) = 4$, find $\det(A^{-1})$.

$$ \begin{aligned} \det(A^{-1}) &= \frac{1}{\det(A)} \\ &= \frac{1}{4} \end{aligned} $$
Example 4.4

กำหนด $A^{-1} = \begin{bmatrix} 4 & 2 \\ 6 & -8 \end{bmatrix}$ จงหา $(2A)^{-1}$

$$ \begin{aligned} (2A)^{-1} &= \frac{1}{2} A^{-1} \\ &= \frac{1}{2} \begin{bmatrix} 4 & 2 \\ 6 & -8 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 \\ 3 & -4 \end{bmatrix} \end{aligned} $$

Given $A^{-1} = \begin{bmatrix} 4 & 2 \\ 6 & -8 \end{bmatrix}$, find $(2A)^{-1}$.

$$ \begin{aligned} (2A)^{-1} &= \frac{1}{2} A^{-1} \\ &= \frac{1}{2} \begin{bmatrix} 4 & 2 \\ 6 & -8 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 1 \\ 3 & -4 \end{bmatrix} \end{aligned} $$
Example 4.5

กำหนด $A^{-1} = \begin{bmatrix} 1 & -2 \\ 3 & 4 \end{bmatrix}$ จงหา $(A^t)^{-1}$

$$ \begin{aligned} (A^t)^{-1} &= (A^{-1})^t \\ &= \begin{bmatrix} 1 & -2 \\ 3 & 4 \end{bmatrix}^t \\ &= \begin{bmatrix} 1 & 3 \\ -2 & 4 \end{bmatrix} \end{aligned} $$

Given $A^{-1} = \begin{bmatrix} 1 & -2 \\ 3 & 4 \end{bmatrix}$, find $(A^t)^{-1}$.

$$ \begin{aligned} (A^t)^{-1} &= (A^{-1})^t \\ &= \begin{bmatrix} 1 & -2 \\ 3 & 4 \end{bmatrix}^t \\ &= \begin{bmatrix} 1 & 3 \\ -2 & 4 \end{bmatrix} \end{aligned} $$
Example 4.6

จงจัดรูปนิพจน์ $(ABC)^{-1}$ ให้อยู่ในรูปผลคูณของอินเวอร์สย่อย

$$ \begin{aligned} (ABC)^{-1} &= ((AB)C)^{-1} \\ &= C^{-1} (AB)^{-1} \\ &= C^{-1} B^{-1} A^{-1} \end{aligned} $$

(ข้อสังเกต: ลำดับจะถูกกลับจากหลังมาหน้าทั้งหมด)

Simplify the expression $(ABC)^{-1}$ into a product of inverses.

$$ \begin{aligned} (ABC)^{-1} &= ((AB)C)^{-1} \\ &= C^{-1} (AB)^{-1} \\ &= C^{-1} B^{-1} A^{-1} \end{aligned} $$

(Note: The entire order is completely reversed)

Example 4.7

กำหนด $\det(A^{-1} B) = 5$ และ $\det(B) = 15$ จงหา $\det(A)$

$$ \begin{aligned} \det(A^{-1} B) &= 5 \\ \det(A^{-1}) \cdot \det(B) &= 5 \\ \frac{1}{\det(A)} \cdot 15 &= 5 \\ \frac{15}{\det(A)} &= 5 \\ \det(A) &= \frac{15}{5} \\&= 3 \end{aligned} $$

Given $\det(A^{-1} B) = 5$ and $\det(B) = 15$, find $\det(A)$.

$$ \begin{aligned} \det(A^{-1} B) &= 5 \\ \det(A^{-1}) \cdot \det(B) &= 5 \\ \frac{1}{\det(A)} \cdot 15 &= 5 \\ \frac{15}{\det(A)} &= 5 \\ \det(A) &= \frac{15}{5} \\ &= 3 \end{aligned} $$
Example 4.8

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

$$ \begin{aligned} \text{จากสูตร } \det(\operatorname{adj}(A)) &= (\det(A))^{n-1} \\ \text{เนื่องจาก $A$ มีมิติ } n &= 3 \\ \det(\operatorname{adj}(A)) &= (\det(A))^{3-1} \\ &= (\det(A))^2 \\ &= (4)^2 \\ &= 16 \end{aligned} $$

Given that $A$ is a $3 \times 3$ matrix with $\det(A) = 4$, find $\det(\operatorname{adj}(A))$.

$$ \begin{aligned} \text{Using the formula } \det(\operatorname{adj}(A)) &= (\det(A))^{n-1} \\ \text{Since } n &= 3 \\ \det(\operatorname{adj}(A)) &= (\det(A))^{3-1} \\ &= (\det(A))^2 \\ &= (4)^2 \\ &= 16 \end{aligned} $$
Example 4.9

กำหนดให้ $B$ เป็นเมทริกซ์ขนาด $3 \times 3$ โดยที่ $\det(\operatorname{adj}(B)) = 25$ และ $\det(B) > 0$ จงหา $\det(B^{-1})$

$$ \begin{aligned} \det(\operatorname{adj}(B)) &= (\det(B))^{3-1} \\ 25 &= (\det(B))^2 \\ \det(B) &= 5 \quad (\text{เพราะ } \det(B) > 0) \\[6pt] \det(B^{-1}) &= \frac{1}{\det(B)} \\ &= \frac{1}{5} \end{aligned} $$

Given that $B$ is a $3 \times 3$ matrix such that $\det(\operatorname{adj}(B)) = 25$ and $\det(B) > 0$, find $\det(B^{-1})$.

$$ \begin{aligned} \det(\operatorname{adj}(B)) &= (\det(B))^{3-1} \\ 25 &= (\det(B))^2 \\ \det(B) &= 5 \quad (\text{since } \det(B) > 0) \\[6pt] \det(B^{-1}) &= \frac{1}{\det(B)} \\ &= \frac{1}{5} \end{aligned} $$

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

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

คำศัพท์ รากศัพท์ / Root ความหมาย / Meaning
Inverse in- (in, toward) + vertere (to turn) อินเวอร์ส / ตัวผกผัน · สิ่งที่กระทำแล้วให้ผลลัพธ์ย้อนกลับหรือหักล้างกัน
Matrix mater (mother, source) เมทริกซ์ · กลุ่มของตัวเลขที่จัดเรียงเป็นแถวและหลักในวงเล็บ
Identity idem (the same) เอกลักษณ์ · เมทริกซ์ที่นำไปคูณกับเมทริกซ์ใดก็จะได้เมทริกซ์เดิม ($I$)
Singular singularis (single, alone) เอกฐาน · เมทริกซ์ที่มีค่าดีเทอร์มิแนนต์เป็น 0 (หาอินเวอร์สไม่ได้)
Non-singular non- (not) + singularis ไม่เอกฐาน · เมทริกซ์ที่มีค่าดีเทอร์มิแนนต์ไม่เป็น 0 (หาอินเวอร์สได้)
Adjoint ad- (to) + jungere (to join) ผูกพัน · เมทริกซ์ทรานสโพสของเมทริกซ์โคแฟกเตอร์ ($adj(A)$)
Transpose trans- (across) + ponere (to place) ทรานสโพส · การสลับตำแหน่งระหว่างแถวและหลัก
Determinant determinare (to determine, bounds) ดีเทอร์มิแนนต์ · ค่าตัวเลขคงที่ที่คำนวณได้จากเมทริกซ์จัตุรัส
Diagonal dia- (across) + gonia (angle) เส้นทแยงมุม · แนวเส้นที่ลากจากมุมหนึ่งไปยังมุมตรงข้ามในเมทริกซ์