矩陣乘法即線性映射的複合
僅在記錄預測與觀察證據後才可使用協助。
前置要求
完成第 22 天;若矩陣-向量乘積不熟練,使用列出的復原連結。
學習目標
按行乘列的點積逐項計算矩陣乘積,把 A*B 解釋為『先施加 B、再施加 A』的複合映射,並實證矩陣乘法不可交換。
操作指引
元素 (A*B)_ij 是 A 的第 i 行與 B 的第 j 列的點積。幾何上 (A*B)*x = A*(B*x):乘積矩陣先施加內層映射,所以複合要從右往左讀。複合依賴順序,因此 A*B 與 B*A 一般不相等。
自主實作與記錄
設 A = [[1,2],[3,4]],B = [[0,1],[1,0]](B 交換向量的分量)。計算前先預測兩個乘積:(a) A*B;(b) B*A。二者相等嗎?
A*B 的元素 (1,1) 是 A 的行 1 與 B 的列 1 的點積 = 1*0 + 2*1。先把四個元素都算完再做第二個乘積。
(a) A*B = [[1*0+2*1, 1*1+2*0], [3*0+4*1, 3*1+4*0]] = [[2,1],[4,3]]:B 先交換分量,A 再作用。(b) B*A = [[0*1+1*3, 0*2+1*4], [1*1+0*3, 1*2+0*4]] = [[3,4],[1,2]]:A 先作用,然後再交換。A*B != B*A,所以矩陣乘法不可交換;變換順序影響結果。
正確算出兩個乘積,解釋從右向左的複合讀法,並舉出一個幾何理由說明兩種順序為何不同(先交換再映射 vs 先映射再交換)。
權威來源資源與權利證明
Essence of Linear Algebra
對應章節 / 時間戳: Chapter 4: Matrix multiplication as composition
驗證版本與日期: 2016-2023 (Verified: 2026-10-30)
Unequaled geometric and visual intuition for vectors, linear transformations, matrix multiplication, and inverses before tensor operations.
High-school coordinate geometry
Geometric explanations, worked formulas, and coordinate exercises are fully provided as original lesson text.
對比候選資源與選型分析 (2)
Established textbook/lecture approach, strong mathematical rigor alongside 3Blue1Brown visual intuition.
Theoretical determinant-free proof structure is mathematically elegant but less aligned with computational tensor engineering.
18.06 Linear Algebra (Prof. Gilbert Strang)
對應章節 / 時間戳: Lecture 3: matrix multiplication and its four viewpoints
驗證版本與日期: Spring 2010 (Verified: 2026-10-30)
Established row-picture and column-picture treatment of linear systems, matrix products, and invertibility; rigorous complement to the 3Blue1Brown visual series.
High-school algebra and coordinate geometry
All row/column-picture derivations and worked examples are written as original lesson text and run offline.
對比候選資源與選型分析 (3)
Selected as co-primary: geometric visualizations paired with Strang's algebraic rigor.
Determinant-free theoretical treatment is elegant but further from the computational shape accounting required here.
Interactive figures are attractive, but the absence of a declared open license makes rights disposition unclear; kept out of the resource set.