MATH · LINEAR ALGEBRA

線性代數公式一覽

把大學線性代數常見公式與定義整理成一頁,方便對照複習。每條附極短說明;這是公式一覽,不是完整課本。

FORMULA SHEET

章節目錄

左側(或上方)目錄可跳轉各章。公式以 KaTeX 渲染,需載入 CDN 字體與腳本。

1. 矩陣運算與性質

矩陣是線性代數的基本物件;加法、數乘、乘法與轉置最常用。

  • 矩陣加法/數乘

    $$(A+B)_{ij}=a_{ij}+b_{ij},\quad (cA)_{ij}=c\,a_{ij}$$
  • 矩陣乘法

    $$(AB)_{ij}=\sum_k a_{ik}b_{kj}$$

    僅當 $A$ 的行數等於 $B$ 的列數時可乘;一般 $AB eq BA$。

  • 轉置

    $$(A^T)_{ij}=a_{ji},\quad (AB)^T=B^T A^T$$
  • 方陣跡

    $$\operatorname{tr}(A)=\sum_i a_{ii},\quad \operatorname{tr}(AB)=\operatorname{tr}(BA)$$
  • 單位矩陣/零矩陣

    $$I_n=\operatorname{diag}(1,\ldots,1),\quad AI=IA=A$$

2. 行列式

方陣的純量不變量;與體積縮放、可逆性密切相關。

  • 2×2/3×3

    $$\det\begin{pmatrix}a&b\\c&d\end{pmatrix}=ad-bc$$ $$\det\begin{pmatrix}a_{11}&a_{12}&a_{13}\\a_{21}&a_{22}&a_{23}\\a_{31}&a_{32}&a_{33}\end{pmatrix}=a_{11}(a_{22}a_{33}-a_{23}a_{32})-\cdots$$
  • 性質(選)

    $$\det(AB)=\det A\det B,\quad \det(A^T)=\det A,\quad \det(cA)=c^n\det A$$
  • 三角陣

    $$\det T=\prod_i t_{ii}$$

    上/下三角矩陣的行列式等於對角線乘積。

  • 可逆判準

    $$A\text{ 可逆}\iff \det A\neq 0$$

3. 逆矩陣

左逆與右逆在方陣情形合而為一。

  • 定義

    $$A A^{-1}=A^{-1}A=I$$
  • 2×2 公式

    $$\begin{pmatrix}a&b\\c&d\end{pmatrix}^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}\quad(ad-bc\neq 0)$$
  • 伴隨/Cramer 思路

    $$A^{-1}=\frac{1}{\det A}\operatorname{adj}(A)$$

    $\operatorname{adj}(A)$ 為餘因子矩陣的轉置。

  • 乘積的逆

    $$(AB)^{-1}=B^{-1}A^{-1}$$

4. 線性方程組

解 $A\mathbf{x}=\mathbf{b}$ 是核心問題。

  • 矩陣形式

    $$A\mathbf{x}=\mathbf{b}$$
  • Gauss 消去(概念)

    $$\text{列運算}\ \sim\ \text{列梯形式/簡化列梯形式}$$

    主元、自由變數決定解的維度。

  • Cramer 法則

    $$x_i=\frac{\det A_i}{\det A}\quad(\det A\neq 0)$$

    $A_i$ 以 $\mathbf{b}$ 替換 $A$ 的第 $i$ 行。

  • 解的結構

    $$\mathbf{x}=\mathbf{x}_p+\mathbf{x}_h,\quad A\mathbf{x}_h=\mathbf{0}$$

    特解加齊次通解。

5. 向量空間與基底

抽象向量空間、子空間、維度。

  • 子空間判準(概念)

    $$0\in W,\ \mathbf{u},\mathbf{v}\in W\Rightarrow \mathbf{u}+\mathbf{v},c\mathbf{u}\in W$$
  • 線性獨立

    $$c_1\mathbf{v}_1+\cdots+c_k\mathbf{v}_k=\mathbf{0}\Rightarrow c_i=0$$
  • 基底與維度

    $$\dim V=n\iff V\text{ 有 }n\text{ 個線性獨立生成元}$$
  • 秩-零度定理

    $$\operatorname{rank}A+\operatorname{nullity}A=n$$

    $A$ 為 $m\times n$;$n$ 為未知數個數。

  • 行空間/零空間

    $$\operatorname{Col}A\subseteq\mathbb{R}^m,\quad \operatorname{Nul}A=\{\mathbf{x}:A\mathbf{x}=\mathbf{0}\}$$

6. 線性變換

線性映射可用矩陣表示。

  • 線性

    $$T(c\mathbf{u}+\mathbf{v})=c\,T(\mathbf{u})+T(\mathbf{v})$$
  • 矩陣表示

    $$T(\mathbf{x})=A\mathbf{x}$$

    相對選定基底,$A$ 的行是基向量的像的座標。

  • 合成

    $$[S\circ T]=[S][T]$$
  • 核與像

    $$\ker T=T^{-1}(\{\mathbf{0}\}),\quad \operatorname{im}T=T(V)$$

7. 特徵值與特徵向量

方陣作用後只作伸縮的方向。

  • 定義

    $$A\mathbf{v}=\lambda\mathbf{v},\quad \mathbf{v}\neq\mathbf{0}$$
  • 特徵多項式

    $$p_A(\lambda)=\det(A-\lambda I)=0$$
  • 跡與行列式

    $$\sum_i\lambda_i=\operatorname{tr}A,\quad \prod_i\lambda_i=\det A$$

    計代數重數(複數域上)。

8. 對角化

相似於對角陣時計算大幅簡化。

  • 對角化

    $$A=PDP^{-1},\quad D=\operatorname{diag}(\lambda_1,\ldots,\lambda_n)$$

    $P$ 的行為對應特徵向量。

  • 判準(概念)

    $$A\text{ 可對角化}\iff \text{有 }n\text{ 個線性獨立特徵向量}$$
  • 冪次

    $$A^k=PD^k P^{-1}$$

9. 內積與正交

長度、角度與正交分解。

  • 標準內積

    $$\langle\mathbf{u},\mathbf{v}\rangle=\mathbf{u}\cdot\mathbf{v}=\sum_i u_i v_i,\quad \|\mathbf{u}\|=\sqrt{\langle\mathbf{u},\mathbf{u}\rangle}$$
  • 正交/標準正交

    $$\mathbf{u}\perp\mathbf{v}\iff\langle\mathbf{u},\mathbf{v}\rangle=0$$
  • Gram–Schmidt

    $$\mathbf{v}_1=\mathbf{u}_1,\quad \mathbf{v}_{k}=\mathbf{u}_k-\sum_{j
  • 正交投影

    $$\operatorname{proj}_{\mathbf{u}}\mathbf{v}=\frac{\langle\mathbf{v},\mathbf{u}\rangle}{\langle\mathbf{u},\mathbf{u}\rangle}\mathbf{u}$$

10. 最小二乘與 SVD(簡要)

不相容方程組的最佳近似解。

  • 正規方程

    $$A^T A\hat{\mathbf{x}}=A^T\mathbf{b}$$

    使 $\|A\mathbf{x}-\mathbf{b}\|$ 最小的 $\hat{\mathbf{x}}$。

  • SVD(一句)

    $$A=U\Sigma V^T$$

    奇異值分解;用於秩、偽逆與低秩近似。

本頁為線性代數公式一覽,方便對照複習;符號慣例與條件以教材為準。公式以 KaTeX CDN 渲染,離線或封鎖 CDN 時數學式可能無法排版。內容涵蓋入門常見主題,並非完整課本或考試大綱保證。