SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Matrix Algebra Basics
Pam Perlich
Urban Planning 5/6020
Al gebra
Matrix
A =
a11 ,…, a1n
a21 ,…, a2n
… … … …
am1 ,…, amn










= Aij{ }
A matrix is any doubly subscripted array of
elements arranged in rows and columns.
Row Vector
[1 x n] matrix
[ ] { }jn aaaaA ,,21 =…
Column Vector
{ }i
m
a
a
a
a
A
2
1
=












…
=
[m x 1] matrix
Square Matrix
B =
5 4 7
3 6 1
2 1 3








Same number of rows and columns
The
Ident i t y
Identity Matrix
I =
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1










Square matrix with ones on the
diagonal and zeros elsewhere.
Transpose Matrix
A' =
a11 a21 ,…, am1
a12 a22 ,…, am2
… … … … …
a1n a2n ,…, amn










Rows become columns and columns
become rows
Matrix Addition and
Subtraction
A new matrix C may be defined as the
additive combination of matrices A and B
where: C = A + B
is defined by:
Cij{ } = Aij{ } + Bij{ }
Note: all three matrices are of the same dimension
Addition
A =
a11 a12
a21 a22




B =
b11 b12
b21 b22




C =
a11 + b11 a12 + b12
a21 + b21 a22 + b22




If
and
then
Matrix Addition Example
A + B =
3 4
5 6




+
1 2
3 4



 =
4 6
8 10



 = C
Matrix Subtraction
C = A - B
Is defined by
Cij{ } = Aij{ } − Bij{ }
Matrix Multiplication
Matrices A and B have these dimensions:
[r x c] and [s x d]
Matrix Multiplication
Matrices A and B can be multiplied if:
[r x c] and [s x d]
c = s
Matrix Multiplication
The resulting matrix will have the dimensions:
[r x c] and [s x d]
r x d
Computation: A x B = C
A =
a11 a12
a21 a22




B =
b11 b12 b13
b21 b22 b23










+++
+++
=
232213212222122121221121
231213112212121121121111
babababababa
babababababa
C
[2 x 2]
[2 x 3]
[2 x 3]
Computation: A x B = C
A =
2 3
1 1
1 0








and B =
1 1 1
1 0 2




[3 x 2] [2 x 3]
A and B can be multiplied










=










=+=+=+
=+=+=+
=+=+=+
=
111
312
825
12*01*110*01*111*01*1
32*11*110*11*121*11*1
82*31*220*31*251*31*2
C
[3 x 3]
Computation: A x B = C










=










=+=+=+
=+=+=+
=+=+=+
=
111
312
825
12*01*110*01*111*01*1
32*11*110*11*121*11*1
82*31*220*31*251*31*2
C
A =
2 3
1 1
1 0








and B =
1 1 1
1 0 2




[3 x 2] [2 x 3]
[3 x 3]
Result is 3 x 3
Inversi on
Matrix Inversion
B
−1
B = BB
−1
= I
Like a reciprocal
in scalar math
Like the number one
in scalar math
Linear System of Simultaneous
Equations
1st Precinct : x1 + x2 = 6
2nd Precinct : 2x1 + x2 = 9
First precinct: 6 arrests last week equally divided
between felonies and misdemeanors.
Second precinct: 9 arrests - there were twice as
many felonies as the first precinct.
Solution






=











9
6
*
12
11
2
1
x
x






=





3
3
2
1
x
x






12
11
Note: Inverse of is 





−
−
12
11
9
6
*
12
11
*
12
11
*
12
11
2
1












−
−
=

















−
−
x
x Premultiply both sides by
inverse matrix
3
3
*
10
01
2
1






=











x
x A square matrix multiplied by its
inverse results in the identity matrix.
A 2x2 identity matrix multiplied by
the 2x1 matrix results in the original
2x1 matrix.
aijxj = bi or Ax = b
j=1
n
∑
x = A
−1
Ax = A
−1
b
n equations in n variables:
unknown values of x can be found using the inverse of
matrix A such that
General Form
Garin-Lowry Model
Ax + y = x
y = Ix − Ax
y = (I − A)x
(I − A)
−1
y = x
The object is to find x given A and y . This is
done by solving for x :
Matrix Operations in Excel
Select the
cells in
which the
answer
will
appear
Matrix Multiplication in Excel
1) Enter
“=mmult(“
2) Select the
cells of the
first matrix
3) Enter comma
“,”
4) Select the
cells of the
second matrix
5) Enter “)”
Matrix Multiplication in Excel
Enter these
three
key
strokes
at the
same
time:
control
shift
enter
Matrix Inversion in Excel
 Follow the same procedure
 Select cells in which answer is to be
displayed
 Enter the formula: =minverse(
 Select the cells containing the matrix to be
inverted
 Close parenthesis – type “)”
 Press three keys: Control, shift, enter
1565 matrix01-ppt

Weitere ähnliche Inhalte

Was ist angesagt?

Algebra formulas
Algebra formulasAlgebra formulas
Algebra formulasimran akbar
 
Add Math(F4) Quadratic Function 3.1
Add Math(F4)  Quadratic Function  3.1Add Math(F4)  Quadratic Function  3.1
Add Math(F4) Quadratic Function 3.1roszelan
 
6.3 matrix algebra t
6.3 matrix algebra t6.3 matrix algebra t
6.3 matrix algebra tmath260
 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant xmath260
 
6.2 vertex form
6.2 vertex form6.2 vertex form
6.2 vertex formhisema01
 
Matrices Slide For B.Sc Students As Well For F.Sc Students
Matrices Slide For B.Sc Students As Well For F.Sc StudentsMatrices Slide For B.Sc Students As Well For F.Sc Students
Matrices Slide For B.Sc Students As Well For F.Sc StudentsAbu Bakar Soomro
 
2010 assessment review_homework_1-4-done
2010 assessment review_homework_1-4-done2010 assessment review_homework_1-4-done
2010 assessment review_homework_1-4-donejendailey
 
Add Math(F5) Graph Of Function Ii 2.1
Add Math(F5) Graph Of Function Ii 2.1Add Math(F5) Graph Of Function Ii 2.1
Add Math(F5) Graph Of Function Ii 2.1roszelan
 
Quadratic equations and function
Quadratic equations and functionQuadratic equations and function
Quadratic equations and functionMelchor Cachuela
 
Regression analysis presentation
Regression analysis presentationRegression analysis presentation
Regression analysis presentationMuhammadFaisal733
 
Spm Add Maths Formula List Form4
Spm Add Maths Formula List Form4Spm Add Maths Formula List Form4
Spm Add Maths Formula List Form4guest76f49d
 
Use of cramer`s rule in word problem
Use of cramer`s rule in word problem Use of cramer`s rule in word problem
Use of cramer`s rule in word problem Nadeem Uddin
 
Mathematics Secondary 2 Revision
Mathematics Secondary 2 RevisionMathematics Secondary 2 Revision
Mathematics Secondary 2 Revisionmissing island
 
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsMATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsShameer Ahmed Koya
 
solving quadratic equations by graphing
solving quadratic equations by graphingsolving quadratic equations by graphing
solving quadratic equations by graphingHind Al Awadi
 
5.1graphquadratics
5.1graphquadratics5.1graphquadratics
5.1graphquadraticsvhiggins1
 

Was ist angesagt? (20)

Algebra formulas
Algebra formulasAlgebra formulas
Algebra formulas
 
Add Math(F4) Quadratic Function 3.1
Add Math(F4)  Quadratic Function  3.1Add Math(F4)  Quadratic Function  3.1
Add Math(F4) Quadratic Function 3.1
 
Set concepts
Set conceptsSet concepts
Set concepts
 
6.3 matrix algebra t
6.3 matrix algebra t6.3 matrix algebra t
6.3 matrix algebra t
 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant x
 
Math cbse samplepaper
Math cbse samplepaperMath cbse samplepaper
Math cbse samplepaper
 
6.2 vertex form
6.2 vertex form6.2 vertex form
6.2 vertex form
 
Ch07 2
Ch07 2Ch07 2
Ch07 2
 
Matrices Slide For B.Sc Students As Well For F.Sc Students
Matrices Slide For B.Sc Students As Well For F.Sc StudentsMatrices Slide For B.Sc Students As Well For F.Sc Students
Matrices Slide For B.Sc Students As Well For F.Sc Students
 
2010 assessment review_homework_1-4-done
2010 assessment review_homework_1-4-done2010 assessment review_homework_1-4-done
2010 assessment review_homework_1-4-done
 
Add Math(F5) Graph Of Function Ii 2.1
Add Math(F5) Graph Of Function Ii 2.1Add Math(F5) Graph Of Function Ii 2.1
Add Math(F5) Graph Of Function Ii 2.1
 
Quadratic equations and function
Quadratic equations and functionQuadratic equations and function
Quadratic equations and function
 
Graphs Of Equations
Graphs Of EquationsGraphs Of Equations
Graphs Of Equations
 
Regression analysis presentation
Regression analysis presentationRegression analysis presentation
Regression analysis presentation
 
Spm Add Maths Formula List Form4
Spm Add Maths Formula List Form4Spm Add Maths Formula List Form4
Spm Add Maths Formula List Form4
 
Use of cramer`s rule in word problem
Use of cramer`s rule in word problem Use of cramer`s rule in word problem
Use of cramer`s rule in word problem
 
Mathematics Secondary 2 Revision
Mathematics Secondary 2 RevisionMathematics Secondary 2 Revision
Mathematics Secondary 2 Revision
 
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsMATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
 
solving quadratic equations by graphing
solving quadratic equations by graphingsolving quadratic equations by graphing
solving quadratic equations by graphing
 
5.1graphquadratics
5.1graphquadratics5.1graphquadratics
5.1graphquadratics
 

Ähnlich wie 1565 matrix01-ppt

Algebra unit 9.1
Algebra unit 9.1Algebra unit 9.1
Algebra unit 9.1Mark Ryder
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrixitutor
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraParthDave57
 
Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)shamimakamili
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Rai University
 
Appendix B Matrices And Determinants
Appendix B  Matrices And DeterminantsAppendix B  Matrices And Determinants
Appendix B Matrices And DeterminantsAngie Miller
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - MathematicsDrishti Bhalla
 
GATE Engineering Maths : System of Linear Equations
GATE Engineering Maths : System of Linear EquationsGATE Engineering Maths : System of Linear Equations
GATE Engineering Maths : System of Linear EquationsParthDave57
 
Matrices - Mathematics
Matrices - MathematicsMatrices - Mathematics
Matrices - MathematicsDrishti Bhalla
 
For the following matrices, determine a cot of basis vectors for the.pdf
For the following matrices, determine a cot of basis vectors for  the.pdfFor the following matrices, determine a cot of basis vectors for  the.pdf
For the following matrices, determine a cot of basis vectors for the.pdfeyebolloptics
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and DeterminantsAarjavPinara
 

Ähnlich wie 1565 matrix01-ppt (20)

3. Matrix Algebra.ppt
3. Matrix Algebra.ppt3. Matrix Algebra.ppt
3. Matrix Algebra.ppt
 
Algebra unit 9.1
Algebra unit 9.1Algebra unit 9.1
Algebra unit 9.1
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix Algebra
 
Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)Business mathametics and statistics b.com ii semester (2)
Business mathametics and statistics b.com ii semester (2)
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Takue
TakueTakue
Takue
 
Lemh104
Lemh104Lemh104
Lemh104
 
Appendix B Matrices And Determinants
Appendix B  Matrices And DeterminantsAppendix B  Matrices And Determinants
Appendix B Matrices And Determinants
 
TABREZ KHAN.ppt
TABREZ KHAN.pptTABREZ KHAN.ppt
TABREZ KHAN.ppt
 
Venn Digram
Venn DigramVenn Digram
Venn Digram
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
 
1560 mathematics for economists
1560 mathematics for economists1560 mathematics for economists
1560 mathematics for economists
 
Matrix
MatrixMatrix
Matrix
 
GATE Engineering Maths : System of Linear Equations
GATE Engineering Maths : System of Linear EquationsGATE Engineering Maths : System of Linear Equations
GATE Engineering Maths : System of Linear Equations
 
Matrices - Mathematics
Matrices - MathematicsMatrices - Mathematics
Matrices - Mathematics
 
For the following matrices, determine a cot of basis vectors for the.pdf
For the following matrices, determine a cot of basis vectors for  the.pdfFor the following matrices, determine a cot of basis vectors for  the.pdf
For the following matrices, determine a cot of basis vectors for the.pdf
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 

Mehr von Dr Fereidoun Dejahang

27 j20 my news punch -dr f dejahang 27-01-2020
27 j20 my news punch -dr f dejahang  27-01-202027 j20 my news punch -dr f dejahang  27-01-2020
27 j20 my news punch -dr f dejahang 27-01-2020Dr Fereidoun Dejahang
 
028 fast-tracking projects & cost overrun
028 fast-tracking projects & cost overrun028 fast-tracking projects & cost overrun
028 fast-tracking projects & cost overrunDr Fereidoun Dejahang
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvementDr Fereidoun Dejahang
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-writeDr Fereidoun Dejahang
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sectorDr Fereidoun Dejahang
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurementDr Fereidoun Dejahang
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projectsDr Fereidoun Dejahang
 

Mehr von Dr Fereidoun Dejahang (20)

27 j20 my news punch -dr f dejahang 27-01-2020
27 j20 my news punch -dr f dejahang  27-01-202027 j20 my news punch -dr f dejahang  27-01-2020
27 j20 my news punch -dr f dejahang 27-01-2020
 
28 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-201928 dej my news punch rev 28-12-2019
28 dej my news punch rev 28-12-2019
 
16 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-201916 fd my news punch rev 16-12-2019
16 fd my news punch rev 16-12-2019
 
029 fast-tracking projects
029 fast-tracking projects029 fast-tracking projects
029 fast-tracking projects
 
028 fast-tracking projects & cost overrun
028 fast-tracking projects & cost overrun028 fast-tracking projects & cost overrun
028 fast-tracking projects & cost overrun
 
027 fast-tracked projects-materials
027 fast-tracked projects-materials027 fast-tracked projects-materials
027 fast-tracked projects-materials
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvement
 
025 enterprise resources management
025 enterprise resources management025 enterprise resources management
025 enterprise resources management
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-write
 
022 a construction productivity (2)
022 a construction productivity (2)022 a construction productivity (2)
022 a construction productivity (2)
 
021 construction productivity (1)
021 construction productivity (1)021 construction productivity (1)
021 construction productivity (1)
 
019 competencies-managers
019 competencies-managers019 competencies-managers
019 competencies-managers
 
018 company productivity
018 company productivity018 company productivity
018 company productivity
 
017 communication
017 communication017 communication
017 communication
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sector
 
015 changes-process model
015 changes-process model015 changes-process model
015 changes-process model
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurement
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projects
 
012 bussiness planning process
012 bussiness planning process012 bussiness planning process
012 bussiness planning process
 
011 business performance management
011 business performance management011 business performance management
011 business performance management
 

Kürzlich hochgeladen

Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 

Kürzlich hochgeladen (20)

Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 

1565 matrix01-ppt

  • 1. Matrix Algebra Basics Pam Perlich Urban Planning 5/6020
  • 3. Matrix A = a11 ,…, a1n a21 ,…, a2n … … … … am1 ,…, amn           = Aij{ } A matrix is any doubly subscripted array of elements arranged in rows and columns.
  • 4. Row Vector [1 x n] matrix [ ] { }jn aaaaA ,,21 =…
  • 6. Square Matrix B = 5 4 7 3 6 1 2 1 3         Same number of rows and columns
  • 8. Identity Matrix I = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1           Square matrix with ones on the diagonal and zeros elsewhere.
  • 9. Transpose Matrix A' = a11 a21 ,…, am1 a12 a22 ,…, am2 … … … … … a1n a2n ,…, amn           Rows become columns and columns become rows
  • 10. Matrix Addition and Subtraction A new matrix C may be defined as the additive combination of matrices A and B where: C = A + B is defined by: Cij{ } = Aij{ } + Bij{ } Note: all three matrices are of the same dimension
  • 11. Addition A = a11 a12 a21 a22     B = b11 b12 b21 b22     C = a11 + b11 a12 + b12 a21 + b21 a22 + b22     If and then
  • 12. Matrix Addition Example A + B = 3 4 5 6     + 1 2 3 4     = 4 6 8 10     = C
  • 13. Matrix Subtraction C = A - B Is defined by Cij{ } = Aij{ } − Bij{ }
  • 14. Matrix Multiplication Matrices A and B have these dimensions: [r x c] and [s x d]
  • 15. Matrix Multiplication Matrices A and B can be multiplied if: [r x c] and [s x d] c = s
  • 16. Matrix Multiplication The resulting matrix will have the dimensions: [r x c] and [s x d] r x d
  • 17. Computation: A x B = C A = a11 a12 a21 a22     B = b11 b12 b13 b21 b22 b23           +++ +++ = 232213212222122121221121 231213112212121121121111 babababababa babababababa C [2 x 2] [2 x 3] [2 x 3]
  • 18. Computation: A x B = C A = 2 3 1 1 1 0         and B = 1 1 1 1 0 2     [3 x 2] [2 x 3] A and B can be multiplied           =           =+=+=+ =+=+=+ =+=+=+ = 111 312 825 12*01*110*01*111*01*1 32*11*110*11*121*11*1 82*31*220*31*251*31*2 C [3 x 3]
  • 19. Computation: A x B = C           =           =+=+=+ =+=+=+ =+=+=+ = 111 312 825 12*01*110*01*111*01*1 32*11*110*11*121*11*1 82*31*220*31*251*31*2 C A = 2 3 1 1 1 0         and B = 1 1 1 1 0 2     [3 x 2] [2 x 3] [3 x 3] Result is 3 x 3
  • 21. Matrix Inversion B −1 B = BB −1 = I Like a reciprocal in scalar math Like the number one in scalar math
  • 22. Linear System of Simultaneous Equations 1st Precinct : x1 + x2 = 6 2nd Precinct : 2x1 + x2 = 9 First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct: 9 arrests - there were twice as many felonies as the first precinct.
  • 23. Solution       =            9 6 * 12 11 2 1 x x       =      3 3 2 1 x x       12 11 Note: Inverse of is       − − 12 11 9 6 * 12 11 * 12 11 * 12 11 2 1             − − =                  − − x x Premultiply both sides by inverse matrix 3 3 * 10 01 2 1       =            x x A square matrix multiplied by its inverse results in the identity matrix. A 2x2 identity matrix multiplied by the 2x1 matrix results in the original 2x1 matrix.
  • 24. aijxj = bi or Ax = b j=1 n ∑ x = A −1 Ax = A −1 b n equations in n variables: unknown values of x can be found using the inverse of matrix A such that General Form
  • 25. Garin-Lowry Model Ax + y = x y = Ix − Ax y = (I − A)x (I − A) −1 y = x The object is to find x given A and y . This is done by solving for x :
  • 26. Matrix Operations in Excel Select the cells in which the answer will appear
  • 27. Matrix Multiplication in Excel 1) Enter “=mmult(“ 2) Select the cells of the first matrix 3) Enter comma “,” 4) Select the cells of the second matrix 5) Enter “)”
  • 28. Matrix Multiplication in Excel Enter these three key strokes at the same time: control shift enter
  • 29. Matrix Inversion in Excel  Follow the same procedure  Select cells in which answer is to be displayed  Enter the formula: =minverse(  Select the cells containing the matrix to be inverted  Close parenthesis – type “)”  Press three keys: Control, shift, enter