SlideShare a Scribd company logo
1 of 42
6
6.1
© 2012 Pearson Education, Inc.
Orthogonality
INNER PRODUCT, LENGTH,
AND ORTHOGONALITY
Slide 6.1- 2© 2012 Pearson Education, Inc.
INNER PRODUCT
 If u and v are vectors in Rn, then we regard u
and v as nx1 matrices
 The number uTv is called the inner product of
u and v, and it is written as u∙v
 aka dot product
 Scalar
Slide 6.1- 3© 2012 Pearson Education, Inc.
INNER PRODUCT
If 𝐮 =
𝑢1
𝑢2
⋮
𝑢 𝑛
and 𝐯 =
𝑣1
𝑣2
⋮
𝑣 𝑛
then the inner product of u and v is
𝑢1 𝑢2 ⋯ 𝑢 𝑛
𝑣1
𝑣2
⋮
𝑣 𝑛
= 𝑢1 𝑣1 + 𝑢2 𝑣2 + ⋯ + 𝑢 𝑛 𝑣 𝑛
Inner Product - Example
 Find u∙v & v∙u, for:
𝐮 =
2
−5
−1
, 𝐯 =
3
2
3
Slide 6.1- 4© 2012 Pearson Education, Inc.
INNER PRODUCT - Properties
Theorem 1: Let u, v, and w be vectors in Rn, and let c
be a scalar. Then
a. u•v = v•u
b. (u + v)•w = u•w + v•w
c. (cu)•v = c(u•v) = u•(cv)
d. u•u ≥0, and =0 iff u = 0
 Properties (b) and (c) can be combined several
times to produce the following useful rule:
(c1u1 + c2u2 + … + cnun)•v = c1(u1•v) + … + cp(up•v)
Slide 6.1- 6© 2012 Pearson Education, Inc.
THE LENGTH OF A VECTOR
Definition: The length (or norm) of v:
𝐯 = 𝐯 ∙ 𝐯 = 𝑣1
2 + 𝑣2
2 + ⋯ + 𝑣 𝑛
2
 ||cv|| = |c| ||v||
 Unit vector has length 1
 Any vector divided by its length is a unit vector in
same direction  normalizing
Slide 6.1- 7© 2012 Pearson Education, Inc.
Normalization – Example 1
Example 1: Let v = (1, -2, 2, 0). Find a unit vector
u in the same direction as v.
Slide 6.1- 8© 2012 Pearson Education, Inc.
Normalization – Example 2
Example 2: Let W be a subspace of R2 spanned
by x =
2/3
1
. Find a unit vector z that is a basis for
W.
Slide 6.1- 9© 2012 Pearson Education, Inc.
DISTANCE IN Rn
Definition: For u and v in Rn, the distance between u
and v, written as dist (u, v), is the length of the vector
u-v. i.e.,
dist(u, v) = ||u – v||
Example: Find the distance between u=(7,1) & v=(3,2)
Orthogonal Vectors
Definition: 2 vectors u and v are orthogonal
if u•v = 0.
Theorem 6-2: Pythagorean Theorem: 2
vectors u and v are orthogonal iff
𝐮 + 𝐯 2
= 𝐮 2
+ 𝐯 2
Slide 6.1- 10© 2012 Pearson Education, Inc.
Slide 6.1- 11© 2012 Pearson Education, Inc.
Orthogonal Complement
 If a vector z is orthogonal to every vector in a
subspace W of Rn, then z is said to be
orthogonal to W.
 The set of all vectors z that are orthogonal to W
is called the orthogonal complement of W and
is denoted by W┴ (and read as “W
perpendicular” or simply “W perp”).
ORTHOGONAL COMPLEMENTS
Theorem 3: Let A be an mxn matrix. The orthogonal
complement of the row space of A is the null space of
A, and the orthogonal complement of the column
space of A is the null space of AT:
Proof: ai = ith row of A
Row(A) = Span{rows of A}
Nul(A) = x:Ax = 0
ai • x = 0 for every i
x is orthogonal to each row of A
(Row ) NulA A

(Col ) Nul T
A A

Slide 6.1- 13© 2012 Pearson Education, Inc.
ANGLES & Inner Products
u•v = ||u|| ||v|| cosϑ
Slide 6.1- 14© 2012 Pearson Education, Inc.
ANGLES & Inner Products - Example
Find the angle between
1
1
0
,
0
1
1
6
6.1
© 2012 Pearson Education, Inc.
Orthogonal Sets
Slide 6.2- 16© 2012 Pearson Education, Inc.
ORTHOGONAL SETS
 A set of vectors {u1,…,up} in Rn is said to be an
orthogonal set if each pair of distinct vectors
from the set is orthogonal, i.e, if
ui •uj = 0 if i ≠ j.
Orthogonal Sets - Example
Show that S={u1,u2,u3} is an orthogonal set.
𝐮1 =
3
1
1
, 𝐮2 =
−1
2
1
, 𝐮1 =
−1/2
−2
7/2
Slide 6.1- 17© 2012 Pearson Education, Inc.
Theorem 6-4 – Orthogonal Set as a Basis
Theorem 4: If S = {u1, …, up} is an
orthogonal set of nonzero vectors in Rn ,
then S is linearly independent and hence is
a basis for the subspace spanned by S.
Slide 6.1- 18© 2012 Pearson Education, Inc.
Slide 6.2- 19© 2012 Pearson Education, Inc.
ORTHOGONAL Basis
Definition: An orthogonal basis for a subspace W
of Rn is a basis for W that is also an orthogonal set.
Theorem 5: Let {u1,…,up} be an orthogonal basis for
a subspace W of Rn. For each y in W, the weights in
the linear combination
are given by y = c1u1+ … + cpup
𝑐𝑗 =
𝐲∙𝐮 𝒋
𝐮 𝒋∙𝐮 𝒋
(𝑗 = 1, … , 𝑝)
Orthogonal Basis – Example 2
Same S as in Example 1:
𝐮1 =
3
1
1
, 𝐮2 =
−1
2
1
, 𝐮1 =
−1/2
−2
7/2
write 𝐲 =
6
1
−8
as a linear combination of the
vectors in S.
Slide 6.1- 20© 2012 Pearson Education, Inc.
Slide 6.2- 21© 2012 Pearson Education, Inc.
AN ORTHOGONAL PROJECTION
Decompose y into 2 vectors:
 One in direction of u  ŷ = αu
 One orthogonal to u  z = y - ŷ
Orthogonal Projections
 ŷ is the projection of y onto u
 If L is subspace spanned by u
 ŷ is the projection of y onto L
𝐲 = proj 𝐿 𝐲 =
𝐲 ∙ 𝐮
𝐮 ∙ 𝐮
𝐮
Slide 6.1- 22© 2012 Pearson Education, Inc.
Slide 6.2- 23© 2012 Pearson Education, Inc.
ORTHOGONAL PROJECTION - Example
Example 1: 𝐲 =
7
6
, 𝐮 =
4
2
a) Find the orthogonal projection of y onto u.
b) Write y as the sum of two orthogonal vectors,
one in Span {u} and one orthogonal to u.
ORTHOGONAL PROJECTION - Example
7 8 1
6 4 2
     
      
     
ˆyy ˆ(y y)
Slide 6.2- 25© 2012 Pearson Education, Inc.
AN ORTHOGONAL PROJECTION
 Check: ŷ•z = 0?
 Distance from y to L?
 Distance from y to u?
Slide 6.2- 26© 2012 Pearson Education, Inc.
ORTHONORMAL SETS
 A set {u1,…,up} is an orthonormal set if it is an
orthogonal set of unit vectors (||u||=1).
 If W is the subspace spanned by such a set, then
{u1,…,up} is an orthonormal basis for W, since
the set is automatically linearly independent, by
Theorem 4.
 The simplest example of an orthonormal set is the
standard basis {e1,…,en} for Rn.
Slide 6.2- 27© 2012 Pearson Education, Inc.
ORTHONORMAL SETS - Example
Example 2: Show that {v1, v2, v3} is an
orthonormal basis of R3, where
1
3/ 11
v 1/ 11
1/ 11
 
 
  
 
  
2
1/ 6
v 2 / 6
1/ 6
 
 
  
 
  
3
1/ 66
v 4 / 66
7 / 66
 
 
  
 
  
Slide 6.2- 28© 2012 Pearson Education, Inc.
ORTHONORMAL SETS
 When the vectors in an orthogonal set of
nonzero vectors are normalized to have unit
length, the new vectors will still be orthogonal,
and hence the new set will be an orthonormal
set.
Slide 6.2- 29© 2012 Pearson Education, Inc.
ORTHONORMAL SETS
Theorem 6: An mxn matrix U has orthonormal
columns if and only if UTU = I
Slide 6.2- 30© 2012 Pearson Education, Inc.
ORTHONORMAL SETS
Theorem 7: Let U be an mxn matrix with
orthonormal columns, and let x and y be in Rn.
Then
a. ||Ux|| = ||x||
b. (Ux)•(Uy) = x•y
c. (Ux)•(Uy) = 0 iff x•y=0
 Properties (a) and (c) say that the linear
mapping x Ux preserves lengths and
orthogonality.
Orthonormal Sets - Example
𝑈 =
1 2 2 3
1 2 2/3
0 1/3
, 𝐱 = 2
3
Slide 6.1- 31© 2012 Pearson Education, Inc.
Orthogonal Matrix
 If U is square and U-1=UT
 Called “Orthogonal Matrix”
 Really should be Orthonormal matrix
 Orthonormal columns
 Orthonormal rows as well
Slide 6.1- 32© 2012 Pearson Education, Inc.
6
6.1
© 2012 Pearson Education, Inc.
Orthogonal Projections
Slide 6.3- 34© 2012 Pearson Education, Inc.
ORTHOGONAL PROJECTIONS
 Extend ideas of previous section from R2 to Rn
 Given a vector y and a subspace W in Rn, there
is a vector ŷ in W such that
 ŷ is the unique vector in W for which y - ŷ is
orthogonal to W
 ŷ is the unique vector in W closest to y. See the
following figure.
ˆy
Slide 6.3- 35© 2012 Pearson Education, Inc.
THE ORTHOGONAL DECOMPOSITION
THEOREM
Theorem 8: Let W be a subspace of Rn . Then
each y in Rn can be written uniquely in the form
y = ŷ + z
where ŷ is in W and z is in W┴ .
If {u1,…,up} is any orthogonal basis of W, then
𝐲 =
𝐲 ∙ 𝐮1
𝐮1 ∙ 𝐮1
𝐮1 + ⋯ +
𝐲 ∙ 𝐮 𝑝
𝐮 𝑝 ∙ 𝐮 𝑝
𝐮 𝑝
and
z = y - ŷ
Slide 6.3- 36© 2012 Pearson Education, Inc.
THE ORTHOGONAL DECOMPOSITION
THEOREM
 The vector ŷ is called the orthogonal
projection of y onto W and often is written as
projWy. See the following figure.
Slide 6.3- 37© 2012 Pearson Education, Inc.
THE ORTHOGONAL DECOMPOSITION
THEOREM - Example
Example 1: Write y as the sum of a vector in W =
span{u1,u2}, and a vector orthogonal to W.
𝐮1 =
2
5
−1
, 𝐮2 =
−2
1
1
, 𝐲 =
1
2
3
Slide 6.3- 38© 2012 Pearson Education, Inc.
PROPERTIES OF ORTHOGONAL
PROJECTIONS
 If {u1,…,up} is an orthogonal basis for W and if y
happens to be in W, then the formula for projWy
is exactly the same as the representation of y
given in Theorem 5 in Section 6.2.
 If y is in W = Span {u1,…,up}, projwy = y
Slide 6.3- 39© 2012 Pearson Education, Inc.
THE BEST APPROXIMATION THEOREM
Theorem 9: Let W be a subspace of Rn, let y be any
vector in Rn, and let ŷ be the orthogonal projection of
y onto W. Then ŷ is the closest point in W to y, in the
sense that
||y – ŷ|| < ||y – v||
for all v in W distinct from ŷ.
The Best Approximation Theorem
 ŷ in Theorem 9 is called the best
approximation to y by elements of W.
 The distance from y to v, given by ||y – v||,
can be regarded as the “error” of using v in
place of y.
 Theorem 9 says that this error is minimized
when v=ŷ
 Note – does not depend of basis of W used
Slide 6.1- 40© 2012 Pearson Education, Inc.
Slide 6.3- 41© 2012 Pearson Education, Inc.
THE BEST APPROXIMATION THEOREM
Slide 6.3- 42© 2012 Pearson Education, Inc.
Best Approximation - Example
Example 2: Find the distance from y to W = Span
{u1,u2} for:
𝐮1 =
5
−2
1
, 𝐮2 =
1
2
−1
, 𝐲 =
−1
−5
10

More Related Content

What's hot

Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficientSanjay Singh
 
ORTHOGONAL, ORTHONORMAL VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
ORTHOGONAL, ORTHONORMAL  VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...ORTHOGONAL, ORTHONORMAL  VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
ORTHOGONAL, ORTHONORMAL VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...Smit Shah
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
application of differential equations
application of differential equationsapplication of differential equations
application of differential equationsVenkata.Manish Reddy
 
Infinite sequences and series i
Infinite sequences and series iInfinite sequences and series i
Infinite sequences and series iEasyStudy3
 
Applications of differential equations by shahzad
Applications of differential equations by shahzadApplications of differential equations by shahzad
Applications of differential equations by shahzadbiotech energy pvt limited
 
Inner product spaces
Inner product spacesInner product spaces
Inner product spacesEasyStudy3
 
Differential geometry three dimensional space
Differential geometry   three dimensional spaceDifferential geometry   three dimensional space
Differential geometry three dimensional spaceSolo Hermelin
 
Linear dependence(ld) &amp;linear independence(li)
Linear dependence(ld)  &amp;linear independence(li)Linear dependence(ld)  &amp;linear independence(li)
Linear dependence(ld) &amp;linear independence(li)Digvijaysinh Gohil
 
linear transformation
linear transformationlinear transformation
linear transformationmansi acharya
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsaman1894
 

What's hot (20)

Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficient
 
ORTHOGONAL, ORTHONORMAL VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
ORTHOGONAL, ORTHONORMAL  VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...ORTHOGONAL, ORTHONORMAL  VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
ORTHOGONAL, ORTHONORMAL VECTOR, GRAM SCHMIDT PROCESS, ORTHOGONALLY DIAGONALI...
 
Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Topology M.Sc. 2 semester Mathematics compactness, unit - 4Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Topology M.Sc. 2 semester Mathematics compactness, unit - 4
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
application of differential equations
application of differential equationsapplication of differential equations
application of differential equations
 
Infinite sequences and series i
Infinite sequences and series iInfinite sequences and series i
Infinite sequences and series i
 
Applications of differential equations by shahzad
Applications of differential equations by shahzadApplications of differential equations by shahzad
Applications of differential equations by shahzad
 
linear Algebra.pptx
linear Algebra.pptxlinear Algebra.pptx
linear Algebra.pptx
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
 
Chapter 16 1
Chapter 16 1Chapter 16 1
Chapter 16 1
 
Unit 5: All
Unit 5: AllUnit 5: All
Unit 5: All
 
Differential geometry three dimensional space
Differential geometry   three dimensional spaceDifferential geometry   three dimensional space
Differential geometry three dimensional space
 
Linear dependence(ld) &amp;linear independence(li)
Linear dependence(ld)  &amp;linear independence(li)Linear dependence(ld)  &amp;linear independence(li)
Linear dependence(ld) &amp;linear independence(li)
 
linear transformation
linear transformationlinear transformation
linear transformation
 
Complex number
Complex numberComplex number
Complex number
 
Law of large numbers
Law of large numbersLaw of large numbers
Law of large numbers
 
Constraints
ConstraintsConstraints
Constraints
 
Autocorrelation
AutocorrelationAutocorrelation
Autocorrelation
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 

Viewers also liked

engineering statics: distributed forces-1
engineering statics: distributed forces-1engineering statics: distributed forces-1
engineering statics: distributed forces-1musadoto
 
Tire forces and moments
Tire forces and momentsTire forces and moments
Tire forces and momentsPankaj Das
 
Steering system forces and moments
Steering system forces and momentsSteering system forces and moments
Steering system forces and momentssaffrony09
 
All types of Tires by Ankush Agrawal
All types of Tires by Ankush Agrawal All types of Tires by Ankush Agrawal
All types of Tires by Ankush Agrawal Ankush Agrawal
 
Vehicle dynamics - Chapter 2 (Road Loads)
Vehicle dynamics - Chapter 2 (Road Loads)Vehicle dynamics - Chapter 2 (Road Loads)
Vehicle dynamics - Chapter 2 (Road Loads)Nizam Anuar
 
Mechanical Vibrations all slides
Mechanical Vibrations all slidesMechanical Vibrations all slides
Mechanical Vibrations all slidesEbrahim Hanash
 
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017Carol Smith
 

Viewers also liked (16)

Types of tyres
Types of tyresTypes of tyres
Types of tyres
 
Tires
TiresTires
Tires
 
engineering statics: distributed forces-1
engineering statics: distributed forces-1engineering statics: distributed forces-1
engineering statics: distributed forces-1
 
3 tyre types
3 tyre types3 tyre types
3 tyre types
 
Steering system
Steering systemSteering system
Steering system
 
Tire forces and moments
Tire forces and momentsTire forces and moments
Tire forces and moments
 
Tyres
TyresTyres
Tyres
 
Steering system forces and moments
Steering system forces and momentsSteering system forces and moments
Steering system forces and moments
 
All types of Tires by Ankush Agrawal
All types of Tires by Ankush Agrawal All types of Tires by Ankush Agrawal
All types of Tires by Ankush Agrawal
 
5 steering geometry
5 steering geometry5 steering geometry
5 steering geometry
 
Tyres
TyresTyres
Tyres
 
Vehicle dynamics - Chapter 2 (Road Loads)
Vehicle dynamics - Chapter 2 (Road Loads)Vehicle dynamics - Chapter 2 (Road Loads)
Vehicle dynamics - Chapter 2 (Road Loads)
 
Steering system
Steering systemSteering system
Steering system
 
Mechanical Vibrations all slides
Mechanical Vibrations all slidesMechanical Vibrations all slides
Mechanical Vibrations all slides
 
Mechanical Vibration- An introduction
Mechanical Vibration- An introductionMechanical Vibration- An introduction
Mechanical Vibration- An introduction
 
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
AI and Machine Learning Demystified by Carol Smith at Midwest UX 2017
 

Similar to Lecture 12 orhogonality - 6.1 6.2 6.3

Lecture 13 gram-schmidt inner product spaces - 6.4 6.7
Lecture 13   gram-schmidt  inner product spaces - 6.4 6.7Lecture 13   gram-schmidt  inner product spaces - 6.4 6.7
Lecture 13 gram-schmidt inner product spaces - 6.4 6.7njit-ronbrown
 
Orthogonal Vector Spaces
Orthogonal Vector Spaces Orthogonal Vector Spaces
Orthogonal Vector Spaces Sohaib H. Khan
 
Lecture 3 section 1-7, 1-8 and 1-9
Lecture 3   section 1-7, 1-8 and 1-9Lecture 3   section 1-7, 1-8 and 1-9
Lecture 3 section 1-7, 1-8 and 1-9njit-ronbrown
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1njit-ronbrown
 
Calculus 05-6 ccccccccccccccccccccccc.ppsx
Calculus 05-6 ccccccccccccccccccccccc.ppsxCalculus 05-6 ccccccccccccccccccccccc.ppsx
Calculus 05-6 ccccccccccccccccccccccc.ppsxMohamedAli899919
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and DimensionCeni Babaoglu, PhD
 
Gram-Schmidt process linear algbera
Gram-Schmidt process linear algberaGram-Schmidt process linear algbera
Gram-Schmidt process linear algberaPulakKundu1
 
IRJET- Nano Generalized Delta Semi Closed Sets in Nano Topological Spaces
IRJET-  	  Nano Generalized Delta Semi Closed Sets in Nano Topological SpacesIRJET-  	  Nano Generalized Delta Semi Closed Sets in Nano Topological Spaces
IRJET- Nano Generalized Delta Semi Closed Sets in Nano Topological SpacesIRJET Journal
 
Lecture 9 dim & rank - 4-5 & 4-6
Lecture 9   dim & rank -  4-5 & 4-6Lecture 9   dim & rank -  4-5 & 4-6
Lecture 9 dim & rank - 4-5 & 4-6njit-ronbrown
 
vector space and subspace
vector space and subspacevector space and subspace
vector space and subspace2461998
 
Functional analysis in mechanics 2e
Functional analysis in mechanics  2eFunctional analysis in mechanics  2e
Functional analysis in mechanics 2eSpringer
 
Functional analysis in mechanics
Functional analysis in mechanicsFunctional analysis in mechanics
Functional analysis in mechanicsSpringer
 
Soft Lattice in Approximation Space
Soft Lattice in Approximation SpaceSoft Lattice in Approximation Space
Soft Lattice in Approximation Spaceijtsrd
 
Uniform spaces -_riyas
Uniform spaces -_riyasUniform spaces -_riyas
Uniform spaces -_riyasarathyan
 
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6njit-ronbrown
 

Similar to Lecture 12 orhogonality - 6.1 6.2 6.3 (20)

Lecture 13 gram-schmidt inner product spaces - 6.4 6.7
Lecture 13   gram-schmidt  inner product spaces - 6.4 6.7Lecture 13   gram-schmidt  inner product spaces - 6.4 6.7
Lecture 13 gram-schmidt inner product spaces - 6.4 6.7
 
Orthogonal Vector Spaces
Orthogonal Vector Spaces Orthogonal Vector Spaces
Orthogonal Vector Spaces
 
Lecture 02
Lecture 02Lecture 02
Lecture 02
 
Unit 6.2
Unit 6.2Unit 6.2
Unit 6.2
 
Inner product
Inner productInner product
Inner product
 
Lecture 3 section 1-7, 1-8 and 1-9
Lecture 3   section 1-7, 1-8 and 1-9Lecture 3   section 1-7, 1-8 and 1-9
Lecture 3 section 1-7, 1-8 and 1-9
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
 
Unit 6.1
Unit 6.1Unit 6.1
Unit 6.1
 
Calculus 05-6 ccccccccccccccccccccccc.ppsx
Calculus 05-6 ccccccccccccccccccccccc.ppsxCalculus 05-6 ccccccccccccccccccccccc.ppsx
Calculus 05-6 ccccccccccccccccccccccc.ppsx
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
 
Gram-Schmidt process linear algbera
Gram-Schmidt process linear algberaGram-Schmidt process linear algbera
Gram-Schmidt process linear algbera
 
IRJET- Nano Generalized Delta Semi Closed Sets in Nano Topological Spaces
IRJET-  	  Nano Generalized Delta Semi Closed Sets in Nano Topological SpacesIRJET-  	  Nano Generalized Delta Semi Closed Sets in Nano Topological Spaces
IRJET- Nano Generalized Delta Semi Closed Sets in Nano Topological Spaces
 
Lecture 9 dim & rank - 4-5 & 4-6
Lecture 9   dim & rank -  4-5 & 4-6Lecture 9   dim & rank -  4-5 & 4-6
Lecture 9 dim & rank - 4-5 & 4-6
 
vector space and subspace
vector space and subspacevector space and subspace
vector space and subspace
 
Calculus it
Calculus itCalculus it
Calculus it
 
Functional analysis in mechanics 2e
Functional analysis in mechanics  2eFunctional analysis in mechanics  2e
Functional analysis in mechanics 2e
 
Functional analysis in mechanics
Functional analysis in mechanicsFunctional analysis in mechanics
Functional analysis in mechanics
 
Soft Lattice in Approximation Space
Soft Lattice in Approximation SpaceSoft Lattice in Approximation Space
Soft Lattice in Approximation Space
 
Uniform spaces -_riyas
Uniform spaces -_riyasUniform spaces -_riyas
Uniform spaces -_riyas
 
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
 

More from njit-ronbrown

Lecture 11 diagonalization & complex eigenvalues - 5-3 & 5-5
Lecture  11   diagonalization & complex eigenvalues -  5-3 & 5-5Lecture  11   diagonalization & complex eigenvalues -  5-3 & 5-5
Lecture 11 diagonalization & complex eigenvalues - 5-3 & 5-5njit-ronbrown
 
Lecture 9 eigenvalues - 5-1 & 5-2
Lecture 9   eigenvalues -  5-1 & 5-2Lecture 9   eigenvalues -  5-1 & 5-2
Lecture 9 eigenvalues - 5-1 & 5-2njit-ronbrown
 
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2njit-ronbrown
 
Lecture 5 inverse of matrices - section 2-2 and 2-3
Lecture 5   inverse of matrices - section 2-2 and 2-3Lecture 5   inverse of matrices - section 2-2 and 2-3
Lecture 5 inverse of matrices - section 2-2 and 2-3njit-ronbrown
 
Lecture 4 chapter 1 review section 2-1
Lecture 4   chapter 1 review section 2-1Lecture 4   chapter 1 review section 2-1
Lecture 4 chapter 1 review section 2-1njit-ronbrown
 
Lecture 4 chapter 1 review section 2-1
Lecture 4   chapter 1 review section 2-1Lecture 4   chapter 1 review section 2-1
Lecture 4 chapter 1 review section 2-1njit-ronbrown
 
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row ReductionLecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reductionnjit-ronbrown
 
Lecture 01 - Row Operations & Row Reduction
Lecture 01 - Row Operations & Row ReductionLecture 01 - Row Operations & Row Reduction
Lecture 01 - Row Operations & Row Reductionnjit-ronbrown
 
Lecture 20 fundamental theorem of calc - section 5.3
Lecture 20   fundamental theorem of calc - section 5.3Lecture 20   fundamental theorem of calc - section 5.3
Lecture 20 fundamental theorem of calc - section 5.3njit-ronbrown
 
Lecture 18 antiderivatives - section 4.8
Lecture 18   antiderivatives - section 4.8Lecture 18   antiderivatives - section 4.8
Lecture 18 antiderivatives - section 4.8njit-ronbrown
 
Lecture 17 optimization - section 4.6
Lecture 17   optimization - section 4.6Lecture 17   optimization - section 4.6
Lecture 17 optimization - section 4.6njit-ronbrown
 
Lecture 16 graphing - section 4.3
Lecture 16   graphing - section 4.3Lecture 16   graphing - section 4.3
Lecture 16 graphing - section 4.3njit-ronbrown
 
Lecture 15 max min - section 4.2
Lecture 15   max min - section 4.2Lecture 15   max min - section 4.2
Lecture 15 max min - section 4.2njit-ronbrown
 
Lecture 14 related rates - section 4.1
Lecture 14   related rates - section 4.1Lecture 14   related rates - section 4.1
Lecture 14 related rates - section 4.1njit-ronbrown
 
Lecture 13 applications - section 3.8
Lecture 13   applications - section 3.8Lecture 13   applications - section 3.8
Lecture 13 applications - section 3.8njit-ronbrown
 
Lecture 11 implicit differentiation - section 3.5
Lecture 11   implicit differentiation - section 3.5Lecture 11   implicit differentiation - section 3.5
Lecture 11 implicit differentiation - section 3.5njit-ronbrown
 
Lecture 10 chain rule - section 3.4
Lecture 10   chain rule - section 3.4Lecture 10   chain rule - section 3.4
Lecture 10 chain rule - section 3.4njit-ronbrown
 
Lecture 9 derivatives of trig functions - section 3.3
Lecture 9   derivatives of trig functions - section 3.3Lecture 9   derivatives of trig functions - section 3.3
Lecture 9 derivatives of trig functions - section 3.3njit-ronbrown
 
Lecture 8 derivative rules
Lecture 8   derivative rulesLecture 8   derivative rules
Lecture 8 derivative rulesnjit-ronbrown
 
Lecture 7(b) derivative as a function
Lecture 7(b)   derivative as a functionLecture 7(b)   derivative as a function
Lecture 7(b) derivative as a functionnjit-ronbrown
 

More from njit-ronbrown (20)

Lecture 11 diagonalization & complex eigenvalues - 5-3 & 5-5
Lecture  11   diagonalization & complex eigenvalues -  5-3 & 5-5Lecture  11   diagonalization & complex eigenvalues -  5-3 & 5-5
Lecture 11 diagonalization & complex eigenvalues - 5-3 & 5-5
 
Lecture 9 eigenvalues - 5-1 & 5-2
Lecture 9   eigenvalues -  5-1 & 5-2Lecture 9   eigenvalues -  5-1 & 5-2
Lecture 9 eigenvalues - 5-1 & 5-2
 
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
 
Lecture 5 inverse of matrices - section 2-2 and 2-3
Lecture 5   inverse of matrices - section 2-2 and 2-3Lecture 5   inverse of matrices - section 2-2 and 2-3
Lecture 5 inverse of matrices - section 2-2 and 2-3
 
Lecture 4 chapter 1 review section 2-1
Lecture 4   chapter 1 review section 2-1Lecture 4   chapter 1 review section 2-1
Lecture 4 chapter 1 review section 2-1
 
Lecture 4 chapter 1 review section 2-1
Lecture 4   chapter 1 review section 2-1Lecture 4   chapter 1 review section 2-1
Lecture 4 chapter 1 review section 2-1
 
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row ReductionLecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
Lecture 01 - Section 1.1 & 1.2 Row Operations & Row Reduction
 
Lecture 01 - Row Operations & Row Reduction
Lecture 01 - Row Operations & Row ReductionLecture 01 - Row Operations & Row Reduction
Lecture 01 - Row Operations & Row Reduction
 
Lecture 20 fundamental theorem of calc - section 5.3
Lecture 20   fundamental theorem of calc - section 5.3Lecture 20   fundamental theorem of calc - section 5.3
Lecture 20 fundamental theorem of calc - section 5.3
 
Lecture 18 antiderivatives - section 4.8
Lecture 18   antiderivatives - section 4.8Lecture 18   antiderivatives - section 4.8
Lecture 18 antiderivatives - section 4.8
 
Lecture 17 optimization - section 4.6
Lecture 17   optimization - section 4.6Lecture 17   optimization - section 4.6
Lecture 17 optimization - section 4.6
 
Lecture 16 graphing - section 4.3
Lecture 16   graphing - section 4.3Lecture 16   graphing - section 4.3
Lecture 16 graphing - section 4.3
 
Lecture 15 max min - section 4.2
Lecture 15   max min - section 4.2Lecture 15   max min - section 4.2
Lecture 15 max min - section 4.2
 
Lecture 14 related rates - section 4.1
Lecture 14   related rates - section 4.1Lecture 14   related rates - section 4.1
Lecture 14 related rates - section 4.1
 
Lecture 13 applications - section 3.8
Lecture 13   applications - section 3.8Lecture 13   applications - section 3.8
Lecture 13 applications - section 3.8
 
Lecture 11 implicit differentiation - section 3.5
Lecture 11   implicit differentiation - section 3.5Lecture 11   implicit differentiation - section 3.5
Lecture 11 implicit differentiation - section 3.5
 
Lecture 10 chain rule - section 3.4
Lecture 10   chain rule - section 3.4Lecture 10   chain rule - section 3.4
Lecture 10 chain rule - section 3.4
 
Lecture 9 derivatives of trig functions - section 3.3
Lecture 9   derivatives of trig functions - section 3.3Lecture 9   derivatives of trig functions - section 3.3
Lecture 9 derivatives of trig functions - section 3.3
 
Lecture 8 derivative rules
Lecture 8   derivative rulesLecture 8   derivative rules
Lecture 8 derivative rules
 
Lecture 7(b) derivative as a function
Lecture 7(b)   derivative as a functionLecture 7(b)   derivative as a function
Lecture 7(b) derivative as a function
 

Recently uploaded

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

Lecture 12 orhogonality - 6.1 6.2 6.3

  • 1. 6 6.1 © 2012 Pearson Education, Inc. Orthogonality INNER PRODUCT, LENGTH, AND ORTHOGONALITY
  • 2. Slide 6.1- 2© 2012 Pearson Education, Inc. INNER PRODUCT  If u and v are vectors in Rn, then we regard u and v as nx1 matrices  The number uTv is called the inner product of u and v, and it is written as u∙v  aka dot product  Scalar
  • 3. Slide 6.1- 3© 2012 Pearson Education, Inc. INNER PRODUCT If 𝐮 = 𝑢1 𝑢2 ⋮ 𝑢 𝑛 and 𝐯 = 𝑣1 𝑣2 ⋮ 𝑣 𝑛 then the inner product of u and v is 𝑢1 𝑢2 ⋯ 𝑢 𝑛 𝑣1 𝑣2 ⋮ 𝑣 𝑛 = 𝑢1 𝑣1 + 𝑢2 𝑣2 + ⋯ + 𝑢 𝑛 𝑣 𝑛
  • 4. Inner Product - Example  Find u∙v & v∙u, for: 𝐮 = 2 −5 −1 , 𝐯 = 3 2 3 Slide 6.1- 4© 2012 Pearson Education, Inc.
  • 5. INNER PRODUCT - Properties Theorem 1: Let u, v, and w be vectors in Rn, and let c be a scalar. Then a. u•v = v•u b. (u + v)•w = u•w + v•w c. (cu)•v = c(u•v) = u•(cv) d. u•u ≥0, and =0 iff u = 0  Properties (b) and (c) can be combined several times to produce the following useful rule: (c1u1 + c2u2 + … + cnun)•v = c1(u1•v) + … + cp(up•v)
  • 6. Slide 6.1- 6© 2012 Pearson Education, Inc. THE LENGTH OF A VECTOR Definition: The length (or norm) of v: 𝐯 = 𝐯 ∙ 𝐯 = 𝑣1 2 + 𝑣2 2 + ⋯ + 𝑣 𝑛 2  ||cv|| = |c| ||v||  Unit vector has length 1  Any vector divided by its length is a unit vector in same direction  normalizing
  • 7. Slide 6.1- 7© 2012 Pearson Education, Inc. Normalization – Example 1 Example 1: Let v = (1, -2, 2, 0). Find a unit vector u in the same direction as v.
  • 8. Slide 6.1- 8© 2012 Pearson Education, Inc. Normalization – Example 2 Example 2: Let W be a subspace of R2 spanned by x = 2/3 1 . Find a unit vector z that is a basis for W.
  • 9. Slide 6.1- 9© 2012 Pearson Education, Inc. DISTANCE IN Rn Definition: For u and v in Rn, the distance between u and v, written as dist (u, v), is the length of the vector u-v. i.e., dist(u, v) = ||u – v|| Example: Find the distance between u=(7,1) & v=(3,2)
  • 10. Orthogonal Vectors Definition: 2 vectors u and v are orthogonal if u•v = 0. Theorem 6-2: Pythagorean Theorem: 2 vectors u and v are orthogonal iff 𝐮 + 𝐯 2 = 𝐮 2 + 𝐯 2 Slide 6.1- 10© 2012 Pearson Education, Inc.
  • 11. Slide 6.1- 11© 2012 Pearson Education, Inc. Orthogonal Complement  If a vector z is orthogonal to every vector in a subspace W of Rn, then z is said to be orthogonal to W.  The set of all vectors z that are orthogonal to W is called the orthogonal complement of W and is denoted by W┴ (and read as “W perpendicular” or simply “W perp”).
  • 12. ORTHOGONAL COMPLEMENTS Theorem 3: Let A be an mxn matrix. The orthogonal complement of the row space of A is the null space of A, and the orthogonal complement of the column space of A is the null space of AT: Proof: ai = ith row of A Row(A) = Span{rows of A} Nul(A) = x:Ax = 0 ai • x = 0 for every i x is orthogonal to each row of A (Row ) NulA A  (Col ) Nul T A A 
  • 13. Slide 6.1- 13© 2012 Pearson Education, Inc. ANGLES & Inner Products u•v = ||u|| ||v|| cosϑ
  • 14. Slide 6.1- 14© 2012 Pearson Education, Inc. ANGLES & Inner Products - Example Find the angle between 1 1 0 , 0 1 1
  • 15. 6 6.1 © 2012 Pearson Education, Inc. Orthogonal Sets
  • 16. Slide 6.2- 16© 2012 Pearson Education, Inc. ORTHOGONAL SETS  A set of vectors {u1,…,up} in Rn is said to be an orthogonal set if each pair of distinct vectors from the set is orthogonal, i.e, if ui •uj = 0 if i ≠ j.
  • 17. Orthogonal Sets - Example Show that S={u1,u2,u3} is an orthogonal set. 𝐮1 = 3 1 1 , 𝐮2 = −1 2 1 , 𝐮1 = −1/2 −2 7/2 Slide 6.1- 17© 2012 Pearson Education, Inc.
  • 18. Theorem 6-4 – Orthogonal Set as a Basis Theorem 4: If S = {u1, …, up} is an orthogonal set of nonzero vectors in Rn , then S is linearly independent and hence is a basis for the subspace spanned by S. Slide 6.1- 18© 2012 Pearson Education, Inc.
  • 19. Slide 6.2- 19© 2012 Pearson Education, Inc. ORTHOGONAL Basis Definition: An orthogonal basis for a subspace W of Rn is a basis for W that is also an orthogonal set. Theorem 5: Let {u1,…,up} be an orthogonal basis for a subspace W of Rn. For each y in W, the weights in the linear combination are given by y = c1u1+ … + cpup 𝑐𝑗 = 𝐲∙𝐮 𝒋 𝐮 𝒋∙𝐮 𝒋 (𝑗 = 1, … , 𝑝)
  • 20. Orthogonal Basis – Example 2 Same S as in Example 1: 𝐮1 = 3 1 1 , 𝐮2 = −1 2 1 , 𝐮1 = −1/2 −2 7/2 write 𝐲 = 6 1 −8 as a linear combination of the vectors in S. Slide 6.1- 20© 2012 Pearson Education, Inc.
  • 21. Slide 6.2- 21© 2012 Pearson Education, Inc. AN ORTHOGONAL PROJECTION Decompose y into 2 vectors:  One in direction of u  ŷ = αu  One orthogonal to u  z = y - ŷ
  • 22. Orthogonal Projections  ŷ is the projection of y onto u  If L is subspace spanned by u  ŷ is the projection of y onto L 𝐲 = proj 𝐿 𝐲 = 𝐲 ∙ 𝐮 𝐮 ∙ 𝐮 𝐮 Slide 6.1- 22© 2012 Pearson Education, Inc.
  • 23. Slide 6.2- 23© 2012 Pearson Education, Inc. ORTHOGONAL PROJECTION - Example Example 1: 𝐲 = 7 6 , 𝐮 = 4 2 a) Find the orthogonal projection of y onto u. b) Write y as the sum of two orthogonal vectors, one in Span {u} and one orthogonal to u.
  • 24. ORTHOGONAL PROJECTION - Example 7 8 1 6 4 2                    ˆyy ˆ(y y)
  • 25. Slide 6.2- 25© 2012 Pearson Education, Inc. AN ORTHOGONAL PROJECTION  Check: ŷ•z = 0?  Distance from y to L?  Distance from y to u?
  • 26. Slide 6.2- 26© 2012 Pearson Education, Inc. ORTHONORMAL SETS  A set {u1,…,up} is an orthonormal set if it is an orthogonal set of unit vectors (||u||=1).  If W is the subspace spanned by such a set, then {u1,…,up} is an orthonormal basis for W, since the set is automatically linearly independent, by Theorem 4.  The simplest example of an orthonormal set is the standard basis {e1,…,en} for Rn.
  • 27. Slide 6.2- 27© 2012 Pearson Education, Inc. ORTHONORMAL SETS - Example Example 2: Show that {v1, v2, v3} is an orthonormal basis of R3, where 1 3/ 11 v 1/ 11 1/ 11             2 1/ 6 v 2 / 6 1/ 6             3 1/ 66 v 4 / 66 7 / 66            
  • 28. Slide 6.2- 28© 2012 Pearson Education, Inc. ORTHONORMAL SETS  When the vectors in an orthogonal set of nonzero vectors are normalized to have unit length, the new vectors will still be orthogonal, and hence the new set will be an orthonormal set.
  • 29. Slide 6.2- 29© 2012 Pearson Education, Inc. ORTHONORMAL SETS Theorem 6: An mxn matrix U has orthonormal columns if and only if UTU = I
  • 30. Slide 6.2- 30© 2012 Pearson Education, Inc. ORTHONORMAL SETS Theorem 7: Let U be an mxn matrix with orthonormal columns, and let x and y be in Rn. Then a. ||Ux|| = ||x|| b. (Ux)•(Uy) = x•y c. (Ux)•(Uy) = 0 iff x•y=0  Properties (a) and (c) say that the linear mapping x Ux preserves lengths and orthogonality.
  • 31. Orthonormal Sets - Example 𝑈 = 1 2 2 3 1 2 2/3 0 1/3 , 𝐱 = 2 3 Slide 6.1- 31© 2012 Pearson Education, Inc.
  • 32. Orthogonal Matrix  If U is square and U-1=UT  Called “Orthogonal Matrix”  Really should be Orthonormal matrix  Orthonormal columns  Orthonormal rows as well Slide 6.1- 32© 2012 Pearson Education, Inc.
  • 33. 6 6.1 © 2012 Pearson Education, Inc. Orthogonal Projections
  • 34. Slide 6.3- 34© 2012 Pearson Education, Inc. ORTHOGONAL PROJECTIONS  Extend ideas of previous section from R2 to Rn  Given a vector y and a subspace W in Rn, there is a vector ŷ in W such that  ŷ is the unique vector in W for which y - ŷ is orthogonal to W  ŷ is the unique vector in W closest to y. See the following figure. ˆy
  • 35. Slide 6.3- 35© 2012 Pearson Education, Inc. THE ORTHOGONAL DECOMPOSITION THEOREM Theorem 8: Let W be a subspace of Rn . Then each y in Rn can be written uniquely in the form y = ŷ + z where ŷ is in W and z is in W┴ . If {u1,…,up} is any orthogonal basis of W, then 𝐲 = 𝐲 ∙ 𝐮1 𝐮1 ∙ 𝐮1 𝐮1 + ⋯ + 𝐲 ∙ 𝐮 𝑝 𝐮 𝑝 ∙ 𝐮 𝑝 𝐮 𝑝 and z = y - ŷ
  • 36. Slide 6.3- 36© 2012 Pearson Education, Inc. THE ORTHOGONAL DECOMPOSITION THEOREM  The vector ŷ is called the orthogonal projection of y onto W and often is written as projWy. See the following figure.
  • 37. Slide 6.3- 37© 2012 Pearson Education, Inc. THE ORTHOGONAL DECOMPOSITION THEOREM - Example Example 1: Write y as the sum of a vector in W = span{u1,u2}, and a vector orthogonal to W. 𝐮1 = 2 5 −1 , 𝐮2 = −2 1 1 , 𝐲 = 1 2 3
  • 38. Slide 6.3- 38© 2012 Pearson Education, Inc. PROPERTIES OF ORTHOGONAL PROJECTIONS  If {u1,…,up} is an orthogonal basis for W and if y happens to be in W, then the formula for projWy is exactly the same as the representation of y given in Theorem 5 in Section 6.2.  If y is in W = Span {u1,…,up}, projwy = y
  • 39. Slide 6.3- 39© 2012 Pearson Education, Inc. THE BEST APPROXIMATION THEOREM Theorem 9: Let W be a subspace of Rn, let y be any vector in Rn, and let ŷ be the orthogonal projection of y onto W. Then ŷ is the closest point in W to y, in the sense that ||y – ŷ|| < ||y – v|| for all v in W distinct from ŷ.
  • 40. The Best Approximation Theorem  ŷ in Theorem 9 is called the best approximation to y by elements of W.  The distance from y to v, given by ||y – v||, can be regarded as the “error” of using v in place of y.  Theorem 9 says that this error is minimized when v=ŷ  Note – does not depend of basis of W used Slide 6.1- 40© 2012 Pearson Education, Inc.
  • 41. Slide 6.3- 41© 2012 Pearson Education, Inc. THE BEST APPROXIMATION THEOREM
  • 42. Slide 6.3- 42© 2012 Pearson Education, Inc. Best Approximation - Example Example 2: Find the distance from y to W = Span {u1,u2} for: 𝐮1 = 5 −2 1 , 𝐮2 = 1 2 −1 , 𝐲 = −1 −5 10