<<

MAC 2103

Module 10 lnner Product Spaces I

1

Learning Objectives Upon completing this module, you should be able to: 1. Define and find the inner product, norm and distance in a given . 2. Find the cosine of the angle between two vectors and determine if the vectors are orthogonal in an inner product space. 3. Find the orthogonal complement of a subspace of an inner product space. 4. Find a for the orthogonal complement of a subspace of ℜⁿ spanned by a set of row vectors. 5. Identify the four fundamental spaces of an m x n matrix A, and know the column rank of A, the row rank of A, and the rank of A. 6. Know the equivalent statements of an n x n matrix A.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 2

1 General Vector Spaces II

The major topics in this module:

Inner Product Spaces, Inner Products, Norm, Distance, Fundamental Matrix Spaces, Rank, and

http://faculty.valenciacc.edu/ashaw/ Rev.09 Click link to download other modules. 3

Definition of an Inner Product and Orthogonal Vectors

A. Inner Product: Let !","# :V $ V % ! be any function from V ! V into ! that satisfies the following conditions for any u, v, z in V: ! ! ! ! a) !u,v" = !v,u", ! ! ! ! ! ! ! b) !u + v,z" = !u,z" + !v,z", ! ! ! ! c) !ku,v" = k!u,v", ! ! ! ! ! and ! v , v " = 0 iff v = 0. d) !v,v" # 0, ! ! Then ! u , v " defines an inner product for all u, v in V. ! ! u and v in V are Orthogonal Vectors iff !u,v" = 0. http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 4

2 Definition of a Norm of a Vector

B. Norm: Let ! :V " + = [0,#) ! + be any function from V into ! that satisfies the following conditions for any u, v in V: ! ! ! ! a) u ! 0, and u = 0 iff u = 0, ! ! b) su = s u , and ! ! ! ! c) u + v " u + v Triangle inequality.

! u Then defines a norm for all u in V. The special norm that is induced by an inner product is ! ! ! u = !u,u".

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 5

Definition of the Distance Between Two Vectors

+ C. Distance: Let d(!,!) :V " V # ! = [0,$) + be any function from V ! V into ! that satisfies the following conditions for any u, v, w in V: ! ! ! ! ! ! a) d(u,v) ! 0, and d(u,v) = 0 iff u = v, ! ! ! ! b) d(u,v) = d(v,u), and ! ! ! ! ! ! c) d(u,v) " d(u,w) + d(w,v) Triangle inequality. ! ! Then defines the distance for all u, v in V. d(u,v) The special distance that is induced by a norm is ! ! ! ! ! ! ! ! d(u,v) = u ! v = "u ! v,u ! v#.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 6

3 How to Find an Inner Product, Norm, and Distance for Vectors in ℜⁿ? For u and v in ℜⁿ, we define ! ! ! ! u,v u v u v u v ... u v , ! " = # = 1 1 + 2 2 + + n n ! ! ! 1 ! ! u = !u,u"2 = (u #u) = u2 + u2 + ...+ u2 , 1 2 n ! ! ! ! and d(u,v) = u ! v ! ! ! ! 1 ! ! ! ! = "u ! v,u ! v#2 = (u ! v)$(u ! v) = (u ! v )2 + (u ! v )2 + ... + (u ! v )2 . 1 1 2 2 n n Note: These are our usual norm and distance in ℜⁿ. ℜⁿ is an inner product space with the as its inner product.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 7

How to Find an Inner Product, Norm, and Distance for Vectors in ℜⁿ? (Cont.) Example 1: Let u = (1,2,-1) and v = (2,0,1) in ℜ³. Find the inner product, norms, and distance. ! ! ! ! !u,v" = u # v = u1v1 + u2v2 + u3v3 = (1)(2) + (2)(0) + ($1)(1) = 1,

1 ! ! ! 2 2 2 2 2 2 2 u = !u,u" = u1 + u2 + u3 = 1 + 2 + ($1) = 6,

1 ! ! ! 2 2 2 2 2 2 2 v = !v,v" = v1 + v2 + v3 = 2 + 0 + 1 = 5, and

! ! ! ! ! ! ! ! 1 d(u,v) = u $ v = !u $ v,u $ v" 2 = (1$ 2)2 + (2 $ 0)2 + ($1$ 1)2 = 9 = 3.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 8

4 How to Find an Inner Product, Norm, and Distance for

Vectors (Matrices) in M22?

In M22, the vectors are 2 x 2 matrices. Thus, given two matrices U and V in M22, we define T T !U,V " = tr(U V ) = tr(V U) = !V,U" = u1v1 + u2v2 + u3v3 + u4v4 . Recall: tr(A) = ! u u $ ! v v $ sum of the U = # 1 2 &,V = # 1 2 &. entries on the u u v v main diagonal of "# 3 4 %& "# 3 4 %& A.

1 2 2 2 2 2 U = !U,U" = u1 + u2 + u3 + u4 , and

1 d(U,V ) = U # V = !U # V,U # V " 2 = !U # V,U # V "

2 2 2 2 = (u1 # v1 ) + (u2 # v2 ) + (u3 # v3 ) + (u4 # v4 ) .

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 9

How to Find an Inner Product, Norm, and Distance for

Vectors (Matrices) in M22? (Cont.) Example 2: Let ! $ ! $ u1 u2 ! 2 '1 $ v1 v2 ! 0 9 $ U = # & = ,V = # & = u u # 3 1 & v v # 4 6 & "# 3 4 %& " % "# 3 4 %& " % be matrices in the M22. Find the inner product, norms and distance for U and V in M22. T T !U,V " = tr(U V ) = tr(V U) = u1v1 + u2v2 + u3v3 + u4v4 = (2)(0) + (3)(4) + (#1)(9) + (1)(6) = 9. Recall: tr(A) = sum of the entries on the main diagonal of A.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 10

5 How to Find an Inner Product, Norm, and Distance for

Vectors (Matrices) in M22? (Cont.)

1 2 2 2 2 2 2 2 2 2 U = !U,U" = u1 + u2 + u3 + u4 = 2 + (#1) + 3 + 1 = 15,

1 2 2 2 2 2 2 2 2 2 V = !V,V " = u1 + u2 + u3 + u4 = 0 + 9 + 4 + 6 = 133, and

1 d(U,V ) = U # V = !U # V,U # V " 2 = !U # V,U # V "

2 2 2 2 = (u1 # v1 ) + (u2 # v2 ) + (u3 # v3 ) + (u4 # v4 ) = (2 # 0)2 + ((#1) # 9)2 + (3 # 4)2 + (1# 6)2 = 4 + 100 + 1+ 25 = 130.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 11

How to Find an Inner Product, Norm, and Distance for

Vectors (Polynomials) in P2? Let P be the set of all polynomials of degree less than or equal 2 ! ! to two. For two polynomials p,q !P2 , 0 1 2 p(x) = a0 x + a1x + a2 x , 0 1 2 q(x) = b0 x + b1x + b2 x ! ! we define !p,q" = a0b0 + a1b1 + a2b2 ,

1 ! ! ! 2 2 2 2 p = !p, p" = a0 + a1 + a2 , and ! ! ! ! ! ! ! ! 1 d(p,q) = p # q = !p # q, p # q" 2 = (a # b )2 + (a # b )2 + (a # b )2 . 0 0 1 1 1 3 3

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 12

6 How to Find an Inner Product, Norm, and Distance for

Vectors (Polynomials) in P2? (Cont.) Example 3: Find the inner product, norms, and distance for p

and q in P2, where p(x) = 8 ! 3x + 5x2 and q(x) = 1! 2x + 7x2 . ! ! !p,q" = a0b0 + a1b1 + a2b2 = (8)(1) + (#3)(#2) + (5)(7) = 8 + 6 + 35 = 49,

1 ! ! ! 2 2 2 2 2 2 2 p = !p, p" = a0 + a1 + a2 = 8 + (#3) + 5 = 98 = 7 2,

1 ! ! ! 2 2 2 2 2 2 2 q = !q,q" = b0 + b1 + b2 = 1 + (#2) + 7 = 54 = 3 6, and

1 ! ! ! ! ! ! ! ! 2 2 2 2 d(p,q) = p # q = !p # q, p # q" = (a0 # b0 ) + (a1 # b1 )1 + (a3 # b3 ) (8 1)2 (( 3) ( 2))2 (5 7)2 49 1 4 54 3 6. = # + # # # + # = + + = =

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 13

How to Find an Inner Product, Norm, and Distance for Vectors (Functions) in C[a,b]?

Let C[a,b] be the set of all continuous functions on [a,b]. For all f and g in C[a,b], we define

b ! ! ! f ,g" = # f (x)g(x)dx, a 1 b 2 b ! ! ! 1 $ ' 2 2 2 f = ! f , f " = & #[ f (x)] dx) = # f (x)dx, % a ( a

1 b 2 ! ! ! ! 1 $ ' ! ! ! ! 2 2 and d( f ,g) = f * g = ! f * g, f * g" = & [ f (x) * g(x)] dx) . % # ( a

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 14

7 How to Find an Inner Product, Norm, and Distance for Vectors (Functions) in C[a,b]? (Cont.) Example 4: Let f = f(x) = 1 and g = g(x) = -x. Find the inner product, norms, and distance on C[2,4]. 4 4 4 ! ! x2 ! f ,g" = # f (x)g(x)dx = # (1)($x)dx = $ = ($8) $ ($2) = $6, 2 2 2 2 1 4 2 4 4 ! ! ! 1 % ( 4 f = ! f , f " 2 = [ f (x)]2 dx = f 2 (x)dx = dx == x = 2, ' # * # # 2 & 2 ) 2 2

1 4 2 4 4 3 4 1 % ( x 14 ! ! ! 2 2 2 2 g = !g,g" = ' #[g(x)] dx* = # g (x)dx = # ($x) dx == = 2 , & 2 ) 2 2 3 2 3

1 4 2 ! ! ! ! 1 % ( ! ! ! ! 2 2 and d( f ,g) = f $ g = ! f $ g, f $ g" = ' #[ f (x) $ g(x)] dx* & 2 )

4 4 4 x3 2 = # (1+ x)2 dx = # (1+ 2x + x2 )dx = (x + x2 + ) = 7 . 2 2 3 2 3 http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 15

The Cauchy-Schwarz Inequality ! ! ! ! Cauchy-Schwarz Inequality: ! f ,g" # f g for all f, g in an inner product space V, with the norm induced by the inner product. We evaluate the Cauchy-Schwarz inequality for the previous examples. ! ! ! ! 1. !u,v" = 1 # 6 5 = u v from Example 1.

2 !U,V " = 9 # 15 133 = U V from Example 2. ! ! ! ! 3. !p,q" = 49 # (7 2)(3 6) = p q from Example 3. ! ! 14 ! ! 4. ! f ,g" = 6 # ( 2)(2 ) = f g from Example 4. 3

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 16

8 Orthogonality for Vectors (Functions) in C[a,b] Example 5: Let f = f(x) = 1 and g = g(x) = ex. Find the inner product on C[0,2]. 2 2 ! ! ! f ,g" = # f (x)g(x)dx = # (1)(ex )dx = e2 $ e0 = e2 $ 1 % 0 0 0 Since the inner product is not zero, f and g are not orthogonal functions in C[0,2]. Example 6: Let f = f(x) = 5 and g = g(x) = cos(x). Find the inner product on C[0,π]. ! ! # # # ! f ,g" = $ f (x)g(x)dx = $ 5cos(x)dx == 5$ cos(x)dx 0 0 0 = 5[sin(# ) % sin(0)] = 5[0 % 0] = 0 Since the inner product is zero, f and g are orthogonal functions in C[0,π]. http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 17

Orthogonality for Vectors (Functions) in C[a,b] (Cont.)

Example 7: Let f = f(x) = 4x and g = g(x) = x2. Find the inner product on C[-1,1].

1 1 1 ! ! 1 ! f ,g" = f (x)g(x)dx = (4x)(x2 )dx == 4 x3 dx = x4 = 1# 1 = 0 $ $ $ ( ) #1 #1 #1 #1 Since the inner product is zero, f and g are orthogonal functions in C[-1,1].

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 18

9 Inner Product and Orthogonality for Vectors (Functions) in C[a,b] (Cont.) Example 8: Let f = f(x) = 1 and g = g(x) = sin(2x). Find the inner product on C[-π,π].

$ ! ! $ $ $ 1 ! f ,g" = % f (x)g(x)dx = % (1)(sin(2x))dx = % sin(2x)dx = # cos(2x) #$ #$ #$ 2 #$ & 1 ) & 1 ) 1 1 = # cos(2$ ) # # cos(#2$ ) = # cos(2$ ) + cos(2$ ) = 0, '( 2 *+ '( 2 *+ 2 2 cos(2x) is even.

Since the inner product is zero, f and g are orthogonal functions in C[-π,π].

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 19

The Generalized Theorem of Pythogoras

Generalized Theorem of Pythogoras: If f and g are orthogonal

! ! 2 ! 2 ! 2 vectors in an inner product space V, then f + g = f + g .

! ! Proof: Let f and g be orthogonal in V, then ! f ,g" = 0. ! ! 2 ! ! ! ! ! ! ! ! ! ! Thus, f + g = ! f + g, f + g" = ! f , f + g" + !g, f + g" ! ! ! ! ! ! ! ! = ! f , f " + ! f ,g" + !g, f " + !g,g" ! 2 ! ! ! 2 = f + 2! f ,g" + g

! 2 ! 2 = f + g .

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 20

10 The Generalized Theorem of Pythogoras (Cont.) ! ! 2 ! 2 ! 2 The Generalized Theorem of Pythogoras f + g = f + g

We evaluate the theorem for the previous examples. From example 6, we have ! ! ! ! 2 f + g = "[5 + cos(x)]2 dx = " (25 + (2)(5)cos(x) + cos2 (x))dx 0 0 ! ! ! = " 25dx + 2" (5)cos(x)dx + " cos2 (x)dx 0 0 0 ! 2 ! 2 ! 2 ! 2 ! 2 ! 2 = f + 2#5,cos(x)$ + g = f + 2(0) + g = f + g .

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 21

The Generalized Theorem of Pythogoras (Cont.) From Example 7, we have 1 1 ! ! 2 f + g = " [4x + x2 ]2 dx = " (16x2 + (2)(4x)x2 + x4 )dx !1 !1 1 1 1 = "16x2 dx + 2" 4x3 dx + " x4 dx !1 !1 !1 ! 2 ! 2 ! 2 ! 2 ! 2 ! 2 = f + 2#4x, x2 $ + g = f + 2(0) + g = f + g .

Notice that we have used orthogonality to obtain our results without directly computing the integrals.

Next, we will compute the integrals directly to obtain the result.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 22

11 The Generalized Theorem of Pythogoras (Cont.)

1 1 1 1 3 1 ! 2 ! ! x 32 f = ! f , f " = $ f 2 (x)dx = $ [ f (x)]2 dx = $ (4x)(4x)dx == 16$ x2 dx = (16) = #1 #1 #1 #1 3 #1 3

1 1 1 1 5 1 ! 2 ! ! x 2 g = !g,g" = $ g2 (x)dx = $ [g(x)]2 dx = $ (x2 )(x2 )dx == $ x4 dx = = #1 #1 #1 #1 5 #1 5 1 1 ! ! 2 ! ! ! ! f + g = ! f + g, f + g" = $ [ f (x) + g(x)]2 dx = $ (4x + x2 )(4x + x2 )dx #1 #1 1 1 3 4 5 % 16x 8x x ( 166 32 2 ! 2 ! 2 = (16x2 + 8x3 + x4 )dx = + + = = + = f + g . $ &' 3 4 5 )* 15 3 5 #1 #1 Thus, ! ! 2 ! 2 ! 2 f + g = f + g .

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 23

How to Find the Cosine of the Angle Between Two Vectors in an Inner Product Space?

Example 9: Let ℜ⁵ have the Euclidean inner product. Find the cosine of the angle between u = (2,1,0,-1,5) and v = (1,-1,-2,3,1). ! ! "u,v# u1v1 + u2v2 + u3v3 + .u4v4 + +u5v5 cos(!) = ! ! = u v 2 2 2 2 2 2 2 2 2 2 u1 + u2 + u3 + u4 + u5 v1 + v2 + v3 + v4 + v5 (2)(1) + (1)($1) + (0)($2) + ($1)(3) + (5)(1) = 22 + 12 + 0 + ($1)2 + 52 12 + ($1)2 + ($2)2 + (3)2 + 12 3 = . 4 31

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 24

12 How to Find the Cosine of the Angle Between Two Vectors in an Inner Product Space? (Cont.)

Example 10: Let P2 have the previous inner product. Find the cosine of the angle between p and q. ! 0 1 2 2 p = p(x) = a0 x + a1x + a2 x = 2 + 6x + 3x , ! q = q(x) = b x0 + b x1 + b x2 = !2 ! x + 4x2 0 1 2 ! ! "p,q# a0b0 + a1b1 + a2b2 cos(!) = ! ! = p q 2 2 2 2 2 2 a0 + a1 + a2 b0 + b1 + b2 (2)($2) + (6)($1) + (3)(4) = 22 + 62 + 32 ($2)2 + ($1)2 + (4)2 2 = . 7 21 http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 25

Quick Review on a Basis for a Vector Space and the of a Vector Space ! ! ! Let v ,v ,...,v be nonzero vectors in V. Then for 1 2 n ! ! ! , we have that S = {v1,v2 ,...,vn } ! ! ! v ,v ,...,v W = span(S) = {all linear combinations of 1 2 n } is a subspace of V. If S contains some linearly dependent vectors, then the dim(W) < n. If S is a linearly independent set of vectors, then S is a basis for the vector space W. W is a proper subspace of V, if dim(W) < dim(V). If dim(W) = dim(V) = n, then S is a basis for V. A non-trivial vector space V always have two subspaces: the trivial vector space, {0} and V.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 26

13 Quick Review on a Basis for a Vector Space and the Dimension of a Vector Space

So, we need two conditions for the set S to be a basis of a vector space, it must be a linearly independent set and it must span the vector space. The number of basis vectors in S is the dimension of the vector space.

For example: dim(ℜ²)=2, dim(ℜ³)=3, dim(ℜ⁵)=5,

dim (P2)=3, dim(M22)=4, and dim(C[a,b]) is infinite.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 27

Rank, Row Rank, and Column Rank of a Matrix

The dimensions of the row space of A, column space of A, and nullspace of A are also called the row rank of A, column rank of A, and nullity of A, respectively.

The rank of A = the row rank of A = the column rank of A, and is the number of linearly independent columns in the matrix A.

The nullity of A = dim(null(A)) and is the number of free variables in the solution space.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 28

14 The Orthogonal Complement of a Subspace W

The orthogonal complement of W, W ! is the set of all vectors in a finite dimensional inner product space V that are orthogonal to every vector in W.

Both W and W ! are subspaces of V where dim(W) + dim( W ! ) = dim(V).

The only vector common to W and W ! is 0, and W = (W ! )! .

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 29

The Four Fundamental Matrix Spaces Let A be an m x n matrix, then: 1.The null(A) and the row(A) are orthogonal complements in ℜⁿ with respect to the Euclidean inner product. 2.The null(AT) and the col(A) are orthogonal complements in ℜᵐ with respect to the Euclidean inner product.

Note that row(A) = col(AT) and col(A) = row(AT). The four fundamental matrix spaces are: 1. row(A) = col(AT), 2. col(A) = row(AT), 3. null(A), and 4. null(AT).

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 30

15 How to Find a Basis for the Orthogonal Complement of the Subspace of ℜⁿ Spanned by the Vectors? Example 11: Find a basis for the orthogonal complement of

the subspace of ℜⁿ spanned by the vectors v1, v2, and v3.

Let V = span({v1, v2, v3}). Then, V is a subspace of of ℜⁿ if v1, v , v ∈ ℜⁿ. Let 2 3 ! ! ! v (1, 1,3),v (5, 4, 4),v (7, 6,2). 1 = ! 2 = ! ! 3 = ! From the last module, we know that the null(A) is the orthogonal complement to the row(A) = col(AT), and that the null(A) is the solution space of the homogeneous system, Ax

= 0. Let v1, v2, v3 be the row vectors of the matrix A. Then, row(A) is the orthogonal complement to null(A) which is the solution space to Ax = 0. We shall use Gauss Elimination to reduce A to a to find the basis for null(A).

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 31

How to Find a Basis for the Orthogonal Complement of the Subspace of ℜⁿ Spanned by the Vectors? (Cont.)

r1 " 1 !1 3 % Since the null(A) is the $ ' = A solution space of the r2 $ 5 !4 !4 ' r3 #$ 7 !6 2 &' homogeneous system, Ax = 0, the general solution of the r1 " 1 !1 3 % $ ' system is: !5r1+ r2 $ 0 1 !19 ' x3 = s, !7r1+ r3 #$ 0 1 !19 &' x ! 19x = 0, x ! 19s = 0, x = 19s. r1 " 1 !1 3 % 2 3 2 2 $ ' x ! x + 3x = 0, x ! 19s + 3s = 0, x = 16s. r2 $ 0 1 !19 ' 1 2 3 1 1 !r2 + r3 #$ 0 0 0 &' Note that column 1 and column 2, with the red leading 1’s, are linearly independent. The corresponding columns of A form a basis for the col(A). Then, dim(col(A)) = 2.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 32

16 How to Find a Basis for the Orthogonal Complement of the Subspace of ℜⁿ Spanned by the Vectors? (Cont.)

The nonzero rows with the leading 1’s are linearly independent. These rows form a basis for row(A). Then, dim(row(A)) = 2.

Note that the row space and column space are both two dimensional, so rank(A) = 2. The rank(A) is the common dimension of the row space of A and the column space of A.

So, rank(A) = rowrank(A) = colrank(A) = dim(col(A)) =dim(row(A)) is always true for any m x n matrix A.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 33

How to Find a Basis for the Orthogonal Complement of the Subspace of ℜⁿ Spanned by the Vectors? (Cont.) Thus, the solution vector is: ! $ x1 ! $ ! $ # & 16s 16 x = # & = s # & # 2 & # 19s & # 19 & # x & # s & # 1 & " 3 % " % " % ! 16 $ and the vector ! w = # & 1 # 19 & # 1 & " %

{w1} forms a basis for the null(A). In other words, {w1} = {(16,19,1)} forms a basis for the orthogonal complement of row(A).

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 34

17 How to Find a Basis for the Orthogonal Complement of the Subspace of ℜⁿ Spanned by the Vectors? (Cont.)

Since B = {w1} is a basis for null(A), span(B) = null(A), and dim(null(A)) = 1 is the nullity of A. In this example, rank(A) is 2 and the nullity of A is 1, and the number of columns of A is 3.

For any m x n matrix A, rank(A) + nullity(A) is n, which is the number of columns of A.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 35

Let’s Review Some Equivalent Statements

If A is an n x n matrix, and if TA: ℜⁿ→ ℜⁿ is multiplication by A, than the following are equivalent. (See Theorem 6.2.7)

• A is invertible. • Ax = 0 has only the trivial solution

• The reduced row-echelon form of A is In. • A is expressible as a product of elementary matrices. • Ax = b is consistent for every n x 1 matrix b. • Ax = b has exactly one solution for every n x 1 matrix b. • det(A) ≠ 0.

• The range of TA is ℜⁿ. • TA is one-to-one.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 36

18 Let’s Review Some Equivalent Statements (Cont.)

• The column vectors of A are linearly independent. • The row vectors of A are linearly independent. • The column vectors of A span ℜⁿ. • The row vectors of A span ℜⁿ. • The column vectors of A form a basis for ℜⁿ. • The row vectors of A form a basis for ℜⁿ. • A has rank n = row rank n = column rank n = dim(col(A)). • A has nullity 0 = dim(null(A)). • The orthogonal complement of the nullspace of A, null(A), is ℜⁿ. • The orthogonal complement of the row space of A, row(A), is {0}.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 37

What have we learned? We have learned to:

1. Define and find the inner product, norm and distance in a given inner product space. 2. Find the cosine of the angle between two vectors and determine if the vectors are orthogonal in an inner product space. 3. Find the orthogonal complement of a subspace of an inner product space. 4. Find a basis for the orthogonal complement of a subspace of ℜⁿ spanned by a set of row vectors. 5. Identify the four fundamental matrix spaces of an m x n matrix A, and know the column rank of A, the row rank of A, and the rank of A. 6. Know the equivalent statements of an n x n matrix A.

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 38

19 Credit

Some of these slides have been adapted/modified in part/whole from the following textbook: • Anton, Howard: Elementary with Applications, 9th Edition

http://faculty.valenciacc.edu/ashaw/ Rev.F09 Click link to download other modules. 39

20