日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

向量空间,子空间,列空间,零空间(PartIII)

發(fā)布時(shí)間:2023/12/8 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 向量空间,子空间,列空间,零空间(PartIII) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

目錄:

  • vector space (向量空間)
  • subspace space (子空間)
  • Ax=b理解column space (列空間)
  • Ax=0理解null space(零空間),求解Ax=0的主變量及特解
  • 矩陣的秩(rank)

1. 向量空間
從字面理解,向量所在的空間,即列向量所處的空間維度。
Definition: The space Rn consists of all column vectors v with n components.
性質(zhì): 向量間相加,向量間的數(shù)乘以及線性組合仍然在此空間中。
Rn中用R的原因是向量中每個(gè)值都是real number,如果向量中每個(gè)值都是復(fù)數(shù),那么則用Cn表示n維空間。

例如:
R2=all 2?dim real vector=x-y plane

Here are three vector spaces other than Rn:
M - The vector space of all real 2 by 2 matrices.
F - The vector space of all real functions f(x).
Z - The vector space that consists only of a zero vector.


2.子空間
Definition:A subspace of a vector space is a set of vectors (including 0) that satisfies two requirements: If v and w are vectors in the subspace and c is any scalar, then
(i) v+w is in the subspace;
(ii) cv is in the subspace;

The whole space is a subspace (of itself) including:
(1)The whole space.
(2)Every subspace contains the zero vecor;
(3)Lines through the origin are also subspaces;
(4)The single vector (0,0,0);

例如:
R3的子空間:
(直線L) Any line through (0,0,0)
(向量空間R3)The whole space
(平面P) Any plane through (0,0,0)
(零向量Z)The single vector (0,0,0)

子空間性質(zhì):屬于(inside)向量空間,且其對(duì)數(shù)乘、向量相加以及線性組合也是封閉的。


3.列空間
Definition: The column space consists of all linear combinations f columns. The combinations are all possible vector Ax. They fill the column space C(A).

The system Ax=b is solvable if and only if b is in the column space of A. If Am?n is an m?n matrix, the columns belong to Rm, and the column space of A is a subspace of Rm.

S=set?of?vectors?in?V
SS=all?combinations?of?vectors?in?S
The subspace SS is the ‘span’ of S, containing all combinations of vectors in S.

舉例:

A=?????123411112345?????
A的列空間是R4的子空間。
Ax=?????123411112345????????x1x2x3???=?????b1b2b3b4?????
什么情況 b使方程有解呢?
》》結(jié)論:有解情況,當(dāng)b屬于 A的列空間時(shí)(成為各列線性組合結(jié)果時(shí)),可求出組合系數(shù)x;否則無(wú)解。

深入分析: A的列空間屬于Rm的子空間。觀察各列看是否線性相關(guān)。直接的做法就是對(duì)A求上三角矩陣U,如果主元的個(gè)數(shù)與列數(shù)n相等,則說(shuō)明A的各列線性無(wú)關(guān)。三個(gè)位于四維空間的向量,其線性組合應(yīng)該四維空間的子空間(是過原點(diǎn)(0,0,0,0)的平面或直線)。方程組是否有解取決于b這個(gè)向量是否恰好位于平面或直線上。

備注:之前在PartI中向量線性組合時(shí)(vector combination)提及組合后向量在空間所占位置。
1)對(duì)于一個(gè)向量u,線性組合cu是一條線;
2)對(duì)于兩個(gè)向量uw,線性組合cu+dv張滿一個(gè)平面;
3)對(duì)于三個(gè)向量u,vw,線性組合cu+dv+ew填滿一個(gè)三維空間。


4.零空間
The NULL space of A: solving Ax=0
The null space of A consists of all solutions to Ax=0. These vectors x are in Rn. The null space containing all solutions of Ax=0 isdenoted by N(A).

Special solutions
The nummspace consits of all combinations of the special solutions.
整個(gè)解的過程: 把A變成U(上三角矩陣),再變成R(its reduced form R).
1)Produce zeros above the pivots, by eliminating upward;
2)Produce ones in the pivots, by dividing the whole row by its pivot.

Ax=0,

A=?????123411112345????? 其零空間為在 R3中的線。幾個(gè)特殊的解其線性組合為一條線,然后其線性組合就構(gòu)成了方程的解(矩陣 A的零空間)。

例子:
A=???1232462682810???
解: Ax=0—-> Ux=0
A??>???100200222244?????>???100200220240???=U


5.矩陣的秩
秩:矩陣中主元的個(gè)數(shù),為矩陣的秩。(number of pivots)
如上例,A的秩為2.當(dāng)(x2,x4)=(0,1)(x2,x4)=(1,0)所得的解為特解

x=??????2100???????????20?21?????
其也是 零空間基(basis)
X(A)
零空間矩陣,將所有特解作為列的矩陣。

啰嗦下主變量(Pivot variables)
r表示主變量的個(gè)數(shù),r個(gè)主變量,表示整個(gè)方程組中只有r個(gè)方程起了作用。
對(duì)于Am?n,零空間中考慮的是數(shù)量n.
r=2,數(shù)
n?r=4?2.數(shù)
自由變量,故名思議,可以任意取值,取值后的特解的線性組合即為方程組的解(矩陣的零空間)。一般取得是(0或1)。

總結(jié)

以上是生活随笔為你收集整理的向量空间,子空间,列空间,零空间(PartIII)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。