การดำเนินการตามแถวเบื้องต้น (Elementary Row Operations) คือเครื่องมือหลักในการจัดการและแปลงรูปเมทริกซ์ ซึ่งมักถูกนำไปใช้ประโยชน์ในหลายๆ ด้าน เช่น การแก้ระบบสมการเชิงเส้น และ การหาอินเวอร์สการคูณของเมทริกซ์ (Inverse Matrix) โดยไม่ทำให้สมบัติหลักของระบบสมการนั้นเปลี่ยนแปลงไป
Elementary Row Operations are the primary tools used to manipulate and transform matrices. They are highly useful in various applications, such as solving systems of linear equations and finding the inverse of a matrix, without altering the fundamental properties of the system.
กฎของการดำเนินการตามแถว 3 รูปแบบ 3 Rules of Row Operations
การปรับแต่งแถวในเมทริกซ์จะต้องกระทำภายใต้ กฎ 3 ข้อ นี้เท่านั้น (ห้ามกระทำนอกเหนือจากนี้เด็ดขาด):
- 1. สลับที่ระหว่างแถว 2 แถว: สามารถสลับแถวที่ ${\color{#1565c0}i}$ และ ${\color{#1565c0}j}$ ได้ สัญลักษณ์คือ $\displaystyle {\color{#1565c0}R_i \leftrightarrow R_j}$
- 2. นำค่าคงที่คูณตลอดทั้งแถว: นำค่าคงที่ ${\color{#e65100}c}$ (โดยที่ $c \neq 0$) ไปคูณทุกสมาชิกในแถวที่ ${\color{#1565c0}i}$ สัญลักษณ์คือ $\displaystyle {\color{#e65100}c}{\color{#1565c0}R_i} \to {\color{#1565c0}R_i}$
- 3. การบวกด้วยจำนวนเท่าของอีกแถว: นำแถวที่ ${\color{#2e7d32}j}$ ไปคูณด้วยค่าคงที่ ${\color{#e65100}c}$ แล้วนำผลลัพธ์มาบวกเข้ากับแถวที่ ${\color{#1565c0}i}$ สัญลักษณ์คือ $\displaystyle {\color{#1565c0}R_i} + {\color{#e65100}c}{\color{#2e7d32}R_j} \rightarrow {\color{#1565c0}R_i}$
Row manipulation in a matrix must strictly follow these 3 rules (strictly no other operations allowed):
- 1. Row Swap: Interchange row ${\color{#1565c0}i}$ and row ${\color{#1565c0}j}$. Notation: $\displaystyle {\color{#1565c0}R_i \leftrightarrow R_j}$
- 2. Scalar Multiplication: Multiply all elements in row ${\color{#1565c0}i}$ by a non-zero constant ${\color{#e65100}c}$ ($c \neq 0$). Notation: $\displaystyle {\color{#e65100}c}{\color{#1565c0}R_i} \to {\color{#1565c0}R_i}$
- 3. Row Addition: Multiply row ${\color{#2e7d32}j}$ by a constant ${\color{#e65100}c}$, and add the result to row ${\color{#1565c0}i}$. Notation: $\displaystyle {\color{#1565c0}R_i} + {\color{#e65100}c}{\color{#2e7d32}R_j} \rightarrow {\color{#1565c0}R_i}$
จงใช้กฎข้อที่ 1 สลับที่ระหว่างแถวที่ 1 และแถวที่ 2 ($R_1 \leftrightarrow R_2$)
Apply rule 1: Swap row 1 and row 2 ($R_1 \leftrightarrow R_2$).
จงใช้กฎข้อที่ 2 นำ $\displaystyle \frac{1}{3}$ คูณแถวที่ 1 ($\frac{1}{3}R_1 \to R_1$)
Apply rule 2: Multiply row 1 by $\displaystyle \frac{1}{3}$ ($\frac{1}{3}R_1 \to R_1$).
จงใช้กฎข้อที่ 3 ทำให้ค่า $2$ ในแถวที่ 2 กลายเป็นศูนย์ โดยใช้ $R_2 - 2R_1 \to R_2$
Apply rule 3: Eliminate the $2$ in row 2 by using $R_2 - 2R_1 \to R_2$.
จงทำการสลับแถวที่ 2 และ 3 ของเมทริกซ์ขนาด $3 \times 3$ ($R_2 \leftrightarrow R_3$)
Swap row 2 and row 3 in a $3 \times 3$ matrix ($R_2 \leftrightarrow R_3$).
จงแปลงค่าในแถวที่ 2 ให้สมาชิกตัวหน้าสุดกลายเป็น $1$ โดยใช้การคูณ ($-\frac{1}{2}R_2 \to R_2$)
Convert the leading element of row 2 to $1$ using multiplication ($-\frac{1}{2}R_2 \to R_2$).
จงนำแถวที่ 2 ไปบวกเข้ากับแถวที่ 1 ($R_1 + R_2 \to R_1$)
Add row 2 to row 1 ($R_1 + R_2 \to R_1$).
จงดำเนินการตามแถว 2 ขั้นตอนต่อเนื่อง: สลับแถว 1,2 จากนั้นกำจัดตัวเลขหน้าสุดของแถว 2
Perform 2 sequential operations: Swap R1 and R2, then eliminate the leading entry in R2.
การหาอินเวอร์สด้วย Row Operation Finding Inverse using Row Operations
หลักการ: เราสามารถหา อินเวอร์สการคูณ (${\color{#8e24aa}A^{-1}}$) ของเมทริกซ์ ${\color{#1565c0}A}$ ได้โดยการสร้าง เมทริกซ์แต่งเติม (Augmented Matrix) ควบคู่กับเมทริกซ์เอกลักษณ์ ${\color{#2e7d32}I}$ ในรูปแบบ $\displaystyle [{\color{#1565c0}A} \mid {\color{#2e7d32}I}]$
จากนั้นใช้การดำเนินการตามแถวแปลงฝั่งซ้ายให้กลายเป็นเมทริกซ์เอกลักษณ์ ${\color{#2e7d32}I}$ เมื่อฝั่งซ้ายเป็น ${\color{#2e7d32}I}$ แล้ว สิ่งที่หลงเหลืออยู่ฝั่งขวาคือ ${\color{#8e24aa}A^{-1}}$ อย่างสมบูรณ์:
Principle: We can find the multiplicative inverse (${\color{#8e24aa}A^{-1}}$) of matrix ${\color{#1565c0}A}$ by constructing an Augmented Matrix alongside the identity matrix ${\color{#2e7d32}I}$, written as $\displaystyle [{\color{#1565c0}A} \mid {\color{#2e7d32}I}]$.
We then apply row operations to transform the left side into the identity matrix ${\color{#2e7d32}I}$. Once the left side becomes ${\color{#2e7d32}I}$, the resulting right side will be ${\color{#8e24aa}A^{-1}}$:
จงหาอินเวอร์สของเมทริกซ์ $\displaystyle A = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix}$
Find the inverse of matrix $\displaystyle A = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ $\displaystyle B = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}$
Find the inverse of matrix $\displaystyle B = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ $\displaystyle C = \begin{bmatrix} 3 & 5 \\ 1 & 2 \end{bmatrix}$
Find the inverse of matrix $\displaystyle C = \begin{bmatrix} 3 & 5 \\ 1 & 2 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ $\displaystyle D = \begin{bmatrix} 4 & 5 \\ 2 & 3 \end{bmatrix}$ (มีเศษส่วน)
Find the inverse of matrix $\displaystyle D = \begin{bmatrix} 4 & 5 \\ 2 & 3 \end{bmatrix}$ (includes fractions).
จงหาอินเวอร์สของเมทริกซ์ $\displaystyle E = \begin{bmatrix} 1 & -2 \\ -3 & 7 \end{bmatrix}$
Find the inverse of matrix $\displaystyle E = \begin{bmatrix} 1 & -2 \\ -3 & 7 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ $\displaystyle F = \begin{bmatrix} -2 & 1 \\ 5 & -3 \end{bmatrix}$
Find the inverse of matrix $\displaystyle F = \begin{bmatrix} -2 & 1 \\ 5 & -3 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ขนาด $3 \times 3$ คือ $\displaystyle G = \begin{bmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 0 & 3 & 1 \end{bmatrix}$
Find the inverse of the $3 \times 3$ matrix $\displaystyle G = \begin{bmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ 0 & 3 & 1 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ขนาด $3 \times 3$ คือ $\displaystyle H = \begin{bmatrix} 1 & 2 & 1 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix}$ (เมทริกซ์สามเหลี่ยมบน)
Find the inverse of the $3 \times 3$ matrix $\displaystyle H = \begin{bmatrix} 1 & 2 & 1 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix}$ (upper triangular matrix).
จงหาอินเวอร์สของเมทริกซ์ขนาด $3 \times 3$ คือ $\displaystyle J = \begin{bmatrix} 1 & 0 & 1 \\ 1 & 1 & 0 \\ 0 & 1 & 1 \end{bmatrix}$
Find the inverse of the $3 \times 3$ matrix $\displaystyle J = \begin{bmatrix} 1 & 0 & 1 \\ 1 & 1 & 0 \\ 0 & 1 & 1 \end{bmatrix}$.
จงหาอินเวอร์สของเมทริกซ์ขนาด $3 \times 3$ คือ $\displaystyle K = \begin{bmatrix} 1 & 1 & 1 \\ 0 & 1 & 2 \\ 1 & 2 & 4 \end{bmatrix}$
Find the inverse of the $3 \times 3$ matrix $\displaystyle K = \begin{bmatrix} 1 & 1 & 1 \\ 0 & 1 & 2 \\ 1 & 2 & 4 \end{bmatrix}$.
คุณสมบัติของ det ที่เกิดจากการดำเนินการตามแถวและตามหลัก Determinant Properties under Row & Column Operations
หลักการสำคัญ: เมื่อนำเมทริกซ์จัตุรัส ${\color{#1565c0}A}$ ขนาด $n \times n$ ไปผ่านการดำเนินการตามแถวมูลฐาน (Row Operations) หรือการดำเนินการตามหลัก (Column Operations) เพื่อให้ได้เมทริกซ์ใหม่ ${\color{#2e7d32}B}$ ค่าของดีเทอร์มิแนนต์ $\det({\color{#2e7d32}B})$ จะมีความสัมพันธ์กับ $\det({\color{#1565c0}A})$ ตามกฎพื้นฐาน 3 ข้อดังนี้:
- 1. การสลับที่ระหว่าง 2 แถว (หรือ 2 หลัก): ดีเทอร์มิแนนต์จะ เปลี่ยนเครื่องหมายเป็นตรงกันข้าม ($\times -1$) $$\det({\color{#2e7d32}B}) = {\color{#c62828}-}\det({\color{#1565c0}A}) \quad \left(R_i \leftrightarrow R_j \text{ หรือ } C_i \leftrightarrow C_j\right)$$
- 2. การคูณแถว (หรือหลัก) ด้วยค่าคงที่ $c$: ดีเทอร์มิแนนต์จะ ถูกคูณด้วยค่าคงที่ $c$ นั้น $$\det({\color{#2e7d32}B}) = {\color{#e65100}c} \cdot \det({\color{#1565c0}A}) \quad \left(cR_i \to R_i \text{ หรือ } cC_i \to C_i\right)$$ *ข้อสังเกต: หากดึงตัวร่วม $c$ ออกมาจากทั้งแถว จะได้ $\det(A) = \frac{1}{c}\det(B)$ และถ้าคูณค่าคงที่ $c$ ทุกๆ แถวทั้ง $n$ แถว จะได้ $\det({\color{#e65100}c}{\color{#1565c0}A}) = {\color{#e65100}c}^n \det({\color{#1565c0}A})$
- 3. การบวกแถว (หรือหลัก) ด้วยพหุคูณของอีกแถว (หรืออีกหลัก): ดีเทอร์มิแนนต์ มีค่าเท่าเดิมเสมอ (ไม่เปลี่ยนแปลง!) $$\det({\color{#2e7d32}B}) = \det({\color{#1565c0}A}) \quad \left(R_i + cR_j \to R_i \text{ หรือ } C_i + cC_j \to C_i\right)$$
- หากเมทริกซ์มี แถวใดแถวหนึ่ง (หรือหลักใดหลักหนึ่ง) เป็นศูนย์ทั้งหมด จะได้ $\det(A) = 0$ ทันที
- หากเมทริกซ์มี แถวสองแถว (หรือหลักสองหลัก) ที่เหมือนกันทุกประการ หรือเป็นสัดส่วนเท่ากัน ($R_i = kR_j$) จะได้ $\det(A) = 0$ ทันที
- เมื่อใช้การดำเนินการตามแถวเปลี่ยนเมทริกซ์ให้กลายเป็น เมทริกซ์สามเหลี่ยม (Triangular Matrix) ค่าของ $\det$ จะเท่ากับ ผลคูณของสมาชิกบนเส้นทแยงมุมหลัก เสมอ!
Core Principle: When an $n \times n$ square matrix ${\color{#1565c0}A}$ is transformed into matrix ${\color{#2e7d32}B}$ using elementary row (or column) operations, the determinant $\det({\color{#2e7d32}B})$ relates to $\det({\color{#1565c0}A})$ according to the following 3 fundamental rules:
- 1. Interchanging two rows (or columns): The determinant changes sign ($\times -1$) $$\det({\color{#2e7d32}B}) = {\color{#c62828}-}\det({\color{#1565c0}A}) \quad \left(R_i \leftrightarrow R_j \text{ or } C_i \leftrightarrow C_j\right)$$
- 2. Multiplying a row (or column) by a scalar $c$: The determinant is multiplied by $c$ $$\det({\color{#2e7d32}B}) = {\color{#e65100}c} \cdot \det({\color{#1565c0}A}) \quad \left(cR_i \to R_i \text{ or } cC_i \to C_i\right)$$ *Note: Factoring out a scalar $c$ from one row factors $c$ out of the determinant. Multiplying all $n$ rows yields $\det({\color{#e65100}c}{\color{#1565c0}A}) = {\color{#e65100}c}^n \det({\color{#1565c0}A})$.
- 3. Adding a multiple of one row (or column) to another: The determinant remains unchanged $$\det({\color{#2e7d32}B}) = \det({\color{#1565c0}A}) \quad \left(R_i + cR_j \to R_i \text{ or } C_i + cC_j \to C_i\right)$$
- If a matrix has a row or column of all zeros, then $\det(A) = 0$.
- If a matrix has two identical or proportional rows/columns ($R_i = kR_j$), then $\det(A) = 0$.
- By reducing $A$ to an upper or lower triangular matrix via row addition, $\det(A)$ is simply the product of main diagonal elements!
กำหนดให้เมทริกซ์ $A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}$ โดยที่ $\det(A) = 7$ จงหา $\det(B)$ และ $\det(C)$ เมื่อ $$B = \begin{bmatrix} c & d \\ a & b \end{bmatrix}, \quad C = \begin{bmatrix} 3a & 3b \\ c & d \end{bmatrix}$$
Given $A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}$ with $\det(A) = 7$, find $\det(B)$ and $\det(C)$ where $$B = \begin{bmatrix} c & d \\ a & b \end{bmatrix}, \quad C = \begin{bmatrix} 3a & 3b \\ c & d \end{bmatrix}$$
กำหนดให้ $\det\begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} = 5$ จงหาค่าของ $$\det\begin{bmatrix} a & b & c \\ d+2a & e+2b & f+2c \\ 4g & 4h & 4i \end{bmatrix}$$
Given $\det\begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} = 5$, find the determinant of $$\begin{bmatrix} a & b & c \\ d+2a & e+2b & f+2c \\ 4g & 4h & 4i \end{bmatrix}$$
จงหาค่าดีเทอร์มิแนนต์ของเมทริกซ์ $A = \begin{bmatrix} 1 & 3 & 5 \\ 2 & 1 & 4 \\ 3 & 4 & 9 \end{bmatrix}$ โดยใช้สมบัติของการดำเนินการตามแถว
Find $\det(A)$ for $A = \begin{bmatrix} 1 & 3 & 5 \\ 2 & 1 & 4 \\ 3 & 4 & 9 \end{bmatrix}$ using properties of row operations.
จงหาค่า $\det(M)$ โดยแปลงให้อยู่ในรูปเมทริกซ์สามเหลี่ยมมุมบน (Upper Triangular Matrix) $$M = \begin{bmatrix} 1 & 2 & -1 \\ 2 & 5 & 1 \\ 3 & 7 & 4 \end{bmatrix}$$
Evaluate $\det(M)$ by reducing $M$ to an upper triangular matrix: $$M = \begin{bmatrix} 1 & 2 & -1 \\ 2 & 5 & 1 \\ 3 & 7 & 4 \end{bmatrix}$$
จงหาค่าดีเทอร์มิแนนต์ของเมทริกซ์ขนาด $4 \times 4$ ต่อไปนี้โดยใช้การดำเนินการตามแถว: $$P = \begin{bmatrix} 0 & 1 & 2 & 3 \\ 1 & 0 & 1 & 2 \\ 2 & 1 & 0 & 1 \\ 1 & 1 & 1 & 0 \end{bmatrix}$$
Find the determinant of the following $4 \times 4$ matrix using row operations: $$P = \begin{bmatrix} 0 & 1 & 2 & 3 \\ 1 & 0 & 1 & 2 \\ 2 & 1 & 0 & 1 \\ 1 & 1 & 1 & 0 \end{bmatrix}$$
คำศัพท์ที่น่าสนใจ Key Vocabulary
คำศัพท์คณิตศาสตร์ภาษาอังกฤษ พร้อมรากศัพท์
| คำศัพท์ | รากศัพท์ / Root | ความหมาย / Meaning |
|---|---|---|
| Matrix | matrix (womb, source) | เมทริกซ์ · กลุ่มของจำนวนหรือตัวแปรที่เรียงกันเป็นรูปสี่เหลี่ยมผืนผ้าภายในวงเล็บ |
| Row | rǣw (a line) | แถว · การจัดเรียงข้อมูลหรือตัวเลขในแนวนอน (ซ้ายไปขวา) |
| Operation | operari (to work) | การดำเนินการ · กระบวนการทางคณิตศาสตร์ภายใต้กฎเกณฑ์ที่กำหนด |
| Elementary | elementum (first principle) | เบื้องต้น / มูลฐาน · พื้นฐานที่เป็นจุดเริ่มต้น ไม่ซับซ้อน |
| Inverse | in- (in, toward) + vertere (to turn) | ตัวผกผัน / อินเวอร์ส · สิ่งที่ให้ผลลัพธ์ตรงกันข้าม หรือเมื่อคูณกันแล้วได้เอกลักษณ์ |
| Augmented Matrix | augere (to increase) | เมทริกซ์แต่งเติม · เมทริกซ์ที่เกิดจากการนำสองเมทริกซ์มาเขียนต่อกัน (มักกั้นด้วยเส้นตรง) |
| Identity | idem (same) | เอกลักษณ์ · ในที่นี้คือเมทริกซ์เอกลักษณ์ ($I$) ที่มีเส้นทแยงมุมเป็น $1$ และที่เหลือเป็น $0$ |
| Constant | com- (together) + stare (to stand) | ค่าคงที่ / สเกลาร์ · ตัวเลขค่าหนึ่งที่นำไปคูณเข้ากับแถว (เช่น ตัวแปร $c$) |
| Swap | swappen (to strike hands) | สลับที่ · การสลับตำแหน่งระหว่างแถวสองแถว |
| Leading Entry | laedan (to guide) | ตัวนำ · สมาชิกตัวแรกสุดที่ไม่ใช่ศูนย์เมื่อมองจากซ้ายไปขวาในแต่ละแถว |