Discrete Mathematics I For Se: Emath 1105
Discrete Mathematics I For Se: Emath 1105
MATHEMATICS I
for SE
MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
MATRICES
2 1 2 1 2 1
= % %
−1 0 −1 0 −1 0
2 1 3 2
= %
−1 0 −2 −1
4 3
=
−3 −2
EMath 1105 – DISCRETE MATHEMATICS I for SE
3 0 1
C= 0 2 −1
1 1 −2
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
Ø A matrix all of whose entries are either 0 or 1 is called a zero–one matrix.
Ø Algorithms using these structures are based on Boolean arithmetic with
zero–one matrices.
Ø This arithmetic is based on the Boolean operations ∧ (meet/AND) and ∨
(join/OR), which operate on pairs of bits, defined by
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
ZERO-ONE MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
Exercise. Perform the given operations below.
EMath 1105 – DISCRETE MATHEMATICS I for SE
ZERO-ONE MATRICES
Answers:
EMath 1105 – DISCRETE MATHEMATICS I for SE
Inverse of a 2 x 2 Matrix
• Exchange elements of main diagonal
• Change sign in elements off main diagonal
• Divide resulting matrix by the determinant
éa b ù
A=ê ú
ë c d û
EMath 1105 – DISCRETE MATHEMATICS I for SE
Inverse of a 2 x 2 Matrix
Example
EMath 1105 – DISCRETE MATHEMATICS I for SE
Practice Exercises
1. Find A + B for each of the following.
EMath 1105 – DISCRETE MATHEMATICS I for SE
Practice Exercises
2. Find AB for each of the following.
EMath 1105 – DISCRETE MATHEMATICS I for SE
Practice Exercises
3. Find a matrix A that would satisfy the equation.
EMath 1105 – DISCRETE MATHEMATICS I for SE
REFERENCE:
Rosen, K. H. (2012). Discrete Mathematics and Its Applications, 8th
Edition: McGrawHill