TH

เมทริกซ์ (Matrix) คือ กลุ่มของจำนวนจริงที่ถูกนำมาเขียนเรียงกันเป็นรูปสี่เหลี่ยมมุมฉาก โดยจัดแบ่งออกเป็นแถวและหลัก ซึ่งมักจะพบการประยุกต์ใช้อย่างแพร่หลายในทางคณิตศาสตร์ ฟิสิกส์ คอมพิวเตอร์กราฟิก และระบบสมการเชิงเส้น

EN

A Matrix is a rectangular array or a table of numbers arranged in rows and columns. Matrices have wide applications in mathematics, physics, computer graphics, and systems of linear equations.

1

📖 นิยามและสัญลักษณ์ 📖 Definition and Notation

TH

กลุ่มของจำนวนจริงที่เขียนเรียงกันเป็น แถว (Row) แนวนอน และ หลัก (Column) แนวตั้ง ภายในวงเล็บปีกกาเหลี่ยม $\begin{bmatrix} \ \end{bmatrix}$ หรือวงเล็บโค้ง $( \ )$

การเรียกชื่อสมาชิก จะใช้สัญลักษณ์ $a_{ij}$ ซึ่งหมายถึง สมาชิกตัวที่อยู่ใน แถวที่ $i$ และ หลักที่ $j$

$$ A = \begin{bmatrix} a_{11} & a_{12} & \dots & a_{1n} \\ a_{21} & a_{22} & \dots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \dots & a_{mn} \end{bmatrix} $$
EN

A group of real numbers arranged in horizontal Rows and vertical Columns enclosed in brackets $\begin{bmatrix} \ \end{bmatrix}$ or parentheses $( \ )$.

Each element is denoted by $a_{ij}$, which refers to the entry in the $i$-th row and $j$-th column.

$$ A = \begin{bmatrix} a_{11} & a_{12} & \dots & a_{1n} \\ a_{21} & a_{22} & \dots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \dots & a_{mn} \end{bmatrix} $$
Example 1.1

$\text{กำหนดให้ } A = \begin{bmatrix} 7 & -3 \\ 4 & 9 \end{bmatrix} \text{ จงระบุสมาชิก } a_{11}, a_{12}, a_{21}, \text{ และ } a_{22}$

$$ \begin{aligned} a_{11} &= 7 &&\text{(แถวที่ 1 หลักที่ 1)} \\ a_{12} &= -3 &&\text{(แถวที่ 1 หลักที่ 2)} \\ a_{21} &= 4 &&\text{(แถวที่ 2 หลักที่ 1)} \\ a_{22} &= 9 &&\text{(แถวที่ 2 หลักที่ 2)} \end{aligned} $$

$\text{Given } A = \begin{bmatrix} 7 & -3 \\ 4 & 9 \end{bmatrix}, \text{ identify the elements } a_{11}, a_{12}, a_{21}, \text{ and } a_{22}.$

$$ \begin{aligned} a_{11} &= 7 &&\text{(row 1, column 1)} \\ a_{12} &= -3 &&\text{(row 1, column 2)} \\ a_{21} &= 4 &&\text{(row 2, column 1)} \\ a_{22} &= 9 &&\text{(row 2, column 2)} \end{aligned} $$
Example 1.2

$\text{กำหนดให้ } B = \begin{bmatrix} 5 & 0 & -2 \\ 8 & 3 & 6 \end{bmatrix} \text{ จงหาค่าของ } b_{13} + b_{21}$

$$ \begin{aligned} b_{13} &= -2 &&\text{(แถวที่ 1 หลักที่ 3)} \\ b_{21} &= 8 &&\text{(แถวที่ 2 หลักที่ 1)} \\[4pt] \therefore b_{13} + b_{21} &= (-2) + 8 \\ &= 6 \end{aligned} $$

$\text{Given } B = \begin{bmatrix} 5 & 0 & -2 \\ 8 & 3 & 6 \end{bmatrix}, \text{ find the value of } b_{13} + b_{21}.$

$$ \begin{aligned} b_{13} &= -2 &&\text{(row 1, column 3)} \\ b_{21} &= 8 &&\text{(row 2, column 1)} \\[4pt] \therefore b_{13} + b_{21} &= (-2) + 8 \\ &= 6 \end{aligned} $$
Example 1.3

$\text{กำหนดให้ } C = \begin{bmatrix} 1 & -4 & 3 \\ 0 & 2 & 5 \\ 7 & -1 & 6 \end{bmatrix} \text{ จงหาค่าของ } c_{22} \cdot c_{31} - c_{12}$

$$ \begin{aligned} c_{22} &= 2, \quad c_{31} = 7, \quad c_{12} = -4 \\[4pt] c_{22} \cdot c_{31} - c_{12} &= (2 \times 7) - (-4) \\ &= 14 + 4 \\ &= 18 \end{aligned} $$

$\text{Given } C = \begin{bmatrix} 1 & -4 & 3 \\ 0 & 2 & 5 \\ 7 & -1 & 6 \end{bmatrix}, \text{ evaluate } c_{22} \cdot c_{31} - c_{12}.$

$$ \begin{aligned} c_{22} &= 2, \quad c_{31} = 7, \quad c_{12} = -4 \\[4pt] c_{22} \cdot c_{31} - c_{12} &= (2 \times 7) - (-4) \\ &= 14 + 4 \\ &= 18 \end{aligned} $$
Example 1.4

$\text{สร้างเมทริกซ์ } A = [a_{ij}]_{2 \times 3} \text{ เมื่อกำหนดเงื่อนไข } a_{ij} = 2i + j$

$$ \begin{aligned} \text{แถวที่ 1:} \quad a_{11} &= 2(1) + 1 = 3, & a_{12} &= 2(1) + 2 = 4, & a_{13} &= 2(1) + 3 = 5 \\ \text{แถวที่ 2:} \quad a_{21} &= 2(2) + 1 = 5, & a_{22} &= 2(2) + 2 = 6, & a_{23} &= 2(2) + 3 = 7 \\[6pt] \therefore A &= \begin{bmatrix} 3 & 4 & 5 \\ 5 & 6 & 7 \end{bmatrix} \end{aligned} $$

$\text{Construct matrix } A = [a_{ij}]_{2 \times 3} \text{ where } a_{ij} = 2i + j.$

$$ \begin{aligned} \text{Row 1:} \quad a_{11} &= 2(1) + 1 = 3, & a_{12} &= 2(1) + 2 = 4, & a_{13} &= 2(1) + 3 = 5 \\ \text{Row 2:} \quad a_{21} &= 2(2) + 1 = 5, & a_{22} &= 2(2) + 2 = 6, & a_{23} &= 2(2) + 3 = 7 \\[6pt] \therefore A &= \begin{bmatrix} 3 & 4 & 5 \\ 5 & 6 & 7 \end{bmatrix} \end{aligned} $$
Example 1.5

$\text{สร้างเมทริกซ์ } B = [b_{ij}]_{3 \times 2} \text{ โดยที่ } b_{ij} = i^2 - j$

$$ \begin{aligned} \text{แถวที่ 1:} \quad b_{11} &= 1^2 - 1 = 0, & b_{12} &= 1^2 - 2 = -1 \\ \text{แถวที่ 2:} \quad b_{21} &= 2^2 - 1 = 3, & b_{22} &= 2^2 - 2 = 2 \\ \text{แถวที่ 3:} \quad b_{31} &= 3^2 - 1 = 8, & b_{32} &= 3^2 - 2 = 7 \\[6pt] \therefore B &= \begin{bmatrix} 0 & -1 \\ 3 & 2 \\ 8 & 7 \end{bmatrix} \end{aligned} $$

$\text{Construct matrix } B = [b_{ij}]_{3 \times 2} \text{ defined by } b_{ij} = i^2 - j.$

$$ \begin{aligned} \text{Row 1:} \quad b_{11} &= 1^2 - 1 = 0, & b_{12} &= 1^2 - 2 = -1 \\ \text{Row 2:} \quad b_{21} &= 2^2 - 1 = 3, & b_{22} &= 2^2 - 2 = 2 \\ \text{Row 3:} \quad b_{31} &= 3^2 - 1 = 8, & b_{32} &= 3^2 - 2 = 7 \\[6pt] \therefore B &= \begin{bmatrix} 0 & -1 \\ 3 & 2 \\ 8 & 7 \end{bmatrix} \end{aligned} $$
Example 1.6

$\text{สร้างเมทริกซ์ } D = [d_{ij}]_{3 \times 3} \text{ เมื่อ } d_{ij} = \begin{cases} 1 & \text{ถ้า } i = j \\ 0 & \text{ถ้า } i \neq j \end{cases}$

$$ \begin{aligned} \text{ตำแหน่งแนวทแยงหลัก } (i = j): \quad & d_{11} = d_{22} = d_{33} = 1 \\ \text{ตำแหน่งนอกแนวทแยงหลัก } (i \neq j): \quad & d_{ij} = 0 \\[6pt] \therefore D &= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \end{aligned} $$

$\text{Construct matrix } D = [d_{ij}]_{3 \times 3} \text{ where } d_{ij} = \begin{cases} 1 & \text{if } i = j \\ 0 & \text{if } i \neq j \end{cases}$

$$ \begin{aligned} \text{Main diagonal entries } (i = j): \quad & d_{11} = d_{22} = d_{33} = 1 \\ \text{Off-diagonal entries } (i \neq j): \quad & d_{ij} = 0 \\[6pt] \therefore D &= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \end{aligned} $$
Example 1.7

$\text{กำหนดให้ } M = [m_{ij}]_{2 \times 2} \text{ โดย } m_{ij} = \begin{cases} i + j & \text{เมื่อ } i \ge j \\ i - j & \text{เมื่อ } i < j \end{cases} \text{ จงเขียนเมทริกซ์ } M$

$$ \begin{aligned} m_{11} &: 1 \ge 1 \implies 1 + 1 = 2 \\ m_{12} &: 1 < 2 \implies 1 - 2=-1 \\ m_{21} &: 2 \ge 1 \implies 2 + 1=3 \\ m_{22} &: 2 \ge 2 \implies 2 + 2=4 \\[6pt] \therefore M &=\begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix} \end{aligned} $$

$\text{Let } M = [m_{ij}]_{2 \times 2} \text{ with } m_{ij} = \begin{cases} i + j & \text{if } i \ge j \\ i - j & \text{if } i < j \end{cases}. \text{ Find matrix } M.$

$$ \begin{aligned} m_{11} &: 1 \ge 1 \implies 1 + 1 = 2 \\ m_{12} &: 1 < 2 \implies 1 - 2=-1 \\ m_{21} &: 2 \ge 1 \implies 2 + 1=3 \\ m_{22} &: 2 \ge 2 \implies 2 + 2=4 \\[6pt] \therefore M &=\begin{bmatrix} 2 & -1 \\ 3 & 4 \end{bmatrix} \end{aligned} $$
2

📐 มิติหรือขนาดของเมทริกซ์ 📐 Dimension or Order of a Matrix

TH

การระบุขนาดของเมทริกซ์จะใช้สัญลักษณ์ $m \times n$ (อ่านว่า m คูณ n)

  • $m$ คือ จำนวนแถว (แนวนอน)
  • $n$ คือ จำนวนหลัก (แนวตั้ง)
$$ B = \begin{bmatrix} 5 & -2 & 4 \\ 0 & 3 & 1 \end{bmatrix} $$

$\text{เมทริกซ์ } B \text{ มี } \mathbf{\color{#1565c0}{2}} \text{ แถว และ } \mathbf{\color{#8e24aa}{3}} \text{ หลัก ดังนั้นมีขนาด } \mathbf{\color{#ff6f00}{2 \times 3}}$

EN

The size of a matrix is specified by the notation $m \times n$ (read as m by n).

  • $m$ is the number of rows (horizontal).
  • $n$ is the number of columns (vertical).
$$ B = \begin{bmatrix} 5 & -2 & 4 \\ 0 & 3 & 1 \end{bmatrix} $$

$\text{Matrix } B \text{ has } \mathbf{\color{#1565c0}{2}} \text{ rows and } \mathbf{\color{#8e24aa}{3}} \text{ columns, so its dimension is } \mathbf{\color{#ff6f00}{2 \times 3}}.$

Example 2.1

จงหามิติ (ขนาด) ของเมทริกซ์ $A = \begin{bmatrix} 4 & -1 \\ 3 & 7 \\ 0 & 2 \end{bmatrix}$

$$ \begin{aligned} \text{จำนวนแถว } (m) &= 3 \\ \text{จำนวนหลัก } (n) &= 2 \\[4pt] \therefore \text{มิติของเมทริกซ์ } A &= 3 \times 2 \end{aligned} $$

Find the dimension of matrix $A = \begin{bmatrix} 4 & -1 \\ 3 & 7 \\ 0 & 2 \end{bmatrix}$.

$$ \begin{aligned} \text{Number of rows } (m) &= 3 \\ \text{Number of cols } (n) &= 2 \\[4pt] \therefore \text{Dimension of } A &= 3 \times 2 \end{aligned} $$
Example 2.2

จงระบุมิติของ $P = \begin{bmatrix} 8 & 1 & -5 & 9 \end{bmatrix}$ และ $Q = \begin{bmatrix} 6 \\ -4 \\ 2 \end{bmatrix}$

$$ \begin{aligned} \text{เมทริกซ์ } P &: 1 \text{ แถว}, \; 4 \text{ หลัก} &&\implies \text{มิติคือ } 1 \times 4 \\ \text{เมทริกซ์ } Q &: 3 \text{ แถว}, \; 1 \text{ หลัก} &&\implies \text{มิติคือ } 3 \times 1 \end{aligned} $$

Find the dimensions of $P = \begin{bmatrix} 8 & 1 & -5 & 9 \end{bmatrix}$ and $Q = \begin{bmatrix} 6 \\ -4 \\ 2 \end{bmatrix}$.

$$ \begin{aligned} \text{Matrix } P &: 1 \text{ row}, \; 4 \text{ cols} &&\implies \text{Dimension is } 1 \times 4 \\ \text{Matrix } Q &: 3 \text{ rows}, \; 1 \text{ col} &&\implies \text{Dimension is } 3 \times 1 \end{aligned} $$
Example 2.3

ถ้าเมทริกซ์ $M$ มีมิติ $4 \times 5$ จะมีสมาชิกทั้งหมดกี่ตัว

$$ \begin{aligned} \text{จำนวนสมาชิกทั้งหมด} &= m \times n \\ &= 4 \times 5 \\ &= 20 \text{ ตัว} \end{aligned} $$

If matrix $M$ has dimension $4 \times 5$, how many elements does it have?

$$ \begin{aligned} \text{Total elements} &= m \times n \\ &= 4 \times 5 \\ &= 20 \text{ elements} \end{aligned} $$
Example 2.4

เมทริกซ์ที่มีสมาชิก $12$ ตัว มีมิติที่เป็นไปได้ทั้งหมดกี่แบบและอะไรบ้าง

$$ \begin{aligned} m \times n &= 12 \quad (m, n \in \mathbb{Z}^+) \\[4pt] \text{มิติที่เป็นไปได้} &: 1 \times 12, \; 12 \times 1, \\ &: 2 \times 6, \;\; 6 \times 2, \\ &: 3 \times 4, \;\; 4 \times 3 \\[4pt] \therefore \text{มีทั้งหมด} &= 6 \text{ รูปแบบ} \end{aligned} $$

If a matrix has $12$ elements, what are all its possible dimensions?

$$ \begin{aligned} m \times n &= 12 \quad (m, n \in \mathbb{Z}^+) \\[4pt] \text{Possible dimensions} &: 1 \times 12, \; 12 \times 1, \\ &: 2 \times 6, \;\; 6 \times 2, \\ &: 3 \times 4, \;\; 4 \times 3 \\[4pt] \therefore \text{Total orders} &= 6 \text{ possibilities} \end{aligned} $$
Example 2.5

กำหนด $C = \begin{bmatrix} 2 & -3 & 8 & 1 \\ 5 & 0 & 4 & -7 \end{bmatrix}$ จงระบุมิติ และค่าของ $c_{23}$

$$ \begin{aligned} \text{มิติของเมทริกซ์ } C &= 2 \times 4 \\[4pt] c_{23} &= 4 \quad (\text{สมาชิกแถวที่ 2 หลักที่ 3}) \end{aligned} $$

Given $C = \begin{bmatrix} 2 & -3 & 8 & 1 \\ 5 & 0 & 4 & -7 \end{bmatrix}$, state its dimension and $c_{23}$.

$$ \begin{aligned} \text{Dimension of } C &= 2 \times 4 \\[4pt] c_{23} &= 4 \quad (\text{entry in row 2, column 3}) \end{aligned} $$
Example 2.6

ถ้าเมทริกซ์จัตุรัส $A$ มีมิติ $n \times n$ และมีสมาชิก $49$ ตัว จงหาค่า $n$

$$ \begin{aligned} n \times n &= 49 \\ n^2 &= 49 \\ n &= \sqrt{49} \\&= 7 \quad (n > 0) \\[4pt] \therefore \text{มิติของเมทริกซ์ } A &= 7 \times 7 \end{aligned} $$

If a square matrix $A$ of order $n \times n$ has $49$ elements, find $n$.

$$ \begin{aligned} n \times n &= 49 \\ n^2 &= 49 \\ n &= \sqrt{49} \\&= 7 \quad (n > 0) \\[4pt] \therefore \text{Dimension of } A &= 7 \times 7 \end{aligned} $$
Example 2.7

เมทริกซ์ $K$ มีสมาชิก $18$ ตัว โดยมีจำนวนแถวมากกว่าหลัก ($m > n$) มิติที่เป็นไปได้มีอะไรบ้าง

$$ \begin{aligned} m \times n &= 18 \quad (m > n) \\[4pt] \text{พิจารณาคู่ตัวประกอบ} &: 18 \times 1 \implies 18 > 1 \quad \checkmark \\ &: 9 \times 2 \;\;\implies 9 > 2 \quad \checkmark \\ &: 6 \times 3 \;\;\implies 6 > 3 \quad \checkmark \\[4pt] \therefore \text{มิติที่เป็นไปได้} &: 18 \times 1, \; 9 \times 2, \; 6 \times 3 \end{aligned} $$

Matrix $K$ has $18$ elements with more rows than columns ($m > n$). What are the possible dimensions?

$$ \begin{aligned} m \times n &= 18 \quad (m > n) \\[4pt] \text{Check factor pairs} &: 18 \times 1 \implies 18 > 1 \quad \checkmark \\ &: 9 \times 2 \;\;\implies 9 > 2 \quad \checkmark \\ &: 6 \times 3 \;\;\implies 6 > 3 \quad \checkmark \\[4pt] \therefore \text{Possible dimensions} &: 18 \times 1, \; 9 \times 2, \; 6 \times 3 \end{aligned} $$
3

📌 ชนิดของเมทริกซ์ที่ควรรู้จัก 📌 Types of Matrices

TH
  • เมทริกซ์แถว (Row Matrix): เมทริกซ์ที่มีเพียง 1 แถว
    ตัวอย่าง: $\begin{bmatrix} 1 & 4 & 7 \end{bmatrix}$
  • เมทริกซ์หลัก (Column Matrix): เมทริกซ์ที่มีเพียง 1 หลัก
    ตัวอย่าง: $\begin{bmatrix} 2 \\ 5 \\ -1 \end{bmatrix}$
  • เมทริกซ์ศูนย์ (Zero Matrix - $\underline{0}$): เมทริกซ์ที่สมาชิกทุกตัวมีค่าเป็น 0 ทั้งหมด
    ตัวอย่าง: $\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}$
  • เมทริกซ์จัตุรัส (Square Matrix): เมทริกซ์ที่มีจำนวนแถวเท่ากับจำนวนหลัก ($n \times n$)
    ตัวอย่าง: $\begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}$
  • เมทริกซ์ทแยงมุม (Diagonal Matrix): เมทริกซ์จัตุรัสที่สมาชิกนอกเส้นทแยงมุมหลักเป็น 0 ทั้งหมด
    ตัวอย่าง: $\begin{bmatrix} 4 & 0 \\ 0 & -2 \end{bmatrix}$
  • เมทริกซ์เอกลักษณ์ (Identity Matrix - $I$): เมทริกซ์ทแยงมุมที่สมาชิกบนเส้นทแยงมุมหลักเป็น 1 ทุกตัว
    ตัวอย่าง: $I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$
EN
  • Row Matrix: A matrix with only 1 row.
    Example: $\begin{bmatrix} 1 & 4 & 7 \end{bmatrix}$
  • Column Matrix: A matrix with only 1 column.
    Example: $\begin{bmatrix} 2 \\ 5 \\ -1 \end{bmatrix}$
  • Zero Matrix ($\underline{0}$): A matrix where every element is 0.
    Example: $\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}$
  • Square Matrix: A matrix with the same number of rows and columns ($n \times n$).
    Example: $\begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}$
  • Diagonal Matrix: A square matrix where all entries outside the main diagonal are 0.
    Example: $\begin{bmatrix} 4 & 0 \\ 0 & -2 \end{bmatrix}$
  • Identity Matrix ($I$): A diagonal matrix with 1s on the main diagonal.
    Example: $I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$
Example 3.1

กำหนดให้ $A = \begin{bmatrix} 3 & -1 & 5 & 8 \end{bmatrix}$ จงบอกชนิดและมิติของเมทริกซ์ $A$

$$ \begin{aligned} \text{มิติของ } A &= 1 \times 4 \\[4pt] \text{ชนิดของเมทริกซ์} &: \mathbf{\color{#1565c0}{\text{เมทริกซ์แถว}}} \quad (\text{มีเพียง } 1 \text{ แถว}) \end{aligned} $$

Given $A = \begin{bmatrix} 3 & -1 & 5 & 8 \end{bmatrix}$, identify the type and dimension of matrix $A$.

$$ \begin{aligned} \text{Dimension of } A &= 1 \times 4 \\[4pt] \text{Matrix Type} &: \mathbf{\color{#1565c0}{\text{Row Matrix}}} \quad (\text{has only } 1 \text{ row}) \end{aligned} $$
Example 3.2

กำหนดให้ $B = \begin{bmatrix} 4 \\ 0 \\ -7 \end{bmatrix}$ จงบอกชนิดและมิติของเมทริกซ์ $B$

$$ \begin{aligned} \text{มิติของ } B &= 3 \times 1 \\[4pt] \text{ชนิดของเมทริกซ์} &: \mathbf{\color{#7b1fa2}{\text{เมทริกซ์หลัก}}} \quad (\text{มีเพียง } 1 \text{ หลัก}) \end{aligned} $$

Given $B = \begin{bmatrix} 4 \\ 0 \\ -7 \end{bmatrix}$, identify the type and dimension of matrix $B$.

$$ \begin{aligned} \text{Dimension of } B &= 3 \times 1 \\[4pt] \text{Matrix Type} &: \mathbf{\color{#7b1fa2}{\text{Column Matrix}}} \quad (\text{has only } 1 \text{ col}) \end{aligned} $$
Example 3.3

จงเขียนเมทริกซ์ศูนย์ $\underline{0}_{2 \times 3}$ และเมทริกซ์ศูนย์ $\underline{0}_{3 \times 1}$

$$ \begin{aligned} \underline{0}_{2 \times 3} &= \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \\[6pt] \underline{0}_{3 \times 1} &= \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} \end{aligned} $$

Write the zero matrices $\underline{0}_{2 \times 3}$ and $\underline{0}_{3 \times 1}$.

$$ \begin{aligned} \underline{0}_{2 \times 3} &= \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \\[6pt] \underline{0}_{3 \times 1} &= \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} \end{aligned} $$
Example 3.4

กำหนดให้ $C = \begin{bmatrix} 5 & -2 & 1 \\ 0 & 3 & 7 \\ 4 & -1 & 6 \end{bmatrix}$ จงระบุว่าเป็นเมทริกซ์จัตุรัสหรือไม่ และระบุสมาชิกบนแนวทแยงมุมหลัก

$$ \begin{aligned} \text{มิติของ } C &= 3 \times 3 \implies \mathbf{\color{#2e7d32}{\text{เป็นเมทริกซ์จัตุรัส}}} \\[4pt] \text{สมาชิกแนวทแยงหลัก} &: c_{11} = 5, \; c_{22} = 3, \; c_{33} = 6 \end{aligned} $$

Given $C = \begin{bmatrix} 5 & -2 & 1 \\ 0 & 3 & 7 \\ 4 & -1 & 6 \end{bmatrix}$, determine if it is a square matrix and list the main diagonal elements.

$$ \begin{aligned} \text{Dimension of } C &= 3 \times 3 \implies \mathbf{\color{#2e7d32}{\text{Square Matrix}}} \\[4pt] \text{Main diagonal entries} &: c_{11} = 5, \; c_{22} = 3, \; c_{33} = 6 \end{aligned} $$
Example 3.5

ถ้าเมทริกซ์ $D = \begin{bmatrix} 8 & x-2 \\ y+3 & -5 \end{bmatrix}$ เป็นเมทริกซ์ทแยงมุม จงหาค่าของ $x$ และ $y$

$$ \begin{aligned} \text{สมาชิกนอก} &\text{แนวทแยงหลักต้องเป็น } 0 : \\ x - 2 &= 0 \implies x = 2 \\ y + 3 &= 0 \implies y = -3 \\[4pt] \therefore x &= 2, \quad \quad y = -3 \end{aligned} $$

If $D = \begin{bmatrix} 8 & x-2 \\ y+3 & -5 \end{bmatrix}$ is a diagonal matrix, find the values of $x$ and $y$.

$$ \begin{aligned} \text{Off-diagonal entries }&\text{must be } 0 : \\ x - 2 &= 0 \implies x = 2 \\ y + 3 &= 0 \implies y = -3 \\[4pt] \therefore x &= 2, \quad \quad y = -3 \end{aligned} $$
Example 3.6

จงเขียนเมทริกซ์เอกลักษณ์ $I_3$ และหาผลรวมของสมาชิกทุกตัวใน $I_3$

$$ \begin{aligned} I_3 &= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \\[6pt] \text{ผลรวมของสมาชิกทั้งหมด} &= 1 + 1 + 1 \\&= 3 \end{aligned} $$

Write the identity matrix $I_3$ and find the sum of all its elements.

$$ \begin{aligned} I_3 &= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} \\[6pt] \text{Sum of all entries} &= 1 + 1 + 1 \\&= 3 \end{aligned} $$
Example 3.7

กำหนดให้ $K = \begin{bmatrix} a & 0 \\ b-1 & c+2 \end{bmatrix}$ ถ้า $K$ เป็นเมทริกซ์เอกลักษณ์ $I_2$ จงหาค่าของ $a + b + c$

$$ \begin{aligned} \begin{bmatrix} a & 0 \\ b-1 & c+2 \end{bmatrix} &= \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \\[6pt] a &= 1 \\ b - 1 &= 0 \\ b &= 1 \\ c + 2 &= 1 \\ c &= -1 \\[4pt] \therefore a + b + c &= 1 + 1 + (-1) \\&= 1 \end{aligned} $$

Given $K = \begin{bmatrix} a & 0 \\ b-1 & c+2 \end{bmatrix}$, if $K = I_2$, find the value of $a + b + c$.

$$ \begin{aligned} \begin{bmatrix} a & 0 \\ b-1 & c+2 \end{bmatrix} &= \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \\[6pt] a &= 1 \\ b - 1 &= 0 \\ b &= 1 \\ c + 2 &= 1 \\ c &= -1 \\[4pt] \therefore a + b + c &= 1 + 1 + (-1) \\&= 1 \end{aligned} $$
4

⚖️ การเท่ากันของเมทริกซ์ ⚖️ Equality of Matrices

TH

เมทริกซ์สองเมทริกซ์จะเท่ากัน ($A = B$) ได้ก็ต่อเมื่อต้องผ่านเงื่อนไข 2 ข้อ ดังนี้:

  • 1. มีมิติ (ขนาด) เท่ากัน
  • 2. สมาชิกในตำแหน่งเดียวกันมีค่าเท่ากันทุกตัว ($a_{ij} = b_{ij}$)
EN

Two matrices are equal ($A = B$) if and only if they satisfy these 2 conditions:

  • 1. They have the exact same dimension (order).
  • 2. Their corresponding elements are identical ($a_{ij} = b_{ij}$).
Example 4.1

$\text{จงหาค่า } x, y \text{ เมื่อกำหนดให้ } \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 5 \\ -3 \end{bmatrix}$

$$ \begin{aligned} x &= 5 \\ y &= -3 \end{aligned} $$

$\text{Find } x, y \text{ given that } \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 5 \\ -3 \end{bmatrix}$

$$ \begin{aligned} x &= 5 \\ y &= -3 \end{aligned} $$
Example 4.2

$\text{จงหาค่าของ } a, b \text{ เมื่อ } \begin{bmatrix} a+2 & 4 \\ 5 & b-1 \end{bmatrix} = \begin{bmatrix} 7 & 4 \\ 5 & 9 \end{bmatrix}$

$$ \begin{aligned} \text{เทียบตำแหน่งแรก: } \quad a+2 &= 7 \\ a &= 5 \\ \text{เทียบตำแหน่งสุดท้าย: } \quad b-1 &= 9 \\ b &= 10 \end{aligned} $$

$\text{Find } a, b \text{ given that } \begin{bmatrix} a+2 & 4 \\ 5 & b-1 \end{bmatrix} = \begin{bmatrix} 7 & 4 \\ 5 & 9 \end{bmatrix}$

$$ \begin{aligned} \text{From first entry: } \quad a+2 &= 7 \\ a &= 5 \\ \text{From last entry: } \quad b-1 &= 9 \\ b &= 10 \end{aligned} $$
Example 4.3

$\text{จงหาค่า } x, y \text{ จากสมการ } \begin{bmatrix} x+y \\ x-y \end{bmatrix} = \begin{bmatrix} 10 \\ 4 \end{bmatrix}$

$$ \begin{aligned} x+y &= 10 \\ x-y &= 4 \\ \text{นำสมการบวกกันจะได้: } \quad 2x &= 14 \\ x &= 7 \\ \text{แทนค่ากลับจะได้: } \quad 7+y &= 10 \\ y &= 3 \end{aligned} $$

$\text{Find } x, y \text{ from the equation } \begin{bmatrix} x+y \\ x-y \end{bmatrix} = \begin{bmatrix} 10 \\ 4 \end{bmatrix}$

$$ \begin{aligned} x+y &= 10 \\ x-y &= 4 \\ \text{Adding equations yields: } \quad 2x &= 14 \\ x &= 7 \\ \text{Substituting back yields: } \quad 7+y &= 10 \\ y &= 3 \end{aligned} $$
Example 4.4

$\text{จงหาค่า } k \text{ ที่เป็นไปได้ทั้งหมด เมื่อ } \begin{bmatrix} k^2 & 2 \\ -1 & 0 \end{bmatrix} = \begin{bmatrix} 16 & 2 \\ -1 & 0 \end{bmatrix}$

$$ \begin{aligned} k^2 &= 16 \\ k &= \pm \sqrt{16} \\ k &= 4 \text{ หรือ } k = -4 \end{aligned} $$

$\text{Find all possible values for } k \text{ when } \begin{bmatrix} k^2 & 2 \\ -1 & 0 \end{bmatrix} = \begin{bmatrix} 16 & 2 \\ -1 & 0 \end{bmatrix}$

$$ \begin{aligned} k^2 &= 16 \\ k &= \pm \sqrt{16} \\ k &= 4 \text{ or } k = -4 \end{aligned} $$
Example 4.5

$\text{จงแก้สมการเพื่อหาค่า } x \text{ เมื่อ } \begin{bmatrix} 3^x & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 81 & 0 \\ 0 & 1 \end{bmatrix}$

$$ \begin{aligned} 3^x &= 81 \\ 3^x &= 3^4 \\ x &= 4 \end{aligned} $$

$\text{Solve for } x \text{ given that } \begin{bmatrix} 3^x & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 81 & 0 \\ 0 & 1 \end{bmatrix}$

$$ \begin{aligned} 3^x &= 81 \\ 3^x &= 3^4 \\ x &= 4 \end{aligned} $$
Example 4.6

$\text{จงหาค่า } x, y \text{ ที่เป็นจำนวนจริง เมื่อ } \begin{bmatrix} |x| & 7 \\ 8 & y^3 \end{bmatrix} = \begin{bmatrix} 5 & 7 \\ 8 & -27 \end{bmatrix}$

$$ \begin{aligned} |x| &= 5 \\ x &= 5 \text{ หรือ } x = -5 \\ \text{และ } \quad y^3 &= -27 \\ y^3 &= (-3)^3 \\ y &= -3 \end{aligned} $$

$\text{Find real numbers } x, y \text{ when } \begin{bmatrix} |x| & 7 \\ 8 & y^3 \end{bmatrix} = \begin{bmatrix} 5 & 7 \\ 8 & -27 \end{bmatrix}$

$$ \begin{aligned} |x| &= 5 \\ x &= 5 \text{ or } x = -5 \\ \text{and } \quad y^3 &= -27 \\ y^3 &= (-3)^3 \\ y &= -3 \end{aligned} $$
Example 4.7

$\text{กำหนด } A = \begin{bmatrix} 2x & y+1 \\ z & w-2 \end{bmatrix} \text{ และ } I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \text{ หาก } A = I_2 \text{ จงหา } x,y,z,w$

$$ \begin{aligned} \text{ตำแหน่ง } 1,1 : \quad 2x &= 1 \\ x &= \frac{1}{2} \\ \text{ตำแหน่ง } 1,2 : \quad y+1 &= 0 \\ y &= -1 \\ \text{ตำแหน่ง } 2,1 : \quad z &= 0 \\ \text{ตำแหน่ง } 2,2 : \quad w-2 &= 1 \\ w &= 3 \end{aligned} $$

$\text{Let } A = \begin{bmatrix} 2x & y+1 \\ z & w-2 \end{bmatrix} \text{ and } I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \text{ If } A = I_2 \text{ find } x,y,z,w$

$$ \begin{aligned} \text{Position } 1,1 : \quad 2x &= 1 \\ x &= \frac{1}{2} \\ \text{Position } 1,2 : \quad y+1 &= 0 \\ y &= -1 \\ \text{Position } 2,1 : \quad z &= 0 \\ \text{Position } 2,2 : \quad w-2 &= 1 \\ w &= 3 \end{aligned} $$

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

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

คำศัพท์ รากศัพท์ / Root ความหมาย / Meaning
Matrix mater (mother / womb) เมทริกซ์ · ชุดของตัวเลขที่ถูกจัดเรียงเป็นตารางสี่เหลี่ยม
Row rǣw (Old English: a line) แถว · การเรียงตัวเลขในแนวนอน (ซ้ายไปขวา)
Column columna (pillar) หลัก · การเรียงตัวเลขในแนวตั้ง (บนลงล่าง) เปรียบเสมือนเสา
Element / Entry elementum / intrare สมาชิก · ตัวเลขแต่ละตัวที่อยู่ภายในเมทริกซ์
Dimension / Order dimensio (measuring) มิติ / ขนาด · การระบุขนาดของเมทริกซ์ด้วย (จำนวนแถว × จำนวนหลัก)
Square Matrix exquadrare (to make square) เมทริกซ์จัตุรัส · เมทริกซ์ที่มีจำนวนแถวเท่ากับจำนวนหลัก
Diagonal Matrix dia- (through) + gonia (angle) เมทริกซ์ทแยงมุม · เมทริกซ์จัตุรัสที่สมาชิกนอกเส้นทแยงมุมหลักเป็น 0 หมด
Identity Matrix identitas (sameness) เมทริกซ์เอกลักษณ์ (I) · เมทริกซ์ทแยงมุมที่สมาชิกแนวทแยงหลักมีค่าเป็น 1 ตัวอื่นเป็น 0
Zero Matrix zephyrus / sifr (empty) เมทริกซ์ศูนย์ (0) · เมทริกซ์ที่สมาชิกทุกตำแหน่งมีค่าเท่ากับศูนย์ทั้งหมด
Equality aequalis (uniform, identical) การเท่ากัน · ความเท่าเทียมกันของเมทริกซ์ทั้งขนาดและสมาชิกทุกตำแหน่ง