SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
Understand of linear algebra
      Edward J. Yoon (edward@udanax.org)
                 April 18, 2008
What is the Matrix?

• A matrix is a set of elements, organized
  into rows and columns
                   rows



                 a b 
                 c d 
       columns


                     
Matrix Operations


                 f  a  e b  f 
a b   e
c d    g         c  g d  h          Just add elements
              h                
                 f  a  e b  f 
a b   e
c d    g         c  g d  h        Just subtract elements
              h                
               f  ae  bg     af  bh
a b   e                                    Multiply each row
                   ce  dg
c d   g                      cf  dh       by each column
            h                      
Vector Operations

• Vector: 1 x N matrix
                               a 
• Interpretation: a line
                            
  in N dimensional
                           v  b 
  space
• Dot Product, Cross
                               c 
                               
  Product, and
  Magnitude defined
                           y
  on vectors only
                               v


                                      x
Vector Interpretation

• Think of a vector as a line in 2D or 3D
• Think of a matrix as a transformation on
  a line or set of lines
   x  a b   x'
   y   c d    y '
            
Dot Product

• Interpretation: the dot product measures
  to what degree two vectors are aligned


           A
                                A+B = C
                          (use the head-to-tail
               B       method to combine vectors)
       C
  B


           A
Dot Product

                      d 
a  b  abT  a b c  e   ad  be  cf      Think of the dot product
                      
                                                as a matrix multiplication
                      f
                      


                                             The magnitude is the dot
           a  aaT  aa  bb  cc
             2

                                             product of a vector with itself


                                             The dot product is also related to
           a  b  a b cos( )
                                             the angle between the two
                                             vectors – but it doesn’t tell us the
                                             angle
Cross Product

• The cross product of vectors A and B is a vector C
  which is perpendicular to A and B
• The magnitude of C is proportional to the cosine of
  the angle between A and B
• The direction of C follows the right hand rule – this
  why we call it a “right-handed coordinate system”




          a  b  a b sin( )
Inverse of a Matrix

• Identity matrix:
  AI = A
• Some matrices have
                              1 0 0
  an inverse, such that:
                              0 1 0 
  AA-1 = I
                           I 
• Inversion is tricky:
                                     
  (ABC)-1 = C-1B-1A-1
                              0 0 1 
                                    
  Derived from non-
  commutativity
  property
Inverse of a Matrix

                    1. Append the identity
                       matrix to A
                    2. Subtract multiples of the
a b   c 1 0 0
                       other rows from the first
d e            
       f  0 1 0      row to reduce the
                      diagonal element to 1
g h   i 0 0 1
                  3. Transform the identity
                       matrix as you go
                    4. When the original matrix
                       is the identity, the
                       identity has become the
                       inverse!
Determinant of a Matrix

• Used for inversion                 a b 
                                   A
• If det(A) = 0, then A                c d
                                         
  has no inverse
• Can be found using              det( A)  ad  bc
  factorials, pivots, and
  cofactors!                      1  d  b
                             1
                            A
• Lots of                      ad  bc  c a 
                                             
  interpretations – for
  more info, take 18.06
Determinant of a Matrix

ab   c
     f  aei  bfg  cdh  afh  bdi  ceg
de
gh   i

ab   ca b      ca b       c
                                 Sum from left to right
de   fd e      fd e       f      Subtract from right to left
                                 Note: N! terms
gh   ig h      ig h       i
Homogeneous Matrices

• Problem: how to include translations in
  transformations (and do perspective
  transforms)
• Solution: add an extra dimension
                1     x             
                1                   
                                 y
   x       z 1                   
        y
                  1               z
                                    
                    1              1
Ortho-normal Basis

• Basis: a space is totally defined by a set
  of vectors – any point is a linear
  combination of the basis
• Ortho-Normal: orthogonal + normal
• Orthogonal: dot product is zero
• Normal: magnitude is one
• Example: X, Y, Z (but don’t have to be!)
Ortho-normal Basis

          x  1 0 0        x y  0
                       T


          y  0 1 0        xz  0
                       T


          z  0 0 1        yz  0
                       T



X, Y, Z is an orthonormal basis. We can describe any
3D point as a linear combination of these vectors.

How do we express any point as a combination of a
new basis U, V, N, given X, Y, Z?
Ortho-normal Basis

                           n1  a  u  b  u  c  u 
 a 0 0  u1        v1
 0 b 0 u                n2    a  v  b  v  c  v 
                     v2
         2                                           
  0 0 c   u3            n3  a  n  b  n  c  n
                                                     
                     v3
   (not an actual formula – just a way of thinking about it)


To change a point from one coordinate system to
another, compute the dot product of each
coordinate row with each of the basis vectors.

Contenu connexe

Similaire à Understand Of Linear Algebra

Introduction about Geometric Algebra
Introduction about Geometric AlgebraIntroduction about Geometric Algebra
Introduction about Geometric AlgebraVitor Pamplona
 
Protein Folding Prediction
Protein Folding PredictionProtein Folding Prediction
Protein Folding Predictionwarrenyates
 
X2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsX2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsNigel Simmons
 
3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Modelssmiller5
 
2.8 Function Operations and Composition
2.8 Function Operations and Composition2.8 Function Operations and Composition
2.8 Function Operations and Compositionsmiller5
 
Eigenvalues in a Nutshell
Eigenvalues in a NutshellEigenvalues in a Nutshell
Eigenvalues in a Nutshellguest9006ab
 
4 image enhancement in spatial domain
4 image enhancement in spatial domain4 image enhancement in spatial domain
4 image enhancement in spatial domainPrakash Velayudham V
 
Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...
Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...
Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...Fabian Wein
 
CMOS Analog Design Lect 3
CMOS Analog Design  Lect 3CMOS Analog Design  Lect 3
CMOS Analog Design Lect 3carlosgalup
 
Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear IndependenceMatthew Leingang
 
Midterm II Review Session Slides
Midterm II Review Session SlidesMidterm II Review Session Slides
Midterm II Review Session SlidesMatthew Leingang
 
IE-002 Control Chart For Variables
IE-002 Control Chart For VariablesIE-002 Control Chart For Variables
IE-002 Control Chart For Variableshandbook
 
Varibale frequency response lecturer 2 - audio+
Varibale frequency response   lecturer 2 - audio+Varibale frequency response   lecturer 2 - audio+
Varibale frequency response lecturer 2 - audio+Jawad Khan
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationMatthew Leingang
 
An Excellent Boring Presentation
An Excellent Boring PresentationAn Excellent Boring Presentation
An Excellent Boring PresentationIshtiaque Zico
 
11X1 T08 03 rules for differentiation
11X1 T08 03 rules for differentiation11X1 T08 03 rules for differentiation
11X1 T08 03 rules for differentiationNigel Simmons
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingMatthew Leingang
 
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...Sungchul Kim
 
Partner Generation for Petri Net Based Service Models
Partner Generation for Petri Net Based Service ModelsPartner Generation for Petri Net Based Service Models
Partner Generation for Petri Net Based Service ModelsUniversität Rostock
 

Similaire à Understand Of Linear Algebra (20)

Introduction about Geometric Algebra
Introduction about Geometric AlgebraIntroduction about Geometric Algebra
Introduction about Geometric Algebra
 
Protein Folding Prediction
Protein Folding PredictionProtein Folding Prediction
Protein Folding Prediction
 
X2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphsX2 T08 03 inequalities & graphs
X2 T08 03 inequalities & graphs
 
3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models3.1 Quadratic Functions and Models
3.1 Quadratic Functions and Models
 
2.8 Function Operations and Composition
2.8 Function Operations and Composition2.8 Function Operations and Composition
2.8 Function Operations and Composition
 
Eigenvalues in a Nutshell
Eigenvalues in a NutshellEigenvalues in a Nutshell
Eigenvalues in a Nutshell
 
4 image enhancement in spatial domain
4 image enhancement in spatial domain4 image enhancement in spatial domain
4 image enhancement in spatial domain
 
Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...
Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...
Topology Optimization of a Piezoelectric Loudspeaker Coupled with the Acousti...
 
CMOS Analog Design Lect 3
CMOS Analog Design  Lect 3CMOS Analog Design  Lect 3
CMOS Analog Design Lect 3
 
Lesson 12: Linear Independence
Lesson 12: Linear IndependenceLesson 12: Linear Independence
Lesson 12: Linear Independence
 
Midterm II Review Session Slides
Midterm II Review Session SlidesMidterm II Review Session Slides
Midterm II Review Session Slides
 
First Order
First OrderFirst Order
First Order
 
IE-002 Control Chart For Variables
IE-002 Control Chart For VariablesIE-002 Control Chart For Variables
IE-002 Control Chart For Variables
 
Varibale frequency response lecturer 2 - audio+
Varibale frequency response   lecturer 2 - audio+Varibale frequency response   lecturer 2 - audio+
Varibale frequency response lecturer 2 - audio+
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian Elimination
 
An Excellent Boring Presentation
An Excellent Boring PresentationAn Excellent Boring Presentation
An Excellent Boring Presentation
 
11X1 T08 03 rules for differentiation
11X1 T08 03 rules for differentiation11X1 T08 03 rules for differentiation
11X1 T08 03 rules for differentiation
 
Lesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data FittingLesson 26: Optimization II: Data Fitting
Lesson 26: Optimization II: Data Fitting
 
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
Do Wide and Deep Networks Learn the Same Things: Uncovering How Neural Networ...
 
Partner Generation for Petri Net Based Service Models
Partner Generation for Petri Net Based Service ModelsPartner Generation for Petri Net Based Service Models
Partner Generation for Petri Net Based Service Models
 

Plus de Edward Yoon

(소스콘 2015 발표자료) Apache HORN, a large scale deep learning
(소스콘 2015 발표자료) Apache HORN, a large scale deep learning(소스콘 2015 발표자료) Apache HORN, a large scale deep learning
(소스콘 2015 발표자료) Apache HORN, a large scale deep learningEdward Yoon
 
Introduction to apache horn (incubating)
Introduction to apache horn (incubating)Introduction to apache horn (incubating)
Introduction to apache horn (incubating)Edward Yoon
 
Apache Hama at Samsung Open Source Conference
Apache Hama at Samsung Open Source ConferenceApache Hama at Samsung Open Source Conference
Apache Hama at Samsung Open Source ConferenceEdward Yoon
 
K means 알고리즘을 이용한 영화배우 클러스터링
K means 알고리즘을 이용한 영화배우 클러스터링K means 알고리즘을 이용한 영화배우 클러스터링
K means 알고리즘을 이용한 영화배우 클러스터링Edward Yoon
 
차세대하둡과 주목해야할 오픈소스
차세대하둡과 주목해야할 오픈소스차세대하둡과 주목해야할 오픈소스
차세대하둡과 주목해야할 오픈소스Edward Yoon
 
Quick Understanding of NoSQL
Quick Understanding of NoSQLQuick Understanding of NoSQL
Quick Understanding of NoSQLEdward Yoon
 
The evolution of web and big data
The evolution of web and big dataThe evolution of web and big data
The evolution of web and big dataEdward Yoon
 
Apache hama @ Samsung SW Academy
Apache hama @ Samsung SW AcademyApache hama @ Samsung SW Academy
Apache hama @ Samsung SW AcademyEdward Yoon
 
Introduction of Apache Hama - 2011
Introduction of Apache Hama - 2011Introduction of Apache Hama - 2011
Introduction of Apache Hama - 2011Edward Yoon
 
MongoDB introduction
MongoDB introductionMongoDB introduction
MongoDB introductionEdward Yoon
 
Monitoring and mining network traffic in clouds
Monitoring and mining network traffic in cloudsMonitoring and mining network traffic in clouds
Monitoring and mining network traffic in cloudsEdward Yoon
 
Apache hama 0.2-userguide
Apache hama 0.2-userguideApache hama 0.2-userguide
Apache hama 0.2-userguideEdward Yoon
 
Usage case of HBase for real-time application
Usage case of HBase for real-time applicationUsage case of HBase for real-time application
Usage case of HBase for real-time applicationEdward Yoon
 
Apache HAMA: An Introduction toBulk Synchronization Parallel on Hadoop
Apache HAMA: An Introduction toBulk Synchronization Parallel on HadoopApache HAMA: An Introduction toBulk Synchronization Parallel on Hadoop
Apache HAMA: An Introduction toBulk Synchronization Parallel on HadoopEdward Yoon
 
BigTable And Hbase
BigTable And HbaseBigTable And Hbase
BigTable And HbaseEdward Yoon
 

Plus de Edward Yoon (17)

(소스콘 2015 발표자료) Apache HORN, a large scale deep learning
(소스콘 2015 발표자료) Apache HORN, a large scale deep learning(소스콘 2015 발표자료) Apache HORN, a large scale deep learning
(소스콘 2015 발표자료) Apache HORN, a large scale deep learning
 
Introduction to apache horn (incubating)
Introduction to apache horn (incubating)Introduction to apache horn (incubating)
Introduction to apache horn (incubating)
 
Apache Hama at Samsung Open Source Conference
Apache Hama at Samsung Open Source ConferenceApache Hama at Samsung Open Source Conference
Apache Hama at Samsung Open Source Conference
 
K means 알고리즘을 이용한 영화배우 클러스터링
K means 알고리즘을 이용한 영화배우 클러스터링K means 알고리즘을 이용한 영화배우 클러스터링
K means 알고리즘을 이용한 영화배우 클러스터링
 
차세대하둡과 주목해야할 오픈소스
차세대하둡과 주목해야할 오픈소스차세대하둡과 주목해야할 오픈소스
차세대하둡과 주목해야할 오픈소스
 
Quick Understanding of NoSQL
Quick Understanding of NoSQLQuick Understanding of NoSQL
Quick Understanding of NoSQL
 
The evolution of web and big data
The evolution of web and big dataThe evolution of web and big data
The evolution of web and big data
 
Apache hama @ Samsung SW Academy
Apache hama @ Samsung SW AcademyApache hama @ Samsung SW Academy
Apache hama @ Samsung SW Academy
 
Apache Hama 0.4
Apache Hama 0.4Apache Hama 0.4
Apache Hama 0.4
 
Introduction of Apache Hama - 2011
Introduction of Apache Hama - 2011Introduction of Apache Hama - 2011
Introduction of Apache Hama - 2011
 
MongoDB introduction
MongoDB introductionMongoDB introduction
MongoDB introduction
 
Monitoring and mining network traffic in clouds
Monitoring and mining network traffic in cloudsMonitoring and mining network traffic in clouds
Monitoring and mining network traffic in clouds
 
Apache hama 0.2-userguide
Apache hama 0.2-userguideApache hama 0.2-userguide
Apache hama 0.2-userguide
 
Usage case of HBase for real-time application
Usage case of HBase for real-time applicationUsage case of HBase for real-time application
Usage case of HBase for real-time application
 
Apache HAMA: An Introduction toBulk Synchronization Parallel on Hadoop
Apache HAMA: An Introduction toBulk Synchronization Parallel on HadoopApache HAMA: An Introduction toBulk Synchronization Parallel on Hadoop
Apache HAMA: An Introduction toBulk Synchronization Parallel on Hadoop
 
BigTable And Hbase
BigTable And HbaseBigTable And Hbase
BigTable And Hbase
 
Heart Proposal
Heart ProposalHeart Proposal
Heart Proposal
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
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Ữ Â...Nguyen Thanh Tu Collection
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
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
 
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 POSCeline George
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 

Dernier (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
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Ữ Â...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
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
 
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
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Understand Of Linear Algebra

  • 1. Understand of linear algebra Edward J. Yoon (edward@udanax.org) April 18, 2008
  • 2. What is the Matrix? • A matrix is a set of elements, organized into rows and columns rows a b  c d  columns  
  • 3. Matrix Operations f  a  e b  f  a b   e c d    g   c  g d  h  Just add elements   h   f  a  e b  f  a b   e c d    g   c  g d  h  Just subtract elements   h   f  ae  bg af  bh a b   e Multiply each row   ce  dg c d   g cf  dh  by each column   h  
  • 4. Vector Operations • Vector: 1 x N matrix a  • Interpretation: a line   in N dimensional v  b  space • Dot Product, Cross c   Product, and Magnitude defined y on vectors only v x
  • 5. Vector Interpretation • Think of a vector as a line in 2D or 3D • Think of a matrix as a transformation on a line or set of lines  x  a b   x'  y   c d    y '    
  • 6. Dot Product • Interpretation: the dot product measures to what degree two vectors are aligned A A+B = C (use the head-to-tail B method to combine vectors) C B A
  • 7. Dot Product d  a  b  abT  a b c  e   ad  be  cf Think of the dot product  as a matrix multiplication f  The magnitude is the dot a  aaT  aa  bb  cc 2 product of a vector with itself The dot product is also related to a  b  a b cos( ) the angle between the two vectors – but it doesn’t tell us the angle
  • 8. Cross Product • The cross product of vectors A and B is a vector C which is perpendicular to A and B • The magnitude of C is proportional to the cosine of the angle between A and B • The direction of C follows the right hand rule – this why we call it a “right-handed coordinate system” a  b  a b sin( )
  • 9. Inverse of a Matrix • Identity matrix: AI = A • Some matrices have 1 0 0 an inverse, such that: 0 1 0  AA-1 = I I  • Inversion is tricky:  (ABC)-1 = C-1B-1A-1 0 0 1    Derived from non- commutativity property
  • 10. Inverse of a Matrix 1. Append the identity matrix to A 2. Subtract multiples of the a b c 1 0 0 other rows from the first d e  f  0 1 0 row to reduce the  diagonal element to 1 g h i 0 0 1   3. Transform the identity matrix as you go 4. When the original matrix is the identity, the identity has become the inverse!
  • 11. Determinant of a Matrix • Used for inversion a b  A • If det(A) = 0, then A c d   has no inverse • Can be found using det( A)  ad  bc factorials, pivots, and cofactors! 1  d  b 1 A • Lots of ad  bc  c a    interpretations – for more info, take 18.06
  • 12. Determinant of a Matrix ab c f  aei  bfg  cdh  afh  bdi  ceg de gh i ab ca b ca b c Sum from left to right de fd e fd e f Subtract from right to left Note: N! terms gh ig h ig h i
  • 13. Homogeneous Matrices • Problem: how to include translations in transformations (and do perspective transforms) • Solution: add an extra dimension 1  x  1   y x z 1   y  1  z     1  1
  • 14. Ortho-normal Basis • Basis: a space is totally defined by a set of vectors – any point is a linear combination of the basis • Ortho-Normal: orthogonal + normal • Orthogonal: dot product is zero • Normal: magnitude is one • Example: X, Y, Z (but don’t have to be!)
  • 15. Ortho-normal Basis x  1 0 0 x y  0 T y  0 1 0 xz  0 T z  0 0 1 yz  0 T X, Y, Z is an orthonormal basis. We can describe any 3D point as a linear combination of these vectors. How do we express any point as a combination of a new basis U, V, N, given X, Y, Z?
  • 16. Ortho-normal Basis n1  a  u  b  u  c  u  a 0 0  u1 v1 0 b 0 u n2    a  v  b  v  c  v  v2   2    0 0 c   u3 n3  a  n  b  n  c  n     v3 (not an actual formula – just a way of thinking about it) To change a point from one coordinate system to another, compute the dot product of each coordinate row with each of the basis vectors.