2.6 Matrices Flashcards
Matrix:
what are they?
when are they equal?
A matrix is a rectangular array of numbers. A matrix with m rows and n columns is called an
m × n matrix.
The plural of matrix is matrices.
A matrix with the same number of rows as
columns is called square.
Two matrices are equal if they have the same number of rows and the same number of columns and the corresponding entries in every position are equal.
Some terminology about matrices:
Let m and n be positive integers and let
A =
⎡ a11 a12 a1n ⎤
⎢ a21 a22 a2n ⎥
⎢ ⋅⋅ ⋅ ⎥
⎢ ⋅⋅ ⋅ ⎥
⎢ ⋅⋅ ⋅ ⎥
⎢ am1 am2 . amn ⎥
⎣ ⎦
The ith row of A is the 1 × n matrix [ai1, ai2, … , ain]. The jth column of A is the m × 1 matrix
⎡ a1j ⎤
⎢ a2j ⎢
⎢ . ⎢
⎢ ⎥
⎢ amj ⎥
⎣ ⎦
The (i, j)th element or entry of A is the element aij, that is, the number in the ith row and
jth column of A.
A convenient shorthand notation for expressing the matrix A is to write
A = [aij],
which indicates that A is the matrix with its (i, j)th element equal to aij.
Matrix Addition:
Let A = [aij] and B = [bij] be m × n matrices. The sum of A and B, denoted by A + B, is
the m × n matrix that has aij + bij as its (i, j)th element. In other words, A + B = [aij + bij].
Matrices of different sizes cannot be added, because such matrices will not both have
entries in some of their positions.
Matrix products:
A product of two matrices is defined only when the number of columns in the first matrix equals the number of rows of the second matrix.
Product not defined otherwise.
Let A be an m × k matrix and B be a k × n matrix. The product of A and B, denoted by AB, is
the m × n matrix with its (i, j)th entry equal to the sum of the products of the corresponding
elements from the ith row of A and the jth column of B. In other words, if AB = [cij], then
cij = ai1b1j + ai2b2j + ⋯ + aikbkj.
Associativity of Matrix multiplication:
Matrix multiplication is associative, as can easily be proved using the associativity
of addition and multiplication of real numbers
Matrix Commutativity.
Its not.
In general, suppose that A is an m × n matrix and B is an r × s matrix.
If n = r, AB defined. If s = m, BA defined.
Even when AB and BA are both defined,
they will not be the same size unless m = n = r = s. Hence, if both AB and BA
are defined and are the same size,
then both A and B must be square and of the same size.
Furthermore, even with A and B both n × n matrices, AB and BA are not necessarily equal.
Identity Matrix:
The identity matrix of order n is the n × n matrix
In = [𝛿ij], (the Kronecker delta) where
𝛿ij = 1 if i = j and 𝛿ij = 0 if i ≠ j.
page 190, to see matrix.
Matrix multiplied by identity Matrix:
Multiplying a matrix by an appropriately sized identity matrix does not change this matrix. In
other words, when A is an m × n matrix, we have
AIn = ImA = A.
Power of Matrices:
Powers of square matrices can be defined because matrix multiplication is associative. When A
is an n × n matrix, we have
A^0 = In, A^r = AAA ⋯ A ( A written r times).
Transpose of a matrix:
Let A = [aij] be an m × n matrix. The transpose of A, denoted by A^t,
is the n × m matrix
obtained by interchanging the rows and columns of A. In other words, if At = [bij], then
bij = aji for i = 1, 2, … , n and j = 1, 2, … , m.
ij th entry for A is ji the entry for its transpose.
Symmetric Matrix:
A square matrix A is called symmetric if A = A^t.
Thus, A = [aij] is symmetric if aij = aji for
all i and j with 1 ≤ i ≤ n and 1 ≤ j ≤ n.
Note that a matrix is symmetric if and only if it is square and it is symmetric with respect to its main diagonal (which consists of entries that are in the ith row and ith column for some i).
Zero One Matrix.
A matrix all of whose entries are either 0 or 1 is called a zero–one matrix.
Join of matrices A and B
Let A = [aij] and B = [bij] be m × n zero–one matrices. Then the join of A and B is the zero-one matrix with (i, j)th entry aij ∨ bij. The join of A and B is denoted by A ∨ B.
Join Or , Junior, Joiner.
Meet of matrice A and B
Let A = [aij] and B = [bij] be m × n zero–one matrices.
The meet of
A and B is the zero–one matrix with (i, j)th entry aij ∧ bij. The meet of A and B is denoted
by A ∧ B.
Meet and Greet
Boolean Product:
Let A = [aij] be an m × k zero–one matrix and B = [bij] be a k × n zero–one matrix. Then
the Boolean product of A and B, denoted by A ⊙ B, is the m × n matrix with (i, j)th entry cij
where
cij = (ai1 ∧ b1j) ∨ (ai2 ∧ b2j) ∨ ⋯ ∨ (aik ∧ bkj).