Math 235 - Linear Algebra 2 | Fall 2020 (online)

Chapter 7 - Fundemental Subspaces

7.1 Bases of Fundemental Subspaces

The four fundemental subspaces are:

Theorem: dimCol(A)=rankAdim Col(A) = rank A Corollary 7.1.4 : RankA=RankATRankA = RankA^T

Theorem: rankA+dim(Null(A))=nrankA + dim(Null(A)) = n

Chapter 8 - Linear Mappings

8.1 General Linear Mappings

L:V→WL : \mathbb{V} \rightarrow \mathbb{W}

Definition: If this property is satisfied then a mapping is linear, L(sx⃗+ty⃗)=sL(x⃗)+tL(y⃗)L(s\vec{x} + t\vec{y}) = sL(\vec{x}) + t L(\vec{y})

Theorem: The set L of a linear mappings from some vector space to another, is also a vector space

Definition: (L∘M)v⃗=L(M(v⃗))(L \circ M)\vec{v} = L(M(\vec{v})) is said to be the composition of L and M

Theorem: If LL, and MM are linear mappings then L∘ML \circ M is also a lienar mapping

Definition: If (L∘M)v⃗=v⃗(L \circ M)\vec{v} = \vec{v} and (M∘L)w⃗=w⃗(M \circ L)\vec{w} = \vec{w} Then L and M are said to be invertible and we write M=L−1M = L^{-1} and L=M−1L = M^{-1}

8.2 Rank-Nullity Theorem

Kerenel

Range

Theorem - 8.2.1: If L is a linear mapping then L(0)=0L(0) = 0

Theorem - 8.2.1: If L:V→WL : \mathbb{V} \rightarrow \mathbb{W} is a linear mapping then Ker(L) is subspace of V and Range(L) is subspace of W

Definition - Rank / Nullity:

Theorem - 8.2.3: if L:V→WL : \mathbb{V} \rightarrow \mathbb{W} and V\mathbb{V} is n-dimensional then

rank(L)+nullity(L)=nrank(L) + nullity(L) = n

8.3 Matrix of a Linear Mapping

Definition - Matrix of a Linear Mapping: Suppose B=v⃗1,⋯ ,v⃗nB = {\vec{v}_1, \cdots, \vec{v}_n} is a basis for V\mathbb{V} and CC is a basis for a finite dimensional vector space W⃗\vec{W}. For L:V→WL : \mathbb{V} \rightarrow \mathbb{W}, the matrix of L with respect to bases BB and CC is defined by

C[L]B=[[L(v⃗1)]C⋯[L(v⃗n]c]_C[L]_B = [[L(\vec{v}_1)]_C \cdots [L(\vec{v}_n]_c]

and satisfies

[L(x⃗)]C=C[L]B[x⃗]B[L(\vec{x})]_C = _C[L]_B[\vec{x}]_B

8.4 Isomorphisms

Definition - One-To-One and Onto: Let L:V→WL : \mathbb{V} \rightarrow \mathbb{W} be a linear mapping. LL is called one-to-one (injective) if for every u⃗,v⃗∈V\vec{u},\vec{v} \in \mathbb{V} such that L(u⃗)=L(v⃗)L(\vec{u}) = L(\vec{v}), we must have u⃗=v⃗\vec{u} = \vec{v}

Lemma 1: Let L:V→WL : \mathbb{V} \rightarrow \mathbb{W} be a linear mapping. LL is one-to-one if and only if Ker(L)={0⃗}Ker(L) = \{\vec{0}\}.

Definiton - Isomorphisms: A vector space V\mathbb{V} is said to be isomorphic$$ to a vector space W\mathbb{W} if there exists a linear mapping L:V→WL : \mathbb{V} \rightarrow \mathbb{W} which is one-to-one and onto. LL is called an $$isomorphism from V\mathbb{V} to W\mathbb{W}.

Theorem 2: Let V\mathbb{V} and W\mathbb{W} be finite dimensional vector spaces. V\mathbb{V} is isomorphic to W\mathbb{W} if and only if dimV=dimWdim \mathbb{V} = dim \mathbb{W}.

Theorem 3: If V\mathbb{V} and W\mathbb{W} are both n-dimensional vector spaces and L:V→WL : \mathbb{V} \rightarrow \mathbb{W} is linear, then LL is one-to-one if and only if LL is onto.

Theorem 4: Let V\mathbb{V} and W\mathbb{W} be isomorphic vector spaces and let {v⃗1,⋯ ,v⃗n}\{\vec{v}_1, \cdots, \vec{v}_n\} be basis for V\mathbb{V}. A linear mapping L:V→WL : \mathbb{V} \rightarrow \mathbb{W} is an isomorphism if and only if {L(v⃗1,⋯ ,L(v⃗n)}\{ L(\vec{v}_1, \cdots, L(\vec{v}_n)\} is a basis for W\mathbb{W}.

Chapter 9

9.1 Inner Products

What makes standard basis easy to use?

  1. All the vectors in the basis are orthogonal
  2. All vectors in the basis have unit length

We have only defined the concept of orthogonality and length in Rn\mathbb{R}^n, our goal now is to generalize this to general vector spaces

Definition - Inner Product: Let V\mathbb{V} be a vector space. An inner product on V\mathbb{V} is a function ⟨,⟩:V×V→R\langle , \rangle : \mathbb{V} \times \mathbb{V} \rightarrow \mathbb{R} such that for all v⃗,w⃗,z⃗∈V\vec{v}, \vec{w}, \vec{z} \in \mathbb{V} and a,b∈Ra, b \in \mathbb{R} we have

  1. ⟨v⃗,v⃗⟩≥0\langle \vec{v}, \vec{v} \rangle \geq 0. Also ⟨v⃗,v⃗⟩=0\lang \vec{v}, \vec{v} \rangle = 0 if and only if v⃗=0⃗\vec{v} = \vec{0}
  2. ⟨v⃗,w⃗⟩=⟨w⃗,v⃗⟩\langle \vec{v}, \vec{w} \rangle = \langle \vec{w}, \vec{v} \rangle
  3. ⟨av⃗+bw⃗,z⃗⟩=a⟨v⃗,z⃗⟩+b⟨w⃗,z⃗⟩\langle a \vec{v} + b \vec{w}, \vec{z} \rangle = a \langle \vec{v}, \vec{z} \rangle + b \langle \vec{w}, \vec{z} \rangle

a function with property 1 is said to be positive definite
a function with property 2 is said to be symmetric
a function with property 3 is said to be left linear

if it is has both property 1 and 2 then it is also right linear and is said to be bilinear

9.2 - Length and orthagonality

Thereom: If V is an inner product space then the inner product of any vector in V with 0 is 0.

Theorem: Let V\mathbb{V} be an innerproduct space with inner product ⟨,⟩\langle , \rangle. The length of v⃗\vec{v} is dfeined by,

∣∣v⃗∣∣=⟨v⃗,v⃗⟩||\vec{v}|| = \sqrt{\langle \vec{v}, \vec{v} \rangle}

Definition: Let V\mathbb{V} be an inner product space with inner product ⟨,⟩\langle , \rangle. If v⃗∈V\vec{v}\in\mathbb{V} with ∣∣v⃗∣∣=1||\vec{v}|| = 1 then v⃗\vec{v} is called a unit vector

Theorem 9.2.1: Let v⃗,w⃗\vec{v}, \vec{w} be in inner product space V\mathbb{V} and t∈Rt \in \mathbb{R}. Then

  1. ∣∣v⃗∣∣≥0||\vec{v}|| \geq 0 , and ∣∣v⃗∣∣=0||\vec{v}|| = 0 if and only if v⃗=0⃗\vec{v} = \vec{0}
  2. ∣∣tv⃗∣∣=∣t∣⋅∣∣v⃗∣∣||t \vec{v}|| = |t|\cdot||\vec{v}||
  3. ⟨v⃗,w⃗⟩≤∣∣v⃗∣∣⋅∣∣w⃗∣∣\langle \vec{v}, \vec{w} \rangle \leq ||\vec{v}|| \cdot ||\vec{w}||
  4. ∣∣v⃗+w⃗∣∣≤∣∣v⃗∣∣+∣∣w⃗∣∣|| \vec{v} + \vec{w} || \leq ||\vec{v}|| + || \vec{w} ||

Definition: Let V\mathbb{V} be an inner product space. If v⃗,w⃗∈V\vec{v}, \vec{w} \in \mathbb{V} such that ⟨v⃗,w⃗⟩=0\langle \vec{v}, \vec{w} \rangle = 0 then we say v⃗\vec{v} and w⃗\vec{w} are orthogonal.
if {v⃗1,⋯ ,v⃗k}∈V\{ \vec{v}_1, \cdots, \vec{v}_k \} \in \mathbb{V} such that ⟨v⃗i,v⃗j⟩=0\langle \vec{v}_i , \vec{v}_j \rangle = 0 for all i≠ji \neq j then {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} is called an orthogonal set.

Theorem 9.2.2: Let V\mathbb{V} be an inner product space. v⃗1,⋯ ,v⃗k}\vec{v}_1, \cdots, \vec{v}_k \} is an orthogonal set in V\mathbb{V}, then

∣∣v⃗1+⋯+v⃗k∣∣2=∣∣v⃗1∣∣2+⋯+∣∣v⃗k∣∣2||\vec{v}_1 + \cdots + \vec{v}_k ||^2 = ||\vec{v}_1||^2 + \cdots + ||\vec{v}_k||^2

Theorem 9.2.3: Let V\mathbb{V} be an inner product space. If {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} is an orthogonal set of non-zero vectors in V\mathbb{V} then the set {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} is linearly independent.

Definition: Let V\mathbb{V} be an inner product space. If {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} is an orthogonal set in V\mathbb{V} that is a basis for V\mathbb{V} then we call {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} an orthogonal basis for V\mathbb{V}.

Definition: Let V\mathbb{V} be an inner product space. If {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} is an orthogonal set of unit vectors in V\mathbb{V} that is a basis for V\mathbb{V} then we call {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} an orthonormal basis for V\mathbb{V}.

Orthonormal Bases and Orthogonal Matrices

Theorem 9.2.4: If B={v⃗1,⋯ ,v⃗n}B = \{ \vec{v}_1, \cdots, \vec{v}_n \} is an orthogonal basis for an inner product space V\mathbb{V} and v⃗∈V\vec{v} \in \mathbb{V} then the coefficient of v⃗i\vec{v}_i when v⃗\vec{v} is written as a linear combination of the vectors in BB is

⟨v⃗,v⃗i⟩∣∣v⃗i∣∣2\frac{ \langle \vec{v}, \vec{v}_i \rangle }{ || \vec{v}_i||^2}

Theorem 9.2.6: If P∈Mn×n(R)P \in M_{n \times n}(\mathbb{R}) then teh following are equivalent:

  1. The columns of PP form an orthonormal basis for Rn\mathbb{R}^n
  2. PT=P−1P^T = P^{-1}
  3. The rows of PP form an orthonormal basis for Rn\mathbb{R}^n

Definition: Let P∈Mn×n(R)P \in M_{n \times n}(\mathbb{R}) whose columns form an orthonormal basis for Rn\mathbb{R}^n. Then, PP is called an orthogonal matrix

Theorem 9.2.7 if PP and QQ are n×nn \times n orthogonal matrices and x⃗,y⃗∈Rn\vec{x}, \vec{y} \in \mathbb{R}^n, then:

  1. (Px⃗)⋅(Py⃗)=x⃗⋅y⃗(P\vec{x}) \cdot (P\vec{y}) = \vec{x} \cdot \vec{y}
  2. ∣∣Px⃗∣∣=∣∣x⃗∣∣||P\vec{x}|| = ||\vec{x}||
  3. detP=±1det P = \pm 1
  4. All real eigenvalues of PP are 11 or −1-1
  5. PQPQ is also an orthogonal matrix

9.3 The Gram-Schmidt Procedure

Theorem 9.3.1 - Gram-Schmidt Orthogonalization Theorem): Let {w⃗1,⋯ ,w⃗n}\{ \vec{w}_1 , \cdots , \vec{w}_n \} be a basis for an inner product space W\mathbb{W}. If we define v⃗1,⋯ ,v⃗n\vec{v}_1, \cdots, \vec{v}_n successively as follows:

v⃗1=w⃗1\vec{v}_1 = \vec{w}_1

v⃗2=w⃗2−⟨w⃗2,v⃗1⟩∣∣v⃗1∣∣2v⃗1\vec{v}_2 = \vec{w}_2 - \frac{ \langle \vec{w}_2, \vec{v}_1 \rangle}{||\vec{v}_1||^2} \vec{v}_1

v⃗i=w⃗i−⟨w⃗i,v⃗1⟩∣∣v⃗1∣∣2−⟨w⃗i,v⃗2⟩∣∣v⃗2∣∣2v⃗2−⋯−⟨w⃗i,v⃗i−1⟩∣∣v⃗i−1∣∣2v⃗i−1\vec{v}_i = \vec{w}_i - \frac{ \langle \vec{w}_i, \vec{v}_1 \rangle}{||\vec{v}_1||^2} - \frac{ \langle \vec{w}_i, \vec{v}_2 \rangle}{||\vec{v}_2||^2} \vec{v}_2 - \cdots - \frac{ \langle \vec{w}_i, \vec{v}_{i-1} \rangle}{||\vec{v}_{i-1}||^2} \vec{v}_{i-1}

Theorem 9.3.2 - QR-Decomposition: Let A=[a⃗1⋯a⃗n]∈Mm×n(R)A = [ \vec{a}_1 \cdots \vec{a}_n ] \in M_{m \times n}(\mathbb{R}) where dimCol(A)=ndimCol(A) = n. Let q⃗1,⋯ ,q⃗n\vec{q}_1, \cdots, \vec{q}_n denote the vectors that result from applying the Gram-Schmidt procedure to the columns of AA (in order) and the normalizing. If we define

Q=[q⃗1,⋯ ,q⃗n]Q = [ \vec{q}_1, \cdots, \vec{q}_n ]

and

R=[a⃗1⋅q⃗1a⃗2⋅q⃗1⋯a⃗n⋅q⃗10a⃗2⋅q⃗2⋯a⃗n⋅q⃗200⋱a⃗n⋅q⃗n−10⋯0a⃗n⋅q⃗n] R = \begin{bmatrix} \vec{a}_1 \cdot \vec{q}_1 & \vec{a}_2 \cdot \vec{q}_1 & \cdots & \vec{a}_n \cdot \vec{q}_1 \\ 0 & \vec{a}_2 \cdot \vec{q}_2 & \cdots & \vec{a}_n \cdot \vec{q}_2 \\ 0 & 0 & \ddots & \vec{a}_n \cdot \vec{q}_{n-1} \\ 0 & \cdots & 0 & \vec{a}_n \cdot \vec{q}_{n}\end{bmatrix}

then QQ is orthogonal, R is invertible, and

A=QRA = QR

9.4 General Projections

Definition - Orthogonal Complement: Let W\mathbb{W} be a subspace of an inner product space V\mathbb{V}. The orthogonal complement W⊥\mathbb{W}^\bot of W\mathbb{W} in V\mathbb{V} is defined by

W⊥={v⃗∈V∣⟨w⃗,v⃗⟩=0,∀w⃗∈W}\mathbb{W}^\bot = \{ \vec{v} \in \mathbb{V} | \langle \vec{w}, \vec{v} \rangle = 0 , \forall \vec{w} \in \mathbb{W} \}

Theorem 9.4.1: Let {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} be a spanning set for a subspace W\mathbb{W} of an inner product space V\mathbb{V}, and let x⃗∈V\vec{x} \in \mathbb{V}. We have x⃗∈W⊥\vec{x} \in \mathbb{W}^\bot if and only if⟨x⃗,v⃗i⟩=0\langle \vec{x} , \vec{v}_i \rangle = 0 for 1≤i≤k1 \leq i \leq k

Theorem 9.4.2: If W\mathbb{W} is a subspace of an inner product space V\mathbb{V} , then

  1. W⊥\mathbb{W}^\bot is a subspace of V\mathbb{V}
  2. If dimV=ndim \mathbb{V} = n, then dimW⊥=n−dimWdim\mathbb{W}^\bot = n - dim \mathbb{W}
  3. If dimV=ndim \mathbb{V} = n, then (W⊥)⊥=W(\mathbb{W}^\bot)^\bot = W
  4. W∩W⊥={0⃗}\mathbb{W} \cap \mathbb{W}^\bot = \{ \vec{0} \}
  5. If dimV=ndim \mathbb{V} = n, {v⃗1,⋯ ,v⃗k}\{ \vec{v}_1, \cdots, \vec{v}_k \} is an orthogonal basis for W\mathbb{W} , and {v⃗k+1,⋯ ,v⃗n}\{ \vec{v}_{k+1} , \cdots , \vec{v}_n \} is an orthogonal basis for W⊥\mathbb{W}^\bot, then {v⃗1,⋯ ,v⃗k,v⃗k+1,⋯ ,v⃗n}\{ \vec{v}_1, \cdots, \vec{v}_k, \vec{v}_{k+1}, \cdots, \vec{v}_n \} is an orthogonal basis for V\mathbb{V}

Definition - Projection Perpendicular: Suppose W\mathbb{W}_ is a k-dimensional subspace of an inner produce space V\mathbb{V} and {v⃗1,⋯ ,v⃗k}\{\vec{v}_1 , \cdots , \vec{v}_k \} is an orthogonal basis for W\mathbb{W}. For an v⃗∈V\vec{v} \in \mathbb{V} we define the projection of v⃗\vec{v} onto W\mathbb{W} by

projW(v⃗)=⟨v⃗,v⃗1⟩∣∣v⃗1∣∣2v⃗1+⋯+⟨v⃗,v⃗k⟩∣∣v⃗k∣∣v⃗kproj_{\mathbb{W}}(\vec{v}) = \frac{ \langle \vec{v}, \vec{v}_1 \rangle }{||\vec{v}_1||^2}\vec{v}_1 + \cdots + \frac{\langle \vec{v}, \vec{v}_k \rangle }{ || \vec{v}_k || } \vec{v}_k

and the perpendicular of the projection is defined by,

perpW(v⃗)=v⃗−projW(v⃗)perp_\mathbb{W}(\vec{v}) = \vec{v} - proj_\mathbb{W}(\vec{v})

Theorem 3: If W\mathbb{W} is a k-dimensional subspace of an inner product space V\mathbb{V}, then for any v⃗∈V\vec{v} \in \mathbb{V} we have

perpW(v⃗)=v⃗−projW(v⃗)∈W⊥perp_\mathbb{W}(\vec{v}) = \vec{v} - proj_\mathbb{W}(\vec{v}) \in \mathbb{W}^\bot

Theorem 4: If W\mathbb{W} is a k-dimensional subspace of an inner product space V\mathbb{V}, then projWproj_{\mathbb{W}} is al inear operator on V\mathbb{V} with kernal W⊥\mathbb{W}^\bot

Theorem 5: If W\mathbb{W} is a subspace of a finite dimensional inner product spave V\mathbb{V}, then for any v⃗∈V\vec{v} \in \mathbb{V} we have

projW⊥(v⃗)=perpW(v⃗)proj_{\mathbb{W}^\bot}(\vec{v}) = perp_{\mathbb{W}}(\vec{v})