SlideShare uma empresa Scribd logo
1 de 15
Orthogonal Basis
.
Find an orthogonal basis for W.

Gram-Schmidt
Algorithm to find an orthogonal basis, given a basis
1. Let first vector in orthogonal basis be first vector
in original basis
2. Next vector in orthogonal basis is component of
next vector in original basis orthogonal to the
previously found vectors.
Next vector less the projection of that vector onto subspace
defined by the set of vectors in the orthogonal set
Scaling may be convenient
1. Repeat step 2 for all other vectors in original basis
Gram-Schmidt - Example
.
Find an orthogonal basis for W.

Orthonormal Basis
 All vectors have length 1
 Normalize after find orthogonal basis
QR Factorization
Theorem 6-12: If A is mxn matrix with linearly
independent columns, then A can be factored as
A=QR, where Q is an mxn matrix whose columns form
an orthonormal basis for Col(A) and R is an nxn upper
triangular invertible matrix w positive entries on the
diagonal.
R = IR
=(QTQ)R, QTQ = I, since Q has orthonormal cols
= QT(QR)
= QTA
QR Factorization - Example

Inner Product - Definition
Definition: An inner product on a vector
space V is a function that to each pair of
vectors u and v in V, associates a real
number <u,v> and satisfies the following
axioms for all u, v, w in V and all scalars
c:
1. <u,v> = <v,u>
2. <u+v,w> = <u,w> + <v,w>
3. <cu,v> = c<u,v>
4. <u,u> ≥ 0 & <u,u>=0 iff u=0
Inner Product Space
 A vector space with an inner product is
called an inner product space.
 Example - Rn with the dot product is an
inner product space
Inner Product - Example
u & v in R2, u = (u1, u2), v=(v1, v2)
Show <u,v> = 4u1u2 + 5v1v2 defines an
inner product
Slide 6.1- 9© 2012 Pearson Education, Inc.
Inner Product - Example
 V = P2 with inner product:
 <p,q> = p(0)q(0) + p(½)q(½) + p(1)q(1)
 p(t) = 12t2, q(t) = 2t-1
 <p,q> = ?
 <q,q> = ?
Slide 6.1- 10© 2012 Pearson Education, Inc.
Length, Distance, Orthogonality
:
||v|| =

Example
 ||p(t)|| and ||q(t)|| from previous example
Gram-Schmidt
Let inner product be:
<p,q> = p(-2)q(-2) + p(-1)q(-1) + p(0)q(0) + p(1)q(1) + p(2)q(2)
Produce orthogonal basis for P2 by applying
Gram-Schmidt to: 1, t, t2
Inequalities
 Cauchy Schwartz Inequality:
|<u,v>| ≥ ||u|| ||v||
 Triangle Inequality
||u+v|| ≤ ||u|| + ||v||
Inner product

Mais conteúdo relacionado

Mais procurados

Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
EasyStudy3
 
Fast and efficient exact synthesis of single qubit unitaries generated by cli...
Fast and efficient exact synthesis of single qubit unitaries generated by cli...Fast and efficient exact synthesis of single qubit unitaries generated by cli...
Fast and efficient exact synthesis of single qubit unitaries generated by cli...
JamesMa54
 
Solving the energy problem of helium final report
Solving the energy problem of helium final reportSolving the energy problem of helium final report
Solving the energy problem of helium final report
JamesMa54
 

Mais procurados (20)

Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
 
Inner product spaces
Inner product spacesInner product spaces
Inner product spaces
 
Orthogonal Vector Spaces
Orthogonal Vector Spaces Orthogonal Vector Spaces
Orthogonal Vector Spaces
 
Orthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processOrthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth process
 
Gram-Schmidt Orthogonalization and QR Decompositon
Gram-Schmidt Orthogonalization and QR Decompositon Gram-Schmidt Orthogonalization and QR Decompositon
Gram-Schmidt Orthogonalization and QR Decompositon
 
Inner product space
Inner product spaceInner product space
Inner product space
 
Introductory maths analysis chapter 14 official
Introductory maths analysis   chapter 14 officialIntroductory maths analysis   chapter 14 official
Introductory maths analysis chapter 14 official
 
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
 
HERMITE SERIES
HERMITE SERIESHERMITE SERIES
HERMITE SERIES
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Fast and efficient exact synthesis of single qubit unitaries generated by cli...
Fast and efficient exact synthesis of single qubit unitaries generated by cli...Fast and efficient exact synthesis of single qubit unitaries generated by cli...
Fast and efficient exact synthesis of single qubit unitaries generated by cli...
 
P1 . norm vector space
P1 . norm vector spaceP1 . norm vector space
P1 . norm vector space
 
Solving the energy problem of helium final report
Solving the energy problem of helium final reportSolving the energy problem of helium final report
Solving the energy problem of helium final report
 
Solution set 3
Solution set 3Solution set 3
Solution set 3
 
Metric space
Metric spaceMetric space
Metric space
 
Solovay Kitaev theorem
Solovay Kitaev theoremSolovay Kitaev theorem
Solovay Kitaev theorem
 
Vector space
Vector spaceVector space
Vector space
 
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-I
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-IEngineering Mathematics-IV_B.Tech_Semester-IV_Unit-I
Engineering Mathematics-IV_B.Tech_Semester-IV_Unit-I
 
Vcla - Inner Products
Vcla - Inner ProductsVcla - Inner Products
Vcla - Inner Products
 
Introductory maths analysis chapter 02 official
Introductory maths analysis   chapter 02 officialIntroductory maths analysis   chapter 02 official
Introductory maths analysis chapter 02 official
 

Semelhante a Inner product

Consistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmeticConsistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmetic
Yamagata Yoriyuki
 

Semelhante a Inner product (20)

Proyecto grupal algebra parcial ii
Proyecto grupal algebra parcial iiProyecto grupal algebra parcial ii
Proyecto grupal algebra parcial ii
 
Chapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 5/Slides By PearsonChapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 5/Slides By Pearson
 
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
 
Vectors mod-1-part-2
Vectors mod-1-part-2Vectors mod-1-part-2
Vectors mod-1-part-2
 
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
 
2 vectors notes
2 vectors notes2 vectors notes
2 vectors notes
 
Algorithms explained
Algorithms explainedAlgorithms explained
Algorithms explained
 
Northcott1957 (1)
Northcott1957 (1)Northcott1957 (1)
Northcott1957 (1)
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
 
Vectorspace in 2,3and n space
Vectorspace in 2,3and n spaceVectorspace in 2,3and n space
Vectorspace in 2,3and n space
 
Conctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleConctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex Oracle
 
On the Zeros of Polar Derivatives
On the Zeros of Polar DerivativesOn the Zeros of Polar Derivatives
On the Zeros of Polar Derivatives
 
A New Deterministic RSA-Factoring Algorithm
A New Deterministic RSA-Factoring AlgorithmA New Deterministic RSA-Factoring Algorithm
A New Deterministic RSA-Factoring Algorithm
 
"An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop..."An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop...
 
Vector
VectorVector
Vector
 
Mathematical Reasoning in Discrete Mathmatics.pptx
Mathematical Reasoning in Discrete Mathmatics.pptxMathematical Reasoning in Discrete Mathmatics.pptx
Mathematical Reasoning in Discrete Mathmatics.pptx
 
Mathematical Reasoning in Discrete Mathmatics.pptx
Mathematical Reasoning in Discrete Mathmatics.pptxMathematical Reasoning in Discrete Mathmatics.pptx
Mathematical Reasoning in Discrete Mathmatics.pptx
 
Consistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmeticConsistency proof of a feasible arithmetic inside a bounded arithmetic
Consistency proof of a feasible arithmetic inside a bounded arithmetic
 
Beginning direct3d gameprogrammingmath03_vectors_20160328_jintaeks
Beginning direct3d gameprogrammingmath03_vectors_20160328_jintaeksBeginning direct3d gameprogrammingmath03_vectors_20160328_jintaeks
Beginning direct3d gameprogrammingmath03_vectors_20160328_jintaeks
 
MC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceMC0082 –Theory of Computer Science
MC0082 –Theory of Computer Science
 

Mais de Dhrupal Patel

Mais de Dhrupal Patel (20)

Volcanoes,Fault Zone And Earthquakes,,Seismograph,Body Waves,Features Of Volc...
Volcanoes,Fault Zone And Earthquakes,,Seismograph,Body Waves,Features Of Volc...Volcanoes,Fault Zone And Earthquakes,,Seismograph,Body Waves,Features Of Volc...
Volcanoes,Fault Zone And Earthquakes,,Seismograph,Body Waves,Features Of Volc...
 
Gtg
GtgGtg
Gtg
 
SUCCES
SUCCESSUCCES
SUCCES
 
Bio materials
Bio materialsBio materials
Bio materials
 
Laser applications
Laser applicationsLaser applications
Laser applications
 
Classification of magnetic
Classification of magneticClassification of magnetic
Classification of magnetic
 
Ultra capacitors
Ultra capacitorsUltra capacitors
Ultra capacitors
 
Factors affecting acoustic of building and their remedies
Factors affecting acoustic of building and their remediesFactors affecting acoustic of building and their remedies
Factors affecting acoustic of building and their remedies
 
Nanophysics
NanophysicsNanophysics
Nanophysics
 
Ultrasonic
UltrasonicUltrasonic
Ultrasonic
 
Nano materials & technology
Nano materials & technologyNano materials & technology
Nano materials & technology
 
Fuel cell
Fuel cellFuel cell
Fuel cell
 
Batteries and fuel cells
Batteries and fuel cellsBatteries and fuel cells
Batteries and fuel cells
 
Basic concept of laser physics
Basic concept of laser physicsBasic concept of laser physics
Basic concept of laser physics
 
PRINTER
PRINTERPRINTER
PRINTER
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
ND YAG laser
ND YAG laserND YAG laser
ND YAG laser
 
Fuel cell
Fuel cellFuel cell
Fuel cell
 
Hydrophobic cement
Hydrophobic cementHydrophobic cement
Hydrophobic cement
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
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.
 
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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
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
 
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
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .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Ă...
 

Inner product

  • 1. Orthogonal Basis . Find an orthogonal basis for W. 
  • 2. Gram-Schmidt Algorithm to find an orthogonal basis, given a basis 1. Let first vector in orthogonal basis be first vector in original basis 2. Next vector in orthogonal basis is component of next vector in original basis orthogonal to the previously found vectors. Next vector less the projection of that vector onto subspace defined by the set of vectors in the orthogonal set Scaling may be convenient 1. Repeat step 2 for all other vectors in original basis
  • 3. Gram-Schmidt - Example . Find an orthogonal basis for W. 
  • 4. Orthonormal Basis  All vectors have length 1  Normalize after find orthogonal basis
  • 5. QR Factorization Theorem 6-12: If A is mxn matrix with linearly independent columns, then A can be factored as A=QR, where Q is an mxn matrix whose columns form an orthonormal basis for Col(A) and R is an nxn upper triangular invertible matrix w positive entries on the diagonal. R = IR =(QTQ)R, QTQ = I, since Q has orthonormal cols = QT(QR) = QTA
  • 6. QR Factorization - Example 
  • 7. Inner Product - Definition Definition: An inner product on a vector space V is a function that to each pair of vectors u and v in V, associates a real number <u,v> and satisfies the following axioms for all u, v, w in V and all scalars c: 1. <u,v> = <v,u> 2. <u+v,w> = <u,w> + <v,w> 3. <cu,v> = c<u,v> 4. <u,u> ≥ 0 & <u,u>=0 iff u=0
  • 8. Inner Product Space  A vector space with an inner product is called an inner product space.  Example - Rn with the dot product is an inner product space
  • 9. Inner Product - Example u & v in R2, u = (u1, u2), v=(v1, v2) Show <u,v> = 4u1u2 + 5v1v2 defines an inner product Slide 6.1- 9© 2012 Pearson Education, Inc.
  • 10. Inner Product - Example  V = P2 with inner product:  <p,q> = p(0)q(0) + p(½)q(½) + p(1)q(1)  p(t) = 12t2, q(t) = 2t-1  <p,q> = ?  <q,q> = ? Slide 6.1- 10© 2012 Pearson Education, Inc.
  • 12. Example  ||p(t)|| and ||q(t)|| from previous example
  • 13. Gram-Schmidt Let inner product be: <p,q> = p(-2)q(-2) + p(-1)q(-1) + p(0)q(0) + p(1)q(1) + p(2)q(2) Produce orthogonal basis for P2 by applying Gram-Schmidt to: 1, t, t2
  • 14. Inequalities  Cauchy Schwartz Inequality: |<u,v>| ≥ ||u|| ||v||  Triangle Inequality ||u+v|| ≤ ||u|| + ||v||