SlideShare a Scribd company logo
1 of 16
Download to read offline
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.

More Related Content

Similar to 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
 

Similar to 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
 

More from 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
 

More from 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
 

Recently uploaded

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Recently uploaded (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

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.