1.3 Matrix Operations Flashcards
What is a matrix?
A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
How do we describe the size of a matrix?
Always rows first, then columns.
rows x columns.
What is a matrix with only one row called?
A row vector (or row matrix).
What is a matrix with only one column called?
A column vector (or column matrix).
A matrix with n rows and n columns we call…
A square matrix of order n.
In a square matrix, A, the entries a11, a22, … , ann are collectively known as…
The main diagonal of A.
What is the definition of two matrices being equal?
Two matrices are equal if they are of the same size and their corresponding elements are equal.
(A)ij = (B)ij for all values of i and j.
How do we define matrix addition?
The sum A + B is the matrix obtained by adding the entries of B to the corresponding entries of A.
So, if A and B are the same size, and A = [aij] and B = [bij], then…
(A + B)ij = (A)ij + (B)ij = aij + bij
for all values of i and j
How do we define matrix subtraction?
The difference A - B is the matrix obtained by subtracting the entries of B from the corresponding entries of A.
So, if A and B are the same size, and A = [aij] and B = [bij], then…
(A - B)ij = (A)ij - (B)ij = aij - bij
for all values of i and j
How do we define scalar multiplication?
If A is any matrix and c is any scalar, then the product cA is the matrix obtained by multiplying each entry of A by c. The resulting matrix said to be a scalar multiple of A.
So, if A = [aij], then (cA)ij = c(A)ij = caij
It is common practice to denote the scalar multiple (-1)B by…
-B
What is the result of adding (or subtracting) two matrices of different sizes?
This operation is undefined.
What is the size of the product of A and B, where A is m x r and B is r x n?
Size of AB is m x n.
What is the requirement on the operands for matrix multiplication to be defined?
For AB to be defined, the number of columns on A must equal the number of rows on B.
What is the size of the product of A and B?
AB, if defined, will have the number of rows of A x the number of columns of B.