SlideShare a Scribd company logo
1 of 10
Gandhinagar Institute of Technology
Linear Algebra and Vector Calculus (2110015)
Active Learning Assignment
Semester 2
Gram–Schmidt process
Prepared By: Burhanuddin Kapadia
Guided By: Prof. Jalpa Patel
Mechanical Department (H2)
Outline
• Introduction
• Steps
• Examples
• Application
• Reference
Introduction
• It is a method for ortho-normalising a set of vectors in an inner
product space
• The process takes a finite, linearly independent set
𝑆 = {𝑣1, … , 𝑣 𝑘} for 𝑘 ≤ 𝑛
• Generates an orthogonal set 𝑆′ = {𝑢1, … , 𝑢 𝑘} that spans the same k-
dimensional subspace of 𝑹 𝑛 as 𝑆.
• This method is named after Jorgen Pedersen Gram and Erhard
Schmidt.
• In the theory of Lie group decompositions it is generalized by the
Iwasawa decomposition.
Introduction
• In mathematics, an orthogonal basis for an inner product space V is
a basis for V whose vectors are mutually orthogonal.
• If the vectors of anorthogonal basis are normalized, the
resulting basis is an orthonormal basis
Steps
• This process consists of steps that describes how to obtain an
orthonormal basis for any finite dimensional inner products.
• Let V be any nonzero finite dimensional inner product space and
suppose that {u1, u2, . . . , un} is any basis for V.
• We will form an orthogonal basis from this basis say {v1, v2, . . . , vn}
Steps
• Step 1: Let 𝑣1 = 𝑢1
• Step 2: Let 𝑣2 = 𝑢2 − 𝑝𝑟𝑜𝑗 𝑤1
𝑢2 = 𝑢2 −
<𝑢1,𝑣1>
𝑣11 2 𝑣2where 𝑊1 is the
space spanned by 𝑣1, and 𝑝𝑟𝑜𝑗 𝑤1
𝑢2 is the orthogonal projection of
𝑢2 on 𝑊1.
• Step 3: Let 𝑣3 = 𝑢3 − 𝑝𝑟𝑜𝑗 𝑤2
𝑢3 = 𝑢3 −
<𝑢3,𝑣1>
𝑣11 2 𝑣1 −
<𝑢3,𝑣2>
𝑣21 2 𝑣2
where 𝑊2 is the space spanned by 𝑣1 𝑎𝑛𝑑 𝑣2.
• Step 4: Let 𝑣4 = 𝑢4 − 𝑝𝑟𝑜𝑗 𝑤2
𝑢4 = 𝑢4 −
<𝑢4,𝑣1>
𝑣11 2 𝑣1 −
<𝑢4,𝑣2>
𝑣21 2 𝑣2 −
<𝑢4,𝑣3>
𝑣31 2 𝑣2 where 𝑊2 is the space spanned by 𝑣1 𝑎𝑛𝑑 𝑣2.
Example
• Let 𝑉 = 𝑅3 with the Euclidean inner product. We will apply the Gram-Schmidt
algorithm to orthogonalize the basis { 1, −1, 1 , 1, 0, 1 , 1, 1, 2 }
• Let 𝑢1 = 1, −1, 1 𝑢2 = 1, 0, 1 𝑢3 = (1, 1, 2)
• Following the steps:-
• Step 1: Let 𝑢1 = 𝑣1 → 𝑣1 = 1, −1, 1
• Step 2: 𝑣2 = 1, 0, 1 −
1,0,1 1,−1,1
1,−1,1 2 1, −1, 1
= 1, 0, 1 −
2
3
1, −1, 1
=
1
3
,
2
3
,
1
3
•
Example
• Step 3: 𝑣3 = 1, 1, 2 −
1,1,2 1,−1,1
1,−1,1 2 1, −1, 1 −
1,1,2
1
3
,
2
3
,
1
3
1
3
,
2
3
,
1
3
2
1
3
,
2
3
,
1
3
= 1, 1, 2 −
2
3
1, −1, 1 −
5
2
1
3
,
2
3
,
1
3
= −
1
2
, 0.
1
2
• Here 𝑣1 = 𝑣2 = 𝑣3 = 1, −1, 1 ,
1
3
,
2
3
,
1
3
, −
1
2
, 0.
1
2
respectively
forms an orthogonal basis for 𝑅3
Application
• Gram–Schmidt process to the column vectors of a full column rank
matrix yields the QR decomposition (it is decomposed into an
orthogonal and a triangular matrix).
• To obtain an orthonormal basis for an inner product space V , use the
Gram-Schmidt algorithm to construct an orthogonal basis. Then
simply normalize each vector in the basis.
• https://en.wikipedia.org/wiki/Gram–Schmidt_process
• http://www.math.ualberta.ca/~skalayci/Math%20102/Lecturenotes6-
8April2011.pdf

More Related Content

What's hot

Maxwell equation
Maxwell equationMaxwell equation
Maxwell equationKumar
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converterShazid Reaj
 
Initial value problems
Initial value problemsInitial value problems
Initial value problemsAli Jan Hasan
 
Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of MatricesAmenahGondal1
 
5 chapter 5_current density (1).pptx
5 chapter 5_current density (1).pptx5 chapter 5_current density (1).pptx
5 chapter 5_current density (1).pptx5610UmarIqbal
 
Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl VishalVishwakarma59
 
Unit 1 Numerical Problems on PN Junction Diode
Unit 1 Numerical Problems on PN Junction DiodeUnit 1 Numerical Problems on PN Junction Diode
Unit 1 Numerical Problems on PN Junction DiodeDr Piyush Charan
 
Unit IV Boundary Conditions
Unit IV  Boundary ConditionsUnit IV  Boundary Conditions
Unit IV Boundary ConditionsKannanKrishnana
 
Differential equations
Differential equationsDifferential equations
Differential equationsSeyid Kadher
 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture NotesDr. Nirav Vyas
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transformsIffat Anjum
 
Eigen value and eigen vector
Eigen value and eigen vectorEigen value and eigen vector
Eigen value and eigen vectorRutvij Patel
 

What's hot (20)

Maxwell equation
Maxwell equationMaxwell equation
Maxwell equation
 
Pn junction diode
Pn junction diodePn junction diode
Pn junction diode
 
Metal Semi-Conductor Junctions
Metal Semi-Conductor JunctionsMetal Semi-Conductor Junctions
Metal Semi-Conductor Junctions
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Initial value problems
Initial value problemsInitial value problems
Initial value problems
 
Diagonalization of Matrices
Diagonalization of MatricesDiagonalization of Matrices
Diagonalization of Matrices
 
SEMICONDUCTOR PHYSICS
SEMICONDUCTOR PHYSICSSEMICONDUCTOR PHYSICS
SEMICONDUCTOR PHYSICS
 
5 chapter 5_current density (1).pptx
5 chapter 5_current density (1).pptx5 chapter 5_current density (1).pptx
5 chapter 5_current density (1).pptx
 
Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl
 
Unit 1 Numerical Problems on PN Junction Diode
Unit 1 Numerical Problems on PN Junction DiodeUnit 1 Numerical Problems on PN Junction Diode
Unit 1 Numerical Problems on PN Junction Diode
 
Unit IV Boundary Conditions
Unit IV  Boundary ConditionsUnit IV  Boundary Conditions
Unit IV Boundary Conditions
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Fourier transforms
Fourier transforms Fourier transforms
Fourier transforms
 
Complex analysis
Complex analysisComplex analysis
Complex analysis
 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture Notes
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
CASCADE AMPLIFIER
CASCADE AMPLIFIERCASCADE AMPLIFIER
CASCADE AMPLIFIER
 
Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Eigen value and eigen vector
Eigen value and eigen vectorEigen value and eigen vector
Eigen value and eigen vector
 

Similar to Gram-Schmidt process

Optimum engineering design - Day 6. Classical optimization methods
Optimum engineering design - Day 6. Classical optimization methodsOptimum engineering design - Day 6. Classical optimization methods
Optimum engineering design - Day 6. Classical optimization methodsSantiagoGarridoBulln
 
Paper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelinePaper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelineChenYiHuang5
 
Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章Tsuyoshi Sakama
 
Paper Study: Transformer dissection
Paper Study: Transformer dissectionPaper Study: Transformer dissection
Paper Study: Transformer dissectionChenYiHuang5
 
Optimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methodsOptimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methodsSantiagoGarridoBulln
 
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural NetworksPaper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural NetworksChenYiHuang5
 
Symbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisSymbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisIJERA Editor
 
Topological sort
Topological sortTopological sort
Topological sortstella D
 
Continuous control with deep reinforcement learning (DDPG)
Continuous control with deep reinforcement learning (DDPG)Continuous control with deep reinforcement learning (DDPG)
Continuous control with deep reinforcement learning (DDPG)Taehoon Kim
 
Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)Sangwoo Mo
 
Optimization/Gradient Descent
Optimization/Gradient DescentOptimization/Gradient Descent
Optimization/Gradient Descentkandelin
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfJifarRaya
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdfJifarRaya
 
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Niharika Varshney
 
Gram-Schmidt process linear algbera.pptx
Gram-Schmidt process linear algbera.pptxGram-Schmidt process linear algbera.pptx
Gram-Schmidt process linear algbera.pptxMd. Al-Amin
 
Problem Based Learning Presentation NACA
Problem Based Learning Presentation NACAProblem Based Learning Presentation NACA
Problem Based Learning Presentation NACAWahid Dino Samo
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphsRevanth Kumar
 
An Introduction to Reinforcement Learning - The Doors to AGI
An Introduction to Reinforcement Learning - The Doors to AGIAn Introduction to Reinforcement Learning - The Doors to AGI
An Introduction to Reinforcement Learning - The Doors to AGIAnirban Santara
 

Similar to Gram-Schmidt process (20)

Optimum engineering design - Day 6. Classical optimization methods
Optimum engineering design - Day 6. Classical optimization methodsOptimum engineering design - Day 6. Classical optimization methods
Optimum engineering design - Day 6. Classical optimization methods
 
Paper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelinePaper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipeline
 
Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章Elements of Statistical Learning 読み会 第2章
Elements of Statistical Learning 読み会 第2章
 
Paper Study: Transformer dissection
Paper Study: Transformer dissectionPaper Study: Transformer dissection
Paper Study: Transformer dissection
 
Optimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methodsOptimum engineering design - Day 5. Clasical optimization methods
Optimum engineering design - Day 5. Clasical optimization methods
 
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural NetworksPaper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
 
Symbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisSymbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner Basis
 
Topological sort
Topological sortTopological sort
Topological sort
 
Continuous control with deep reinforcement learning (DDPG)
Continuous control with deep reinforcement learning (DDPG)Continuous control with deep reinforcement learning (DDPG)
Continuous control with deep reinforcement learning (DDPG)
 
Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)
 
Optimization/Gradient Descent
Optimization/Gradient DescentOptimization/Gradient Descent
Optimization/Gradient Descent
 
Cs36565569
Cs36565569Cs36565569
Cs36565569
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
 
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)Vehicle Routing Problem using PSO (Particle Swarm Optimization)
Vehicle Routing Problem using PSO (Particle Swarm Optimization)
 
Gram-Schmidt process linear algbera.pptx
Gram-Schmidt process linear algbera.pptxGram-Schmidt process linear algbera.pptx
Gram-Schmidt process linear algbera.pptx
 
Problem Based Learning Presentation NACA
Problem Based Learning Presentation NACAProblem Based Learning Presentation NACA
Problem Based Learning Presentation NACA
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphs
 
Dot Product.pptx
Dot Product.pptxDot Product.pptx
Dot Product.pptx
 
An Introduction to Reinforcement Learning - The Doors to AGI
An Introduction to Reinforcement Learning - The Doors to AGIAn Introduction to Reinforcement Learning - The Doors to AGI
An Introduction to Reinforcement Learning - The Doors to AGI
 

More from Burhanuddin Kapadia

Factors affecting acoustics of buildings and their remedies.
Factors affecting acoustics of buildings and their remedies.Factors affecting acoustics of buildings and their remedies.
Factors affecting acoustics of buildings and their remedies.Burhanuddin Kapadia
 
Definition and process of communication
Definition and process of communicationDefinition and process of communication
Definition and process of communicationBurhanuddin Kapadia
 
Embarking on the journey of contribution
Embarking on the journey of contributionEmbarking on the journey of contribution
Embarking on the journey of contributionBurhanuddin Kapadia
 
Principles and Building Bye Laws
Principles and Building Bye LawsPrinciples and Building Bye Laws
Principles and Building Bye LawsBurhanuddin Kapadia
 
Double integral over rectangles, Fubinis theorem, properties of double integral
Double integral over rectangles, Fubinis theorem, properties of double integralDouble integral over rectangles, Fubinis theorem, properties of double integral
Double integral over rectangles, Fubinis theorem, properties of double integralBurhanuddin Kapadia
 

More from Burhanuddin Kapadia (9)

Factors affecting acoustics of buildings and their remedies.
Factors affecting acoustics of buildings and their remedies.Factors affecting acoustics of buildings and their remedies.
Factors affecting acoustics of buildings and their remedies.
 
Ilumination schemes
Ilumination schemes Ilumination schemes
Ilumination schemes
 
Definition and process of communication
Definition and process of communicationDefinition and process of communication
Definition and process of communication
 
Dynamic memory allocation
Dynamic memory allocationDynamic memory allocation
Dynamic memory allocation
 
Embarking on the journey of contribution
Embarking on the journey of contributionEmbarking on the journey of contribution
Embarking on the journey of contribution
 
Principles and Building Bye Laws
Principles and Building Bye LawsPrinciples and Building Bye Laws
Principles and Building Bye Laws
 
Air compressor
Air compressorAir compressor
Air compressor
 
Double integral over rectangles, Fubinis theorem, properties of double integral
Double integral over rectangles, Fubinis theorem, properties of double integralDouble integral over rectangles, Fubinis theorem, properties of double integral
Double integral over rectangles, Fubinis theorem, properties of double integral
 
Electronic Pills
Electronic PillsElectronic Pills
Electronic Pills
 

Recently uploaded

SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxHaritikaChhatwal1
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxMike Bennett
 
Decoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectDecoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectBoston Institute of Analytics
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...Jack Cole
 
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdfWorld Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdfsimulationsindia
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksdeepakthakur548787
 
Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Seán Kennedy
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelBoston Institute of Analytics
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max PrincetonTimothy Spann
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data VisualizationKianJazayeri1
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Boston Institute of Analytics
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Boston Institute of Analytics
 
Rithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdfRithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdfrahulyadav957181
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxHimangsuNath
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 

Recently uploaded (20)

SMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptxSMOTE and K-Fold Cross Validation-Presentation.pptx
SMOTE and K-Fold Cross Validation-Presentation.pptx
 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptx
 
Decoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectDecoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis Project
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
 
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdfWorld Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
World Economic Forum Metaverse Ecosystem By Utpal Chakraborty.pdf
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing works
 
Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max Princeton
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data Visualization
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
 
Rithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdfRithik Kumar Singh codealpha pythohn.pdf
Rithik Kumar Singh codealpha pythohn.pdf
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptx
 
Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 

Gram-Schmidt process

  • 1. Gandhinagar Institute of Technology Linear Algebra and Vector Calculus (2110015) Active Learning Assignment Semester 2 Gram–Schmidt process Prepared By: Burhanuddin Kapadia Guided By: Prof. Jalpa Patel Mechanical Department (H2)
  • 2. Outline • Introduction • Steps • Examples • Application • Reference
  • 3. Introduction • It is a method for ortho-normalising a set of vectors in an inner product space • The process takes a finite, linearly independent set 𝑆 = {𝑣1, … , 𝑣 𝑘} for 𝑘 ≤ 𝑛 • Generates an orthogonal set 𝑆′ = {𝑢1, … , 𝑢 𝑘} that spans the same k- dimensional subspace of 𝑹 𝑛 as 𝑆. • This method is named after Jorgen Pedersen Gram and Erhard Schmidt. • In the theory of Lie group decompositions it is generalized by the Iwasawa decomposition.
  • 4. Introduction • In mathematics, an orthogonal basis for an inner product space V is a basis for V whose vectors are mutually orthogonal. • If the vectors of anorthogonal basis are normalized, the resulting basis is an orthonormal basis
  • 5. Steps • This process consists of steps that describes how to obtain an orthonormal basis for any finite dimensional inner products. • Let V be any nonzero finite dimensional inner product space and suppose that {u1, u2, . . . , un} is any basis for V. • We will form an orthogonal basis from this basis say {v1, v2, . . . , vn}
  • 6. Steps • Step 1: Let 𝑣1 = 𝑢1 • Step 2: Let 𝑣2 = 𝑢2 − 𝑝𝑟𝑜𝑗 𝑤1 𝑢2 = 𝑢2 − <𝑢1,𝑣1> 𝑣11 2 𝑣2where 𝑊1 is the space spanned by 𝑣1, and 𝑝𝑟𝑜𝑗 𝑤1 𝑢2 is the orthogonal projection of 𝑢2 on 𝑊1. • Step 3: Let 𝑣3 = 𝑢3 − 𝑝𝑟𝑜𝑗 𝑤2 𝑢3 = 𝑢3 − <𝑢3,𝑣1> 𝑣11 2 𝑣1 − <𝑢3,𝑣2> 𝑣21 2 𝑣2 where 𝑊2 is the space spanned by 𝑣1 𝑎𝑛𝑑 𝑣2. • Step 4: Let 𝑣4 = 𝑢4 − 𝑝𝑟𝑜𝑗 𝑤2 𝑢4 = 𝑢4 − <𝑢4,𝑣1> 𝑣11 2 𝑣1 − <𝑢4,𝑣2> 𝑣21 2 𝑣2 − <𝑢4,𝑣3> 𝑣31 2 𝑣2 where 𝑊2 is the space spanned by 𝑣1 𝑎𝑛𝑑 𝑣2.
  • 7. Example • Let 𝑉 = 𝑅3 with the Euclidean inner product. We will apply the Gram-Schmidt algorithm to orthogonalize the basis { 1, −1, 1 , 1, 0, 1 , 1, 1, 2 } • Let 𝑢1 = 1, −1, 1 𝑢2 = 1, 0, 1 𝑢3 = (1, 1, 2) • Following the steps:- • Step 1: Let 𝑢1 = 𝑣1 → 𝑣1 = 1, −1, 1 • Step 2: 𝑣2 = 1, 0, 1 − 1,0,1 1,−1,1 1,−1,1 2 1, −1, 1 = 1, 0, 1 − 2 3 1, −1, 1 = 1 3 , 2 3 , 1 3 •
  • 8. Example • Step 3: 𝑣3 = 1, 1, 2 − 1,1,2 1,−1,1 1,−1,1 2 1, −1, 1 − 1,1,2 1 3 , 2 3 , 1 3 1 3 , 2 3 , 1 3 2 1 3 , 2 3 , 1 3 = 1, 1, 2 − 2 3 1, −1, 1 − 5 2 1 3 , 2 3 , 1 3 = − 1 2 , 0. 1 2 • Here 𝑣1 = 𝑣2 = 𝑣3 = 1, −1, 1 , 1 3 , 2 3 , 1 3 , − 1 2 , 0. 1 2 respectively forms an orthogonal basis for 𝑅3
  • 9. Application • Gram–Schmidt process to the column vectors of a full column rank matrix yields the QR decomposition (it is decomposed into an orthogonal and a triangular matrix). • To obtain an orthonormal basis for an inner product space V , use the Gram-Schmidt algorithm to construct an orthogonal basis. Then simply normalize each vector in the basis.