3 minute read

Linear Independence / Affine IndependencePermalink

Quote from IE418: Integer Programming by Jeff Linderoth

A finite collection of vectors x1,,xkRn is linearly independent if the unique solution to i=1kλixi=0 is λi=0,i=1,2,,k.

A finite collection of vectors x1,,xkRn is affine independent if the unique solution to {i=1kλixi=0i=1kλi=0 is λi=0,i=1,2,,k.

  • Linear independence implies affine independence, but not vice versa.
    • 亦即:线性不相关 仿射不相关
    • 反过来:线性相关 仿射相关
  • Affine independence is essentially a “coordinate-free” version of linear independence.
    • 这一条你要结合下面几条来考虑
  • The following statements are equivalent:
    1. x1,,xkRn are affinely independent.
    2. x2x1,,xkx1 are linearly independent.
    3. (x1,1),,(xk,1)Rn+1 are linearly independent.
      • 这里这个升维的附加值 1 其实可以是任意实数,它的位置也不一定非要在最后,比如你统一升维成 (99,x1),,(99,xk)Rn+1,它也是 linearly independent 的

Proof:

(1) (2)

反证法。假设 x2x1,,xkx1 线性相关,则 λ2,,λk 不全为 0 使得

λ2(x2x1)++λk(xkx1)=0

亦即:

i=2kλix1+λ2x2++λkxk=0

因为 λ2,,λk 不全为 0,所以 i=2kλi0,与 x1,,xkRn 仿射不相关的条件矛盾

(1) (2)

类似

(1) (3)

反证法。假设 (x1,t),,(xk,t)Rn+1 线性相关,则 λ1,,λk 不全为 0 使得

λ1(x1,t)++λk(xk,t)=0

亦即:

{i=1kλixi=0i=1kλit=0

x1,,xkRn 仿射不相关的条件矛盾

(1) (3)

类似

我们说 “Affine independence is essentially a “coordinate-free” version of linear independence” 大概也是出于 “升维” 这个场景:你在低维是 affine independent,升到高维 (升多少维没有区别,只要你按照上面 3 式的方法去升就可以) 就必定是 linearly independent,至于你升维之后的位置 (coordinate),我可以不用管,因为它不影响你 linearly independent。

Non-singular Square MatrixPermalink

假设有 matrix A。如果 |A|=0,我们称 A 为 singular matrix

  • 中文翻译是 “奇异矩阵”。我十分不喜欢这个翻译
  • 我觉得这里 singular 应该 follow Wikipedia: Singularity 的意思:

In mathematics, a singularity is in general a point at which a given mathematical object is not defined, or a point of an exceptional set where it fails to be well-behaved in some particular way, such as differentiability.

  • 另外注意 singularity 是一个 general 的性质,并不要求一定是 square matrix 才行 (非 square matrix 也是有 determinant 的)
    • 我们这里限定 square matrix 是为了研究 singularity 带给 square matrix 的其他性质,如下

以下 statements 等价:

  • A is a non-singular square matrix
  • A is invertible (i.e. A1 存在)
    • 非 square matrix 必定不可逆
  • AT is invertible (i.e. (AT)1 存在)
  • The rows of A are linearly independent
  • The coloums of A are linearly independent
    • 其实就是:The rows of AT are linearly independent
  • b, the system Ax=b has a unique solution

为什么非 square matrix 必定不可逆?

  • 因为矩阵和矩阵的逆要满足 AA1=A1A
    • “先正变换再逆变换” 与 “先逆变换再正变换” 应该是相同的变换效果 (最终应该都等同于 I)
  • 但是如果是非 square matrix,假设 Am×n,那么 AA1=Im×mA1A=In×n,变换效果不一样

为什么 The rows of A are linearly independent?

  • 如果 A 的 rows 是线性相关,那么必然存在一个非零向量 x0 使得 Ax=0,你这就相当于是降维了 (比如说以 x 为一条边的平行四边形,经过 A 变换,至少会被降维成一条线段),降维就说明 |A|=0,矛盾

Positive-definite / Positive-semidefinite / Negative-definite / Negative-semidefinite Square Symmetric MatrixPermalink

假设有 symmetric square metrix An×n,如果 x0,xRn:

  • xTAx>0,我们称 A 为 positive-definite
  • xTAx0,我们称 A 为 positive-semidefinite
  • xTAx<0,我们称 A 为 negative-definite
  • xTAx0,我们称 A 为 negative-semidefinite

注意:

  • 必须是 square matrix,否则 xAxT 算不出来
  • definiteness 性质并不要求一定要是 symmetric (例子)
    • 我们这里限定 symmetric square matrix 是为了研究 definiteness 给 symmetric 带来的其他性质

注意以下性质:

  • 如果 A 是 positive-definite,说明变换 A 对任意 vector 的方向改动不超过 π2
  • 如果 A 是 positive-definite,那么 A 的所有 eigenvalues >0
    • Av=λvλ 是 eigenvalue,v 是 eigenvector
    • vTAv=λv2>0,说明 λ>0
  • AAT 必定是 positive-semidefinite;如果 A 可逆,AAT 升级为 positive-definite
    • 因为 xTAATx=ATx20 恒成立
    • 只有当 ATx=0 时才可能取等号;又因为 x0,所以只有是 A 会降维的时候才可能有 ATx=0
    • 如果 A 可逆,那么 AT 也可逆,对非零向量 x 不可能有 ATx=0,所以 xTAATx 一定是 >0

Categories:

Updated:

Comments