TH

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

EN

A Matrix is a rectangular array of numbers arranged in rows and columns. We can perform operations like addition, subtraction, and multiplication on matrices similar to regular numbers, but they come with specific "dimension conditions" and unique rules. These operations collectively form Matrix Algebra.

1

➕ การบวกและการลบเมทริกซ์ ➕ Matrix Addition and Subtraction

TH

เงื่อนไข: เมทริกซ์ที่จะนำมาบวกหรือลบกันได้ ต้องเป็นเมทริกซ์ที่มีมิติเท่ากัน เท่านั้น (จำนวนแถวและหลักเท่ากันเป๊ะ)

วิธีทำ: ให้นำสมาชิกที่อยู่ใน ตำแหน่งเดียวกัน มาบวกหรือลบกันโดยตรง

$$ \text{ให้ } {\color{#1565c0}A} = {\color{#1565c0}\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}} $$ $$ \text{และ } {\color{#2e7d32}B} = {\color{#2e7d32}\begin{bmatrix} b_{11} & b_{12} & \dots & b_{1n} \\ b_{21} & b_{22} & \dots & b_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ b_{m1} & b_{m2} & \dots & b_{mn} \end{bmatrix}} $$ $$ {\color{#1565c0}A} {\color{#e65100}\pm} {\color{#2e7d32}B} = \begin{bmatrix} {\color{#1565c0}a_{11}} {\color{#e65100}\pm} {\color{#2e7d32}b_{11}} & {\color{#1565c0}a_{12}} {\color{#e65100}\pm} {\color{#2e7d32}b_{12}} & \dots & {\color{#1565c0}a_{1n}} {\color{#e65100}\pm} {\color{#2e7d32}b_{1n}} \\ {\color{#1565c0}a_{21}} {\color{#e65100}\pm} {\color{#2e7d32}b_{21}} & {\color{#1565c0}a_{22}} {\color{#e65100}\pm} {\color{#2e7d32}b_{22}} & \dots & {\color{#1565c0}a_{2n}} {\color{#e65100}\pm} {\color{#2e7d32}b_{2n}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#1565c0}a_{m1}} {\color{#e65100}\pm} {\color{#2e7d32}b_{m1}} & {\color{#1565c0}a_{m2}} {\color{#e65100}\pm} {\color{#2e7d32}b_{m2}} & \dots & {\color{#1565c0}a_{mn}} {\color{#e65100}\pm} {\color{#2e7d32}b_{mn}} \end{bmatrix} $$
EN

Condition: Matrices can only be added or subtracted if they have the exact same dimensions (same number of rows and columns).

Method: Add or subtract the corresponding elements in the same position directly.

$$ \text{Let } {\color{#1565c0}A} = {\color{#1565c0}\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}} $$ $$ \text{and } {\color{#2e7d32}B} = {\color{#2e7d32}\begin{bmatrix} b_{11} & b_{12} & \dots & b_{1n} \\ b_{21} & b_{22} & \dots & b_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ b_{m1} & b_{m2} & \dots & b_{mn} \end{bmatrix}} $$ $$ {\color{#1565c0}A} {\color{#e65100}\pm} {\color{#2e7d32}B} = \begin{bmatrix} {\color{#1565c0}a_{11}} {\color{#e65100}\pm} {\color{#2e7d32}b_{11}} & {\color{#1565c0}a_{12}} {\color{#e65100}\pm} {\color{#2e7d32}b_{12}} & \dots & {\color{#1565c0}a_{1n}} {\color{#e65100}\pm} {\color{#2e7d32}b_{1n}} \\ {\color{#1565c0}a_{21}} {\color{#e65100}\pm} {\color{#2e7d32}b_{21}} & {\color{#1565c0}a_{22}} {\color{#e65100}\pm} {\color{#2e7d32}b_{22}} & \dots & {\color{#1565c0}a_{2n}} {\color{#e65100}\pm} {\color{#2e7d32}b_{2n}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#1565c0}a_{m1}} {\color{#e65100}\pm} {\color{#2e7d32}b_{m1}} & {\color{#1565c0}a_{m2}} {\color{#e65100}\pm} {\color{#2e7d32}b_{m2}} & \dots & {\color{#1565c0}a_{mn}} {\color{#e65100}\pm} {\color{#2e7d32}b_{mn}} \end{bmatrix} $$
Example 1.1

จงหาผลบวกของเมทริกซ์มิติ $2 \times 2$

$$ \begin{aligned} \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} + \begin{bmatrix} 5 & 2 \\ 1 & 6 \end{bmatrix} &= \begin{bmatrix} 1+5 & 3+2 \\ 2+1 & 4+6 \end{bmatrix} \\ &= \begin{bmatrix} 6 & 5 \\ 3 & 10 \end{bmatrix} \end{aligned} $$

Find the sum of the $2 \times 2$ matrices.

$$ \begin{aligned} \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} + \begin{bmatrix} 5 & 2 \\ 1 & 6 \end{bmatrix} &= \begin{bmatrix} 1+5 & 3+2 \\ 2+1 & 4+6 \end{bmatrix} \\ &= \begin{bmatrix} 6 & 5 \\ 3 & 10 \end{bmatrix} \end{aligned} $$
Example 1.2

จงหาผลลบของเมทริกซ์มิติ $2 \times 2$

$$ \begin{aligned} \begin{bmatrix} 7 & -2 \\ 4 & 5 \end{bmatrix} - \begin{bmatrix} 3 & 1 \\ -1 & 5 \end{bmatrix} &= \begin{bmatrix} 7-3 & -2-1 \\ 4-(-1) & 5-5 \end{bmatrix} \\ &= \begin{bmatrix} 4 & -3 \\ 5 & 0 \end{bmatrix} \end{aligned} $$

Find the difference of the $2 \times 2$ matrices.

$$ \begin{aligned} \begin{bmatrix} 7 & -2 \\ 4 & 5 \end{bmatrix} - \begin{bmatrix} 3 & 1 \\ -1 & 5 \end{bmatrix} &= \begin{bmatrix} 7-3 & -2-1 \\ 4-(-1) & 5-5 \end{bmatrix} \\ &= \begin{bmatrix} 4 & -3 \\ 5 & 0 \end{bmatrix} \end{aligned} $$
Example 1.3

จงหาผลบวกของเมทริกซ์แถว (มิติ $1 \times 3$)

$$ \begin{aligned} \begin{bmatrix} 1 & 0 & -4 \end{bmatrix} + \begin{bmatrix} 2 & 3 & 4 \end{bmatrix} &= \begin{bmatrix} 1+2 & 0+3 & -4+4 \end{bmatrix} \\ &= \begin{bmatrix} 3 & 3 & 0 \end{bmatrix} \end{aligned} $$

Find the sum of the row matrices ($1 \times 3$).

$$ \begin{aligned} \begin{bmatrix} 1 & 0 & -4 \end{bmatrix} + \begin{bmatrix} 2 & 3 & 4 \end{bmatrix} &= \begin{bmatrix} 1+2 & 0+3 & -4+4 \end{bmatrix} \\ &= \begin{bmatrix} 3 & 3 & 0 \end{bmatrix} \end{aligned} $$
Example 1.4

จงหาผลลบของเมทริกซ์หลัก (มิติ $3 \times 1$)

$$ \begin{aligned} \begin{bmatrix} 5 \\ 2 \\ -1 \end{bmatrix} - \begin{bmatrix} 2 \\ 5 \\ -1 \end{bmatrix} &= \begin{bmatrix} 5-2 \\ 2-5 \\ -1-(-1) \end{bmatrix} \\ &= \begin{bmatrix} 3 \\ -3 \\ 0 \end{bmatrix} \end{aligned} $$

Find the difference of the column matrices ($3 \times 1$).

$$ \begin{aligned} \begin{bmatrix} 5 \\ 2 \\ -1 \end{bmatrix} - \begin{bmatrix} 2 \\ 5 \\ -1 \end{bmatrix} &= \begin{bmatrix} 5-2 \\ 2-5 \\ -1-(-1) \end{bmatrix} \\ &= \begin{bmatrix} 3 \\ -3 \\ 0 \end{bmatrix} \end{aligned} $$
Example 1.5

จงหาผลบวกของเมทริกซ์มิติ $2 \times 3$

$$ \begin{aligned} \begin{bmatrix} 1 & -2 & 3 \\ 0 & 4 & -5 \end{bmatrix} + \begin{bmatrix} 2 & 2 & -3 \\ 1 & -4 & 5 \end{bmatrix} &= \begin{bmatrix} 1+2 & -2+2 & 3+(-3) \\ 0+1 & 4+(-4) & -5+5 \end{bmatrix} \\ &= \begin{bmatrix} 3 & 0 & 0 \\ 1 & 0 & 0 \end{bmatrix} \end{aligned} $$

Find the sum of the $2 \times 3$ matrices.

$$ \begin{aligned} \begin{bmatrix} 1 & -2 & 3 \\ 0 & 4 & -5 \end{bmatrix} + \begin{bmatrix} 2 & 2 & -3 \\ 1 & -4 & 5 \end{bmatrix} &= \begin{bmatrix} 1+2 & -2+2 & 3+(-3) \\ 0+1 & 4+(-4) & -5+5 \end{bmatrix} \\ &= \begin{bmatrix} 3 & 0 & 0 \\ 1 & 0 & 0 \end{bmatrix} \end{aligned} $$
Example 1.6

จงหาค่าของเมทริกซ์ $X$ เมื่อ $X + \begin{bmatrix} 2 & 1 \end{bmatrix} = \begin{bmatrix} 5 & 4 \end{bmatrix}$

$$ \begin{aligned} X &= \begin{bmatrix} 5 & 4 \end{bmatrix} - \begin{bmatrix} 2 & 1 \end{bmatrix} \\ X &= \begin{bmatrix} 5-2 & 4-1 \end{bmatrix} \\ X &= \begin{bmatrix} 3 & 3 \end{bmatrix} \end{aligned} $$

Solve for matrix $X$ if $X + \begin{bmatrix} 2 & 1 \end{bmatrix} = \begin{bmatrix} 5 & 4 \end{bmatrix}$.

$$ \begin{aligned} X &= \begin{bmatrix} 5 & 4 \end{bmatrix} - \begin{bmatrix} 2 & 1 \end{bmatrix} \\ X &= \begin{bmatrix} 5-2 & 4-1 \end{bmatrix} \\ X &= \begin{bmatrix} 3 & 3 \end{bmatrix} \end{aligned} $$
Example 1.7

พิจารณาการบวก $\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} + \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}$

$$ \text{ไม่สามารถบวกกันได้ เพราะมิติไม่เท่ากัน } (2 \times 2 \text{ กับ } 2 \times 3) $$

Consider the addition $\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} + \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}$.

$$ \text{Cannot be added because the dimensions are different } (2 \times 2 \text{ and } 2 \times 3). $$
2

✖️ การคูณเมทริกซ์ด้วยสเกลาร์ ✖️ Scalar Multiplication

TH

สเกลาร์ (Scalar): ในที่นี้หมายถึงค่าคงที่หรือ จำนวนจริง ทั่วไป (เช่น $2, -3, \frac{1}{2}$)

วิธีทำ: ให้นำค่าคงที่ (จำนวนจริง $c$) คูณกระจายเข้าไปหาสมาชิก "ทุกตัว" ที่อยู่ภายในเมทริกซ์

$$ \text{ให้ } {\color{#1565c0}A} = {\color{#1565c0}\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}} $$ $$ {\color{#e65100}c}{\color{#1565c0}A} = \begin{bmatrix} {\color{#e65100}c}{\color{#1565c0}a_{11}} & {\color{#e65100}c}{\color{#1565c0}a_{12}} & \dots & {\color{#e65100}c}{\color{#1565c0}a_{1n}} \\ {\color{#e65100}c}{\color{#1565c0}a_{21}} & {\color{#e65100}c}{\color{#1565c0}a_{22}} & \dots & {\color{#e65100}c}{\color{#1565c0}a_{2n}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#e65100}c}{\color{#1565c0}a_{m1}} & {\color{#e65100}c}{\color{#1565c0}a_{m2}} & \dots & {\color{#e65100}c}{\color{#1565c0}a_{mn}} \end{bmatrix} $$
EN

Scalar: In this context, it refers to a constant or any real number (e.g., $2, -3, \frac{1}{2}$).

Method: Multiply the constant (real number $c$) distributively with "every" element inside the matrix.

$$ \text{Let } {\color{#1565c0}A} = {\color{#1565c0}\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}} $$ $$ {\color{#e65100}c}{\color{#1565c0}A} = \begin{bmatrix} {\color{#e65100}c}{\color{#1565c0}a_{11}} & {\color{#e65100}c}{\color{#1565c0}a_{12}} & \dots & {\color{#e65100}c}{\color{#1565c0}a_{1n}} \\ {\color{#e65100}c}{\color{#1565c0}a_{21}} & {\color{#e65100}c}{\color{#1565c0}a_{22}} & \dots & {\color{#e65100}c}{\color{#1565c0}a_{2n}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#e65100}c}{\color{#1565c0}a_{m1}} & {\color{#e65100}c}{\color{#1565c0}a_{m2}} & \dots & {\color{#e65100}c}{\color{#1565c0}a_{mn}} \end{bmatrix} $$
Example 2.1

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

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

Evaluate $2 \begin{bmatrix} 3 & -1 \\ 0 & 4 \end{bmatrix}$.

$$ \begin{aligned} 2 \begin{bmatrix} 3 & -1 \\ 0 & 4 \end{bmatrix} &= \begin{bmatrix} 2(3) & 2(-1) \\ 2(0) & 2(4) \end{bmatrix} \\ &= \begin{bmatrix} 6 & -2 \\ 0 & 8 \end{bmatrix} \end{aligned} $$
Example 2.2

จงหาค่าของ $-1 \begin{bmatrix} -5 & 2 & 0 \end{bmatrix}$ (หรือลบของเมทริกซ์)

$$ \begin{aligned} -1 \begin{bmatrix} -5 & 2 & 0 \end{bmatrix} &= \begin{bmatrix} -1(-5) & -1(2) & -1(0) \end{bmatrix} \\ &= \begin{bmatrix} 5 & -2 & 0 \end{bmatrix} \end{aligned} $$

Evaluate $-1 \begin{bmatrix} -5 & 2 & 0 \end{bmatrix}$ (negative of a matrix).

$$ \begin{aligned} -1 \begin{bmatrix} -5 & 2 & 0 \end{bmatrix} &= \begin{bmatrix} -1(-5) & -1(2) & -1(0) \end{bmatrix} \\ &= \begin{bmatrix} 5 & -2 & 0 \end{bmatrix} \end{aligned} $$
Example 2.3

จงหาค่าของ $\displaystyle \frac{1}{2} \begin{bmatrix} 4 \\ -6 \\ 8 \end{bmatrix}$

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

Evaluate $\displaystyle \frac{1}{2} \begin{bmatrix} 4 \\ -6 \\ 8 \end{bmatrix}$.

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

จงหาค่าของ $3 \begin{bmatrix} 1 & x \\ y & 2 \end{bmatrix}$

$$ \begin{aligned} 3 \begin{bmatrix} 1 & x \\ y & 2 \end{bmatrix} &= \begin{bmatrix} 3(1) & 3(x) \\ 3(y) & 3(2) \end{bmatrix} \\ &= \begin{bmatrix} 3 & 3x \\ 3y & 6 \end{bmatrix} \end{aligned} $$

Evaluate $3 \begin{bmatrix} 1 & x \\ y & 2 \end{bmatrix}$.

$$ \begin{aligned} 3 \begin{bmatrix} 1 & x \\ y & 2 \end{bmatrix} &= \begin{bmatrix} 3(1) & 3(x) \\ 3(y) & 3(2) \end{bmatrix} \\ &= \begin{bmatrix} 3 & 3x \\ 3y & 6 \end{bmatrix} \end{aligned} $$
Example 2.5

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

$$ \begin{aligned} 2A + B &= 2\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} + \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} + \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 4 & 2 \\ 2 & 4 \end{bmatrix} \end{aligned} $$

Given $A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$ and $B = \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix}$, find $2A + B$.

$$ \begin{aligned} 2A + B &= 2\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} + \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} + \begin{bmatrix} 2 & 2 \\ 2 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 4 & 2 \\ 2 & 4 \end{bmatrix} \end{aligned} $$
Example 2.6

กำหนด $A = \begin{bmatrix} 3 \\ 1 \end{bmatrix}$ และ $B = \begin{bmatrix} 1 \\ 4 \end{bmatrix}$ จงหา $3A - 2B$

$$ \begin{aligned} 3A - 2B &= 3\begin{bmatrix} 3 \\ 1 \end{bmatrix} - 2\begin{bmatrix} 1 \\ 4 \end{bmatrix} \\ &= \begin{bmatrix} 9 \\ 3 \end{bmatrix} - \begin{bmatrix} 2 \\ 8 \end{bmatrix} \\ &= \begin{bmatrix} 9-2 \\ 3-8 \end{bmatrix} \\ &= \begin{bmatrix} 7 \\ -5 \end{bmatrix} \end{aligned} $$

Given $A = \begin{bmatrix} 3 \\ 1 \end{bmatrix}$ and $B = \begin{bmatrix} 1 \\ 4 \end{bmatrix}$, find $3A - 2B$.

$$ \begin{aligned} 3A - 2B &= 3\begin{bmatrix} 3 \\ 1 \end{bmatrix} - 2\begin{bmatrix} 1 \\ 4 \end{bmatrix} \\ &= \begin{bmatrix} 9 \\ 3 \end{bmatrix} - \begin{bmatrix} 2 \\ 8 \end{bmatrix} \\ &= \begin{bmatrix} 9-2 \\ 3-8 \end{bmatrix} \\ &= \begin{bmatrix} 7 \\ -5 \end{bmatrix} \end{aligned} $$
Example 2.7

จงหาเมทริกซ์ $X$ เมื่อ $2X = \begin{bmatrix} 6 & 8 \\ -2 & 10 \end{bmatrix}$

$$ \begin{aligned} X &= \frac{1}{2} \begin{bmatrix} 6 & 8 \\ -2 & 10 \end{bmatrix} \\ X &= \begin{bmatrix} \frac{6}{2} & \frac{8}{2} \\ \frac{-2}{2} & \frac{10}{2} \end{bmatrix} \\ X &= \begin{bmatrix} 3 & 4 \\ -1 & 5 \end{bmatrix} \end{aligned} $$

Solve for matrix $X$ if $2X = \begin{bmatrix} 6 & 8 \\ -2 & 10 \end{bmatrix}$.

$$ \begin{aligned} X &= \frac{1}{2} \begin{bmatrix} 6 & 8 \\ -2 & 10 \end{bmatrix} \\ X &= \begin{bmatrix} \frac{6}{2} & \frac{8}{2} \\ \frac{-2}{2} & \frac{10}{2} \end{bmatrix} \\ X &= \begin{bmatrix} 3 & 4 \\ -1 & 5 \end{bmatrix} \end{aligned} $$
3

⚙️ การคูณเมทริกซ์ด้วยเมทริกซ์ ⚙️ Matrix Multiplication

TH

เงื่อนไขสุดหิน: จะคูณกันได้ก็ต่อเมื่อ จำนวน "หลัก" ของตัวตั้ง ต้องเท่ากับจำนวน "แถว" ของตัวคูณ

$$ ({\color{#1565c0}m} \times {\color{#e65100}p}) \times ({\color{#e65100}p} \times {\color{#2e7d32}n}) \implies \text{มิติผลลัพธ์คือ } ({\color{#1565c0}m} \times {\color{#2e7d32}n}) $$

วิธีทำ: นำสมาชิกใน แถวของตัวตั้ง ไปคูณกับสมาชิกใน หลักของตัวคูณ ทีละคู่แล้วนำผลคูณมาบวกกัน ("แถว คูณ หลัก")

$$ \text{ให้ } {\color{#1565c0}A} = {\color{#1565c0}\begin{bmatrix} a_{11} & a_{12} & \dots & a_{1p} \\ a_{21} & a_{22} & \dots & a_{2p} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \dots & a_{mp} \end{bmatrix}} $$ $$ \text{และ } {\color{#2e7d32}B} = {\color{#2e7d32}\begin{bmatrix} b_{11} & b_{12} & \dots & b_{1n} \\ b_{21} & b_{22} & \dots & b_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ b_{p1} & b_{p2} & \dots & b_{pn} \end{bmatrix}} $$ $$ {\color{#1565c0}A}{\color{#2e7d32}B} = \begin{bmatrix} {\color{#1565c0}a_{11}}{\color{#2e7d32}b_{11}} + \dots + {\color{#1565c0}a_{1p}}{\color{#2e7d32}b_{p1}} & {\color{#1565c0}a_{11}}{\color{#2e7d32}b_{12}} + \dots + {\color{#1565c0}a_{1p}}{\color{#2e7d32}b_{p2}} & \dots & {\color{#1565c0}a_{11}}{\color{#2e7d32}b_{1n}} + \dots + {\color{#1565c0}a_{1p}}{\color{#2e7d32}b_{pn}} \\ {\color{#1565c0}a_{21}}{\color{#2e7d32}b_{11}} + \dots + {\color{#1565c0}a_{2p}}{\color{#2e7d32}b_{p1}} & {\color{#1565c0}a_{21}}{\color{#2e7d32}b_{12}} + \dots + {\color{#1565c0}a_{2p}}{\color{#2e7d32}b_{p2}} & \dots & {\color{#1565c0}a_{21}}{\color{#2e7d32}b_{1n}} + \dots + {\color{#1565c0}a_{2p}}{\color{#2e7d32}b_{pn}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#1565c0}a_{m1}}{\color{#2e7d32}b_{11}} + \dots + {\color{#1565c0}a_{mp}}{\color{#2e7d32}b_{p1}} & {\color{#1565c0}a_{m1}}{\color{#2e7d32}b_{12}} + \dots + {\color{#1565c0}a_{mp}}{\color{#2e7d32}b_{p2}} & \dots & {\color{#1565c0}a_{m1}}{\color{#2e7d32}b_{1n}} + \dots + {\color{#1565c0}a_{mp}}{\color{#2e7d32}b_{pn}} \end{bmatrix} $$

ข้อควรระวัง: การคูณเมทริกซ์ไม่มีสมบัติการสลับที่ ($AB \neq BA$ เสมอไป)

EN

Strict Condition: Matrices can be multiplied only if the number of "columns" in the first matrix equals the number of "rows" in the second.

$$ ({\color{#1565c0}m} \times {\color{#e65100}p}) \times ({\color{#e65100}p} \times {\color{#2e7d32}n}) \implies \text{Resulting dimension is } ({\color{#1565c0}m} \times {\color{#2e7d32}n}) $$

Method: Multiply elements of the rows of the first with elements of the columns of the second pairwise and sum them up ("Row by Column").

$$ \text{Let } {\color{#1565c0}A} = {\color{#1565c0}\begin{bmatrix} a_{11} & a_{12} & \dots & a_{1p} \\ a_{21} & a_{22} & \dots & a_{2p} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \dots & a_{mp} \end{bmatrix}} $$ $$ \text{and } {\color{#2e7d32}B} = {\color{#2e7d32}\begin{bmatrix} b_{11} & b_{12} & \dots & b_{1n} \\ b_{21} & b_{22} & \dots & b_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ b_{p1} & b_{p2} & \dots & b_{pn} \end{bmatrix}} $$ $$ {\color{#1565c0}A}{\color{#2e7d32}B} = \begin{bmatrix} {\color{#1565c0}a_{11}}{\color{#2e7d32}b_{11}} + \dots + {\color{#1565c0}a_{1p}}{\color{#2e7d32}b_{p1}} & {\color{#1565c0}a_{11}}{\color{#2e7d32}b_{12}} + \dots + {\color{#1565c0}a_{1p}}{\color{#2e7d32}b_{p2}} & \dots & {\color{#1565c0}a_{11}}{\color{#2e7d32}b_{1n}} + \dots + {\color{#1565c0}a_{1p}}{\color{#2e7d32}b_{pn}} \\ {\color{#1565c0}a_{21}}{\color{#2e7d32}b_{11}} + \dots + {\color{#1565c0}a_{2p}}{\color{#2e7d32}b_{p1}} & {\color{#1565c0}a_{21}}{\color{#2e7d32}b_{12}} + \dots + {\color{#1565c0}a_{2p}}{\color{#2e7d32}b_{p2}} & \dots & {\color{#1565c0}a_{21}}{\color{#2e7d32}b_{1n}} + \dots + {\color{#1565c0}a_{2p}}{\color{#2e7d32}b_{pn}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#1565c0}a_{m1}}{\color{#2e7d32}b_{11}} + \dots + {\color{#1565c0}a_{mp}}{\color{#2e7d32}b_{p1}} & {\color{#1565c0}a_{m1}}{\color{#2e7d32}b_{12}} + \dots + {\color{#1565c0}a_{mp}}{\color{#2e7d32}b_{p2}} & \dots & {\color{#1565c0}a_{m1}}{\color{#2e7d32}b_{1n}} + \dots + {\color{#1565c0}a_{mp}}{\color{#2e7d32}b_{pn}} \end{bmatrix} $$

Warning: Matrix multiplication is generally not commutative ($AB \neq BA$).

Example 3.1

จงหาผลคูณของ $AB$ เมื่อ $A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}$ และ $B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}$

มิติ $(2 \times 2) \times (2 \times 2)$ ผลลัพธ์จะเป็น $2 \times 2$

$$ \begin{aligned} AB &= \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \\ &= \begin{bmatrix} (1)(5)+(2)(7) & (1)(6)+(2)(8) \\ (3)(5)+(4)(7) & (3)(6)+(4)(8) \end{bmatrix} \\ &= \begin{bmatrix} 5+14 & 6+16 \\ 15+28 & 18+32 \end{bmatrix} \\ &= \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix} \end{aligned} $$

Find the product $AB$ where $A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}$ and $B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}$.

Dimension $(2 \times 2) \times (2 \times 2)$ results in $2 \times 2$.

$$ \begin{aligned} AB &= \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \\ &= \begin{bmatrix} (1)(5)+(2)(7) & (1)(6)+(2)(8) \\ (3)(5)+(4)(7) & (3)(6)+(4)(8) \end{bmatrix} \\ &= \begin{bmatrix} 5+14 & 6+16 \\ 15+28 & 18+32 \end{bmatrix} \\ &= \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix} \end{aligned} $$
Example 3.2

จงหาผลคูณของ $\begin{bmatrix} 2 & -1 \\ 3 & 0 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \end{bmatrix}$

มิติ $(2 \times 2) \times (2 \times 1)$ ผลลัพธ์จะเป็น $2 \times 1$

$$ \begin{aligned} \begin{bmatrix} 2 & -1 \\ 3 & 0 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \end{bmatrix} &= \begin{bmatrix} (2)(4)+(-1)(5) \\ (3)(4)+(0)(5) \end{bmatrix} \\ &= \begin{bmatrix} 8-5 \\ 12+0 \end{bmatrix} \\ &= \begin{bmatrix} 3 \\ 12 \end{bmatrix} \end{aligned} $$

Find the product of $\begin{bmatrix} 2 & -1 \\ 3 & 0 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \end{bmatrix}$.

Dimension $(2 \times 2) \times (2 \times 1)$ results in $2 \times 1$.

$$ \begin{aligned} \begin{bmatrix} 2 & -1 \\ 3 & 0 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \end{bmatrix} &= \begin{bmatrix} (2)(4)+(-1)(5) \\ (3)(4)+(0)(5) \end{bmatrix} \\ &= \begin{bmatrix} 8-5 \\ 12+0 \end{bmatrix} \\ &= \begin{bmatrix} 3 \\ 12 \end{bmatrix} \end{aligned} $$
Example 3.3

จงหาผลคูณของ $\begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix}$

มิติ $(1 \times 3) \times (3 \times 1)$ ผลลัพธ์จะเป็น $1 \times 1$ (สเกลาร์)

$$ \begin{aligned} \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} &= \begin{bmatrix} (1)(4) + (2)(5) + (3)(6) \end{bmatrix} \\ &= \begin{bmatrix} 4 + 10 + 18 \end{bmatrix} \\ &= \begin{bmatrix} 32 \end{bmatrix} \end{aligned} $$

Find the product of $\begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix}$.

Dimension $(1 \times 3) \times (3 \times 1)$ results in $1 \times 1$ (a scalar).

$$ \begin{aligned} \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} &= \begin{bmatrix} (1)(4) + (2)(5) + (3)(6) \end{bmatrix} \\ &= \begin{bmatrix} 4 + 10 + 18 \end{bmatrix} \\ &= \begin{bmatrix} 32 \end{bmatrix} \end{aligned} $$
Example 3.4

จงหาผลคูณของ $\begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} \begin{bmatrix} 1 & 2 & 3 \end{bmatrix}$

มิติ $(3 \times 1) \times (1 \times 3)$ ผลลัพธ์จะเป็นเมทริกซ์ขนาด $3 \times 3$

$$ \begin{aligned} \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} &= \begin{bmatrix} (4)(1) & (4)(2) & (4)(3) \\ (5)(1) & (5)(2) & (5)(3) \\ (6)(1) & (6)(2) & (6)(3) \end{bmatrix} \\ &= \begin{bmatrix} 4 & 8 & 12 \\ 5 & 10 & 15 \\ 6 & 12 & 18 \end{bmatrix} \end{aligned} $$

Find the product of $\begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} \begin{bmatrix} 1 & 2 & 3 \end{bmatrix}$.

Dimension $(3 \times 1) \times (1 \times 3)$ results in a $3 \times 3$ matrix.

$$ \begin{aligned} \begin{bmatrix} 4 \\ 5 \\ 6 \end{bmatrix} \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} &= \begin{bmatrix} (4)(1) & (4)(2) & (4)(3) \\ (5)(1) & (5)(2) & (5)(3) \\ (6)(1) & (6)(2) & (6)(3) \end{bmatrix} \\ &= \begin{bmatrix} 4 & 8 & 12 \\ 5 & 10 & 15 \\ 6 & 12 & 18 \end{bmatrix} \end{aligned} $$
Example 3.5

จงหา $BA$ จาก Example 3.1 เพื่อแสดงว่า $AB \neq BA$

$$ \begin{aligned} BA &= \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \\ &= \begin{bmatrix} (5)(1)+(6)(3) & (5)(2)+(6)(4) \\ (7)(1)+(8)(3) & (7)(2)+(8)(4) \end{bmatrix} \\ &= \begin{bmatrix} 5+18 & 10+24 \\ 7+24 & 14+32 \end{bmatrix} \\ &= \begin{bmatrix} 23 & 34 \\ 31 & 46 \end{bmatrix} \end{aligned} $$

จะเห็นว่า $AB \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix} \neq BA \begin{bmatrix} 23 & 34 \\ 31 & 46 \end{bmatrix}$

Find $BA$ from Example 3.1 to show that $AB \neq BA$.

$$ \begin{aligned} BA &= \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \\ &= \begin{bmatrix} (5)(1)+(6)(3) & (5)(2)+(6)(4) \\ (7)(1)+(8)(3) & (7)(2)+(8)(4) \end{bmatrix} \\ &= \begin{bmatrix} 5+18 & 10+24 \\ 7+24 & 14+32 \end{bmatrix} \\ &= \begin{bmatrix} 23 & 34 \\ 31 & 46 \end{bmatrix} \end{aligned} $$

It is clear that $AB \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix} \neq BA \begin{bmatrix} 23 & 34 \\ 31 & 46 \end{bmatrix}$.

Example 3.6

จงหาผลคูณของเมทริกซ์ $A$ กับ เมทริกซ์เอกลักษณ์ $I$

$$ \begin{aligned} AI &= \begin{bmatrix} 3 & -2 \\ 1 & 4 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \\ &= \begin{bmatrix} (3)(1)+(-2)(0) & (3)(0)+(-2)(1) \\ (1)(1)+(4)(0) & (1)(0)+(4)(1) \end{bmatrix} \\ &= \begin{bmatrix} 3 & -2 \\ 1 & 4 \end{bmatrix} = A \end{aligned} $$

Find the product of matrix $A$ and the Identity matrix $I$.

$$ \begin{aligned} AI &= \begin{bmatrix} 3 & -2 \\ 1 & 4 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \\ &= \begin{bmatrix} (3)(1)+(-2)(0) & (3)(0)+(-2)(1) \\ (1)(1)+(4)(0) & (1)(0)+(4)(1) \end{bmatrix} \\ &= \begin{bmatrix} 3 & -2 \\ 1 & 4 \end{bmatrix} = A \end{aligned} $$
Example 3.7

จงหาผลคูณของเมทริกซ์ $\begin{bmatrix} 1 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ -1 & 1 \\ 0 & 3 \end{bmatrix}$

มิติ $({\color{#1565c0}2} \times {\color{#e65100}3}) \times ({\color{#e65100}3} \times {\color{#2e7d32}2})$ ผลลัพธ์จะเป็นเมทริกซ์ขนาด $2 \times 2$

$$ \begin{aligned} \begin{bmatrix} 1 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ -1 & 1 \\ 0 & 3 \end{bmatrix} &= \begin{bmatrix} (1)(1) + (0)(-1) + (-1)(0) & (1)(2) + (0)(1) + (-1)(3) \\ (2)(1) + (1)(-1) + (0)(0) & (2)(2) + (1)(1) + (0)(3) \end{bmatrix} \\[6pt] &= \begin{bmatrix} 1 + 0 + 0 & 2 + 0 - 3 \\ 2 - 1 + 0 & 4 + 1 + 0 \end{bmatrix} \\[6pt] &= \begin{bmatrix} 1 & -1 \\ 1 & 5 \end{bmatrix} \end{aligned} $$

Find the product of $\begin{bmatrix} 1 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ -1 & 1 \\ 0 & 3 \end{bmatrix}$.

Dimension $({\color{#1565c0}2} \times {\color{#e65100}3}) \times ({\color{#e65100}3} \times {\color{#2e7d32}2})$ results in a $2 \times 2$ matrix.

$$ \begin{aligned} \begin{bmatrix} 1 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ -1 & 1 \\ 0 & 3 \end{bmatrix} &= \begin{bmatrix} (1)(1) + (0)(-1) + (-1)(0) & (1)(2) + (0)(1) + (-1)(3) \\ (2)(1) + (1)(-1) + (0)(0) & (2)(2) + (1)(1) + (0)(3) \end{bmatrix} \\[6pt] &= \begin{bmatrix} 1 + 0 + 0 & 2 + 0 - 3 \\ 2 - 1 + 0 & 4 + 1 + 0 \end{bmatrix} \\[6pt] &= \begin{bmatrix} 1 & -1 \\ 1 & 5 \end{bmatrix} \end{aligned} $$
4

🔄 ทรานสโพสของเมทริกซ์ ($A^t$) 🔄 Transpose of a Matrix ($A^t$)

TH

การทำทรานสโพส: คือกระบวนการ "สลับแถวให้เป็นหลัก" (แถวที่ 1 กลายเป็นหลักที่ 1, แถวที่ 2 กลายเป็นหลักที่ 2, ...)

$$ \text{ให้ } {\color{#1565c0}A} = {\color{#1565c0}\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}}_{{\color{#1565c0}m \times n}} $$ $$ {\color{#8e24aa}A^t} = \begin{bmatrix} {\color{#1565c0}a_{11}} & {\color{#1565c0}a_{21}} & \dots & {\color{#1565c0}a_{m1}} \\ {\color{#1565c0}a_{12}} & {\color{#1565c0}a_{22}} & \dots & {\color{#1565c0}a_{m2}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#1565c0}a_{1n}} & {\color{#1565c0}a_{2n}} & \dots & {\color{#1565c0}a_{mn}} \end{bmatrix}_{{\color{#8e24aa}n \times m}} $$

สมบัติที่สำคัญ:

  • $(A^t)^t = A$
  • $(A+B)^t = A^t + B^t$
  • $(cA)^t = cA^t$ เมื่อ $c$ เป็นสเกลาร์
  • $(AB)^t = B^t A^t$ (ต้องสลับที่ระหว่างผลคูณด้วย)
EN

Transposition: It is the process of "swapping rows to become columns" (Row 1 becomes Column 1, Row 2 becomes Column 2, etc.).

$$ \text{Let } {\color{#1565c0}A} = {\color{#1565c0}\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}}_{{\color{#1565c0}m \times n}} $$ $$ {\color{#8e24aa}A^t} = \begin{bmatrix} {\color{#1565c0}a_{11}} & {\color{#1565c0}a_{21}} & \dots & {\color{#1565c0}a_{m1}} \\ {\color{#1565c0}a_{12}} & {\color{#1565c0}a_{22}} & \dots & {\color{#1565c0}a_{m2}} \\ \vdots & \vdots & \ddots & \vdots \\ {\color{#1565c0}a_{1n}} & {\color{#1565c0}a_{2n}} & \dots & {\color{#1565c0}a_{mn}} \end{bmatrix}_{{\color{#8e24aa}n \times m}} $$

Important Properties:

  • $(A^t)^t = A$
  • $(A+B)^t = A^t + B^t$
  • $(cA)^t = cA^t$ where $c$ is a scalar
  • $(AB)^t = B^t A^t$ (Note the reversal of order)
Example 4.1

จงหาทรานสโพสของเมทริกซ์ $2 \times 2$

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

Find the transpose of the $2 \times 2$ matrix.

$$ \begin{aligned} A &= \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \\ A^t &= \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} \end{aligned} $$
Example 4.2

จงหาทรานสโพสของเมทริกซ์ $2 \times 3$

มิติผลลัพธ์จะกลายเป็น $3 \times 2$

$$ \begin{aligned} B &= \begin{bmatrix} 5 & 0 & -2 \\ 1 & 4 & 6 \end{bmatrix} \\ B^t &= \begin{bmatrix} 5 & 1 \\ 0 & 4 \\ -2 & 6 \end{bmatrix} \end{aligned} $$

Find the transpose of the $2 \times 3$ matrix.

The resulting dimension becomes $3 \times 2$.

$$ \begin{aligned} B &= \begin{bmatrix} 5 & 0 & -2 \\ 1 & 4 & 6 \end{bmatrix} \\ B^t &= \begin{bmatrix} 5 & 1 \\ 0 & 4 \\ -2 & 6 \end{bmatrix} \end{aligned} $$
Example 4.3

จงหาทรานสโพสของเมทริกซ์หลัก

เมทริกซ์หลักจะกลายเป็นเมทริกซ์แถว

$$ \begin{aligned} v &= \begin{bmatrix} -1 \\ 2 \\ 5 \end{bmatrix} \\ v^t &= \begin{bmatrix} -1 & 2 & 5 \end{bmatrix} \end{aligned} $$

Find the transpose of the column matrix.

A column matrix becomes a row matrix.

$$ \begin{aligned} v &= \begin{bmatrix} -1 \\ 2 \\ 5 \end{bmatrix} \\ v^t &= \begin{bmatrix} -1 & 2 & 5 \end{bmatrix} \end{aligned} $$
Example 4.4

จงตรวจสอบสมบัติ $(A^t)^t = A$

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

Verify the property $(A^t)^t = A$.

$$ \begin{aligned} A &= \begin{bmatrix} 3 & 8 \\ -4 & 0 \end{bmatrix} \\ A^t &= \begin{bmatrix} 3 & -4 \\ 8 & 0 \end{bmatrix} \\ (A^t)^t &= \begin{bmatrix} 3 & 8 \\ -4 & 0 \end{bmatrix} \\&= A \end{aligned} $$
Example 4.5

จงตรวจสอบสมบัติ $(A+B)^t = A^t + B^t$

$$ \begin{aligned} \text{ให้ } A &= \begin{bmatrix} 1 & 0 \end{bmatrix}, B = \begin{bmatrix} 2 & 5 \end{bmatrix} \\ (A+B)^t &= \begin{bmatrix} 3 & 5 \end{bmatrix}^t \\&= \begin{bmatrix} 3 \\ 5 \end{bmatrix} \\ A^t + B^t &= \begin{bmatrix} 1 \\ 0 \end{bmatrix} + \begin{bmatrix} 2 \\ 5 \end{bmatrix} \\&= \begin{bmatrix} 3 \\ 5 \end{bmatrix} \end{aligned} $$

Verify the property $(A+B)^t = A^t + B^t$.

$$ \begin{aligned} \text{Let } A &= \begin{bmatrix} 1 & 0 \end{bmatrix}, B = \begin{bmatrix} 2 & 5 \end{bmatrix} \\ (A+B)^t &= \begin{bmatrix} 3 & 5 \end{bmatrix}^t \\&= \begin{bmatrix} 3 \\ 5 \end{bmatrix} \\ A^t + B^t &= \begin{bmatrix} 1 \\ 0 \end{bmatrix} + \begin{bmatrix} 2 \\ 5 \end{bmatrix} \\&= \begin{bmatrix} 3 \\ 5 \end{bmatrix} \end{aligned} $$
Example 4.6

จงตรวจสอบสมบัติ $(cA)^t = cA^t$

$$ \begin{aligned} \text{ให้ } c &= 3, A = \begin{bmatrix} 1 & -2 \end{bmatrix} \\ (3A)^t &= \begin{bmatrix} 3 & -6 \end{bmatrix}^t \\&= \begin{bmatrix} 3 \\ -6 \end{bmatrix} \\ 3(A^t) &= 3 \begin{bmatrix} 1 \\ -2 \end{bmatrix} \\&= \begin{bmatrix} 3 \\ -6 \end{bmatrix} \end{aligned} $$

Verify the property $(cA)^t = cA^t$.

$$ \begin{aligned} \text{Let } c &= 3, A = \begin{bmatrix} 1 & -2 \end{bmatrix} \\ (3A)^t &= \begin{bmatrix} 3 & -6 \end{bmatrix}^t \\&= \begin{bmatrix} 3 \\ -6 \end{bmatrix} \\ 3(A^t) &= 3 \begin{bmatrix} 1 \\ -2 \end{bmatrix} \\&= \begin{bmatrix} 3 \\ -6 \end{bmatrix} \end{aligned} $$
Example 4.7

จงตรวจสอบสมบัติ $(AB)^t = B^t A^t$ (ทฤษฎีบทการสลับที่ของการคูณ)

ใช้ $A, B$ จาก Example 3.1: $AB = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix}$

$$ \begin{aligned} (AB)^t &= \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} \\ B^t A^t &= \begin{bmatrix} 5 & 7 \\ 6 & 8 \end{bmatrix} \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} \\ &= \begin{bmatrix} (5)(1)+(7)(2) & (5)(3)+(7)(4) \\ (6)(1)+(8)(2) & (6)(3)+(8)(4) \end{bmatrix} \\ &= \begin{bmatrix} 5+14 & 15+28 \\ 6+16 & 18+32 \end{bmatrix} \\ &= \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} \end{aligned} $$

Verify the property $(AB)^t = B^t A^t$ (Reversal rule for transposes).

Using $A, B$ from Example 3.1: $AB = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix}$.

$$ \begin{aligned} (AB)^t &= \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} \\ B^t A^t &= \begin{bmatrix} 5 & 7 \\ 6 & 8 \end{bmatrix} \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} \\ &= \begin{bmatrix} (5)(1)+(7)(2) & (5)(3)+(7)(4) \\ (6)(1)+(8)(2) & (6)(3)+(8)(4) \end{bmatrix} \\ &= \begin{bmatrix} 5+14 & 15+28 \\ 6+16 & 18+32 \end{bmatrix} \\ &= \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} \end{aligned} $$

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

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

คำศัพท์ รากศัพท์ / Root ความหมาย / Meaning
Matrix mater (mother, womb) เมทริกซ์ · กลุ่มของตัวเลขที่จัดเรียงเป็นแถวและหลักในวงเล็บ
Element / Entry elementum (first principle) สมาชิก · ตัวเลขแต่ละตัวที่อยู่ภายในเมทริกซ์
Row hrawa (line) แถว · การจัดเรียงตัวเลขในแนวนอน
Column columna (pillar) หลัก · การจัดเรียงตัวเลขในแนวตั้ง
Dimension / Order dimensio (measuring) มิติ / ขนาด · จำนวนแถวคูณด้วยจำนวนหลัก (เช่น m × n)
Scalar scalaris (ladder, scale) สเกลาร์ · ค่าคงที่หรือจำนวนจริงที่นำมาคูณกับเมทริกซ์
Multiply multus (many) + plicare (fold) คูณ · การดำเนินการทางคณิตศาสตร์แบบแถวคูณหลัก
Transpose trans- (across) + ponere (to place) ทรานสโพส · การสลับตำแหน่งระหว่างแถวกับหลักของเมทริกซ์
Commutative commutare (to change entirely) สลับที่ · สมบัติที่สลับตำแหน่งการดำเนินการแล้วผลลัพธ์ยังเท่าเดิม (การคูณเมทริกซ์ไม่มีสมบัตินี้)
Identity identitas (sameness) เอกลักษณ์ · เมทริกซ์ที่คูณกับเมทริกซ์ใดๆ แล้วได้ผลลัพธ์เท่าเดิมเสมอ (I)