4V.S. Vector Spaces - JulTob/Mathematics GitHub Wiki
Vector Spaces and Subspaces
Spaces of Vectors
-
The standard ๏ฝ-dimensional space โโโฟ contains all real column vectors with ๏ฝ components.
-
If ๐ฃโ and ๐คโ are in a vector space ๐โ, every combination ๐๐ฃโ + ๐๐คโ must be in ๐โ.
-
The "vectors" in ๐โ can be matrices or functions of ๐ฅ. The 1-point space ๐ consists of ๐โ = ๐โ.
-
A subspace of โโโฟ is a vector space inside โโโฟ . Example: The line y = 3x inside Rยฒ .โจ
-
The column space of ๐ดโฃ contains all combinations of the columns of ๐ดโฃ: a subspace of โโแต .โจ
-
The column space contains all the vectors ๐ดโฃxโ. So ๐ดโฃxโ = ๐โ is solvable when bโ is in ๐ถ(๐ดโฃ).
Subspaces
๐โ โ โโโฟ
๐โโ๐โ
๐ฅโ,๐ฆโ(โ๐โ) โน ๐๐ฅโ+๐๐ฆโ (โ๐โ)
โ ๐๐ฅโ+๐๐ฆโ โบ ๐โแตข(๐ฅโ,๐ฆโ) : Span
Nullspace
The nullspace ๐(๐ด) consists of all solutions to ๐ดโฃยท๐ฅโ= ๏ผโ. These vectors ๐ฅโ are in โโโฟ. This includes 0โ
Elimination (from Aโฃ to Uโฃ [upper] to Rโฃ [Reduced]) does not change the nullspace: ๐(Aโฃ) = ๐(Uโฃ)= ๐(Rโฃ).
The reduced row echelon form Rโฃ = rref(A) has โpivots= 1
, with zeros above and below. 4 If column j of Rโฃ is free (no pivot), there is a "special solution" to Aโฃยทxโโ= 0โ with X(j) = 1.
Number of pivots of Rโฃ = number of nonzero rows in Rโฃ = rank r. There are n - r free columns.โจ
Every matrix with m < n has nonzero solutions to Ax= 0 in its nullspace.
The nullspace ๐(Aโฃ) is a subspace of โโโฟ. It contains all solutions to Aโฃxโ= 0โ.โจ Elimination on Aโฃ produces a row reduced Rโฃ with pivot columns and free columns.
Every free column leads to a special solution. That free variable is 1, the others are 0.
The rank ๐ of Aโฃ is the number of pivots. All pivots are 1's in Rโฃ = rref(Aโฃ).โจ
The complete solution to Aโฃxโ = 0โ is a combination of the ๐๏ผ๐ special solutions
A always has a free column if n>m, giving a nonzero solution to Aโฃxโ=0โ.
Complete solution to Aโฃxโ = bโ: xโ = (one particular solution xโโ) + (any xโโ in the nullspace). โจ Elimination on [A bโ] leads to [R dโ]. Then Aโฃxโ=bโ is equivalent to Rโฃxโ=dโ. โจ Aโฃxโ=bโ and Rโฃxโ=dโ are solvable only when all zero rows of Rโฃ have zeros in dโ. โจ When Rโฃxโ = dโ is solvable, one very particular solution xโโ has all free variables equal to zero. โจ Aโฃ has full column rank r = n when its nullspace ๐(Aโฃ) = zero vector: no free variables. โจ ๏ฟผ A has full row rank r = m when its column space ๐ถ(Aโฃ) is โโแต : Aโฃxโ= bโ is always solvable. โจ The four cases are ๐ = ๐ = ๐ (Aโฃ is invertible) and ๐ = ๐ < ๐ (every Aโฃxโ= bโ is solvable) โจ and ๐ = ๐ < ๐ (Aโฃxโ= bโ has 1 or ๏ผ solutions) and ๐ < ๐, ๐ < ๐ (๏ผ or โ solutions). ๏ฟผ
The particular solution solves Aโฃxโโ = bโ The nullspace solution, the n - r special solutions solve: Aโฃxโโ = bโ The complete solution xโโ= xโโ๏ผxโโ
Every matrix Aโฃ with full column rank (r=n) has all these properties All column of Aโฃ are pivot columns These are no free variables or special solutions. The nullspace ๐(Aโฃ) contains only the zero vector xโ=0โ If Aโฃxโ = bโ has a solution (it might not) then it has only one solution)
Every matrix Aโฃ with row rank (r=m) has all these properties
-
All rows have pivots, and Rโฃ has no zero rows.
-
Aโฃxโ = bโ has a solution for every right side bโ
-
The column space is the whole space โโแต
-
There are n-r = n-m special solutions in the nullspace of A.
-
The rank ๐ is the number of pivots. The matrix Rโฃ has ๐ - ๐ zero rows.โจ2. Aโฃxโ = bโ is solvable if and only if the last m - r equations reduce to 0 = 0.โจ3. One particular solution xโโ has all free variables equal to zero.โจ4. The pivot variables are determined after the free variables are chosen.โจS. Full column rank r = ๐ means no free variables: one solution or none.โจ6. Full row rank r = m means one solution if m = n or infinitely many if m < n.
Independent columns of Aโฃ: The only solution to Aโฃxโ= 0โ is xโ= 0โ. The nullspace is Zโฃ.โจ Independent vectors: The only zero combination cโvโ + ยท ยท ยท + CโVโ= 0 has all cโs= 0.โจ A matrix with m < n has dependent columns: At least n-m free variables/ special solutions.
The vectors vโ, ..., vโ span the space Sโ if Sโ= all combinations of the v's.
The vectors vโ,โฆ, vโ are a basis for Sโ if they are independent and they span Sโ.โจ The dimension of a space Sโ is the number of vectors in every basis for Sโ.โจ If A is 4 by 4 and invertible, its columns are a basis for โโโด . The dimension of โโโด is 4.