Beruflich Dokumente
Kultur Dokumente
Subtracting 3/5 of the left- and right-hand sides of equation 2 from those of equation 3,
8
2y
7z =
16
< x
5y + 10z =
20
:
2z =
6
Multiplying each side of equation 3 by 1/2,
8
2y
< x
5y
:
7z
+ 10z
z
=
=
=
16
20
3
Subtracting 10 times each side equation 3 from the respective side of equation 2, and adding 7 times
each side of equation 3 to the respective side of equation 1,
8
2y
=
5
< x
5y
=
10
:
z =
3
Multiplying each side of equation 2 by 1/5,
8
2y
< x
y
:
=
=
=
5
2
3
of equation 1,
1
2
3
+ 2z
+ 5z
+ 3z
= 1
= 5
= 4
Solution. Subtracting twice each side of the first equation from the corresponding side of the second
equation, and subtracting each side of the first equation from the corresponding side of the third
equation,
8
+ 2z = 1
< x
y + z = 3
:
y + z = 3
81
-2
0
2
3
2
z
1
0
-1
-2
0
2
Subtracting the sides of the second equation from the corresponding sides of the third equation,
8
+ 2z = 1
< x
y + z = 3
:
0 = 0
No matter the values of x, y and z, it is always true that 0 = 0. So, the third equation does not
provide any useful information about solutions, and we discard it.
x
+ 2z = 1
y + z = 3
Solving for x and y in terms of z,
def
Define t = z. Then
x = 1 2z
y = 3 z
8
< x = 1 2t
y = 3 t
:
z =
t
These equations are parametric equations of a line in space. Thus, the solution set corresponds to
the line with these parametric equations. Therefore, the solution set of this linear system is
{(1
2t, 3
t, t) : t 2 R}
Geometrically the planes represented by the three equations in this linear system intersect in a line.
See Figure 3.1.10.
N
Example 3.1.11. Solve the system
8
< x
2x + y
:
x + y
+ 2z
+ 5z
+ 3z
= 1
= 5
= 5
82
-5.0
9
8
7
Solution. Subtracting twice each side of the first equation from corresponding sides of the second
equation, and subtracting each side of the first equation from the sides of the third equation,
8
+ 2z = 1
< x
y + z = 3
:
y + z = 4
Subtracting the sides of the second equation from the corresponding sides of the third equation,
8
+ 2z = 1
< x
y + z = 3
:
0 = 1
Because 0 6= 1 for all (x, y, z), there is no (x, y, z) that satisfies all three equations. Therefore, the
solution set of this linear system is the empty set.1 Geometrically the planes represented by the
three equations in this linear system do not intersect. See Figure 3.1.11.
N
Definition 3.1.12. A linear system is consistent if the system has at least one solution. Otherwise, the system is inconsistent.
For example, the linear systems in Examples 3.1.9 and 3.1.10 are consistent, and the linear system in Example 3.1.11 is inconsistent. Given a linear system, there are two fundamental questions:
Is the system consistent?
If the system is consistent, then does the system have a unique (one and only one) solution?
Terms
linear equation
system of m linear equations in n variables
1 The empty set is the set with no elements, denoted denoted {} or ;. Do not denote the empty set by {;} because
the set {;} has one element, namely ;.
83
Skill
Solve systems of linear equations by applying two operations to the equations in the system:
Exercises
1. Determine whether each system of linear equations is consistent or inconsistent, and solve the
linear system.
x + 2y = 1
(a)
2x + 3y = 1
2x + 4y = 3
(b)
3x + 6y = 2
8
< x + 2y + 3z = 1
x + 3y + 4z = 3
(c)
:
x + 4y + 5z = 4
8
< x + 2y + 3z = 1
3x + 2y + z = 1
(d)
:
7x + 2y
3z = 1
2. Consider the linear system
8
< x + y
3x
5y
:
x
2y
z
+ 13z
+ 5z
=
=
=
2
18
k
84
4. Find a polynomial of degree 2 whose graph contains the points (1, 1), (2, 3) and (3, 13).
5. Find a system of linear equations with three unknowns whose solution set is the line containing
the points (1, 1, 1) and (3, 5, 0).
6. Provide a examples to show that the conclusion of Theorem 3.1.8(i) may be true or false if
c = 0.
7. Prove Theorem 3.1.8(ii).
3.2
Objectives
Relate matrices to systems of linear equations.
Develop elementary row operations and row reduction to echelon and reduced echelon forms.
3.2.1
Matrices
A = a1 an
The columns of A are the vectors a1 , . . . , an . The entries of A are the components of a1 , . . . , an .
The size of A is m n.
Example 3.2.2.
is a 2 3 matrix.
1
4
2
5
3
6
85
Definition 3.2.4. Matrices A and B are equal, denoted A = B, if A and B have the same size,
and the corresponding columns of A and B are equal.
Consider
def
A =
a1
an
A=
a1
an
a1,1
6 ..
6
6 .
=6
6 ai,1
6 .
4 ..
am,1
..
.
..
.
a1,j
..
.
am,j
ai,j
..
.
..
.
..
.
A = [ai,j ]
am,1
ai,1
3
a1,n
.. 7
. 5
am,n
ai,n
a1,n xn
ai,n xn
+ am,n xn
=
..
.
=
..
.
b1
bi
= bm
3
a1,n
.. 7
. 7
7
ai,n 7
7
.. 7
. 5
am,n
86
is the m n matrix
..
.
a1,1
6 ..
A=4 .
am,1
3
a1,n
.. 7
. 5
am,n
The rows of the coefficient matrix correspond to the equations in the linear system. The columns
of the coefficient matrix correspond to the variables of the linear system.
Definition 3.2.8. The augmented matrix of
8
>
> a1,1 x1 +
>
>
>
>
<
ai,1 x1 +
>
>
>
>
>
>
:
am,1 x1 +
is the m (n + 1) matrix
a1,n xn
ai,n xn
+ am,n xn
..
.
a1,1
6
A = 4 ...
am,1
a1,n
..
.
am,n
=
..
.
=
..
.
b1
bi
= bm
3
b1
.. 7
. 5
bm
Like the rows of the coefficient matrix, the rows of the augmented matrix correspond to the
equations in the linear system. However, unlike the columns of the coefficient matrix, the columns
of the augmented matrix do not all correspond to the variables of the linear system. The rightmost
column of the augmented matrix does not correspond to a variable.
Example 3.2.9. Consider the linear system
8
< x
2x + y
:
x + y
+ 2z
+ 5z
+ 3z
= 1
= 5
= 5
1
4 2
1
1
4 2
1
3.2.2
3
2
5 5
3
0
1
1
0
1
1
2
5
3
3
1
5 5
5
In Section 3.1 we introduced a method for solving a linear system using two operations:
87
3.2.3
Echelon Form
Definition 3.2.13. A leading entry in a row of a matrix is the first nonzero entry in the row.
Definition 3.2.14. A matrix is in echelon form (or row echelon form) if
1. All nonzero rows are above any rows of all zeros.
2. Each leading entry of a row is in a column to the right of the leading entry of the row above
it.
3. All entries in a column below a leading entry are zeros.
88
89
3.2.4
Definition 3.2.17. A matrix is in reduced echelon form (or reduced row echelon form) if
1. The matrix is in echelon form.
2. The leading entry in each nonzero row is 1.
3. Each leading 1 is the only nonzero entry in its column.
The following algorithm applies elementary row operations to obtain a reduced echelon form for
a matrix. An Algorithm for Elimination to Reduced Echelon Form. Place a cursor at the
first entry of the first nonzero column of the matrix.
1. If the cursor entry is zero, then interchange the cursor row with the first row below it which
has a nonzero entry in the cursor column.
2. Eliminate all other entries in the cursor column below the cursor entry by adding multiples
of the cursor row to the other rows.
3. Move the cursor down one row and right one column. If the cursor entry and all entries below
it are zero, then move the cursor right one column. Repeat the last step if necessary. If there
are no more rows or columns, then goto step 4. Otherwise, return to step 1.
4. Beginning with rightmost pivot and working upward and to the left, use elementary row
operations to create zeros above each pivot. If a pivot is not 1, then multiply the row by a
constant to obtain a 1 in the pivot.
Regardless of the elementary row operations one applies to transform a matrix into reduced echelon
form, the reduced echelon form is always the same.
Theorem 3.2.18. The reduced echelon form of a matrix is unique.
Proof. Let n be a positive integer. We must prove that for all positive integers m, if A is an m n
matrix with entries in F and a matrix B and C are in reduced echelon form and are row equivalent
to A, then B = C. We proceed by means of induction on m.
(i) The Base Case. Let m = 1. Because B is row equivalent to A, and A is row equivalent to
C, B and C are row equivalent. Thus, there exists a sequence of elementary row operations
transforming B into C. Any elementary row operation other than multiplying the one and
only row of B by 1 changes the leading entry of the row into a scalar other than 1, and hence
transforms B into a matrix that is not in reduced echelon form. Therefore, B = C.
90
91
echelon form
reduced echelon form
pivot position
pivot column
Concepts
Elementary row operations are reversible.
Row equivalent matrices have the same pivot positions.
Every matrix has a unique reduced echelon form.
Skill
Find the reduced echelon form of a matrix by applying elementary row operations.
Exercises
1. Find the reduced echelon form of each of the following matrices. Indicate the pivot positions
in the original matrix and in its reduced echelon form. List the pivot columns of the original
matrix.
2
3
1 2 3 4
(a) 4 4 5 6 7 5
6 7 8 9
2
3
1 3 5 7
(b) 4 3 5 7 9 5
5 7 9 1
2. Describe all possible echelon forms of a nonzero 2 2 matrix.
3. Describe all possible echelon forms of a nonzero 3 2 matrix.
4. Describe all possible echelon forms of a nonzero 2 3 matrix.
5. Let A, B and C be matrices of the same size.
(a) Prove that A A.
92
3.3
Objectives
Use row reduction to solve systems of linear equations.
Use a linear system to determine whether a vector b is a linear combination of vectors
a1 , . . . , an .
Use linear systems to determine whether lines and planes in Fn are parallel, intersecting or
skew.
3.3.1
+ z
+ z
+ 2z
= 11
= 10
= 14
First, we apply elementary row operations to find an echelon form of this matrix. Adding
times row 1 to rows 2 and 3 we obtain
2
3
3 2
1
11
4 0 2/3 1/3 8/3 5
0 2/3 4/3 20/3
Subtracting row 2 from row 3 yields
2
which is in echelon form.
3
4 0
0
2
2/3
0
1
1/3
1
3
11
8/3 5
4
2/3
93
Second, we apply elementary row operations to find the reduced echelon form of this matrix.
Adding 1/3 times row 3 to row 2 and subtracting row 3 from row 1 provides
2
3
3
2
0
7
4 0 2/3 0 4/3 5
0
0
1
4
Multiplying row 2 by 3/2 we have
Adding
2
1
0
0
0
1
3
7
2 5
4
3
4 0
0
0
1
0
0
0
1
3
3
2 5
4
1
4 0
0
0
1
0
0
0
1
3
4 0
0
3
1
2 5
4
The variables x, y and z are all bound variables. This system does not have any free variables.
The solution set of this linear system is {(1, 2, 4)}. Because this linear system is equivalent to the
original linear system, the solution set of our original linear system is {(1, 2, 4)}.
N
Example 3.3.4. Solve the system
8
>
>
<
2x1 + 4x2
3x1 + 6x2
>
>
:
2x1 + 4x2
x4
+ 6x3
+ x4
+ 2x5
+ 2x5
3x5
+ 4x5
=
=
=
=
2
0
6
2
94
Multiplying row 1 by 1/2 yields
1
6 0
6
4 3
2
2
0
6
4
0
0
6
0
0
1
0
1
3
1 0
2 2 7
7
3 6 5
4 2
1
6 0
6
4 0
0
2
1
6 0
6
4 0
0
2
0
0
0
0
6
0
0
0
0
1
1
3
1 0
6 6 7
7
2 2 5
2 2
2
0
0
0
0
1
0
0
0
0
1
1
3
1 0
1 1 7
7
2 2 5
2 2
0
0
1
0
3
1 0
1 1 7
7
2 2 5
0 0
have
2
0
0
0
0
1
0
0
=
=
=
=
0
1
2
0
Every (x1 , x2 , x3 , x4 , x5 ) satisfies the last equation, 0 = 0. Consequently, the first three equations
completely determine the solution set.
8
+ x5 = 0
< x1 + 2x2
x3
x5 = 1
:
x4 + 2x5 = 2
95
The variables x1 , x3 and x4 are bound variables, while x2 and x5 are free variables. Solving for the
bound variables in terms of the free variables,
8
2x2
x5
< x1 =
x3 =
x5 + 1
:
x4 =
2x5 + 2
def
def
=
=
=
=
=
2s
s
t
t
2t
t
+ 1
+ 2
t, s, t + 1, 2t + 2, t)
t, s, t + 1, 2t + 2, t) : s, t 2 F}
Because this linear system is equivalent to the original linear system, the solution set of our
original linear system is
{( 2s t, s, t + 1, 2t + 2, t) : s, t 2 F}
The linear system has one solution for each choice of the parameters s and t. Hence, the linear
system has infinitely many solutions.
Notice that a vector x is a solution of this linear system if and only if
2
3
2
3
2
1
6 1 7
6 0 7
6
7
6
7
7 + t6 1 7
0
x (0, 0, 1, 2, 0) = s 6
6
7
6
7
4 0 5
4 2 5
0
1
The solutions of the system are exactly the vectors x
combination of the vectors
2
3
2
2
6 1 7
6
6
7
6
6 0 7 and 6
6
7
6
4 0 5
4
0
= 0
= 0
= 1
y
:
x + y
+ z
+ 2z
+ 3z
96
1
4 0
1
0
1
1
1
2
3
3
0
0 5
1
We apply elementary row operations to find an echelon form of this matrix. Subtracting row 1
from row 3 we obtain
2
3
1 0 1 0
4 0 1 2 0 5
0 1 2 1
Subtracting row 2 from row 3 yields
1
4 0
0
0
1
0
1
2
0
3
0
0 5
1
which is in reduced echelon form. The linear system corresponding to this augmented matrix is
8
< x
:
+ z
+ 2z
0
= 0
= 0
= 1
97
3.3.2
a1 an b
is consistent.
am,1 x1 + + am,n xn
bm
3
7
5
3
7
5
a1 an b
a1 an b
is consistent.
3
2 3
2 3
7
1
4
4
5
4
5
4
8
2
Example 3.3.7. Determine whether
is a linear combination of
and 5 5.
9
3
6
Solution. The reduced echelon form of
1
4 2
3
4
5
6
3
7
8 5
9
98
is
1
4 0
0
0
1
0
3
1
2 5
0
3
2 3
2 3
7
1
4
Example 3.3.8. Determine whether 4 8 5 is a linear combination of 4 2 5 and 4 5 5.
10
3
6
Solution. The reduced echelon form of
is
4
5
6
3
7
8 5
10
0
1
0
3
0
0 5
1
1
4 2
3
1
4 0
0
3.3.3
We can also use linear systems to determine whether lines and planes in Fn are skew, parallel, or
intersecting.
Definition 3.3.9. Lines l1 and l2 in Fn are parallel, denoted l1 k l2 , if there are nonzero vectors
v1 , v2 in Fn parallel to l1 and l2 , respectively, so that v1 is parallel to v2 .
Definition 3.3.10. Lines in Fn are skew if they are not parallel and do not intersect. See Figure 3.4.
99
30
20
z
10
-10
-10
-5
0
10
5
10
are parallel, intersecting or skew. If they intersect, then find all points of the intersection.
Solution. To determine whether the lines are parallel, notice that a vector parallel to the first line
is
2
3
0
4 1 5
2
and a vector parallel to the second line is
2
4
3
4
5 5
6
Neither of these vectors is a scalar multiple of the other. Thus, the lines are not parallel.
It is crucial to realize that the variable t does not represent the same parameter in both sets of
parametric equations. Each line must have its own parameter. So, call the parameter s in the first
set of parametric equations.
8
8
0
4t
< x 1 =
< x 1 =
y+3 =
s
y+2 =
5t
:
:
z 5 = 2s
z 3 =
6t
Solving for x, y and z in terms of s and t,
8
1
< x =
y =
s
3
:
z = 2s + 5
8
< x =
y =
:
z =
4t
5t
6t
+ 1
2
+ 3
100
Collecting terms involving s or t on the left-hand sides and collecting constants on the right-hand
sides yields
8
4t =
0
<
s + 5t =
1
:
2s
6t =
2
The augmented matrix of this linear system is
2
0
4 1
2
The reduced echelon form of this matrix is
2
1
4 0
0
4
5
6
0
1
0
3
0
1 5
2
3
1
0 5
0
Since the rightmost column of the augmented matrix is not a pivot column, the linear system is
consistent. Thus, the lines intersect. The corresponding system of equations is
8
=
1
< s
t =
0
:
0 =
0
To find all points of intersection, either substitute s = 1 in the first set of parametric equations,
or substitute t = 0 in the second set of parametric equations. In either case, (x, y, z) = (1, 2, 3).
Therefore, the lines intersect only at (1, 2, 3).
N
Example 3.3.12. Determine whether the
8
< x 1 =
y+2 =
:
z 4 =
are parallel, intersecting or skew. If they intersect, then find all points of the intersection.
Solution. To determine whether the lines are parallel, notice that a vector parallel to the first line
is
2
3
1
4 3 5
1
and a vector parallel to the second line is
3
2
4 1 5
4
101
Neither of these vectors is a scalar multiple of the other. Thus, the lines are not parallel.
As in the previous example, the variable t does not represent the same parameter in both sets
of parametric equations. So, call the parameter s in the first set of parametric equations.
8
8
s
= 2t
< x 1 =
< x
y + 2 = 3s
y 3 = t
:
:
z 4 =
s
z + 3 = 4t
Solving for x, y and z in terms of s and t,
8
s + 1
< x =
y = 3s
2
:
z =
s + 4
8
< x = 2t
y = t
:
z = 4t
+ 3
3
Collecting terms involving s or t on the left-hand sides and collecting constants on the right-hand
sides yields
8
2t =
1
< s
3s
t =
5
:
s
4t =
7
The augmented matrix of this linear system is
2
1
4 3
1
The reduced echelon form of this matrix is
2
1
4 0
0
2
1
4
0
1
0
3
1
5 5
7
3
0
0 5
1
Since the rightmost column of the augmented matrix is a pivot column, the linear system is inconsistent. Consequently, the given lines do not intersect. Therefore, since the lines are neither parallel
nor intersecting, the lines are skew.
N
Example 3.3.13. Determine whether the line in R3 with parametric equations
8
2t
< x 1 =
y+3 =
3t
:
z 5 =
4t
intersects the plane in R3 with parametric equations
8
4s 7t
< x 1 =
y+2 =
5s + 11t
:
z 3 =
6s 13t
If they intersect, then find all points of the intersection.
102
Solution. Once again, the variable t does not represent the same parameter in both sets of parametric equations. Each line and each plane must have its own set of parameters. So, call the parameter
u in the set of parametric equations for the line.
8
2u
< x 1 =
y+3 =
3u
:
z 5 =
4u
Solving for x, y and z in terms of s, t
8
2u +
< x =
y =
3u
:
z =
4u +
and u,
1
3
5
8
< x =
y =
:
z =
4s
7t
5s + 11t
6s
13t
+ 1
2
+ 3
equations we obtain
=
=
=
2u
3u
4u
+ 1
3
+ 5
Collecting terms involving s, t or u on the left-hand sides and collecting constants on the right-hand
sides yields
8
7t
2u =
0
< 4s
5s + 11t + 3u =
1
:
6s
13t
4u =
2
The augmented matrix of this linear system is
2
4
7
4 5
11
6
13
The reduced echelon form of this matrix is
2
1
4 0
0
0
1
0
2
3
4
0
0
1
3
0
1 5
2
3
1
0 5
2
Since the rightmost column of the augmented matrix is not a pivot column, the linear system is
consistent. Thus, the line and the plane intersect. The corresponding system of equations is
8
=
1
< s
t
=
0
:
u =
2
To find the point of intersection, either substitute s = 1 and t = 0 in the set of parametric
equations for the plane, or substitute u = 2 in the set of parametric equations for the line. In
either case, (x, y, z) = ( 3, 3, 3). Therefore, the line and plane intersect only at ( 3, 3, 3).
N
Terms
103
bound variable
free variable
parallel lines
skew lines
Concepts
A matrix has at most one pivot position in each row and at most one pivot position in each
column.
Existence and Uniqueness Theorem for Linear Systems
Skills
Solve a linear system by finding the reduced echelon form of the systems coefficient matrix.
Determine whether a vector b is a linear combination of vectors a1 , . . . , an .
Determine whether lines and planes in Fn are parallel, intersecting, or skew.
Exercises
1. Determine whether each of the following statements is true or false. If the statement is true,
then prove it. If the statement is false, then provide a counterexample.
(a) There is a system of three linear equations in three variables that has exactly three
solutions.
(b) Every system of linear equations that has a free variable has infinitely many solutions.
2. Solve the linear systems.
8
< x1
2x1 + 2x2 +
(a)
:
x2 +
8
x2 +
<
x1 + 3x2 +
(b)
:
3x1 + 7x2 +
x3
9x3
5x3
=
=
=
8
7
2
4x3
5x3
7x3
=
=
=
5
2
6
3. A linear system is underdetermined if it has fewer equations than variables. A linear system
is overdetermined if it has more equations than variables.
(a) Prove that a consistent underdetermined linear system has infinitely many solutions.
(b) Provide an example of an inconsistent underdetermined linear system.
(c) Provide an example of an inconsistent overdetermined linear system.
104
5. Find parametric equations for the line of intersection of the planes in R3 with standard
equations x + 2y 3z = 5 and 5x + 5y z = 1.
6. Determine whether the lines in R2 with standard equations x
x 3y = 0 have a common point of intersection.
7. Determine whether the lines in R3 with
8
=
< x
y 1 =
:
z
=
parametric equations
8
6t
< x 1 =
9t
y 4 =
:
3t
z
=
4y = 1, 2x
y =
3, and
2t
3t
t
are parallel, intersecting or skew. If they intersect, then find all points of intersection.
with parametric
8
= 2t
<
= 3t
:
=
t
equations
x+1 =
t
y 2 = t
z 1 = 3t
are parallel, intersecting or skew. If they intersect, then find all points of intersection.
z = 1, and
105
3.4. SPAN
12. Find parametric equations of the plane in R3 containing the point ( 1, 2, 1) and containing
the line of intersection of the planes with standard equations x+y z = 2 and 2x y +3z = 1.
13. Let p1 , p2 2 Fn . Let v1 , v2 2 Fn be nonzero. Let l1 be the line through p1 parallel to v1 .
Let l2 be the line through p2 parallel to v2 .
(a) Prove that l1 and l2 intersect
if and only if the the rightmost column of the matrix
v1
v2 p2 p1 is not a pivot column.
v2 p2 p1
(c) Prove that l1 and l2 are skew if and only if every column of the matrix v1
is a pivot column.
(d) Prove that no two lines in F2 are skew.
3.4
Span
Objective
Introduce the span of a set of vectors.
The span of a set of vectors is the set of all linear combinations of those vectors.
Definition 3.4.1. The span of a nonempty set S Fn is the set of all linear combinations of
elements of S, denoted span S.
Example 3.4.2. The span of the set whose only element is the zero vector is span{0} = {0}.
z
O
y
(c)
z
x
O
(f)
(b)
Example 3.4.3. Let v 2 Rn be nonzero. Then span{v} is the line through the origin parallel to
v. See Figure 3.4.
x
x
O
O
y
x
z
(e)
(f)
106
v2
O
y
v1
x
(b)
x
Example 3.4.4. Let v1 , v2 2 Rn be nonparallel.
Then span{v
1 , v2 } is the plane through the origin
O
containing v1 and v2 . See Figure 3.4.
O
O
y 8
y2
2 3
3 2 39
0
4 =
< 1
Example 3.4.5. Determine whether 4 0 5 is an element of span 4 2 5 , 4 5 5 .
:
;
1
3
x 6
82 3 2 39
3
2 3
0
0
z
< 1
=
z4
4 5 5 if and only if 4 0 5 is a linear
Solution. The vector 4 0 5 is in span 4 2 5 , (d)
(e) combination
:
;
1
3
6
1
2 3
2 3
1
4
of 4 2 5 and 4 5 5. As in the previous section we can determine whether one vector is a linear
3
6
combination of others by examining the matrix whose columns are the given vectors. The reduced
echelon form of
2
3
1 4 0
4 2 5 0 5
3 6 1
2
is
1
4 0
0
0
1
0
3
0
0 5
1
107
3.4. SPAN
82 3 2 39
2 =
< 0
Example 3.4.6. Find the set of all vectors in R3 which are not elements of span 4 0 5 , 4 3 5 .
:
;
1
0
Solution. To solve this problem we reformulate it as a question about linear systems: For what
b1 , b2 , b3 2 R is the linear system with augmented matrix
2
3
0 2 b1
4 0 3 b2 5
1 0 b3
inconsistent? The reduced echelon form of this matrix is
2
3
1 0
b3
1
4 0 1
5
3 b2
2
0 0 b1 3 b2
2
3 b2
6= 0. Therefore, the
3
1
The vector 4 0 5 is one such vector not in this span.
0
Term
span
Skills
Determine whether a vector b is in the span of a given set S of vectors. If so, then express b
as a linear combination of vectors in S.
Describe the set of vectors which are not in the span of a given set of vectors.
Exercises
1. Determine whether each of the following statements is true or false. If the statement is true,
then prove it. If the statement is false, then provide a counterexample.
(a) If a1 and a2 are nonzero vectors, then span{a1 , a2 } contains the line through the origin
and a1 .
108
2
2
6. Show that span
,
= R2 .
1
1
7. Provide an example of nonzero vectors a1 , a2 , a3 , b 2 R3 so
2
3
2 3
2
3
2
1
0
4
8. Let a1 = 4 0 5 , a2 = 4 3 5 , a3 = 4 2 5 , b = 4span
2
6
3
(a) Is b 2 {a1 , a2 , a3 }?
that b 2
/ span{a1 , a2 , a3 }.
3
4
1 5.
4
(b) Is b 2 span{a1 , a2 , a3 }?
(c) Is a1 2 span{a1 , a2 , a3 }?
9. Provide an example of a 3 3 matrix with real entries which is not in echelon form and whose
set of columns span R3 . Prove that your example is correct.
10. Provide an example of a 3 3 matrix with real entries which is not in echelon form and whose
set of columns does not span R3 . Prove that your example is correct.
11. Can a set of n < m vectors in Fm span Fm ? Explain.
109
3.5
Objective
Develop an algebraic operation for forming linear combinations.
Definition 3.5.1. The matrix-vector product of an m n matrix A =
2
3
x1
6
7
columns in Fm and a vector x = 4 ... 5 2 Fn is the linear combination
a1
an
with
xn
def
Ax =
n
X
xj aj
j=1
1
4
Example 3.5.3.
Example 3.5.4.
2
5
2
3
6
1
4 2
3
7
4 8 5=7 1
4
9
3
4
7
5 5
8
6
+8
2
5
+9
3
6
50
122
3
2 3 2
3
1
4
39
= 7 4 2 5 + 8 4 5 5 = 4 54 5
3
6
69
1
4
2
5
3
6
7
8
The matrix has three columns, but the vector only has two components. So, the number of columns
of the matrix does not equal the number of components of the vector. Therefore, the matrix-vector
product is not defined.
3.5.1
The matrix-vector product distributes over the vector sum and commutes with scalar multiplication.
Theorem 3.5.5. If A is an m n matrix with entries in F, then
(i) A(x + y) = Ax + Ay, and
(ii) A(cx) = c(Ax).
110
def
Proof. Let A = a1 an be an m n matrix with entries in F.
def
def
6
= A4
=
=
=
n
X
j=1
n
X
xn
yn
x1 + y1
7
..
5
.
xn + yn
(xj + yj )aj
(xj aj + yj aj )
j=1
n
X
xj aj +
j=1
n
X
y j aj
j=1
= Ax + Ay
(ii) Exercise.
Definition 3.5.6. For each positive integer n, the n n identity matrix is the matrix
def
In =
e1
0
1
0
0
0
0
1
0
en
3
0
0 7
7
0 5
1
In x = x
Proof. Exercise.
Theorem 3.5.9. If A =
(i) A0 = 0, and
a1
an
111
The definition of the matrix-vector product expresses the product as a linear combination of
the columns of the matrix. This is how we want to think about the matrix-vector product in a
theoretical sense. However, when computing the product of a matrix and a vector by hand, it is
often more efficient to compute by rows as shown below and in Example 3.5.10.
Let
2
3
a1,1 a1,n
2
3
6 ..
.. 7
..
x1
6 .
7
.
.
7
def 6
def 6 . 7
7
A = 6
6 ai,1 ai,n 7 and x = 4 .. 5
6 .
.. 7
..
xn
4 ..
.
. 5
am,1 am,n
Then
3
2
a1,1
6 .. 7
6
6 . 7
6
6
7
6
6
7
= x1 6 ai,1 7 + + xn 6
6
6 . 7
6
4 .. 5
4
am,1
2
a1,1 x1 + + a1,n xn
6
..
6
.
6
a
x
+
+ ai,n xn
= 6
i,1
1
6
6
..
4
.
am,1 x1 + + am,n xn
Ax
Example 3.5.10.
3.5.2
1
4
2
5
3
6
3
a1,n
.. 7
. 7
7
ai,n 7
7
.. 7
. 5
am,n
3
7
7
7
7
7
7
5
7
4 8 5 = 1(7) + 2(8) + 3(9)
4(7) + 5(8) + 6(9)
9
50
122
>
:
a1,1 x1 + + a1,n xn
am,1 x1 + + am,n xn
=
..
.
= bm
3 2
a1,1 x1 + + a1,n xn
6
7 6
..
4
5=4
.
am,1 x1 + + am,n xn
2
b1
3
b1
.. 7
. 5
bm
112
..
.
a1,1
6 ..
4 .
am,1
a1,1
6 ..
A=4 .
am,1
32
a1,n
.. 7 6
. 54
am,n
3 2
x1
.. 7 = 6
. 5 4
xn
Ax = b
3
2
a1,n
.. 7 , x = 6
4
. 5
am,n
..
.
3
2
x1
.. 7 and b = 6
4
. 5
xn
3.5.3
3
b1
.. 7
. 5
bm
3
b1
.. 7
. 5
bm
Column Space
Definition 3.5.11. The column space of an m n matrix A with entries in F is the set
def
Col(A) = {Ax : x 2 Fn }
The column space of a matrix A is the span of the set of columns of A. That is, if A =
a1 an , then
Col(A) = span{a1 , . . . , an }
Terms
matrix-vector product
identity matrix
column space
Concept
If A is an m n matrix with entries in F, then
(i) A(x + y) = Ax + Ay, and
(ii) A(cx) = c(Ax)
for all x, y 2 Fn and all c 2 F.
Skill
Find the product of an m n matrix with an n-vector.
Exercises
113
1. Determine whether each of the following statements is true or false. If the statement is true,
then prove it. If the statement is false, then provide a counterexample.
(a) A vector b is a linear combination of the columns of a matrix A if and only if Ax = b
is consistent.
(b) The equation Ax = b is consistent if the augmented matrix A b has a pivot position
in every row.
1
8 3
4 4 5
1
(d)
5 1
2
1
2
3
3
4 2 1 4 6 5
(e)
9
3. Find a matrix A and a vector b so that the matrix equation Ax = b expresses the linear
system
3x1 + x2 +
5x3 = 9
x2 + 4x3 = 0
def
4. Let A = 4
1
3
5
3
2
1
3
4
6 5. Describe the set of all b 2 R3 so that Ax = b is inconsistent.
8
5. Prove that if A is an m n matrix with entries in F and m > n, then there is some b 2 Fm
so that Ax = b is inconsistent.
114
10. A matrix A = [ai,j ] is upper triangular if ai,j = 0 whenever i > j. Prove that an n n
def
matrix A = a1 an is upper triangular if and only if
span{Ae1 , . . . , Aek } = span{e1 , . . . , ek }
for each k = 1, . . . , n.
3.6
Objective
Relate the solution set of a nonhomogeneous linear system Ax = b to the solution set of the
corresponding homogeneous linear system Ax = 0.
Ax = b
3.6.1
Nul(A) = {x 2 Fn : Ax = 0}
The null space of a matrix A is the solution set of the homogeneous linear system Ax = 0. Since
every homogeneous linear system has the trivial solution, 0 2 Nul(A).
1 3
Example 3.6.4. Express the null space of A =
as the span of a set of vectors.
2 6
115
3
1
O
Nul(A)
1
0
3
0
x + 3y = 0
Thus,
x=
3y
x
= t
y
Therefore,
Nul(A) = span
3
1
3
1
3.6.2
3
1
. See FigN
The solution set of a nonhomogeneous linear system Ax = b diers from the solution set of the
corresponding homogeneous linear system Ax = 0 by a constant vector.
Theorem 3.6.5. Let A be an m n matrix with entries in F, and let b 2 Fm . If p 2 Fn is a
solution of Ax = b, then the solution set of Ax = b is
{x 2 Fn : x
p 2 Nul(A)}
116
p) = Ax
Thus, x p 2 Nul(A).
Conversely, if x p 2 Nul(A), then
Ap = b
A(x
p) = 0
Ax
Ap = 0
b=0
b = 0
Ax
= b
Ax
Thus, x is a solution of Ax = b.
Therefore, the solution set of Ax = b is the set {x 2 Fn : x
p 2 Nul(A)}.
3
1
(3,2)
O
Nul(A)
1
2
3
6
9
18
p=
and b =
Solution. By inspection
3
2
3
Nul A = span
1
117
3
x p = t
1
3
3
x =
+t
2
1
for some t 2 R. This set is a line in R2 containing the point (3, 2) parallel to
3
1
Terms
homogeneous linear system
nonhomogeneous linear system
null space
Concepts
The null space of a matrix A is the solution set of the homogeneous linear system Ax = 0.
The solution set of a nonhomogeneous linear system Ax = b diers from the solution set of
the corresponding homogeneous linear system Ax = 0 by a constant vector.
Skills
Express the solution set of a homogeneous linear system as the span of a set of vectors.
Express the solution set of a nonhomogeneous linear system as a translate of the solution set of
the corresponding homogeneous linear system by a particular solution of the nonhomogeneous
linear system.
Exercises
1. Determine whether each of the following statements is true or false. If the statement is true,
then prove it. If the statement is false, then provide a counterexample.
(a) The solution set of the linear system with augmented matrix a1 a2 a3 b equals
def
the solution set of Ax = b where A = a1 a2 a3 .
(b) If Ax = b is inconsistent, then b is not an element of the span of the set of columns of
A.
(c) If the augmented matrix A b has a pivot position in every row, then Ax = b is
inconsistent.
(d) If A is an m n matrix with entries in F and the span of the set of columns of A is not
Fm , then Ax = b is inconsistent for some b 2 Fm .
118
(a) A =
def
(b) A =
3
1
1
0
1
0
def 6
(c) A = 6
4 0
0
9
3
3
1
6
2
3
4
4
0
0
0
7
5
2
1
0
0
0 3
0 0
0 1
0 0
3
5
1 7
7
4 5
0
3
1
2 5 2 Nul(A).
1
3.7
Linear Independence
Objective
Develop the concepts of linear independence and linear dependence of families of vectors.
Recall from Proposition 1.5.8 that vectors a, b 2 Fn are parallel if and only if there are scalars
k1 , k2 , not both zero, such that
k1 a + k2 b = 0
We can reformulate this characterization of parallel vectors by saying that a and b are parallel if
and only if there is an equation consisting of the zero vector on one side, and a linear combination
of a and b on the other side in which at least one of the coefficients is nonzero. We will use this
observation to generalize parallel pairs of vectors to linearly dependent families of vectors.
119
3.7.1
Linear Relations
kj aj = 0
j=1
1
2
and
1
2
and
+ ( 2)
3
6
1
2
+0
3
6
3
6
=0
=0
0aj = 0
j=1
We can now characterize parallel vectors using linear relations: Vectors a, b 2 Fn are parallel if
and only if there is a nontrivial linear relation between a and b.
3.7.2
Families
When we specify a set by listing its elements, any repetition in the listing does not contribute to
the elements of the set. For example,
{1, 2, 2, 2, 5, 5} = {1, 2, 5}
It is now useful for us to consider collections with repeated elements. We will call such a set a
family. For example, the set of columns of the matrix
1 3 1
A=
2 5 2
is
1
2
1
2
3
5
3
5
1
2
120
We often distinguish among repeated elements in a set by assigning each element a subscript index.
For example, if we consider {a1 , . . . , ap } Fn as a family, then we allow for the possibility that
ai = aj for i 6= j. A useful way to distinguish between a set and a family is to remember that
families may have twins.
3.7.3
Linear Independence
Definition 3.7.5. A family {a1 , . . . , ap } Fn is linearly independent if the only linear relation
among a1 , . . . , ap is the trivial relation.
Definition 3.7.6. A family of vectors in Fn is linearly dependent if it is not linearly independent.
Example 3.7.7. Let a 6= 0. The family {a} is linearly independent because if
ka = 0
then k = 0.
Example 3.7.8. The family {0} is linearly dependent because 10 = 0 is a nontrivial linear relation.
Example 3.7.9. The family {a1 , a2 } is linearly dependent if and only if a1 and a2 are parallel.
Example 3.7.10. Any family {a1 , . . . , ap } containing the zero vector is linearly dependent since
0a1 + + 10 + + 0ap = 0
is a nontrivial linear relation.
Example 3.7.11. Any family {a1 , . . . , ap } containing the same vector more than once, say ai = aj ,
is linearly dependent since
0a1 + + 1ai + + ( 1)aj + + 0ap = 0
is a nontrivial linear relation.
Example 3.7.12. Determine whether the family
(2 3 2 3 2 3)
1
4
7
4 2 5,4 5 5,4 8 5
3
6
9
is linearly independent. If the family is linearly dependent, then find a nontrivial linear relation
among its elements.
Solution. Consider a linear relation
2 3
2
1
k1 4 2 5 + k2 4
3
2
1
4 2
3
3
2
4
7
5 5 + k3 4 8
6
9
32
4 7
k1
5 8 5 4 k2
6 9
k3
5 = 0
3
5 = 0
121
1
def
Let A = 4 2
3
4
5
6
3
7
8 5. The reduced echelon form of A is
9
2
3
1 0
1
4 0 1
2 5
0 0
0
Since there is a column of A which is not a pivot column, the linear system Ax = 0 has a nontrivial
solution. Thus, the family
(2 1 3 2 4 3 2 7 3)
4 2 5,4 5 5,4 8 5
3
6
9
is linearly dependent.
To obtain a nontrivial linear relation solve for k1 , k2 and k3 .
2
3
2
3
k1
1
4 k2 5 = t 4 2 5
k3
1
3
2
4
5 5 + k3 4
6
32
4 7
5 8 54
6 10
3
7
8 5 = 0
10
3
k1
k2 5 = 0
k3
122
1
def
Let A = 4 2
3
4
5
6
3
7
8 5. The reduced echelon form of A is the 3 3 identity matrix
10
2
3
1 0 0
4 0 1 0 5
0 0 1
Since every column of A is a pivot column, the only solution of the linear system Ax = 0 is the
trivial solution. Thus, the family
3)
(2 3 2 3 2
1
4
7
4 2 5,4 5 5,4 8 5
3
6
10
N
is linearly independent.
Theorem 3.7.14. The family of columns of a matrix A is linearly independent if and only if
Nul(A) = {0}.
def
Proof. Let A = a1 ap . The family {a1 , . . . , ap } is linearly independent if and only if the
only linear relation among a1 , . . . , ap is the trivial relation
p
X
0aj = 0
j=1
A =
a1
ap
The size of A is m p, and A has at most one pivot position in each row. Thus, A has at most
m pivots position. Since p > m, there is at least one column of A which is not a pivot column.
Consequently, Nul(A) 6= {0}. Therefore, the family {a1 , . . . , ap } is linearly dependent.
1
3
5
Example 3.7.16. The set
,
,
is linearly dependent since it consists of 3 vectors
2
4
6
in R2 and 3 > 2.
Linear Dependence Theorem. Let {a1 , . . . , ap } be a family of p 2 vectors in Fm . The family
{a1 , . . . , ap } is linearly dependent if and only if a1 = 0 or there exists a positive integer q > 1 such
that aq is a linear combination of a1 , . . . , aq 1 .
Proof. ()) Assume that {a1 , . . . , ap } is linearly dependent. Then there exist scalars k1 , . . . , kp not
all zero so that
p
X
kj aj = 0
j=1
123
kj aj + kq aq +
j=1
p
X
0aj
= 0
j=q+1
kq aq
q 1
X
kj aj
j=1
aq
q 1
X
kj
aj
kq
j=1
Therefore, there exists a positive integer q > 1 such that aq is a linear combination of a1 , . . . , aq 1 .
(() Assume there exists a positive integer q > 1 such that aq is a linear combination of
a1 , . . . , aq 1 . Then there exist scalars k1 , . . . , kq 1 such that
aq =
q 1
X
kj aj
j=1
Then
q 1
X
( kj )aj + aq +
j=1
p
X
0aj = 0
j=q+1
is a nontrivial linear relation among a1 , . . . , ap . Therefore, the family {a1 , . . . , ap } is linearly dependent.
3.7.4
Hyperplanes
Recall that the plane P in Fn containing p 2 Fn and parallel to the non-parallel vectors a and b
in Fn is
def
P = {x 2 Fn : x p = sa + tb for some scalars s and t}
Now that we have generalized the notion of non-parallel to linear independence, we can consider
higher-dimensional analogues of planes.
Definition 3.7.17. The hyperplane H in Fn containing p 2 Fn and parallel to the linearly
independent vectors v1 , . . . , vn 1 in Fn is
8
9
n
<
=
X1
def
H = x 2 Fn : x p =
cj vj for some scalars c1 , . . . , cn 1
:
;
j=1
The key feature of a hyperplane is that it consists of vectors that dier from a fixed vector p
by a linear combination of n 1 linearly independent vectors in Fn .
124
Example 3.7.18.
1. A hyperplane in R2 is a line in R2 .
2. A hyperplane in R3 is a plane in R3 .
Terms
linear relation
nontrivial linear relation
trivial linear relation
linearly independent family of vectors
linearly dependent family of vectors
hyperplane
Concepts
Vectors a, b 2 Fn are parallel if and only if there is a nontrivial linear relation between a and
b.
The family of columns of a matrix A is linearly independent if and only if Nul(A) = {0}.
Let p and m be positive integers. If p > m, then the family {a1 , . . . , ap } Fm is linearly
dependent.
Linear Dependence Theorem
Skill
Determine whether a family of vectors is linearly independent or linearly dependent. If the
family is linearly dependent, then find a nontrivial linear relation among the vectors in the
family, and express one of the vectors in the family as a linear combination of the other vectors
in the family.
Exercises
1. Determine whether each statement is true or false. If the statement is true, then prove it. If
the statement is false, then provide a specific counterexample to show that the statement is
not always true.
(a) The family of columns of a matrix A is linearly independent if the equation Ax = 0 has
the trivial solution.
(b) If a family S is linearly dependent, then each element of S is a linear combination of the
remaining elements of S.
125
(d) If {a, b} is linearly independent and {a, b, c} is linearly dependent, then c 2 span{a, b}.
(e) Two vectors are linearly dependent if and only if they lie on the same line through the
origin.
(f) If a family in Fn contains fewer than n vectors, then the set is linearly independent.
(g) If {a, b} is linearly independent and c 2 span{a, b}, then {a, b, c} is linearly dependent.
(h) If a family of Fn is linearly dependent, then the family contains more than n vectors.
(i) If {a1 , . . . , a4 } F4 and a3 = 2a1 + a2 , then {a1 , . . . , a4 } is linearly dependent.
1
3
(b)
,
3
9
5
2
1
1
(c)
,
,
,
1
8
3
7
82
3 2 3 2
39
3
0
6 =
<
(d) 4 5 5 , 4 0 5 , 4 5 5
:
;
1
0
4
82
3 2
39
8
2 =
<
(e) 4 12 5 , 4 3 5
:
;
4
1
2
3
2
3
5
5
1
4 7
def 6
7. Find a nontrivial solution of Ax = 0 without performing row
3. Let A = 6
4 3
1
4 5
1
0
1
operations.
4. Let A be an m n matrix with entries in F.
(a) Prove that if A has n pivot columns, then Ax = b has at most one solution for each
b 2 Fm .
126
ap , ap }
Chapter 4
Linear Transformations
4.1
Objectives
Define linear transformation and matrix transformation.
Relate linear transformations to matrix transformations.
Provide examples of linear transformations.
Describe images of sets with respect to linear transformations.
Let A be an m n matrix with entries in F. Define a function T : Fn ! Fm by
def
T (x) = Ax
Definition 4.1.1. A function T : Fn ! Fm is a matrix transformation if there exists a matrix
A such that
T (x) = Ax
for all x 2 Fn .
T (x) =
Then
02
T @4
31
1
1
0 5A =
2
2
1
2
3
4
3
4
5
6
5
6
2
4
x
3
1
9
0 5=
10
2
128
Fm
x
T
T (x)
(i) A(x + y) = Ax + Ay
(ii) A(kx) = k(Ax)
for all x, y 2 Fn and all scalars k. A function possessing two analogous properties is called a linear
transformation.
Definition 4.1.3. A function T : Fn ! Fm is a linear transformation if
(i) (Additivity) T (x + y) = T (x) + T (y) for all x, y 2 Fn , and
T (x) = rx
Then
and
for all x, y 2 Rn and all scalars k. Therefore, T is a linear transformation called a scaling transformation. In particular, if r = 1, then we call T the identity transformation. If r > 1, then we
call T a dilation. If 0 r < 1, then we call T a contraction. If r = 0, then we call T the zero
transformation. Notice that the zero transformation is also a contraction.
Example 4.1.5. Let a 2 Fn . Define T : Fn ! Fn by
def
T (x) = proja x
If a = 0, then T (x) = 0 for all x 2 Fn . So, T is the zero transformation which is a linear
transformation by Example 4.1.4.
129
R2
x
T (x)
T
x
and
T (kx) = hkx, uiu
= (khx, ui)u
= k(hx, uiu)
= kT (x)
for all x, y 2 Fn and all scalars k. Therefore, T is a linear transformation called the projection
transformation onto a. See Figure 4.2.
Theorem 4.1.6. Every matrix transformation T : Fn ! Fm is a linear transformation.
Proof. Let T : Fn ! Fm be a matrix transformation. There is an m n matrix A so that
T (x) = Ax
for all x 2 Fn . For all x, y 2 Fn and all scalars k we obtain
T (x + y) = A(x + y) = Ax + Ay = T (x) + T (y)
130
and
T (kx) = A(kx) = k(Ax) = kT (x)
Therefore, T is a linear transformation.
R2
T (x)
x
T
x
Example 4.1.7. Let be a real number. Consider the function T : R2 ! R2 which rotates each
vector in R2 by radians. See Figure 4.3.
x
Let x =
2 R2 . Express x in polar coordinates r and :
y
x=
r cos
r sin
sin sin
131
r cos( + )
T (x) =
r sin( + )
r(cos cos
sin sin )
=
r(sin cos + cos sin )
r cos cos
r sin sin
=
r sin cos + r cos sin
x cos y sin
=
x sin + y cos
cos
sin
x
=
sin
cos
y
cos
sin
=
x
sin
cos
Therefore, T is a matrix transformation. Since every matrix transformation is a linear transformation, T is a linear transformation, called a rotation transformation.
y
R2
T (x)
T
x
x
x + ky
def
T
=
y
y
Since
T
x
y
x + ky
y
1
0
k
1
x
y
132
R2
T
x
x
x
def
T
=
y
kx + y
Since
T
x
y
x
kx + y
1
k
0
1
x
y
f (x) = 2x
is not a linear transformation because f (0) =
3 6= 0.
133
j=1
im(f ) = f (X)
Fn
Fm
T (x)
x
v
T (v)
T (p)
T (l)
Example 4.1.16. Describe the image of a line with respect to a linear transformation.
Solution. Let l be a line in Fn passing through p and parallel to v 6= 0. That is,
l = {p + tv : t is a scalar}
Let T : Fn ! Fm be a linear transformation. Then
T (p + tv) = T (p) + tT (v)
134
for all real numbers t. If T (v) 6= 0, then the image of the line l with respect to T is
T (l) = {T (p) + tT (v) : t is a scalar}
which is the line in Fm containing T (p) and parallel to T (v). If T (v) = 0, then T (l) = {T (p)}
which is a single point.
N
In general, linear transformations map lines to lines or points. See Figure 4.6.
Theorem 4.1.17. If k is a positive integer and T : Rn ! Rm is a linear transformation, then for
every k-parallelotope P in Rn , the set T (P ) is a k-parallelotope.
Proof. Assume that T : Rn ! Rm is a linear transformation, k is a positive integer, and P is a
k-parallelotope in Rn . Then there exist p, v1 , . . . , vk 2 Rn such that
8
9
k
<
=
X
P = x 2 Rn : x p =
cj vj for some c1 , . . . , ck 2 [0, 1]
:
;
j=1
Then
T (P ) = {T (x) : x 2 P }
8
9
k
<
=
X
=
T (x) : x p =
cj vj for some c1 , . . . , ck 2 [0, 1]
:
;
j=1
8
9
k
<
=
X
=
T (x) : x = p +
cj vj for some c1 , . . . , ck 2 [0, 1]
:
;
j=1
8 0
9
1
k
<
=
X
=
T @p +
cj vj A : for some c1 , . . . , ck 2 [0, 1]
:
;
j=1
8
9
k
<
=
X
=
T (p) +
cj T (vj ) : for some c1 , . . . , ck 2 [0, 1]
:
;
j=1
8
9
k
<
=
X
=
y 2 Rm : y = T (p) +
cj T (vj ) for some c1 , . . . , ck 2 [0, 1]
;
:
j=1
8
9
k
<
=
X
=
y 2 Rm : y T (p) =
cj T (vj ) for some c1 , . . . , ck 2 [0, 1]
:
;
j=1
Therefore, T (P ) is a k-parallelotope in Rm .
Terms
matrix transformation
135
linear transformation
scaling transformation
identity transformation
dilation
contraction
zero transformation
rotation transformation
projection transformation
horizontal shear
vertical shear
image of a set with respect to a function
image of a function
Concepts
Every matrix transformation is a linear transformation.
Linear transformations are exactly those functions that preserve linear combinations.
Linear transformations map the zero vector in the domain to the zero vector in the codomain.
Skills
Determine whether a given function is a linear transformation.
Describe the image of a set with respect to a linear transformation.
Exercises
1. Let T : Fn ! Fm be a matrix transformation with matrix A. What is the size of A?
2. True or False: The function T : R2 ! R2 which rotates vectors by a fixed angle is a linear
transformation.
5
2
2
2
3. For each of the following linear transformations T : R ! R , plot a =
,b=
,
2
4
T (a) and T (b). Describe T geometrically.
1
0
def
(a) T (x) =
x
0
1
136
(b) T (x) =
def
(c) T (x) =
def
(d) T (x) =
1/2
0
0
0
0
1
0
1/2
1
0
x
1
0
2
T (e1 ) =
and
T (e2 ) =
5
Find T
5
3
and T
x1
x2
5
2
1
T
=
and
T
2
1
3
Find T
15
6
and T
6. Define f : R2 ! R3 by
17
12
1
6
1
3
3
2x1 3x2
f (x1 , x2 ) = 4 x1 + 4 5
5x2
def
in Rn , the
137
j=1
in Rn , the
j=1
for all v1 , . . . , vp 2 Fn and all scalars k1 , . . . , kp . In other words, linear transformations are
exactly those functions which preserve linear combinations!
4.2
Objective
Introduce the standard matrix of a linear transformation.
In Section 4.1 we saw that every matrix transformation is a linear transformation. The converse
is true for linear transformations from Fn to Fm .1
Theorem 4.2.1. Every linear transformation from Fn to Fm is a matrix transformation.
Proof. Let T : Fn ! Fm be a linear transformation. Define a matrix A by
def
A =
T (e1 )
T (en )
1 In Chapter 5 we will encounter a more general notion of linear transformation. In that more general context it
is not true that every linear transformation is a matrix transformation.
138
n
X
xj ej
j=1
Hence,
0
T (x) = T @
=
n
X
n
X
j=1
xj ej A
xj T (ej )
j=1
T (e1 )
= Ax
2
3
x1
6 . 7
T (en ) 4 .. 5
xn
T (e1 ) T (en )
where {e1 , . . . , en } is the set of standard basis vectors in Fn .
Example 4.2.3. Let r be a nonnegative real number Find the standard matrix of the scaling
transformation T : Rn ! Rn defined by
def
T (x) = rx
Solution. Since T (ei ) = rei for i = 1, . . . , n, the standard matrix for T is
2
3
r 0 0
0 7
6
6 0 r
7
re1 ren = 6 .
7
.
..
4 ..
5
0 0 r
Example 4.2.4. Let a 2 Fn be nonzero. Find the standard matrix of the projection transformation
T : Fn ! Fn defined by
def
T (x) = proja x
Solution. Let
u=
a
,
kak
139
u1 u un u
Example 4.2.5. Let be a real number. Find the standard matrix of the rotation transformation
T : R2 ! R2 by radians.
Solution. Since
T (e1 ) =
and
T (e2 ) =
the standard matrix for T is
cos
sin
cos
sin
sin
cos
sin
cos
N
Term
standard matrix of a linear transformation
Concept
A function from Fn to Fm is a linear transformation if and only if it is a matrix transformation.
Skill
Find the standard matrix of a linear transformation from Fn to Fm .
Exercises
1. Determine whether each statement is true or false.
(a) A linear transformation T : Rn ! Rm is completely determined by its eect on the
columns of In .
(b) There is a linear transformation T : Fn ! Fm which is not a matrix transformation.
140
1
4
(b) T : R3 ! R2 , T (e1 ) =
, T (e2 ) =
and T (e3 ) =
3
7
5
4
1
2
2
(d) T : R ! R projects vectors onto
.
2
3. Define T : R4 ! R4 by
02
31 2
x1
0
B6 x2 7C 6 x1 + x2
6
7C 6
TB
@4 x3 5A = 4 x2 + x3
x4
x3 + x4
3
7
7
5
4.3
Objective
Relate sums, scalar multiples and compositions of linear transformations to sums, scalar
multiples and products of matrices.
4.3.1
Sums
141
def
A + B = a1 + b1 an + bn
bn
The operation of forming the sum of two matrices is called matrix addition.
Example 4.3.4.
1
2
3
4
5
6
7
8
9
10
11
12
8
10
12 16
14 18
The next theorem expresss the most important properties of the matrix sum.
Theorem 4.3.5.
(i) (Commutativity) For all A, B 2 Fmn
A+B =B+A
(ii) (Associativity) For all A, B, C 2 Fmn
A + (B + C) = (A + B) + C
(iii) (Existence of an Additive Identity) There is a unique matrix 0mn 2 Fmn so that
A + 0mn = A
for all A 2 Fmn .
(iv) (Existence of Additive Inverses) For each A 2 Fmn there is a unique matrix
that
A + ( A) = 0mn
A 2 Fmn so
Proof.
(i) Let A, B 2 Fmn .
A + B = a1 + b1
(ii) Exercise.
an + bn
b1 + a1
bn + an
=B+A
142
0mn =
a1 an + 0
A + 0mn =
a1 + 0 an + 0
=
a1 an
=
= A
To prove that 0mn is unique assume that Z 2 Fmn and A + Z = A for all A 2 Fmn . In
particular,
0mn + Z = 0mn
By part (i),
0mn + Z = Z + 0mn = Z
Thus, Z = 0mn . Therefore, 0mn is the unique element of Fmn so that A + 0mn = A for
all A 2 Fmn .
(iv) Exercise.
0mn =
We denote the m n zero matrix by 0 when its size is clear from context.
Definition 4.3.7. The dierence of matrices A, B 2 Fmn is the m n matrix
A
def
B = A + ( B)
def
def
Proof. Let A = a1 an and B = b1
matrices for S and T , respectively, we obtain
a1 + b1 an + bn = A + B
4.3.2
143
Scalar Multiples
Definition 4.3.9. Let X be a set. The product of a scalar k and a function f : X ! Fm is the
function kf : X ! Fm defined by
def
(kf )(x) = kf (x)
Theorem 4.3.10. If T : Fn ! Fm is a linear transformation and k is a scalar, then kT is a linear
transformation.
Proof. Let x, y 2 Fn . Let c be a scalar. Then
(kT )(x + y) = kT (x + y)
= k[T (x) + T (y)]
= kT (x) + kT (y)
= (kT )(x) + (kT )(y)
and
(kT )(cx) = kT (cx)
= kcT (x)
= c[kT (x)]
= c(kT )(x)
Therefore, kT is a linear transformation.
def
Definition
4.3.11.
The scalar-matrix product of a scalar k and an m n matrix A =
a1 an is the m n matrix
def
kA =
ka1
kan
The operation of forming the product of a scalar with a matrix is scalar multiplication.
Example 4.3.12.
( 7)
Theorem 4.3.13.
1
2
3
4
5
6
7
14
21
28
35
42
144
(iv) (Distributivity of the Scalar-Matrix Product over the Matrix Sum) For all A, B 2 Fmn and
all scalars k
k(A + B) = kA + kB
Proof.
(i) Exercise.
(ii) Exercise.
(iii) Exercise.
def
(iv) Let A =
a1
an
def
and B =
b1
bn
k(A + B) = k a1 + b1 an + bn
k(a1 + b1 ) k(an + bn )
=
= k a1 an + k b1 bn
= kA + kB
Theorem 4.3.14.
(i) 0A = 0mn
(ii) ( 1)A =
Proof. Let A =
a1
ka1 kan = kA