跳到正文

个人记录

防止 自己 在线性代数挂科

ningago约 13 分钟
原文
文章信息与版本

文章信息

发布
2026年11月10日
收录
2026年11月10日
更新
2026年11月18日
篇幅
约 13 分钟

版本

  1. v2当前
  2. v1

1. 线性方程组

  • augmented matrix [A∣b][A|b].
  • elementary row operator: replacement, scaling, interchange.
  • echelon form.(阶梯状,不唯一)
  • ruduced echelon form.(leading entry 为 11,唯一)
  • pivot position: position of leading 11.
  • pivot column.
  • basic/free variable: associated with pivot/nonpivot cloumn.

2. 向量空间

  • field: 加法封闭,乘法封闭,交换律结合律分配律,存在逆元单位元。
  • vector:平行四边形法则。
  • linear combination: y=c1x1+c2x2+⋯cpxpy=c_1x_1+c_2x_2+\cdots c_px_p.(有限)
  • consistent/inconsistent: yy is/isn’t linear combination of {xi}\{x_i\}.
  • span: span({xi})={∑icixi∣ci∈F}span(\{x_i\})=\{\sum_i c_ix_i|c_i\in \mathbb F\}
  • vector space: 向量加法、数乘封闭,交换律结合律(左、右)分配律,存在单位元和加法逆元。
  • Thm. 消去律。
  • Thm. 零的乘法、加法逆元的乘法。
  • subspace: 某个 vector space 的子空间(同一个 field),要求向量加法、数乘封闭,且含 00。
  • Thm. subspace 的交集是 subspace.
  • linear dependence/independence: exist/not exist {ci}\{c_i\} s.t. ∑icivi=0\sum_ic_iv_i=0.
  • Thm. if S1⊆S2S_1\subseteq S_2: S1S_1 dependent   ⟹  \implies S2S_2 dependent; S2S_2 independent   ⟹  \implies S1S_1 independent.
  • Thm. if SS is independent: S∪{x}S\cup\{x\} dependent   ⟺  \iff x∈span(S)x\in span(S).
  • basis: β\beta is independent and span(β)=Vspan(\beta)=V, where β\beta is a basis of VV.
  • standard ordered basis: e1,e2,⋯ene_1,e_2,\cdots e_n.
  • unique representation theorem: β\beta is a basis of VV   ⟺  \iff each v∈Vv\in V can be uniquely expressed as a linear combination of β\beta.
    • Proof: 反证不唯一,得到线性相关。
  • Thm. V=span(S)V=span(S) 则存在 SS 的子集是 basis.
  • Thm. ∣S∣>∣β∣|S|>|\beta| 的 SS 一定 dependent.
    • Proof: let m>nm>n. si=∑j=1nci,jbjs_i=\sum_{j=1}^n c_{i,j}b_j.
    • 0=∑i=1mxisi=∑j=1nbj∑i=1mxici,j  ⟹  ∑i=1mxici,j=00=\sum_{i=1}^mx_is_i=\sum_{j=1}^nb_j\sum_{i=1}^mx_ic_{i,j}\implies \sum_{i=1}^mx_ic_{i,j}=0.
    • nn equations, mm variable, must exist free variable.
  • dimension: dim⁡V=∣β∣\dim V=|\beta|.(定义在 vector space 上)
  • Thm. for any subspace HH(basis γ\gamma) of vector space VV. γ\gamma can be expanded to basisbasis of VV.
  • Thm. β\beta(where βi∈V\beta_i\in V) is independent and ∣β∣=dim⁡V|\beta|=\dim V, then β\beta is a basis of VV.
    • Proof: suppose ∃v∉span(β)\exist v\not\in span(\beta), then β∪{v}\beta\cup\{v\} is independent, dim⁡V≥∣β∣+1\dim V\geq |\beta|+1.
  • Thm. span(β)=Vspan(\beta)=V and ∣β∣=dim⁡V|\beta|=\dim V, then β\beta is a basis of VV.
    • Proof: suppose β\beta is dependent, then dim⁡V<∣β∣\dim V<|\beta|.

3. 线性变换

  • linear transformation: T:V→WT:V\to W,满足加法数乘性质。要求 VV 和 WW 作用在同一域上。
  • range/Image: R(T)/Im(T):={T(x)∣x∈V}R(T)/Im(T):=\{T(x)|x\in V\}.
  • null space/kernel: N(T)/Ker(T):={x∣T(X)=0}N(T)/Ker(T):=\{x|T(X)=0\}.
  • Thm. R(T),N(T)R(T),N(T) are subspaces of WW and VV.
    • Proof: 自己验算一遍。
  • rank(T):=dim⁡R(T),nullity(T):=dim⁡N(T)rank(T):=\dim R(T),nullity(T):=\dim N(T).
  • Thm. R(T)=span(T(β))R(T)=span(T(\beta)).
    • Proof: for any x′=T(x)∈R(T)x'=T(x)\in R(T), x=∑ciβi,x′=∑ciT(β)∈span(T(β))x=\sum c_i\beta_i,x'=\sum c_iT(\beta)\in span(T(\beta)).
  • dimension theorem: rank(T)+nullity(T)=dim⁡Vrank(T)+nullity(T)=\dim V.
    • Proof: 取 N(T)N(T) 的基,并扩展其到 VV 的基,可以证明剩下的部分变换后是 R(T)R(T) 的基。
  • Thm. TT is injective   ⟺  \iff N(T)={0}N(T)=\{0\}.
  • Thm. if TT is injective, then SS is independet   ⟺  \iff T(S)T(S) is independent.

4. 矩阵表示、可逆、同构

  • coordinate vector: for x∈Vx\in V, [x]β:=(c1,c2,⋯cn)T[x]_\beta:=(c_1,c_2,\cdots c_n)^T where x=∑ciβix=\sum c_i\beta_i.
  • matrix represetation: [T]βγ[x]β=[y]γ[T]^\gamma_\beta[x]_\beta=[y]_\gamma where T(x)=yT(x)=y.
    • 注意行数是 dim⁡W\dim W, 列数是 dim⁡V\dim V.
    • [T]βγ=([T(β1)]γ,[T(β2)]γ,⋯ ,[T(βn)]γ)[T]^\gamma_\beta=([T(\beta_1)]_\gamma,[T(\beta_2)]_\gamma,\cdots, [T(\beta_n)]_\gamma).
  • 定义:线性变换之间的加法与数乘。这表明了线性变换自身也可以作为 vector space 存在。
  • L(V,W):={all linear maps from V to W}\mathcal L(V,W):=\{\text{all linear maps from V to W}\} is a vector space.
  • 复合:两个线性变换复合后仍然线性。
  • Thm. [UT]αγ=[U]βγ[T]αβ[UT]^\gamma_\alpha=[U]^\gamma_\beta[T]^\beta_\alpha,牢记从上到下合并。
  • invertibility: exist U:W→VU:W\to V s.t. TU=IW,UT=IVTU=I_W,UT=I_V.
  • Thm. T−1T^{-1} is linear.
  • Thm. TT is invertible   ⟺  \iff T is bijective   ⟺  \iff T is injective(or surjective) and dim⁡V=dim⁡W  ⟺  [T]γβ\dim V=\dim W\iff [T]_{\gamma}^{\beta} is invertible.
  • isomorphic: V≅WV\cong W   ⟺  \iff exist T:V→WT:V\to W is invertible.
  • Thm. V≅W  ⟺  dim⁡V=dim⁡WV\cong W\iff \dim V=\dim W.
    • Proof: 假设 dim⁡V=dim⁡W\dim V=\dim W,取各自的基,直接互相映射。
  • Thm. dim⁡L(V,W)=n×m\dim \mathcal L(V,W)=n\times m.
    • Proof: 不妨证明 L(V,W)≅Mm×n\mathcal L(V,W)\cong \mathbb M_{m\times n},令 ϕ(T)=[T]βγ\phi(T)=[T]_\beta^\gamma 即可。

5. 变基、对偶空间

  • 思想:x=I(x)x=I(x),[x]β′=[I]ββ′[x]β[x]_{\beta'}=[I]_{\beta}^{\beta'}[x]_\beta.
  • [T]β=[I]β′β[T]β′[I]ββ′=Q−1[T]βQ[T]_\beta=[I]_{\beta'}^\beta[T]_{\beta'}[I]_{\beta}^{\beta'}=Q^{-1}[T]_\beta Q.
  • dual space: let V∗:=L(V,F)V^*:=\mathcal L(V,\mathbb F) is the dual spance of VV.
  • Thm. dim⁡V∗=dim⁡V×dim⁡F=dim⁡V\dim V^*=\dim V\times \dim \mathbb F=\dim V.
  • dual basis: β∗={f1,f2,⋯fn}\beta^*=\{f_1,f_2,\cdots f_n\} is the basis of V∗V^*, β∗\beta^* is the dual basis of β\beta   ⟺  \iff fi(βj)=[i=j]f_i(\beta_j)=[i=j].
  • Thm. for any f∈V∗f\in V^*, f=∑i=1nf(βi)fif=\sum_{i=1}^nf(\beta_i)f_i.
    • Proof: for any 1≤j≤n1\leq j\leq n:
    • (∑i=1nf(βi)fi)(βj)=∑i=1nf(βi)[i=j]=f(βj)(\sum_{i=1}^nf(\beta_i)f_i)(\beta_j)=\sum_{i=1}^nf(\beta_i)[i=j]=f(\beta_j).
  • Thm. let Tt:W∗→V∗T^t:W^*\to V^* s.t. Tt(g)=g∘TT^t(g)=g\circ T, then TtT^t is linear and [Tt]γ∗β∗=([T]βγ)t \boxed{ [T^t]_{\gamma^*}^{\beta^*} =\left([T]_\beta^\gamma\right)^t }.
    • Proof:
    • Tt(gj)=gjT=∑i=1n(gjT)(βi)fiT^t(g_j)=g_j T=\sum_{i=1}^n (g_jT)(\beta_i)f_i.
    • ([T]γ∗β∗)i,j=gj(T(βi))=gj(∑k=1m([T]βγ)k,iγk)=∑k=1m([T]βγ)k,i[j=k]=([T]βγ)j,i \begin{aligned}([T]_{\gamma*}^{\beta*})_{i,j}&=g_j(T(\beta_i))\\&=g_j(\sum_{k=1}^m([T]_\beta^\gamma)_{k,i}\gamma_k)\\&=\sum_{k=1}^m([T]_\beta^\gamma)_{k,i}[j=k]\\&=([T]_\beta^\gamma)_{j,i}\end{aligned}
  • double dual space: V∗∗:=L(V∗,F)V^{**}:=\mathcal L(V^*,\mathbb F). let x^:V∗→F\hat{x}:V^*\to F, x^(f)=f(x) \hat{x}(f)=f(x).(该定义与相关定理与基底选择无关)
  • Lemma. if x^(f)=0\hat{x}(f)=0 for any f∈V∗f\in V^*, then x=0x=0.
    • Proof: 反证 xx 不满足条件。由于基底任意,取一组包含 xx 的基及其对偶基即可。
  • Thm. define ψ:V→V∗∗,ψ(x)=x^ \psi:V\to V^{**}, \psi(x)=\hat{x}, then ψ\psi is an isomorphism.
    • Proof: 单射、维数相同。
  • Corollary. every basis for V∗V^* is the dual basis for some basis for VV.

6.矩阵的性质

  • define rank(A)=rank(LA)rank(A)=rank(L_A).
  • Thm. rank(T)=rank([T]βγ)rank(T)=rank([T]_\beta^\gamma).
    • Proof: VV 和 WW 分别同构于 Fn\mathbb F^n 和 Fm\mathbb F^m.
  • Thm. if P,QP,Q are invertible, then rank(AP)=rank(AQ)=rank(A)rank(AP)=rank(AQ)=rank(A).
  • 定义基本行变换的矩阵表示。由于可逆,基本行列变化不改变 rank。
  • Thm. rank(A)=#(pivot columns of A)rank(A)=\#(pivot\ columns\ of\ A),也等于最大的线性无关列的个数。
    • Proof 1: 基本行列变换。
    • Proof 2: LA(Fn)=span{Ae1,Ae2,⋯ ,Aen}L_A(\mathbb F^n)=span\{Ae_1,Ae_2,\cdots,Ae_n\}
  • Thm. rank(At)=rank(A)rank(A^t)=rank(A),这表明了基本列变换的可行性。
  • Thm. for T:V→W,U:W→ZT:V\to W,U:W\to Z, rank(UT)≤rank(U)rank(UT)\leq rank(U), rank(UT)≤rank(T)rank(UT)\leq rank(T).
    • Proof: 画个图显而易见。
  • partitioned matrix. 表明分块后仍然满足矩阵乘法性质。但前提是分段长度对应相同。
  • LU decomposition. A=LUA=LU, where LL is lower triangular, UU is echelon form. 并不是所有矩阵都可以分解,要求基本行变换时不存在交换操作。
    • 求法;高斯消元(不 reduce)。加法将对应的列按系数的相反数加在对应列,乘法取逆作用到对应列。注意都是列而不是行,建议不进行乘法操作,方便运算。
  • LU 分解解方程:Ax=b=LUxAx=b=LUx。分别求 Ux=y,Ly=bUx=y,Ly=b。
  • inverse of matrix. 根据基本行列变换 Ep⋯E2E1A=IE_p\cdots E_2E_1A=I 得 A−1=Ep⋯E2E1A^{-1}=E^p\cdots E_2E_1。这表明可以用高斯消元求逆矩阵。
  • Thm. let K\mathcal K is the solution set of equation Ax=bAx=b, KH\mathcal K_H is the solution set of equation Ax=0Ax=0. then for any s∈Ks\in \mathcal K, K={s+k∣k∈KH}\mathcal K=\{s+k|k\in \mathcal K_H\}.
    • Proof: 右推左容易,左推右做差分 A(s′−s)=0A(s'-s)=0 即可。
  • Thm. A is invertible   ⟺  \iff ∣K∣=1|\mathcal K|=1.
    • Proof: 左推右得 N(LA)={0}N(L_A)=\{0\}。右推左同样。
原文
存档评论2 条抓取于