0% found this document useful (0 votes)
4K views13 pages

Linear Algebra Chapter 1 Matrices

The document defines matrices and matrix operations. It provides examples to illustrate definitions of matrix addition, scalar multiplication, and matrix multiplication. Properties of these operations such as the existence of an identity and inverse element are discussed. Column and row representations of matrix multiplication are introduced.

Uploaded by

Eugemy Grullo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views13 pages

Linear Algebra Chapter 1 Matrices

The document defines matrices and matrix operations. It provides examples to illustrate definitions of matrix addition, scalar multiplication, and matrix multiplication. Properties of these operations such as the existence of an identity and inverse element are discussed. Column and row representations of matrix multiplication are introduced.

Uploaded by

Eugemy Grullo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

1

College of Education

1.3 Matrices and Matrix Operations

Definition 1: A matrix is a rectangular array of numbers. The numbers in the array are called the entries
in the matrix.

Example 1. Some examples of matrices are

The size of a matrix is described in terms of the number of rows (horizontal lines) and columns
(vertical lines) it contains. For example, the first matrix in Example 1 has three rows and two columns,
so its size is 3 by 2 (written 3 ×2). In a size description, the first number always denotes the number of
rows, and the second denotes the number of columns.
A matrix with only one row, such as the second in Example 1, is called a row vector (or a row
matrix), and a matrix with only one column, such as the fourth in that example, is called a column
vector (or a column matrix). The fifth matrix in that example is both a row vector and a column vector.
We will use capital letters to denote matrices and lowercase letters to denote numerical quantities.
The entry that occurs in row i and column j of a matrix A will be denoted by a ij. Thus a general
3 × 4 matrix might be written as

and a general m ×n matrix as


When a compact notation is desired, the preceding matrix can be written as [aij ]m ×n or [aij ].
A matrix A with n rows and n columns is called a square matrix of order n , and the
shaded entries a 11 , a22 , … , ann below are said to be on the main diagonal of A .

Definition 2: Two matrices are defined to be equal if they have the same size and their corresponding
entries are equal.

Example 2: Consider the matrices

If x=5 , then A=B , but for all other values of x the matrices A and B are not equal, since not all
of their corresponding entries are equal. There is no value of x for which A=C since A and C have
different sizes.

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


2
College of Education

Definition 3: If A and B are matrices of the same size, then the sum A+ B is the matrix obtained
by adding the entries of B to the corresponding entries of A , and the difference A−B is the matrix
obtained by subtracting the entries of B from the corresponding entries of A . Matrices of different sizes
cannot be added or subtracted.
In matrix notation, if A=[aij ] and B=[bij ] have the same size, then

Example 3. Consider the matrices

Then
The expressions A+C , B+C , A−C , and B−C are undefined.
Definition 4: If A is any matrix and c is any scalar, then the product cA is the matrix obtained
by multiplying each entry of the matrix A by c . The matrix cA is said to be a scalar multiple of A .

In matrix notation, if A=[aij ], then ¿


Example 4. For the matrices

we have

It is common practice to denote (−1 ) B by −B.

Definition 5: If A is an m ×r matrix and B is an r ×n matrix, then the product AB is the m ×n matrix


whose entries are determined as follows: To find the entry in row i and column j of AB, single out row i from the
matrix A and column j from the matrix B. Multiply the corresponding entries from the row and column together,
and then add up the resulting products.

Example 5. Consider the matrices

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


3
College of Education

Since A is a 2 ×3 matrix and B is a 3 × 4 matrix, the product AB is a 2 × 4 matrix. To determine, for


example, the entry in row 2 and column 3 of AB, we single out row 2 from A and column 3 from B. Then, as
illustrated below, we multiply corresponding entries together and add up these products.

The entry in row 1 and column 4 of AB is computed as follows:

The computations for the remaining entries are

The definition of matrix multiplication requires that the number of columns of the first factor A be the
same as the number of rows of the second factor B in order to form the product AB. If this condition is not
satisfied, the product is undefined. A convenient way to determine whether a product of two matrices is defined is
to write down the size of the first factor and, to the right of it, write down the size of the second factor. If, as in
(3), the inside numbers are the same, then the product is defined. The outside numbers then give the size of the
product.

Example 6: Suppose that A , B , and C are matrices with the following sizes:

Then, AB is defined and is a 3 ×7 matrix; BC is defined and is a 4 ×3 matrix; and CA is defined and is a 7 × 4
matrix. The products AC , CB, and BA are all undefined.

In general, if A=[aij ] is an m ×r matrix and B=[bij ] is an r ×n matrix, then, as illustrated by the

shading in the following display,

the entry ( AB)ij in row i and column j of AB is given by

Formula (5) is called the row-column rule for matrix multiplication.

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


4
College of Education

A matrix can be subdivided or partitioned into smaller matrices by inserting horizontal and vertical rules
between selected rows and columns. For example, the following are three possible partitions of a general 3 × 4
matrix A —the first is a partition of A into four submatrices A11, A12 , A 21 and A22; the second is a partition of A

into its row vectors r 1, r 2, and r 3; and the third is a partition of A into its column vectors c 1 , c2 , c 3 and c 4 :

Partitioning has many uses, one of which is for finding particular rows or columns of a matrix product
AB without computing the entire product. Specifically, the following formulas, whose proofs are left as exercises,
show how individual column vectors of AB can be obtained by partitioning B into column vectors and how
individual row vectors of AB can be obtained by partitioning A into row vectors.

In words, these formulas state that

Example 7: If A and B are the matrices in Example 5, then the second column vector of AB can be obtained by
the computation

and the first row vector of AB can be obtained by the computation

Definition 6: If A1 , A 2 ,… , Ar are matrices of the same size, and if c 1 , c 2 , … , cr are scalars, then an expression of
the form

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


5
College of Education

c 1 A 1+ c 2 A2 +…+ c r A r

is called a linear combination of A1 , A 2 ,… , Ar with coefficients c 1 , c 2 , … , cr .

Theorem 1.3.1. If A is an m ×n matrix, and if x is an n ×1 column vector, then the product Ax can be expressed
as a linear combination of the column vectors of A in which the coefficients are the entries of x .

Example 8.

Example 9. We showed in Example 5 that

It follows from Formula (6) and Theorem 1.3.1 that the j th column vector of AB can be expressed as a
linear combination of the column vectors of A in which the coefficients in the linear combination are the entries

from the j th column of B. The computations are as follows:

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


6
College of Education

Partitioning provides yet another way to view matrix multiplication. Specifically, suppose that an m ×r
matrix A is partitioned into its r column vectors c 1 , c2 , … , c r (each of size m ×1) and an r ×n matrix B is
partitioned into its r row vectors r 1 , r 2 , … , r r (each of size 1 ×n ). Each term in the sum

has size m ×n so the sum itself is an m ×n matrix. We leave it as an exercise for you to verify that the entry in
row i and column j of the sum is given by the expression on the right side of Formula (5), from which it follows

that

We call (11) the column-row expansion of AB.

Example 10. Find the column-row expansion of the product

Solution: The column vectors of A and the row vectors of B are, respectively,

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


7
College of Education

Definition 7. If A is any m ×n matrix, then the transpose of A , denoted by AT , is defined to be the n × m


matrix that results by interchanging the rows and columns of A ; that is, the first column of AT is the first row of
A , the second column of AT is the second row of A , and so forth.

Example 11:

Definition 8: If A is a square matrix, then the trace of A , denoted by tr( A ), is defined to be the sum of the
entries on the main diagonal of A . The trace of A is undefined if A is not a square matrix.

Example 12:

1.4 Inverses; Algebraic Properties of Matrices

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


8
College of Education

Theorem 1.4.1. Properties of Matrix Arithmetic

Example 1:

Example 2:

Theorem 1.4.2. Properties of Zero Matrices

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


9
College of Education

Example 3: Failure of the Cancellation Law

Example 4. A Zero Product with Nonzero Factors

Theorem 1.4.3. If R is the reduced row echelon form of an n × n matrix A , then either R has a row of zeros or R
is the identity matrix I n.

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


10
College of Education

The number a−1 is sometimes called the multiplicative inverse of a .

Definition 1. If A is a square matrix, and if a matrix B of the same size can be found such that AB=BA=I , then
A is said to be invertible (or nonsingular) and B is called an inverse of A . If no such matrix B can be found, then
A is said to be singular.
Example 5. An Invertible Matrix

Example 6. A Class of Singular Matrices

Theorem 1.4.4. If B and C are both inverses of the matrix A , then B=C .

Theorem 1.4.5. The matrix A= [ ac bd ] is invertible if and only if ad −bc ≠ 0, in which case the inverse is given

by the formula A =
−1 1
[ d −b
ad−bc −c a ] (2)

Example 7: Calculating the Inverse of a 2 ×2 Matrix

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


11
College of Education

Example 8. Solution of a Linear System by Matrix Inversion

Theorem 1.4.6. If A and B are invertible matrices with the same size, then AB is invertible and
−1 −1 −1
( AB) =B A
Example 9. The Inverse of a Product

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


12
College of Education

Theorem 1.4.7. If A is invertible and n is a nonnegative integer, then:

Example 10: Properties of Exponents

Example 11. The Square of a Matrix Sum

Example 12: A Matrix Polynomial

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics


13
College of Education

Theorem 1.4.8. If the sizes of the matrices are such that the stated operations can be performed, then:

Theorem 1.4.9. If A is an invertible matrix, then AT is also invertible and

¿
Example 13. Inverse of a Transpose

A. Abella I, PhD MMM 502 (Linear Algebra) MAED-Mathematics

You might also like