SlideShare a Scribd company logo
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

More Related Content

What's hot

Algebra formulas
Algebra formulasAlgebra formulas
Algebra formulas
imran 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.1
roszelan
 
Set concepts
Set conceptsSet concepts
Set concepts
AarjavPinara
 
6.3 matrix algebra t
6.3 matrix algebra t6.3 matrix algebra t
6.3 matrix algebra t
math260
 
6.5 determinant x
6.5 determinant x6.5 determinant x
6.5 determinant x
math260
 
Math cbse samplepaper
Math cbse samplepaperMath cbse samplepaper
6.2 vertex form
6.2 vertex form6.2 vertex form
6.2 vertex form
hisema01
 
Ch07 2
Ch07 2Ch07 2
Ch07 2
Rendy Robert
 
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
Abu 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-done
jendailey
 
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
roszelan
 
Quadratic equations and function
Quadratic equations and functionQuadratic equations and function
Quadratic equations and function
Melchor Cachuela
 
Graphs Of Equations
Graphs Of EquationsGraphs Of Equations
Graphs Of Equations
missing island
 
Regression analysis presentation
Regression analysis presentationRegression analysis presentation
Regression analysis presentation
MuhammadFaisal733
 
Spm Add Maths Formula List Form4
Spm Add Maths Formula List Form4Spm Add Maths Formula List Form4
Spm Add Maths Formula List Form4
guest76f49d
 
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 Revision
missing 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 Systems
Shameer Ahmed Koya
 
solving quadratic equations by graphing
solving quadratic equations by graphingsolving quadratic equations by graphing
solving quadratic equations by graphing
Hind Al Awadi
 
5.1graphquadratics
5.1graphquadratics5.1graphquadratics
5.1graphquadratics
vhiggins1
 

What's hot (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
 

Similar to 1565 matrix01-ppt

3. Matrix Algebra.ppt
3. Matrix Algebra.ppt3. Matrix Algebra.ppt
3. Matrix Algebra.ppt
Freelancers Union
 
Algebra unit 9.1
Algebra unit 9.1Algebra unit 9.1
Algebra unit 9.1
Mark Ryder
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
Arjuna Senanayake
 
Linear Algebra and Matrix
Linear Algebra and MatrixLinear Algebra and Matrix
Linear Algebra and Matrix
itutor
 
GATE Preparation : Matrix Algebra
GATE Preparation : Matrix AlgebraGATE Preparation : Matrix Algebra
GATE Preparation : Matrix Algebra
ParthDave57
 
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
 
Takue
TakueTakue
Lemh104
Lemh104Lemh104
Appendix B Matrices And Determinants
Appendix B  Matrices And DeterminantsAppendix B  Matrices And Determinants
Appendix B Matrices And Determinants
Angie Miller
 
TABREZ KHAN.ppt
TABREZ KHAN.pptTABREZ KHAN.ppt
TABREZ KHAN.ppt
TabrezKhan733764
 
Venn Digram
Venn DigramVenn Digram
Venn Digram
Ayfar Hussein
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
Drishti Bhalla
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
Birinder Singh Gulati
 
1560 mathematics for economists
1560 mathematics for economists1560 mathematics for economists
1560 mathematics for economists
Dr Fereidoun Dejahang
 
Matrix
MatrixMatrix
Matrix
Seyid Kadher
 
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
ParthDave57
 
Matrices - Mathematics
Matrices - MathematicsMatrices - Mathematics
Matrices - Mathematics
Drishti 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.pdf
eyebolloptics
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
 

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

More from 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-2020
Dr Fereidoun Dejahang
 
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
Dr Fereidoun Dejahang
 
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
Dr Fereidoun Dejahang
 
029 fast-tracking projects
029 fast-tracking projects029 fast-tracking projects
029 fast-tracking projects
Dr Fereidoun Dejahang
 
028 fast-tracking projects & cost overrun
028 fast-tracking projects & cost overrun028 fast-tracking projects & cost overrun
028 fast-tracking projects & cost overrun
Dr Fereidoun Dejahang
 
027 fast-tracked projects-materials
027 fast-tracked projects-materials027 fast-tracked projects-materials
027 fast-tracked projects-materials
Dr Fereidoun Dejahang
 
026 fast react-productivity improvement
026 fast react-productivity improvement026 fast react-productivity improvement
026 fast react-productivity improvement
Dr Fereidoun Dejahang
 
025 enterprise resources management
025 enterprise resources management025 enterprise resources management
025 enterprise resources management
Dr Fereidoun Dejahang
 
022 b construction productivity-write
022 b construction productivity-write022 b construction productivity-write
022 b construction productivity-write
Dr Fereidoun Dejahang
 
022 a construction productivity (2)
022 a construction productivity (2)022 a construction productivity (2)
022 a construction productivity (2)
Dr Fereidoun Dejahang
 
021 construction productivity (1)
021 construction productivity (1)021 construction productivity (1)
021 construction productivity (1)
Dr Fereidoun Dejahang
 
019 competencies-managers
019 competencies-managers019 competencies-managers
019 competencies-managers
Dr Fereidoun Dejahang
 
018 company productivity
018 company productivity018 company productivity
018 company productivity
Dr Fereidoun Dejahang
 
017 communication
017 communication017 communication
017 communication
Dr Fereidoun Dejahang
 
016 communication in construction sector
016 communication in construction sector016 communication in construction sector
016 communication in construction sector
Dr Fereidoun Dejahang
 
015 changes-process model
015 changes-process model015 changes-process model
015 changes-process model
Dr Fereidoun Dejahang
 
014 changes-cost overrun measurement
014 changes-cost overrun measurement014 changes-cost overrun measurement
014 changes-cost overrun measurement
Dr Fereidoun Dejahang
 
013 changes in construction projects
013 changes in construction projects013 changes in construction projects
013 changes in construction projects
Dr Fereidoun Dejahang
 
012 bussiness planning process
012 bussiness planning process012 bussiness planning process
012 bussiness planning process
Dr Fereidoun Dejahang
 
011 business performance management
011 business performance management011 business performance management
011 business performance management
Dr Fereidoun Dejahang
 

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

Recently uploaded

NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 

Recently uploaded (20)

NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 

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