SlideShare a Scribd company logo
February 24, Applied Discrete Mathematics 1
Matrix MultiplicationMatrix Multiplication
Let us calculate the complete matrix C:Let us calculate the complete matrix C:










−
−−=
011
500
412
103
A








−=
43
10
12
B










=C
99
88
1515
-2-2
77
1515
2020
-2-2
February 24, Applied Discrete Mathematics 2
Identity MatricesIdentity Matrices
TheThe identity matrix of order nidentity matrix of order n is the nis the n××n matrixn matrix
IInn = [= [δδijij], where], where δδijij = 1 if i = j and= 1 if i = j and δδijij = 0 if i= 0 if i ≠≠ j:j:














=
1...00
...
...
...
0...10
0...01
A
Multiplying an mMultiplying an m××n matrix A by an identity matrix ofn matrix A by an identity matrix of
appropriate size does not change this matrix:appropriate size does not change this matrix:
AIAInn = I= ImmA = AA = A
February 24, Applied Discrete Mathematics 3
Powers and Transposes of MatricesPowers and Transposes of Matrices
TheThe power functionpower function can be defined forcan be defined for squaresquare
matrices. If A is an nmatrices. If A is an n××n matrix, we have:n matrix, we have:
AA00
= I= Inn,,
AArr
= AAA…A= AAA…A (r times the letter A)(r times the letter A)
TheThe transposetranspose of an mof an m××n matrix A = [an matrix A = [aijij], denoted by], denoted by
AAtt
, is the n, is the n××m matrix obtained by interchanging them matrix obtained by interchanging the
rows and columns of A.rows and columns of A.
In other words, if AIn other words, if Att
= [b= [bijij], then b], then bijij = a= ajiji forfor
i = 1, 2, …, n and j = 1, 2, …, m.i = 1, 2, …, n and j = 1, 2, …, m.
February 24, Applied Discrete Mathematics 4
Powers and Transposes of MatricesPowers and Transposes of Matrices
Example:Example:




−
=
411
302t
A








−=
43
10
12
A
A square matrix A is calledA square matrix A is called symmetricsymmetric if A = Aif A = Att
..
Thus A = [aThus A = [aijij] is symmetric if a] is symmetric if aijij = a= ajiji for allfor all
i = 1, 2, …, n and j = 1, 2, …, m.i = 1, 2, …, n and j = 1, 2, …, m.








−
−=
493
921
315
A








=
131
131
131
B
A is symmetric, B is not.A is symmetric, B is not.
February 24, Applied Discrete Mathematics 5
Zero-One MatricesZero-One Matrices
A matrix with entries that are either 0 or 1 is called aA matrix with entries that are either 0 or 1 is called a
zero-one matrixzero-one matrix. Zero-one matrices are often used. Zero-one matrices are often used
like a “table” to represent discrete structures.like a “table” to represent discrete structures.
We can define Boolean operations on the entries inWe can define Boolean operations on the entries in
zero-one matrices:zero-one matrices:
aa bb aa∧∧bb
00 00 00
00 11 00
11 00 00
11 11 11
aa bb aa∨∨bb
00 00 00
00 11 11
11 00 11
11 11 11
February 24, Applied Discrete Mathematics 6
Zero-One MatricesZero-One Matrices
Let A = [aLet A = [aijij] and B = [b] and B = [bijij] be m] be m××n zero-one matrices.n zero-one matrices.
Then theThen the joinjoin of A and B is the zero-one matrix withof A and B is the zero-one matrix with
(i, j)th entry a(i, j)th entry aijij ∨∨ bbijij. The join of A and B is denoted by. The join of A and B is denoted by
AA ∨∨ B.B.
TheThe meetmeet of A and B is the zero-one matrix with (i,of A and B is the zero-one matrix with (i,
j)th entry aj)th entry aijij ∧∧ bbijij. The meet of A and B is denoted by A. The meet of A and B is denoted by A
∧∧ B.B.
February 24, Applied Discrete Mathematics 7
Zero-One MatricesZero-One Matrices
Example:Example:








=
01
10
11
A








=
00
11
10
B
Join:Join:








=








∨∨
∨∨
∨∨
=∨
01
11
11
0001
1110
1101
BA
Meet:Meet:








=








∧∧
∧∧
∧∧
=∧
00
10
10
0001
1110
1101
BA
February 24, Applied Discrete Mathematics 8
Zero-One MatricesZero-One Matrices
Let A = [aLet A = [aijij] be an m] be an m××k zero-one matrix andk zero-one matrix and
B = [bB = [bijij] be a k] be a k××n zero-one matrix.n zero-one matrix.
Then theThen the Boolean productBoolean product of A and B, denoted byof A and B, denoted by
AAοοB, is the mB, is the m××n matrix with (i, j)th entry [cn matrix with (i, j)th entry [cijij], where], where
ccijij = (a= (ai1i1 ∧∧ bb1j1j)) ∨∨ (a(ai2i2 ∧∧ bb2i2i)) ∨∨ …… ∨∨ (a(aikik ∧∧ bbkjkj).).
Note that the actual Boolean product symbol has aNote that the actual Boolean product symbol has a
dot in its center.dot in its center.
Basically, Boolean multiplication works like theBasically, Boolean multiplication works like the
multiplication of matrices, but with computingmultiplication of matrices, but with computing ∧∧
instead of the product andinstead of the product and ∨∨ instead of the sum.instead of the sum.
February 24, Applied Discrete Mathematics 9
Zero-One MatricesZero-One Matrices
Example:Example:



=
11
01A



=
10
10B



=



∧∨∧∧∨∧
∧∨∧∧∨∧
=
10
10
)11()11()01()01(
)10()11()00()01(
BA
February 24, Applied Discrete Mathematics 10
Zero-One MatricesZero-One Matrices
Let A be a square zero-one matrix and r be a positiveLet A be a square zero-one matrix and r be a positive
integer.integer.
TheThe r-th Boolean powerr-th Boolean power of A is the Boolean productof A is the Boolean product
of r factors of A. The r-th Boolean power of A isof r factors of A. The r-th Boolean power of A is
denoted by Adenoted by A[r][r]
..
AA[0][0]
= I= Inn,,
AA[r][r]
= A= AοοAAοο……οοAA (r times the letter A)(r times the letter A)

More Related Content

What's hot

MATEMATIK SEM 3 TRANSFORMASI
MATEMATIK SEM 3 TRANSFORMASIMATEMATIK SEM 3 TRANSFORMASI
MATEMATIK SEM 3 TRANSFORMASI
Fatimah Abdul Khalid
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
Hazel Joy Chong
 
An introdcution to complex numbers jcw
An introdcution to complex numbers jcwAn introdcution to complex numbers jcw
An introdcution to complex numbers jcw
jenniech
 
ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)
CrackDSE
 
ISI MSQE Entrance Question Paper (2011)
ISI MSQE Entrance Question Paper (2011)ISI MSQE Entrance Question Paper (2011)
ISI MSQE Entrance Question Paper (2011)
CrackDSE
 
Lesson 3 argument polar form of a complex number
Lesson 3 argument polar form of a complex numberLesson 3 argument polar form of a complex number
Lesson 3 argument polar form of a complex number
jenniech
 
Matrices and determinants assignment
Matrices and determinants assignmentMatrices and determinants assignment
Matrices and determinants assignment
KarunaGupta1982
 
ISI MSQE Entrance Question Paper (2013)
ISI MSQE Entrance Question Paper (2013)ISI MSQE Entrance Question Paper (2013)
ISI MSQE Entrance Question Paper (2013)
CrackDSE
 
ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)
CrackDSE
 
PPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPU
PPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPUPPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPU
PPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPU
RAMBABU SIRIPURAPU
 
Hsc commerce-2014-march-maths1
Hsc commerce-2014-march-maths1Hsc commerce-2014-march-maths1
Hsc commerce-2014-march-maths1
manoj yadav
 
Cartesian product of two sets
Cartesian product of two setsCartesian product of two sets
Cartesian product of two sets
Janak Singh saud
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
CrackDSE
 
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
 
ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)
CrackDSE
 
Sample paper class XII MATHEMATICS
Sample paper class XII MATHEMATICSSample paper class XII MATHEMATICS
Sample paper class XII MATHEMATICS
KarunaGupta1982
 
Algebra of complex numbers
Algebra of complex numbersAlgebra of complex numbers
Algebra of complex numbers
PalakGupta171
 
11.2 graphing linear equations in two variables
11.2 graphing linear equations in two variables11.2 graphing linear equations in two variables
11.2 graphing linear equations in two variables
GlenSchlee
 
Determinantes 1
Determinantes 1Determinantes 1
Determinantes 1
KalculosOnline
 

What's hot (20)

MATEMATIK SEM 3 TRANSFORMASI
MATEMATIK SEM 3 TRANSFORMASIMATEMATIK SEM 3 TRANSFORMASI
MATEMATIK SEM 3 TRANSFORMASI
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
 
An introdcution to complex numbers jcw
An introdcution to complex numbers jcwAn introdcution to complex numbers jcw
An introdcution to complex numbers jcw
 
ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)
 
ISI MSQE Entrance Question Paper (2011)
ISI MSQE Entrance Question Paper (2011)ISI MSQE Entrance Question Paper (2011)
ISI MSQE Entrance Question Paper (2011)
 
Lesson 3 argument polar form of a complex number
Lesson 3 argument polar form of a complex numberLesson 3 argument polar form of a complex number
Lesson 3 argument polar form of a complex number
 
Matrices and determinants assignment
Matrices and determinants assignmentMatrices and determinants assignment
Matrices and determinants assignment
 
ISI MSQE Entrance Question Paper (2013)
ISI MSQE Entrance Question Paper (2013)ISI MSQE Entrance Question Paper (2013)
ISI MSQE Entrance Question Paper (2013)
 
ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)
 
Activity 02
Activity 02Activity 02
Activity 02
 
PPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPU
PPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPUPPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPU
PPTs FOR LINEAR EQUATIONS IN TWO VARIABLES BY RAMBABU SIRIPURAPU
 
Hsc commerce-2014-march-maths1
Hsc commerce-2014-march-maths1Hsc commerce-2014-march-maths1
Hsc commerce-2014-march-maths1
 
Cartesian product of two sets
Cartesian product of two setsCartesian product of two sets
Cartesian product of two sets
 
ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)ISI MSQE Entrance Question Paper (2008)
ISI MSQE Entrance Question Paper (2008)
 
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
 
ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)ISI MSQE Entrance Question Paper (2010)
ISI MSQE Entrance Question Paper (2010)
 
Sample paper class XII MATHEMATICS
Sample paper class XII MATHEMATICSSample paper class XII MATHEMATICS
Sample paper class XII MATHEMATICS
 
Algebra of complex numbers
Algebra of complex numbersAlgebra of complex numbers
Algebra of complex numbers
 
11.2 graphing linear equations in two variables
11.2 graphing linear equations in two variables11.2 graphing linear equations in two variables
11.2 graphing linear equations in two variables
 
Determinantes 1
Determinantes 1Determinantes 1
Determinantes 1
 

Viewers also liked

Ciencianueva2
Ciencianueva2Ciencianueva2
Ciencianueva2
Diego Ferraro
 
胚胎著床之窗 楊偉勛
胚胎著床之窗         楊偉勛胚胎著床之窗         楊偉勛
胚胎著床之窗 楊偉勛鋒博 蔡
 
6 celebrities with law degrees
6 celebrities with law degrees6 celebrities with law degrees
6 celebrities with law degrees
Angelmurray
 
Grammar hk1 lop 11(80cuon)
Grammar hk1 lop 11(80cuon)Grammar hk1 lop 11(80cuon)
Grammar hk1 lop 11(80cuon)
caotoc72
 
Donald trump
Donald trumpDonald trump
Donald trump
Merp22
 

Viewers also liked (8)

Ciencianueva2
Ciencianueva2Ciencianueva2
Ciencianueva2
 
胚胎著床之窗 楊偉勛
胚胎著床之窗         楊偉勛胚胎著床之窗         楊偉勛
胚胎著床之窗 楊偉勛
 
6 celebrities with law degrees
6 celebrities with law degrees6 celebrities with law degrees
6 celebrities with law degrees
 
Produced by convert-jpg-to-pdf.net
Produced by convert-jpg-to-pdf.netProduced by convert-jpg-to-pdf.net
Produced by convert-jpg-to-pdf.net
 
Grammar hk1 lop 11(80cuon)
Grammar hk1 lop 11(80cuon)Grammar hk1 lop 11(80cuon)
Grammar hk1 lop 11(80cuon)
 
S.o iuras
S.o iurasS.o iuras
S.o iuras
 
Pirataria
PiratariaPirataria
Pirataria
 
Donald trump
Donald trumpDonald trump
Donald trump
 

Similar to Per5_matrix multiplication

CMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: MatricesCMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: Matrices
allyn joy calcaben
 
presentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptxpresentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptx
AhmadSajjad34
 
ahmad ppt discreet.pptx
ahmad ppt discreet.pptxahmad ppt discreet.pptx
ahmad ppt discreet.pptx
AhmadSajjad34
 
Matrix Algebra
Matrix Algebra Matrix Algebra
Matrix Algebra
BastabChakraborty1
 
Fin500J_MatrixAlgebra_2011.ppt
Fin500J_MatrixAlgebra_2011.pptFin500J_MatrixAlgebra_2011.ppt
Fin500J_MatrixAlgebra_2011.ppt
AMNA487167
 
chap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptchap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.ppt
adonyasdd
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
AarjavPinara
 
Matrices 1.pdf
Matrices 1.pdfMatrices 1.pdf
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
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
Birinder Singh Gulati
 
Matrices and determinants_01
Matrices and determinants_01Matrices and determinants_01
Matrices and determinants_01
nitishguptamaps
 
Matrices & determinants
Matrices & determinantsMatrices & determinants
Matrices & determinantsindu thakur
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
shahzadebaujiti
 
1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
Dr Fereidoun Dejahang
 
1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems
Ceni Babaoglu, PhD
 
Matrices & Determinants.pdf
Matrices & Determinants.pdfMatrices & Determinants.pdf
Matrices & Determinants.pdf
SUCCESSSCIENCEACADEM
 
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
alproelearning
 

Similar to Per5_matrix multiplication (20)

CMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: MatricesCMSC 56 | Lecture 17: Matrices
CMSC 56 | Lecture 17: Matrices
 
presentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptxpresentationonmatrix-160801150449 (1).pptx
presentationonmatrix-160801150449 (1).pptx
 
ahmad ppt discreet.pptx
ahmad ppt discreet.pptxahmad ppt discreet.pptx
ahmad ppt discreet.pptx
 
Matrix Algebra
Matrix Algebra Matrix Algebra
Matrix Algebra
 
Fin500J_MatrixAlgebra_2011.ppt
Fin500J_MatrixAlgebra_2011.pptFin500J_MatrixAlgebra_2011.ppt
Fin500J_MatrixAlgebra_2011.ppt
 
chap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.pptchap01987654etghujh76687976jgtfhhhgve.ppt
chap01987654etghujh76687976jgtfhhhgve.ppt
 
Matrix and Determinants
Matrix and DeterminantsMatrix and Determinants
Matrix and Determinants
 
Matrices 1.pdf
Matrices 1.pdfMatrices 1.pdf
Matrices 1.pdf
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
 
Matrices and determinants_01
Matrices and determinants_01Matrices and determinants_01
Matrices and determinants_01
 
Matrices & determinants
Matrices & determinantsMatrices & determinants
Matrices & determinants
 
7 4
7 47 4
7 4
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
1565 matrix01-ppt
1565 matrix01-ppt1565 matrix01-ppt
1565 matrix01-ppt
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems1. Linear Algebra for Machine Learning: Linear Systems
1. Linear Algebra for Machine Learning: Linear Systems
 
Matrices & Determinants.pdf
Matrices & Determinants.pdfMatrices & Determinants.pdf
Matrices & Determinants.pdf
 
Ch07 2
Ch07 2Ch07 2
Ch07 2
 
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge9.matrices and transformation   Further Mathematics Zimbabwe Zimsec Cambridge
9.matrices and transformation Further Mathematics Zimbabwe Zimsec Cambridge
 

More from Evert Sandye Taasiringan

Per4 induction
Per4 inductionPer4 induction
Per4 induction
Evert Sandye Taasiringan
 
Per1 himpunan&fungsiumn
Per1 himpunan&fungsiumnPer1 himpunan&fungsiumn
Per1 himpunan&fungsiumn
Evert Sandye Taasiringan
 
Per1 himpunan umn
Per1 himpunan umnPer1 himpunan umn
Per1 himpunan umn
Evert Sandye Taasiringan
 
Per7 kombinasi&permutasi
Per7 kombinasi&permutasiPer7 kombinasi&permutasi
Per7 kombinasi&permutasi
Evert Sandye Taasiringan
 
Per3 logika&pembuktian
Per3 logika&pembuktianPer3 logika&pembuktian
Per3 logika&pembuktian
Evert Sandye Taasiringan
 
Per1 pendahuluan umn
Per1 pendahuluan umnPer1 pendahuluan umn
Per1 pendahuluan umn
Evert Sandye Taasiringan
 
Pengantar matematikadiskrit
Pengantar matematikadiskritPengantar matematikadiskrit
Pengantar matematikadiskrit
Evert Sandye Taasiringan
 
Per2 logika umn
Per2 logika umnPer2 logika umn
Per2 logika umn
Evert Sandye Taasiringan
 
Per3 logika
Per3 logikaPer3 logika
Pengantar matematika diskrit
Pengantar matematika diskritPengantar matematika diskrit
Pengantar matematika diskrit
Evert Sandye Taasiringan
 
Per3 pembuktian
Per3 pembuktianPer3 pembuktian
Per3 pembuktian
Evert Sandye Taasiringan
 
Per4 function1
Per4 function1Per4 function1
Per4 function1
Evert Sandye Taasiringan
 
Per4 function2
Per4 function2Per4 function2
Per4 function2
Evert Sandye Taasiringan
 
Per5 relasi
Per5 relasiPer5 relasi
Per5 sequences
Per5 sequencesPer5 sequences
Per5 sequences
Evert Sandye Taasiringan
 
Per6 basis_Representations Of Integers
Per6 basis_Representations Of IntegersPer6 basis_Representations Of Integers
Per6 basis_Representations Of Integers
Evert Sandye Taasiringan
 
Pertemuan 5_Relation Matriks_01 (17)
Pertemuan 5_Relation Matriks_01 (17)Pertemuan 5_Relation Matriks_01 (17)
Pertemuan 5_Relation Matriks_01 (17)
Evert Sandye Taasiringan
 
Per6 basis2_NUMBER SYSTEMS
Per6 basis2_NUMBER SYSTEMSPer6 basis2_NUMBER SYSTEMS
Per6 basis2_NUMBER SYSTEMS
Evert Sandye Taasiringan
 
Per6dm0910
Per6dm0910Per6dm0910
Contoh Tugas Kuliah Matematika Diskrit
Contoh Tugas Kuliah Matematika DiskritContoh Tugas Kuliah Matematika Diskrit
Contoh Tugas Kuliah Matematika Diskrit
Evert Sandye Taasiringan
 

More from Evert Sandye Taasiringan (20)

Per4 induction
Per4 inductionPer4 induction
Per4 induction
 
Per1 himpunan&fungsiumn
Per1 himpunan&fungsiumnPer1 himpunan&fungsiumn
Per1 himpunan&fungsiumn
 
Per1 himpunan umn
Per1 himpunan umnPer1 himpunan umn
Per1 himpunan umn
 
Per7 kombinasi&permutasi
Per7 kombinasi&permutasiPer7 kombinasi&permutasi
Per7 kombinasi&permutasi
 
Per3 logika&pembuktian
Per3 logika&pembuktianPer3 logika&pembuktian
Per3 logika&pembuktian
 
Per1 pendahuluan umn
Per1 pendahuluan umnPer1 pendahuluan umn
Per1 pendahuluan umn
 
Pengantar matematikadiskrit
Pengantar matematikadiskritPengantar matematikadiskrit
Pengantar matematikadiskrit
 
Per2 logika umn
Per2 logika umnPer2 logika umn
Per2 logika umn
 
Per3 logika
Per3 logikaPer3 logika
Per3 logika
 
Pengantar matematika diskrit
Pengantar matematika diskritPengantar matematika diskrit
Pengantar matematika diskrit
 
Per3 pembuktian
Per3 pembuktianPer3 pembuktian
Per3 pembuktian
 
Per4 function1
Per4 function1Per4 function1
Per4 function1
 
Per4 function2
Per4 function2Per4 function2
Per4 function2
 
Per5 relasi
Per5 relasiPer5 relasi
Per5 relasi
 
Per5 sequences
Per5 sequencesPer5 sequences
Per5 sequences
 
Per6 basis_Representations Of Integers
Per6 basis_Representations Of IntegersPer6 basis_Representations Of Integers
Per6 basis_Representations Of Integers
 
Pertemuan 5_Relation Matriks_01 (17)
Pertemuan 5_Relation Matriks_01 (17)Pertemuan 5_Relation Matriks_01 (17)
Pertemuan 5_Relation Matriks_01 (17)
 
Per6 basis2_NUMBER SYSTEMS
Per6 basis2_NUMBER SYSTEMSPer6 basis2_NUMBER SYSTEMS
Per6 basis2_NUMBER SYSTEMS
 
Per6dm0910
Per6dm0910Per6dm0910
Per6dm0910
 
Contoh Tugas Kuliah Matematika Diskrit
Contoh Tugas Kuliah Matematika DiskritContoh Tugas Kuliah Matematika Diskrit
Contoh Tugas Kuliah Matematika Diskrit
 

Recently uploaded

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

Per5_matrix multiplication

  • 1. February 24, Applied Discrete Mathematics 1 Matrix MultiplicationMatrix Multiplication Let us calculate the complete matrix C:Let us calculate the complete matrix C:           − −−= 011 500 412 103 A         −= 43 10 12 B           =C 99 88 1515 -2-2 77 1515 2020 -2-2
  • 2. February 24, Applied Discrete Mathematics 2 Identity MatricesIdentity Matrices TheThe identity matrix of order nidentity matrix of order n is the nis the n××n matrixn matrix IInn = [= [δδijij], where], where δδijij = 1 if i = j and= 1 if i = j and δδijij = 0 if i= 0 if i ≠≠ j:j:               = 1...00 ... ... ... 0...10 0...01 A Multiplying an mMultiplying an m××n matrix A by an identity matrix ofn matrix A by an identity matrix of appropriate size does not change this matrix:appropriate size does not change this matrix: AIAInn = I= ImmA = AA = A
  • 3. February 24, Applied Discrete Mathematics 3 Powers and Transposes of MatricesPowers and Transposes of Matrices TheThe power functionpower function can be defined forcan be defined for squaresquare matrices. If A is an nmatrices. If A is an n××n matrix, we have:n matrix, we have: AA00 = I= Inn,, AArr = AAA…A= AAA…A (r times the letter A)(r times the letter A) TheThe transposetranspose of an mof an m××n matrix A = [an matrix A = [aijij], denoted by], denoted by AAtt , is the n, is the n××m matrix obtained by interchanging them matrix obtained by interchanging the rows and columns of A.rows and columns of A. In other words, if AIn other words, if Att = [b= [bijij], then b], then bijij = a= ajiji forfor i = 1, 2, …, n and j = 1, 2, …, m.i = 1, 2, …, n and j = 1, 2, …, m.
  • 4. February 24, Applied Discrete Mathematics 4 Powers and Transposes of MatricesPowers and Transposes of Matrices Example:Example:     − = 411 302t A         −= 43 10 12 A A square matrix A is calledA square matrix A is called symmetricsymmetric if A = Aif A = Att .. Thus A = [aThus A = [aijij] is symmetric if a] is symmetric if aijij = a= ajiji for allfor all i = 1, 2, …, n and j = 1, 2, …, m.i = 1, 2, …, n and j = 1, 2, …, m.         − −= 493 921 315 A         = 131 131 131 B A is symmetric, B is not.A is symmetric, B is not.
  • 5. February 24, Applied Discrete Mathematics 5 Zero-One MatricesZero-One Matrices A matrix with entries that are either 0 or 1 is called aA matrix with entries that are either 0 or 1 is called a zero-one matrixzero-one matrix. Zero-one matrices are often used. Zero-one matrices are often used like a “table” to represent discrete structures.like a “table” to represent discrete structures. We can define Boolean operations on the entries inWe can define Boolean operations on the entries in zero-one matrices:zero-one matrices: aa bb aa∧∧bb 00 00 00 00 11 00 11 00 00 11 11 11 aa bb aa∨∨bb 00 00 00 00 11 11 11 00 11 11 11 11
  • 6. February 24, Applied Discrete Mathematics 6 Zero-One MatricesZero-One Matrices Let A = [aLet A = [aijij] and B = [b] and B = [bijij] be m] be m××n zero-one matrices.n zero-one matrices. Then theThen the joinjoin of A and B is the zero-one matrix withof A and B is the zero-one matrix with (i, j)th entry a(i, j)th entry aijij ∨∨ bbijij. The join of A and B is denoted by. The join of A and B is denoted by AA ∨∨ B.B. TheThe meetmeet of A and B is the zero-one matrix with (i,of A and B is the zero-one matrix with (i, j)th entry aj)th entry aijij ∧∧ bbijij. The meet of A and B is denoted by A. The meet of A and B is denoted by A ∧∧ B.B.
  • 7. February 24, Applied Discrete Mathematics 7 Zero-One MatricesZero-One Matrices Example:Example:         = 01 10 11 A         = 00 11 10 B Join:Join:         =         ∨∨ ∨∨ ∨∨ =∨ 01 11 11 0001 1110 1101 BA Meet:Meet:         =         ∧∧ ∧∧ ∧∧ =∧ 00 10 10 0001 1110 1101 BA
  • 8. February 24, Applied Discrete Mathematics 8 Zero-One MatricesZero-One Matrices Let A = [aLet A = [aijij] be an m] be an m××k zero-one matrix andk zero-one matrix and B = [bB = [bijij] be a k] be a k××n zero-one matrix.n zero-one matrix. Then theThen the Boolean productBoolean product of A and B, denoted byof A and B, denoted by AAοοB, is the mB, is the m××n matrix with (i, j)th entry [cn matrix with (i, j)th entry [cijij], where], where ccijij = (a= (ai1i1 ∧∧ bb1j1j)) ∨∨ (a(ai2i2 ∧∧ bb2i2i)) ∨∨ …… ∨∨ (a(aikik ∧∧ bbkjkj).). Note that the actual Boolean product symbol has aNote that the actual Boolean product symbol has a dot in its center.dot in its center. Basically, Boolean multiplication works like theBasically, Boolean multiplication works like the multiplication of matrices, but with computingmultiplication of matrices, but with computing ∧∧ instead of the product andinstead of the product and ∨∨ instead of the sum.instead of the sum.
  • 9. February 24, Applied Discrete Mathematics 9 Zero-One MatricesZero-One Matrices Example:Example:    = 11 01A    = 10 10B    =    ∧∨∧∧∨∧ ∧∨∧∧∨∧ = 10 10 )11()11()01()01( )10()11()00()01( BA
  • 10. February 24, Applied Discrete Mathematics 10 Zero-One MatricesZero-One Matrices Let A be a square zero-one matrix and r be a positiveLet A be a square zero-one matrix and r be a positive integer.integer. TheThe r-th Boolean powerr-th Boolean power of A is the Boolean productof A is the Boolean product of r factors of A. The r-th Boolean power of A isof r factors of A. The r-th Boolean power of A is denoted by Adenoted by A[r][r] .. AA[0][0] = I= Inn,, AA[r][r] = A= AοοAAοο……οοAA (r times the letter A)(r times the letter A)