4V.S. Vector Spaces - JulTob/Mathematics GitHub Wiki

Vector Spaces and Subspaces

Spaces of Vectors

  1. The standard ๏ฝŽ-dimensional space โ„โƒ—โฟ contains all real column vectors with ๏ฝŽ components.

  2. If ๐‘ฃโƒ— and ๐‘คโƒ— are in a vector space ๐‘†โƒ—, every combination ๐‘Ž๐‘ฃโƒ— + ๐‘๐‘คโƒ— must be in ๐‘†โƒ—.

  3. The "vectors" in ๐‘†โƒ— can be matrices or functions of ๐‘ฅ. The 1-point space ๐‘ consists of ๐’™โƒ— = ๐ŸŽโƒ—.

  4. A subspace of โ„โƒ—โฟ is a vector space inside โ„โƒ—โฟ . Example: The line y = 3x inside Rยฒ .โ€จ

  5. The column space of ๐ดโƒฃ contains all combinations of the columns of ๐ดโƒฃ: a subspace of โ„โƒ—แต .โ€จ

  6. 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

  1. All rows have pivots, and Rโƒฃ has no zero rows.

  2. Aโƒฃxโƒ— = bโƒ— has a solution for every right side bโƒ—

  3. The column space is the whole space โ„โƒ—แต

  4. There are n-r = n-m special solutions in the nullspace of A.

  5. 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.