[线性代数] 线性子空间入門 Basic Vector Subspaces
导语:其他集数可在[线性代数]标籤文章找到。线性子空间是一个大课题,这里先提供一个简单的入门,承接先前关于矩阵代数的讨论,期待与你的交流。
Overview: Subspace definition
In a vector space of Rn, sets of vectors spanning a volume EQUAL TO OR SMALLER THAN that of Rn form subspaces of that vector space of Rn. A subset H of Rn is defined as follow:
- Zero vector included in H
- Subspace spanned by H closed under addition and scalar multiplication
Sketch of proof of property(1): H=Span{v1, v2, v3}, if weights to every columns in H equals to 0, we get a zero vector. If, for all possible linear combinations of H, zero vector is not involved, span of H is not a subspace of Rn. It must belong to another vector space Rx, whose zero vector is included by the span of H. If, for the following, let Q={u,v} be a subspace of Rn and L={z} be a subspace of Rx. L does not contain zero vector in Rn thus not a subspace of Rn.

Column space, Null space
Column space of a matrix A, i.e. Col A, refers to span of columns in A, i.e. all the possible linear combinations of pivot columns in A. (Recall non-pivot columns are simply linear combinations of other pivot columns, so they do not matter in spanning.) Alternatively, it refers to all the possible b where Ax=b is consistent, as illustrated follows:

Nul A, on another hand, refers to the spanning from all possible solutions for Ax=0. Recall when x=0, it is the trivial solution to homogeneous equation. Thus, automatically satisfy requirement (1) in the definition of subspace. The dimension of non-trivial solution must equal to number of columns in A, so the resultant vector would also be 0, satisfying the right-hand side of the equation. For instance, if A is an mxn matrix, Nul(A) must be a subspace for Rn.
Both Col(A) and Nul(A) are subspaces which contain infinitely many vectors in a set, most of them are just the linear combination of few key vectors, the basis vectors. Basis vectors are the most simplified set of linearly independent vectors representing a subspace, as the linear combination of all vectors inside regenerate the subspace. A standard basis is shown below:

There exists some interesting relationship between finding the BASIS for null space and column space for the same matrix A. Take the following matrices as examples. To find Nul(A), simply row reduce it into row echelon form and solve for x, which should automatically generate a set of linearly independent vectors from the FREE variables. To find Col(A), we just need to find the linearly independent vectors in matrix A. In words, whenever an elementary row operation is applied on A, we get a new echelon form. Each of them has its own basis set for their column space. It has great implication, as we know row operations generate new column space from its set of linearly independent columns in the matrix.

Dimension and rank
Dimension refers to the number of vectors in Nul(A) or Col(A), but rank only refers to that in Col(A). Weights assigned to each linearly independent vector within the basis are called coordinates, which is an ordered set of weights to vectors within basis. Given vectors in basis linearly independent, there's only one way for them to generate each 'point' within the corresponding subspace they span. Thus, dimensionality simply refers to number of coordinates/weights to a vector set, thus also refers to the number of vectors within the set. Noted that dimension need not equal to the dimension of Rn. For example, the following shows a two-dimensional subspace of R3, where the subspace only has a dimension of 2. Recalled that since the dimension here is 2, where 2!=3, thus, the basis vector of this set do not span R3. The spanning of vectors in subspace can become a subspace of R3 as each of them is also a three-dimensional vector.

As we have witnessed that Nul(A) comes from free variables while Col(A) comes from basic variables, the number of columns in a matrix A is inferred as follow:

To form a basis for a p-dimensional subspace is simple. Simply pick any p linearly independent vectors from the space will give you a basis for the subspace
Invertibility
All discussion above can be generalized into the invertible matrix theorem covered in earlier posts. Suppose A is an nxn matrix, all of the followings implies A is invertible.

Above basically states that, for a nxn matrix, if it spans Rn, then it must be invertible. And the rules above suggest how to determine if a nxn matrix contains no linearly dependent columns from their rank and dimension. Nothing new.
Examples
(More to come…stay tuned…)
[线性代数] 线性子空间入門 Basic Vector Subspaces的更多相关文章
- Delphi APP 開發入門(一)重生的 Delphi
Delphi APP 開發入門(一)重生的 Delphi 分享: Share on facebookShare on twitterShare on google_plusone_share 閲讀 ...
- 依賴注入入門——Unity(二)
參考博客文章http://www.cnblogs.com/kebixisimba/category/130432.html http://www.cnblogs.com/qqlin/tag/Unity ...
- GOOGLE搜索從入門到精通V4.0
1,前言2,摘要3,如何使用本文4,Google簡介5,搜索入門6,初階搜索 6.1,搜索結果要求包含兩個及兩個以上關鍵字 6.2,搜索結果要求不包含某些特定資訊 6.3,搜索結果至少包含多個關鍵字中 ...
- Flask從入門到入土(三)——模板
模板是一個包含響應文本的文件,其中包含佔位變量表示的動態部分,其具體值只是請求上下文中才能知道.使用真實值替換變量,再返回最終得到的響應字符串,這一過程稱爲渲染.爲了渲染模板,Flask使用了一個名爲 ...
- Windows PowerShell 入門(7)-関数編2
この連載では.Microsoftが提供している新しいシェル.Windows Power Shellの使い方を解説します.前回に引き続きPowerShellにおける関数の取り扱いとして.変数と関数のスコ ...
- Windows PowerShell 入門(3)-スクリプト編
これまでの記事 Windows PowerShell 入門(1)-基本操作編 Windows PowerShell 入門(2)-基本操作編 2 対象読者 Windows PowerShellでコマンド ...
- Windows PowerShell 入門(2)-基本操作編 2
前回に引き続きMicrosoftが提供している新しいシェル.Windows Power Shellの基本操作方法を学びます.基本操作編第2弾の今回は.パイプの使用方法を中心としたコマンドレットの操作方 ...
- Delphi APP 開發入門(四)簡易手電筒
Delphi APP 開發入門(四)簡易手電筒 分享: Share on facebookShare on twitterShare on google_plusone_share 閲讀次數:32 ...
- Delphi APP 開發入門(六)Object Pascal 語法初探
Delphi APP 開發入門(六)Object Pascal 語法初探 分享: Share on facebookShare on twitterShare on google_plusone_sh ...
随机推荐
- Oracle触发器编译错误及解决方案
错误 TRIGGER **** 编译错误 错误:PLS-00103: 出现符号 "END"在需要下列之一时: ( begin case declare exit ...
- C++开源库大全
标准库 C++ Standard Library:是一系列类和函数的集合,使用核心语言编写,也是C++ISO自身标准的一部分. Standard Template Library:标准模板库 ...
- HTTP抓包实战
HTTP:超文本传输协议 允许将HTTP文档从Web服务器传送到客户端的浏览器.HTTP请求报文分为3部分.第一部分叫做起始行(Request line).第二部分叫首部(Request Header ...
- vue多页面项目搭建(vue-cli 4.0)
1.创建vue项目 cmd命令执行 vue create app (app 自定义的项目名) 一般都会选择后者,自己配置一下自己需要的选项(空格为选中) 这是我个人需要的一些选项,路由Router.状 ...
- Java 之 InputStreamReader 类
InputStream 类 1.概述 转换流 java.io.InputStreamReader ,是Reader的子类,是从字节流到字符流的桥梁. 该类读取字节,并使用指定的字符集将其解码为字符. ...
- Resource接口
[转]https://blog.csdn.net/hbtj_1216/article/details/85487787 参考:官方文档 1 简介 Java标准库中的java.net.URL类和标准处理 ...
- k8s的网络
K8S的网络中主要存在4种类型的通信: ①同一Pod内的容器间通信 ②各个Pod彼此间的通信 ③Pod和Service间的通信 ④集群外部流量和Service之间的通信 K8S为Pod和Ser ...
- python学习之正则表达式,StringIO模块,异常处理,搭建测试环境
python正则表达式 引入一个强大的匹配功能来匹配字符串 import re 正则表达式的表示类型raw string类型(原生字符串类型) r'sa\\/sad/asd'用r转为raw strin ...
- NodeJS开发博客(三) 数据的保存
什么是cookie 存储在浏览器的一段字符串(最大5k) 跨域不共享 格式如 k1=v1 k2=v2 因此可以存储结构化数据 每次发送http请求,会将请求域的cookie一起发送给server se ...
- 【原创】改进的大马webshell,过市面上任何防护
因为之前使用的webshell大马很多都没用了,都被安全防护拦截了,所以通过几个大牛的指点和网上的教程整理而成自己做的增强版的webshell大马,我这个是源码,部分无加密! <?php $pa ...