Professional Documents
Culture Documents
Lecture Notes 1panel
Lecture Notes 1panel
Linear Algebra Course 24
Linear equation is the equation of a linear geometric object
(i.e. equation of a line, plane, etc.).
Example
2 3 6 : line equation
Example
2 3 6 : plane equation
Usually in linear algebra, we use , , ⋯ instead of , , .
Linear Algebra Course 25
Definition
A linear equation is an equation that can be written in the
form
⋯
, ⋯, are the unknowns (or variables).
⋯ are the coefficient.
is the right hand side constant.
can be any positive integer.
Note All the variables appear to the first power.
Linear Algebra Course 26
Example 1
5 3 1
is a linear equation.
Example 2
2 5 3 8
is a linear equation since it can be rewritten as
3 3
Example 3
2 π 5
is a linear equation.
Linear Algebra Course 27
Example 4
2 1 3 0
is not a linear equation since it is equivalent to
6 2 3
which include the nonlinear term 2 .
Example 5
3
is not linear.
Linear Algebra Course 28
Example 6
0
is not linear.
Example 7
1 1 1
is linear. Why?
1 1
0 0
Note An equation is linear if it can be written in the form.
⋯
Linear Algebra Course 29
Questions
1. 4 5 2
2. 2 6 +
3. 5 2
4. 4 6
5. 2 7
Linear Algebra Course 30
Definition
A system of linear equations (or linear system) is a collection
of one or more linear equations involving the same variables.
Example
3 2 4
5 1
is a linear system if we consider , , as variables. This is
a system with 2 equations in 3 unknowns.
Linear Algebra Course 31
Definition
A solution of the system is a list , ⋯ , of numbers that
makes each equation a true statement when the values
, ⋯ , are substituted for , ⋯ , (in that order).
Example
3 2 4
5 1
Linear Algebra Course 32
Example
3 2 4 ⇒ 3 1 2 0 1 4
5 1⇒ 5 0 1 1
1,0,1 substitution gives equality.
3 2 4 ⇒ 3 1 2 1 3 4
5 1⇒ 5 1 3 8 1
Linear Algebra Course 33
Definition
The solution set of a linear system is the set of all possible
solutions of the system.
Example 1
∶ 3
∶ 2 3 1
The pair of numbers , satisfies
both equations iif it lies on both lines.
The solution set consists of the single
solution 2,1 .
Linear Algebra Course 34
Example 2
∶ 2 2
∶ 2 0
Lines are parallel and have no
points in common.
The system has no solutions.
The solution set is empty.
Linear Algebra Course 35
Example 3
∶ 2 2
∶2 4 4
Two lines coincide (i.e. and
are the same line).
Any point on the line is a solution.
There are infinitely many
solutions!!
Linear Algebra Course 36
We have 3 different types of solution sets.
Note
A system of linear equations has either
No Solution System is Inconsistent
Exactly one solution
System is Consistent
Infinitely many solutions
This property is special to linear systems.
The equation has exactly 2 solutions ( 2). It is not linear
because it does not correspond to one of 3 types above.
Linear Algebra Course 37
In order to simplify calculations, we often encode the info of a
linear system in a matrix.
Example
For the system, we have two matrices:
Coefficient matrix augmented matrix
Linear Algebra Course 38
In our previous example:
Coefficient matrix augmented matrix
The coefficient matrix has size 3 4 and the augmented matrix has
size 3 5.
Definition
A matrix has size if it has rows and columns.
Sometimes the vertical bar in the augmented matrix is omitted.
Linear Algebra Course 39
A system in which each equation involves only a single
variable, with coefficient 1.
Example
1
1
1
1
We can just read off the solution!
Getting a solution of a system = Changing a complex system into
an easy system like this.
Linear Algebra Course 40
Let's solve a particular linear system by changing a complex
system into an easy system.
R1
R2
R3
Let’s begin with in row 1 (R1).
Our goal is to make coefficient of to be one and to remove
from rows below.
1
2
Linear Algebra Course 41
No in row 2, so skip row 2.
is in row 3, so remove it.
Let’s consider in R2.
Our goal is to make coefficient of to be one and to remove
from other rows below.
Linear Algebra Course 42
Let’s consider in R3.
Our goal is to make coefficient of to be one and to remove
from other rows below.
1
8
Now the system is now in triangular form.
Let’s consider in R3 again.
Now our goal is to remove from other rows above.
Linear Algebra Course 43
3
Let’s consider in R2 again.
Our goal is to remove from other rows above.
2
Now we reach to simplified form of the system.
We can just read off the solution
The unique solution is
Linear Algebra Course 44
We should check that our solution is correct.
Maybe we made some mistakes along the way.
Substitute our solution(s) into the original system of equations!
Example
In our example, we substitute into the system 1, 0, 2 in
the system.
Linear Algebra Course 45
Let’s verify the answer.
(29, 16, 3) is indeed a solution of the
original system?
Linear Algebra Course 46
When solving linear systems, we will use three basic row
operations. We call this Elementary Row Operations.
Note
Replacement: Replace one row by the sum of itself and a multiple
of another row.
Interchange: Interchange two rows.
Scale: Multiply all entries in a row by a nonzero constant.
Definition
Two matrices are row equivalent if one can be obtained from the
other by a sequence of elementary row operations.
Linear Algebra Course 47
Example
From our previous example,
Original
Simplified
are row equivalent since we obtained the second from the first via row
operations.
Linear Algebra Course 48
All the row operations are reversible.
Example
Replacement operation: Add cR1 to R2.
Reverse: Add ‐cR1 to R2.
Interchange operation: Interchange R2 and R3.
Reverse: Interchange R2 and R3.
Scale operation: Multiply R2 by c.
Reverse: Multiply R2 by 1/c.
Linear Algebra Course 49
Example
Replacement operation: Add cR1 to R2.
Reverse: Add ‐cR1 to R2.
Linear Algebra Course 50
Theorem
If the augmented matrices of two linear systems are row
equivalent, then the two systems have the same solution set.
If a matrix A is obtained from a matrix B by row operations, then
any solution of the system A is a solution of the system B.
Note
To get a solution of complex system A,
Change complex system A to simple system B.
Get a solution of system B that is easy to solve.
This is possible because system A and B have the same solution.
Linear Algebra Course 51
Example
These are three different systems, but they are row equivalent because
they have the same solution set (3,2).
Linear Algebra Course 52
Determine if the following system is consistent (has either a
solution or infinite solutions):
Solution: Let’s represent the system as an augmented matrix.
We use row operations to make it to triangular form.
Linear Algebra Course 53
Back to equation notation:
Row 3 is never true.
The system is no solution.
The system is inconsistent.
Linear Algebra Course 54
Find the point of intersection of the lines 2 13 and
3 2 1.
Solve the following system using row operations.
3 8
2 2 9 7
5 2
Determine if the following system are consistent.
2 4 10
3 3 0
4 1
3 2 3 5
Linear Algebra Course 55
Take Home Message
Definition of linear equations
3 different type of solution sets
How to build augmented matrix
3 elementary row operations
Next time
We will develop a systematic procedure for solving systems of
equations.
Our procedure will allow us to solve any system of equations.
Linear Algebra Course 56
11185
Linear Algebra Course 57
Last class
Linear equations
Systems of linear equations (linear systems)
Solution sets
Matrices (coefficient matrix and augmented matrix)
Today
Develop a precise procedure for solving any system.
Linear Algebra Course 58
We have considered some linear systems in two variables.
If we plot the solutions to each equation individually, we get lines.
Solutions to the system correspond to points on the intersection of the
lines.
Example
∶ 3
∶2 3 1
The pair of numbers ( , )
satisfies both equations if it lies
on both lines.
The solution set consists of the
singles solution (2, 1).
Linear Algebra Course 59
If we plot the solutions to a single equation in three variables,
what do we get?
Example
The solutions to each individual equation form a plane.
The solutions to the system correspond to the points of
intersection of the planes.
Linear Algebra Course 60
How can planes intersect?
The three planes intersect at exactly one point
The three planes intersect along a line → infinitely many solutions
No point is common to all three planes → no solution
Linear Algebra Course 61
Note
Zero row or column: row or column with all entries equal to zero
Nonzero row or column: row or column with at least one nonzero
entry
Leading entry of a row: leftmost nonzero entry
Example
Linear Algebra Course 62
A matrix is in echelon form if it satisfies the following 3 conditions:
Note
1. All nonzero rows are above all zero rows.
2. The leading entry of a nonzero row is to the right of the leading
entry of any row above it.
3. All entries in a column below a leading entry are zeros.
Example 1
In echelon form (EF)
Linear Algebra Course 63
Example 2
Not in echelon form
Example 3
Not in echelon form
Linear Algebra Course 64
Example 3
Generally the matrix above is in echelon form (EF).
Linear Algebra Course 65
A matrix in echelon form is called an echelon matrix.
The word “echelon" means step‐like formation.
Linear Algebra Course 66
A matrix is in reduced row echelon form if it satisfies the 3
echelon form conditions and 2 more conditions like:
Note
4. All leading entries are 1.
5. Each leading 1 is in the only nonzero entry in its column.
Example 1
In reduced row echelon form
(RREF)
Linear Algebra Course 67
Example 2
Generally the matrix above is in reduced row echelon form (RREF).
Linear Algebra Course 68
Theorem
Every matrix is row equivalent to exactly one reduced row echelon
matrix.
In case of echelon form, however, a matrix may be row equivalent
to many echelon matrices.
Example
are all row equivalent and are all in echelon form. However, only the
leftmost matrix is in reduced row echelon form.
Linear Algebra Course 69
Develop an algorithm for solving linear systems
We first focus on the bottom arrow (row reduction).
Let's work through another example and try to keep track of
why we are performing each step.
Linear Algebra Course 70
Reduce the following matrix to EF.
Linear Algebra Course 71
Definition
A pivot position in a matrix A is a location that corresponds
to a leading entry in an EF of A.
A pivot column is a column of A that contains a pivot position.
Example
The boxed positions are the pivot positions and the first, third and
fourth columns are the pivot columns.
Linear Algebra Course 72
Definition
A pivot is a nonzero number in a pivot position used to create
zeros via row operations.
Example
The pivots are 2,‐1, and 4.
Linear Algebra Course 73
Reduce the following to EF and then RREF.
Step 1: Begin with the leftmost nonzero column. This is a pivot
column and the pivot position is at the top.
Step 2: Select a nonzero entry in the pivot column as a pivot. If
necessary, interchange rows to move a nonzero entry into the
pivot position.
Linear Algebra Course 74
Step 3: Use row replacement operations to create zeros in all
positions below the pivot.
Step 4: Ignore the row containing the pivot position and all rows
above it. Apply steps 1‐3 to the remaining submatrix. Repeat this
process until there are no more nonzero rows to modify.
Linear Algebra Course 75
Linear Algebra Course 76
Step 5: Beginning with the rightmost pivot and working up/left,
use a scaling operation to make each pivot a 1 and use
replacement to create zeros above each pivot.
Linear Algebra Course 77
Linear Algebra Course 78
Linear Algebra Course 79
Our algorithm allows you to reduce any augmented matrix to EF
or RREF.
The algorithm is not unique.
However, the RREF of any matrix is unique. Thus any valid algorithm
will give you the same RREF in the end.
Reducing a matrix to EF or RREF is called row reduction.
Reducing a matrix to EF is called Gaussian elimination.
Reducing a matrix to RREF is called Gauss‐Jordan elimination.
Linear Algebra Course 80
We can row reduce the augmented matrix of a Linear System (LS) to the
RREF's.
What is the solution set of the LS?
Example 1
RREF
Only solution is 3, 2, and 5.
Linear Algebra Course 81
Example 2
EF
The solution set is empty (i.e. no solution).
Example 4‐1
RREF
The variables corresponding to or leading entry in RREF are called basic
variables ( , , here) and the others are called free variables ( here).
Linear Algebra Course 82
Example 4‐2
We have the reduced system.
We solve the reduced system of equations for the basic variables in terms
of the free variables.
Linear Algebra Course 83
Example 4‐3
Each basic variable occurs in exactly one equation.
The free variables can have any value.
If the value of the free variable is chosen, the above equations
determine the values of the basic variables.
If =2, the solution is
(1) is called the general solution of the LS because it gives an explicit
description of all solutions.
Linear Algebra Course 84
Example 4‐4
Our system was
and our solution was
Substituting gives
Linear Algebra Course 85
Determine which matrices are in reduced echelon form and which
others are only in echelon form.
Row reduce the matrix to reduced echelon form. Circle the pivot
positions in the matrix and list the pivot columns.
Linear Algebra Course 86
Find the general solutions of the systems whose augmented
matrix is given.
Linear Algebra Course 87
Take Home Message
Echelon Form, Reduced Row Echelon Form
Pivot Position, Pivot Column
Solution of LS
Reading Assignment
Section 1.3
Next time
More on general solutions
Geometric interpretation of linear systems
Existence of solutions (when is a system consistent?)
Uniqueness of solutions (is there just one solution or many?)
Linear Algebra Course 88
11185
Linear Algebra Course 89
Last class
Echelon Form, Reduced Row Echelon Form
Pivot Position, Pivot Column
Solution of Linear System
Basic Variable, Free Variable
This class
Represent equations as vectors
Linear Algebra Course 90
Example
Find the general solutions of the systems whose augmented
matrix is given above.
EF RREF
Linear Algebra Course 91
Definition
A vector is a matrix with only one column.
R is the set of all vectors with entries (i.e. 1 matrices).
Example
∈ means “is an element of”.
Vectors are often written in bold (e.g. instead of ).
Linear Algebra Course 92
Definition
Two vectors are equal (if and only if) they have the same number
of entries and corresponding entries are equal.
Example
Vector addition
We add two vectors in R by adding corresponding entries.
Example
93
Scalar multiplication
We multiply a vector in R by a scalar by multiplying each
entry in by .
Example
Example
Linear Algebra Course 94
We sometimes write as following forms to save space.
Note that
is a matrix that has one row.
Linear Algebra Course 95
Each point in the plane is determined by its coordinates ‐ an
ordered pair of real numbers.
We write , for a point with coordinates , .
We can identify the point , with the vector and view R
as the set of points in the plane.
Linear Algebra Course 96
Parallelogram Rule
If , ∈ R are represented as points in the plane, then
corresponds to the fourth vertex of a parallelogram whose other
vertices are , 0 and .
Linear Algebra Course 97
“Tip‐to‐tail”
Another geometric interpretation of adding vectors, is that we
place them “tip‐to‐tail”.
We slide the vector until its tail is at the tip of the vector .
Then is the vector from the origin to the tip of .
Note that this is really the same as the parallelogram rule.
Linear Algebra Course 98
Scalar multiples
Multiples of a given vector lie on a line
So | ∈ is the line through the origin in the direction .
Linear Algebra Course 99
Vectors in R are represented by points in 3‐dimensional space.
Linear Algebra Course 100
To plot a point in R , move, in the direction of each axis, the
number of units given by the coordinates of the point.
Example
Plot the points 3,4,6 and 6, 4,0 .
Linear Algebra Course 101
To draw a vector in R , plot the point with the same coordinates
and then draw an arrow from the origin to that point.
Example
3 6
Plot the vectors 3,4,6 4 and 6, 4,0 4 .
6 0
Linear Algebra Course 102
For all , , ∈ R and scalars and , the following are true:
Commutativity
Associativity
0 0
0
c Distributivity
c Distributivity
1 =
Subtraction of vectors
Linear Algebra Course 103
Definition
For , ,⋯ ∈ and scalars , ,⋯, , the vector
⋯ (1)
is called a linear combination of , ,⋯ with weights (or coefficients)
, ,⋯, .
Example
are linear combinations of and .
We want to find scalars , , such that
Linear Algebra Course 105
The equation
is the same as
This is true iif
This is a linear system!
Linear Algebra Course 106
We solve the linear system as before, using our algorithm
Write down the augmented matrix:
Then row reduce:
The only solution is
Linear Algebra Course 107
Returning to our original question, the vector can be written as
Linear Algebra Course 108
Theorem
A vector equation
has the same solution set as the LS with augmented matrix
can be written as a linear combination of , , ⋯ if and only
if there exists a solution to the LS corresponding to (2).
So questions about linear combinations are closely related to
questions about linear systems.
Therefore, we introduce a special name for the set of all linear
combinations of a set of vectors ‐ Span.
Linear Algebra Course 109
Definition
If , , ⋯ ∈ , then the set of all linear combinations of
, ⋯ , is called the subset of spanned (or generated) by
, ⋯ , . It is denoted
Span ,⋯,
⋯
for some scalars , ,⋯, .
Linear Algebra Course 110
Example 1: (Span by one vector)
∈ R , Span is the set of all scalar multiples of .
Span is the line through the origin, in the direction given by .
Linear Algebra Course 111
Example 2: (Span by two vectors)
, ∈ R , then
If is a scalar multiple of ,
Span , is the line through the origin,
parallel to and .
If is not a scalar multiple of ,
Linear Algebra Course 112
We have two different ways of representing a linear system.
Example 1
Suppose the following vector equation.
Write a system of linear equations that is equivalent to the vector equation.
Linear Algebra Course 113
Example 2
Suppose the following linear system.
Write a vector equation that is equivalent to the linear system.
Linear Algebra Course 114
Example 3
Suppose
The following questions are equivalent:
Is a linear combination of , , and ?
Does the linear system
have a solution?
Linear Algebra Course 115
Suppose
Is Span , ?
So Span , is a plane. Is in this plane?
So the answer is NO, is not in Span , .
Linear Algebra Course 116
Write a system of equation that is equivalent to the given vector
equation.
Write a vector equation that is equivalent to the given system of
equations.
Linear Algebra Course 117
1 2
Let 0 , 1 , and 3 . For what value of is
2 7 5
in the plane generated (spanned) by and ?
Linear Algebra Course 118
Take Home Message
vector addition, scalar multiplication
Represent a linear system as a vector equation.
linear combinations, Span of vectors
Reading Assignment
Section 1.4, Section 1.5
Next time
Matrix equations.
Linear Algebra Course 119
11185
Linear Algebra Course 120
Last class
Vector: matrix with one column
R : the set of all 1 matrices
Plotting points and drawing vectors
Vector addition & scalar multiplication
linear combinations, span
This class
Reformulate linear equations as matrices
Linear Algebra Course 121
Definition: linear combination
For , ,⋯ ∈ and scalars , ,⋯, , the vector
⋯ (1)
is called a linear combination of , ,⋯ with weights (or coefficients)
, ,⋯, .
Example
are linear combinations of and .
Linear Algebra Course 122
Theorem: Vector equations and linear systems
A vector equation
has the same solution set as the LS with augmented matrix
can be written as a linear combination of , , ⋯ if and only if
there exists a solution to the augmented matrix.
Definition: Span
If , , ⋯ ∈ , then the set of all linear combinations of , ⋯ , is
called the subset of spanned (or generated) by , ⋯ , . It is
denoted
Span , ⋯ ,
Linear Algebra Course 123
Suppose
Is in Span , , ?
Answer) we want to know if the vector equation
has a solution.
0 2 and so the answer is NO.
Linear Algebra Course 124
Definition
Suppose
A is an matrix with columns , ,⋯ .
∈R
Then we define
Example 1
The number of entries in the result is the same as the number of rows in A.
Linear Algebra Course 125
Example 2
The number of entries in the result is the same as the number of rows in
the matrix. This will always happen.
Example 3
Not defined: since the number of columns in the matrix is not equal to
the number of entries (rows) in the vector.
Linear Algebra Course 126
We can skip the middle step.
Linear Algebra Course 127
Example
Suppose , , , ∈ R Then
We see from the above that our matrix‐vector multiplication is another
way of writing linear combinations!!
So we can easily translate between matrix‐vector multiplication and
linear combinations.
Linear Algebra Course 128
The linear system
is equivalent to the vector equation
which is equivalent to the matrix equation
Note that the matrix on the left is the coefficient matrix of the linear
system!
Linear Algebra Course 129
The matrix equation
is equivalent to the vector equation
which is equivalent to the linear system
Linear Algebra Course 130
Theorem
(1)
All have the same solution set.
In the above,
All of the above solution sets are found by row reducing the augmented
matrix in (1).
Linear Algebra Course 131
Theorem
Suppose
A is an matrix with columns , ,⋯ , and
∈R
Then the following statements are equivalent:
The matrix equation has a solution.
The vector equation ⋯ has a solution.
is a linear combination of , ,⋯ .
is in Span , , ⋯ .
The LS with augmented matrix has a solution.
So there are 5 ways of asking the same question!
All are answered by row reducing the matrix
Linear Algebra Course 132
Suppose
Does the matrix equation have a solution?
If so, find the general solution.
Solution: By our translation theorem, we find the solution by row
reducing the Augmented matrix to RREF.
So the answer is YES. There is a unique solution:
Linear Algebra Course 133
Example
Is a linear combination of , , ?
Answer: Write down the corresponding augmented matrix and row
reduce.
The last column is a pivot column, so the answer is NO.
Linear Algebra Course 134
Original question
Is a linear combination of , , ?
Variation 1: Does the vector equation ⋯ have a
solution?
Variation 2: Is in Span , , ?
Variation 3: Does the matrix equation with
have a solution?
Variation 4: Does the following linear system have a solution?
Linear Algebra Course 135
For what matrices A does the equation have a solution, no
matter what is?
Answer: We solve the equation by row reducing
This will have a solution when the rightmost column is not a pivot
column.
What ensures that the rightmost column will never be a pivot column?
If A has a pivot position in each row, then there will never be a pivot
position in the rightmost column of !
Linear Algebra Course 136
Theorem
Suppose A is an matrix. Then the following statements are
logically equivalent (i.e. they are either all true or all false).
For any ∈ R , the equation has a solution.
A has a pivot position in every row.
Every ∈ R is a linear combination of the columns of .
The columns of span all of R (i.e. every ∈ R is in the span of the
columns of ).
Linear Algebra Course 137
Does the equation
have a solution for every ∈ R ?
Solution: We need to find out if the matrix has a pivot position in every
row. So we row reduce.
There is a pivot position in each row and so the answer is YES.
Equivalent conclusions:
Every ∈ R is a linear combination of
Linear Algebra Course
138
Use the definition of to write the matrix equation as a vector equation.
Write the augmented matrix for the linear system that corresponds to
the matrix equation. . Then solve the system and write the
solution as a vector.
Linear Algebra Course 139
Linear Algebra Course 140
Take Home Message
Vector and matrix equations for discussing problems equivalent to
linear systems.
Next time
We will discuss how to describe solution sets in terms of vectors.
Linear Algebra Course 141
11185
Linear Algebra Course 142
Last class
Three languages: Solution sets
Three languages: Existence of solutions
This class
describing solution sets in terms of vectors.
Linear Algebra Course 143
Theorem
(1)
All have the same solution set.
In the above,
All of the above solution sets are found by row reducing the augmented
matrix in (1).
Linear Algebra Course 144
Theorem
Suppose
A is an matrix with columns , ,⋯ , and
∈R
Then the following statements are equivalent:
The matrix equation has a solution.
The vector equation ⋯ has a solution.
is a linear combination of , ,⋯ .
is in Span , , ⋯ .
The LS with augmented matrix has a solution.
So there are 5 ways of asking the same question!
All are answered by row reducing the matrix
Linear Algebra Course 145
Question 1: Is a linear combination of , , ?
Question 2: Does the vector equation ⋯ have a
solution?
Question 3: Is in Span , , ?
Question 4: Does the matrix equation with
have a solution?
Question 5: Does the following linear system have a solution?
Linear Algebra Course 146
We solve all of these questions by row reducing the matrix
Since the system is consistent, the answer to all the questions is YES.
Linear Algebra Course 147
If possible, express as a linear combination of , , and .
Solution: We row reduce:
The general solution is
Linear Algebra Course 148
General solution:
Then we have
Other choices for give other answers.
Linear Algebra Course 149
For which values of , , make ∈ Span , , ?
Solution: We row reduce:
The system is consistent if and only if 0.
Therefore, ∈ Span , , if and only if 0.
Linear Algebra Course 150
Definition
A LS is homogeneous if it can be written in the form
where is an matrix and 0 ∈ R .
A homogenous system always has the solution 0 ∈ R , called the
trivial solution.
A nontrivial solution is a solution 0.
Theorem
The homogeneous equation has a nontrivial solution iff it has at
least one free variable.
Linear Algebra Course 151
Example 1
This linear system is homogenous. This system is consistent (it has at
least the trivial solution 0). To find out if it has
nontrivial solutions, we have to row reduce and see if there are free
variables.
Example 2
This linear system is not a homogenous system. To know if this system is
consistent or inconsistent, we would have to row reduce.
Linear Algebra Course 152
Consider the linear system:
We write down the augmented matrix and row reduce:
So the general solution is
Since there are free variables, the system has nontrivial solutions.
Linear Algebra Course 153
So the general solution to , where is the coefficient matrix of
the above LS has the following form:
This is the vector parametric form of the solution.
The solution set is Span , the line
through 0 and . It consists of all scalar
multiples of . The trivial solution
corresponds to the zero multiple (
0).
Linear Algebra Course 154
Consider the equation (also a LS)
The solution set is given by
So the general solution is
vector parametric form
Linear Algebra Course 155
So the general solution is
where , can be any scalars.
So the solution set is Span , .
This is a plane through , and 0.
Linear Algebra Course 156
Definition
The solution set of a homogeneous system can always be written in the
form
for some vectors , ⋯ , .
To find the set of vectors , ⋯ , we:
solve the linear system as usual,
replace basic variables by their expressions in terms of free variables,
split the vector into a sum, one term for each free variable, and factor
out the free variables.
E.g.
Linear Algebra Course 157
Example: Describe all solutions of where
Solution: We first row reduce:
Then we write the general solution:
Linear Algebra Course 158
Then we switch to vector notation:
So the vector parametric form of the general solution is
Linear Algebra Course 159
Question
What is the relationship between homogeneous and nonhomogeneous
systems?
In our previous example, we solved and described the solution
set as
If we solved the corresponding homogeneous system
We would get the solution
The only difference is the presence of the vector , which is a solution of
the nonhomogeneous system (when 0).
Linear Algebra Course 160
Theorem
If is consistent and is any solution, then the solution set of
nonhomogeneous system is the set of all vectors of the form
So if we know all the solutions to the homogenous system (obtained by
setting the constant terms to zero), then we get all the solutions to the
nonhomogeneous system just by adding any particular solution .
Linear Algebra Course 161
Question 1: Find the solution set to the matrix equation
Question 2: Write the answer in vector parametric form.
Solution:
The general solution is
Linear Algebra Course 162
We switch to vector notation:
Question 3: What is the solution set to the corresponding homogeneous
equation (same equation but with zeros on the right)?
Answer: We just remove the particular solution. The solution set is
Linear Algebra Course 163
Question: What is the vector with tail at point and tip at point ?
Example
Vector with tip at point 3, 1,5 and tail at 2,0,8 is
Linear Algebra Course 164
Procedure
To find the vector equation of a line
Find a vector parallel to the line (can use any two points on the line
and find the vector from one to the other).
Find a point on the line.
The vector equation is then
Linear Algebra Course 165
Question: Find the vector equation of the line through the points
2,0,3 and 1,1,2 .
Answer: A vector parallel to the line is
A point on the line is
Therefore, the vector equation is
Note: There are lots of other vector equations of any given line.
Example: Another vector equation of the above line is
Linear Algebra Course 166
Describe all solutions of 0 in parametric vector form, where is
row equivalent to the given matrix.
Find the parametric equation of the line through parallel to .
Linear Algebra Course 167
Find a parametric equation of the line through and . [ Hint: is
parallel to the vector . See the figure below].
Linear Algebra Course 168
Take Home Message
Solution Sets of homogeneous and nonhomogeneous systems
Reading Assignment
Section 1.7
Next time
Linear dependence/independence
Linear Algebra Course 169
11185
Linear Algebra Course 170
Last class
Wrote solution sets in vector parametric form.
Solution sets of homogeneous and nonhomogeneous systems.
This class
Linear dependence of vectors.
Linear Algebra Course 171
Find the general solution to the homogeneous equation 0.
Solution: We row reduce.
The general solution is then:
Linear Algebra Course 172
We want our solution in vector parametric form.
So the solution set is:
Linear Algebra Course 173
Question 1: Does the above vector equation have a solution?
YES! It is homogeneous and thus has the trivial solution 0.
Question 2: Does it have nontrivial solutions?
We row reduce to echelon form:
Since there are free variables, the answer is YES, there are nontrivial
solutions.
Linear Algebra Course 174
Definition
Linear Algebra Course 175
Question: Are , , linearly independent? If not, find a linear
dependence relation among , , .
Answer: We are interested in solutions of
So we row reduce:
This homogeneous system has 1 free variable. So there are nontrivial
solutions.
Thus, , , are not linearly independent (they are linearly dependent).
Linear Algebra Course 176
Any nontrivial solution gives a linear dependence relation.
Our general solution was
We pick any nonzero value for the free variable.
So
is a linear dependence relation.
Linear Algebra Course 177
Problem: We're given a matrix and asked whether the columns are
linearly dependent.
Solution: If
then we want to know if
has a nontrivial solution. This is the same as asking if the matrix equation
has a nontrivial solution.
So we row reduce and look for free variables.
Linear Algebra Course 178
Are the columns of linearly independent or dependent?
Solution: We need to know if the matrix equation
has a nontrivial solution.
So we row reduce
There are no free variables.
So there are no nontrivial solutions (only the trivial solution).
Thus the columns are linearly independent.
Linear Algebra Course 179
So if you're given a list of vectors
and you want to know if they're linearly dependent or independent,
Form the matrix
Row reduce
Then
▪ if there are free variables, → nontrivial sol. → the vectors are
dependent,
▪ if there are no free variables, → trivial sol. → the vectors are
independent.
Linear Algebra Course 180
Question: When is a list , of two vectors linearly independent?
Answer: The set is linearly dependent iff
If 0 , then
Linear Algebra Course 181
Is the list , linearly independent or dependent?
Solution: Since
the list is linearly dependent.
Linear Algebra Course 182
Is the list , linearly independent or dependent?
Solution: Neither of these two vectors is a multiple of the other. Thus,
they are linearly independent.
Linear Algebra Course 183
Theorem
Example , , are linearly dependent.
is a linear comb of and .
is a linear comb of and .
is not a linear comb of and .
Linear Algebra Course 184
Then , are linearly independent (neither is a multiple of the other).
So:
Is a plane through the origin.
Linear Algebra Course 185
, , are linearly dependent iif one vector is a linear combination of
the other ones.
Thus
, , are linearly dependent if lies in the plane Span( , ).
, , are linearly independent if does not lie in the plane
Span( , ).
Linear Algebra Course 186
Theorem
If
, ,⋯, is a list of vectors in R , and
then the set is linearly dependent.
Reason
Arrange the vectors into a matrix:
Linear Algebra Course 187
Are the vectors linearly dependent or independent?
Solution
We could use the previous theorem to say right away that it is linearly
dependent because it consists of 5 vectors in R and 5 4.
Linear Algebra Course 188
Theorem
If a list of vectors contains the zero vector, the vectors are linearly
dependent.
Reason
Suppose our list is , ,⋯, .
Suppose 0.
Then
has non‐trivial solutions and is a linear dependence relation.
So the vectors are linearly dependent.
Linear Algebra Course 189
Determine if the vectors are linearly independent.
Linear Algebra Course 190
Determine by inspection whether the vectors are linearly independent.
Linear Algebra Course 191
Take Home Message
How to know if they're linearly dependent or independent
Reading Assignment
Section 1.8
Linear Algebra Course 192
11185
Linear Algebra Course 193
Last class
linear dependence/independence of vectors.
This class
Linear transformanti0n
Definition & Examples (e.g. Matrix Transformations)
Linear Algebra Course 194
Another Way to View
Example
Linear Algebra Course 195
Matrix Transformations
Suppose is . Solving amounts to finding all in R which
are transformed into vector in R through multiplication by .
Example
∈ R , ∈R
∈ R , ∈R
Linear Algebra Course 196
Definition
Terminology
R : domain of , R : codomain of
in R is the image of under the transformation .
Set of all images is the range of
image
Linear Algebra Course 197
Example 1
Linear Algebra Course 198
Example 2
Solution of (a)
Solve
Linear Algebra Course 199
If we pick 1, 1, then 1.
1
1
1
Linear Algebra Course 200
Solution of (b) “Is there more than one under whose image is ? "
The equivalent question is
General solution was
Free variables exist
Linear Algebra Course 201
Solution of (c) “Determine if is in the range of the transformation "
The equivalent question is
Augmented matrix for
Answer
No solution because 0 1.
is not in the range of the transformation
Linear Algebra Course 202
Matrix transformations have many applications – including computer
graphics
Example
Shear transformation
Transform the square into the parallelogram.
Linear Algebra Course 203
p p
Linear Algebra Course 204
Definition
A transformation T is linear if:
for all , in the domain of .
for all in the domain of and all scalars .
Proof
If is a matrix, then the transformation
=
.
Linear Algebra Course 205
Example
Solution
First note that and
3
Also 3 +2
2
Linear Algebra Course 206
Solution
3
Then the image of is
2
3
▪ = 3 +2 3 2 3 2
2
1 0 3
3 0 2 1 2
2 1 8
Also the image of is
1 0
▪ = = 0 1
2 1 2
Linear Algebra Course 207
Example
Solution
Another way to write the transformation is
2 5
Provide a counterexample that violate or
or .
Linear Algebra Course 208
Solution
counterexample that violate
0 0
0 0
▪ Let 0 , then 0
2 5 2 0
0 0
counterexample that violate .
1
▪ Let c 1, 1
1
1 1
2 2 2
▪ 1 , but c 1 1 1 = .
3 7 7
1 1
▪ .
Linear Algebra Course 209
Linear Algebra Course 210
Linear Algebra Course 211
Take Home Message
How to know if they're linearly dependent or independent
Reading Assignment
Section 1.8
Linear Algebra Course 212
11185
Linear Algebra Course 213
Last class
Linear transformati0n
Definition & Examples (e.g. Matrix Transformations)
This class
Matrix Transformation: Identity Matrix
Linear Transformation: Generalized Result
Linear Algebra Course 214
Definition
Terminology
R : domain of , R : codomain of
in R is the image of under the transformation .
Set of all images is the range of
image
Linear Algebra Course 215
Identity Matrix
Example
Linear Algebra Course 216
The corresponding vector equation is
Identity Matrix
In general, for in R , .
Linear Algebra Course 217
Linear Transformation
Generalized Result
Linear Algebra Course 218
Example
Linear Algebra Course 219
Solution
Then
So
Linear Algebra Course 220
Theorem
Linear Algebra Course 221
Example
Find matrix .
Solution
2
is 3 2 matrix because : → and 4 .
3 2
2 1
0 1
0 . 4 .
1 0
2 3
Linear Algebra Course 222
Linear Algebra Course 223
Find a Matrix
Linear Algebra Course 224
Linear Algebra Course 225
11185
Linear Algebra Course 226
Last class
Matrix Transformation: Identity Matrix
Linear Transformation: Generalized Result
This class
Matrix Addition
Matrix Multiplication
Matrix Power
Matrix Transpose
Linear Algebra Course 227
Suppose is an matrix
denotes the j‐th column.
We number rows/columns from top/left.
entry in i‐th row and j‐th column
i‐th entry (from top) in
Linear Algebra Course 228
Example
If
Then
7
1
5
?
Linear Algebra Course 229
Diagonal entries of are the entries , , ⋯ and the form the main
diagonal.
E.g.
identity matrix:
Linear Algebra Course 230
Zero matrix: a matrix whose entries are all zero.
Denote the zero matrix by 0 or 0
Equality: two matrices are equal if they are the same size and their
corresponding entries are equal.
Example
Linear Algebra Course 231
Definition
Example
Linear Algebra Course 232
Definition
Example
Definition
We define
Linear Algebra Course 233
Suppose
Then
?
Note
Remember that vectors are just matrices with one column.
We defined vector addition and scalar multiplication for vectors.
Linear Algebra Course 234
Matrix operations satisfy a following list of properties.
Theorem
Linear Algebra Course 235
Suppose A is an matrix and is an matrix.
Question: What kind of vectors can we multiply by?
Answer: In order for to be defined, we must have ∈ R .
Question: If ∈ R , what type of vector is ?
Answer: ∈ R? .
Linear Algebra Course 236
So we have the maps
We want to define the product of matrices so that multiplying a
vector by has the same effect as multiplying it by and then A.
Linear Algebra Course 237
Suppose ∈ R and ⋯ is an matrix.
Then ⋯ .
So
So we define
Linear Algebra Course 238
Definition
Linear Algebra Course 239
Linear Algebra Course 240
Note
In order for the product to be defined, we must have
# columns of = # rows of
Note what determines the size of the product:
( matrix)( matrix) = matrix
Note
An matrix can be multiplied by vectors in R , and the result is a
vector in R .
( matrix)( 1 vector) = 1 vector
Linear Algebra Course 241
In the following, are and defined and if so, what are their
sizes/dimensions?
A is 7 5, B is 5 2.
AB is defined and is 7 2. BA is not defined.
A is 4 6, B is 8 4.
AB is not defied. But BA is defined and is 8 6.
A is 4 5, B is 6 7.
Neither AB nor BA is defined.
Linear Algebra Course 242
If is a positive integer, we define
We also define
Note: Powers of a matrix are only defined if the matrix is square.
Linear Algebra Course 243
Definition
Example
Linear Algebra Course 244
Theorem
Linear Algebra Course 245
Compute 5 and 5 A, where
Linear Algebra Course 246
11185
Linear Algebra Course 247
Last class
Matrix Addition
Matrix Multiplication
Matrix Power
Matrix Transpose
This class
Inverse of Matrix
How to find matrix inverses
Linear Algebra Course 248
Definition
Example
Linear Algebra Course 249
Suppose and are both inverses of . Then
So inverses are unique (i.e. a matrix has at most one inverse)!
We denote the (unique) inverse of by So
Note
For non‐square matrices, can have and .
Example
Linear Algebra Course 250
Terminology
A matrix that is not invertible is sometimes called singular.
An invertible matrix is sometimes called nonsingular.
Linear Algebra Course 251
Theorem
Suppose .
The determinant
Linear Algebra Course 252
Justification
Example
Thus is invertible and
Linear Algebra Course 253
Thus is not invertible (it has no inverse).
Linear Algebra Course 254
We can use multiplicative inverses to solve simple equations.
Example
Suppose we want to solve the equation for .
If 0, we multiply both sides by :
Example
Suppose we want to solve the following matrix equation for .
If is invertible, we multiply on both sides by :
Linear Algebra Course 255
Suppose we want to solve the linear system
This system is equivalent to
Since is invertible, we can multiply on the left by .
So
Linear Algebra Course 256
Theorem
If A is invertible, then is invertible and
Linear Algebra Course 257
Theorem
Reason
Thus has a pivot position in each row.
Since is square, it has a pivot position in each column.
Thus its RREF is .
Linear Algebra Course 258
Algorithm for finding
Linear Algebra Course 259
Find the inverse of
Solution: We row reduce the superaugmented matrix.
Linear Algebra Course 260
Therefore A is invertible and
Check your answer!
Linear Algebra Course 261
Find the inverse of
Solution: We row reduce the superaugmented matrix.
Linear Algebra Course 262
Find the inverses of the matrices
Find the inverse of the matrix
Linear Algebra Course 263
11185
Linear Algebra Course 264
Last class
Inverse of Matrix
Elementary matrices
How to find matrix inverses
This class
Invertible Matrix Theorem
Linear Algebra Course 265
Definition (Inverse of a matrix)
Theorem (Inverses of 2 2 matrices)
Suppose .
Linear Algebra Course 267
Theorem
If is an square matrix, the following statements are equivalent:
Linear Algebra Course 268
Warning
The Invertible Matrix Theorem assumes the matrix is square!
Note
Linear Algebra Course 269
Question: Determine if the matrix is invertible.
Answer: The matrix is not invertible.
The matrix is 3 3. But it does not have 3 pivot.
The matrix is not row equivalent to I .
Linear Algebra Course 270
Determine if the matrix is invertible.
Linear Algebra Course 271
11185
Linear Algebra Course 272
Last class
Invertible Matrix Theorem
This class
Subspaces of R
Column space, Null space
Basis for subspace
Linear Algebra Course 273
Definition
A subspace of R is a subset of R that satisfies:
Example 1
0 . Is a subspace of R ? We check the 3 conditions.
Thus is a subspace of R .
Linear Algebra Course 274
Example 2
Example 3
Linear Algebra Course 275
Example 4
Linear Algebra Course 276
0,0,0 : subspace of R
1,0,0 : is not subspace of R
, 0,0 | ∈ R : subspace of R
0 → 0,0,0 ∈
( , 0, 0 ( , 0, 0 ( , 0, 0 ∈
, 0, 0 , 0, 0 ∈
, | ∈ R : is not subspace of R
0, 0 ∈
( , ( , ( , ∈
Linear Algebra Course 277
??
??
Linear Algebra Course 278
Consider the set of all vectors of the form
3 6 , 2 7 , 3 ,0
for , , arbitrary real numbers.
Since
This set is a subspace of R
Linear Algebra Course 279
Definition
The column space of a matrix is the set of all linear combinations of the
columns of .
It is denoted Col .
The column space of an matrix is a subspace of R .
Example
Linear Algebra Course 280
Question:
Answer:
Linear Algebra Course 281
Question:
Linear Algebra Course 282
Definition
The null space of a matrix , denoted Nul , is the set of all solutions to
the homogeneous equation 0.
Example
, Determine if is in Nul .
Linear Algebra Course 283
Theorem
Note that the column space of an matrix is a subspace of R .
Example
∈R
Linear Algebra Course 284
Definition
Suppose is a subspace of R .
A basis of is a linearly independent set of vectors in that span .
Linear Algebra Course 285
Theorem
The pivot columns of a matrix form a basis for its column space.
Procedure for finding a basis of a column space
To find a basis for the column space of a matrix we:
Row reduce the matrix to EF to determine which columns are the pivot
columns.
A basis for the column space is the set of pivot columns of the original
matrix .
Linear Algebra Course 286
We are given a matrix and an augmented matrix of .
Question: Find a basis for Col and a basis for Nul .
Linear Algebra Course 287
Give integers and such that Nul is a subspace of R and C is a
subspace of R .
Linear Algebra Course 288
11185
Linear Algebra Course 289
Last class
Subspaces of R
Column space, Null space
Basis for subspace
This class
Coordinate vector
Dimension
Rank, Nullity
Linear Algebra Course 290
Definition (Subspace)
A subspace of R is a subset of R that satisfies:
Definition (Basis)
Suppose is a subspace of R .
A basis of is a linearly independent set of vectors in that span .
Linear Algebra Course 291
How to find a basis of the null space of a matrix
To find a basis of the null space of a matrix , we:
Solve the homogeneous equation 0 by row reduction.
Write the general solution in vector parametric notation.
The set of vectors appearing in this form of the solution is a basis for
Nul .
Linear Algebra Course 292
Find a basis for the solution set of the homogeneous system
Solution: This is the same as finding the null space of the coefficient
matrix. We row reduce:
The general solution in vector parametric form is:
Linear Algebra Course 293
Definition
Suppose the set ,⋯, is a basis for a subspace . For ∈ ,
The coordinates of are the weights c , ⋯ , c such that
c ⋯ c .
The coordinate vector of is
c
⋮
c
Linear Algebra Course 294
Basis is , .
Question: Find the coordinate vector of relative to .
Solution: Find c and c such that c c .
Row reduce the augmented matrix:
2
Thus c 2, c 3. The coordinate vector is .
3
Linear Algebra Course 295
Definition
The dimension of a nonzero subspace , denoted dim , is the number
of vectors in any basis of .
We define dim 0 0.
Linear Algebra Course 296
Find a basis of .
What is the dimension of ?
Solution: We form a matrix with these vectors as columns and row
reduce:
We see that the first, third and fourth columns are the pivot columns.
Linear Algebra Course 297
Thus a basis of is given by the first, third and fourth vectors in the
original set:
Since the basis has 3 elements, we have
Linear Algebra Course 298
Consider a line through 0.
Thus the line is 1‐dimensional (1 vector in basis) .
Linear Algebra Course 299
Consider a plane through 0.
Thus the plane is 2‐dimensional (2 vector in basis) .
Linear Algebra Course 300
Question: What is the dimension of Nul ?
Answer: Remember that we have
Since the general solution to 0 will have 2 free variables, we have
dim Nul 2:
Linear Algebra Course 301
Proposition
Suppose is a matrix with columns. Then
rank = number of pivot columns in ,
dim Nul = ‐ number of pivot positions in .
The Rank Theorem
If a matrix has columns, then
Linear Algebra Course 302
Find the rank and nullity of
Solution: We row reduce:
Linear Algebra Course 303
Recall Invertible Matrix Theorem
We can now add some conditions to this list.
Addition to Invertible Matrix Theorem
Suppose is an matrix. Then the following statements are
equivalent:
Linear Algebra Course 304
Linear Algebra Course 305
Linear Algebra Course 306
11185
Linear Algebra Course 307
Last class
Coordinate vector
Dimension
Rank, Nullity
This class
Determinant of a general matrix
Linear Algebra Course 308
Definition
The dimension of a nonzero subspace , denoted dim , is the number
of vectors in any basis of .
We define dim 0 0.
Example
Lines through the origin are 1‐dimensional subspaces.
Planes containing the origin are 2‐dimensional subspaces.
R is ‐dimensional.
Linear Algebra Course 309
Definition (Rank)
rank is the dimension of the column space of .
rank is the number of pivot columns of .
Definition (Nullity)
Nullity of is the dimension of Nul .
Nullity of is the number of non‐pivot columns in .
If has columns, then
Rank Theorem
If a matrix has n columns, then
Linear Algebra Course 310
Definition (determinant of a 2 2 matrix)
The determinant of is
is invertible if and only if det 0.
Today's goal
We want to define a determinant for arbitrary square matrices.
Linear Algebra Course 311
Definition
Suppose is an matrix and 1 , . Then is the 1
1 matrix obtained by removing the ‐th row and ‐th column of .
Example
Linear Algebra Course 312
Definition
For 2, the determinant of an matrix is
We continue until we reduce the computation to determinants of 2
2 or 1 1 matrices.
Linear Algebra Course 313
Linear Algebra Course 314
We often use vertical bars to denote a determinant.
Thus
This is the cofactor expansion along the first row.
Linear Algebra Course 315
Theorem
If is an matrix, then
We can expand along any row or column.
So we choose rows or columns that make the computation easy (e.g.
rows/columns that have a lot of zeros).
Linear Algebra Course 316
Consider the matrix from the previous example:
Let's compute the determinant by cofactor expansion along the third
row. Then
Note: Expanding along the third row was easier because it had a zero.
Linear Algebra Course 317
Compute det if
Solution: We first expand along the second column:
Then we expand along the second row:
Linear Algebra Course 318
Linear Algebra Course 319
Definition
Suppose is a square matrix.
If has all zeros below the main diagonal, it is upper triangular.
If has all zeros above the main diagonal, it is lower triangular.
is triangular if it is upper or lower triangular.
Example
Linear Algebra Course 320
Theorem
If is triangular, then det is the product of the entries on the main
diagonal.
Example
Linear Algebra Course 321
Compute the determinant by cofactor expansion. At each step, choose a row
or column that involves the least amount of computation.
Compute the determinant of the upper triangular matrix.
Linear Algebra Course 322
11185
Linear Algebra Course 323
Last class
Determinant of a general matrix
This class
Relation between determinant and
▪ Row operation
▪ Matrix Inverse
▪ Matrix transpose
▪ Matrix product
Linear Algebra Course 324
Linear Algebra Course 325
Linear Algebra Course 326
Recall: Remember that row reduction involves 3 row operations.
Theorem
Suppose is a square matrix.
If is obtained from by a row replacement operation, then
det det .
If is obtained from by interchanging two rows, then
det det .
If B is obtained from by multiplying a row of by a scalar , then
det · det .
Linear Algebra Course 327
Compute det if
Solution: Recall that the determinant of a triangular matrix is the product
of entries on the main diagonal.
Linear Algebra Course 328
Linear Algebra Course 329
Theorem
A square matrix is invertible if and only if det 0.
Linear Algebra Course 330
The second quiz will be on May 28th (Monday).
The 2nd quiz will cover chapters 2.3, 2.8, 2.9, 3.1, and 3.2
You can continue to show your potential if you got a good score on
Midterm exam.
You can still have a chance if you got a not good score on Midterm
exam.
.
Linear Algebra Course 331
Theorem
If is a square matrix, then
Column operations
Rows in correspond to columns in .
Thus, previous theorem relating row operations to determinants is also
true if we replace the word “row” everywhere by “column”.
Linear Algebra Course 332
Theorem
Suppose is a square matrix.
If is obtained from by a column replacement operation, then
det det .
If is obtained from by interchanging two columns, then
det det .
If B is obtained from by multiplying a column of by a scalar , then
det · det .
Linear Algebra Course 333
Important note: Only use column operations when computing
determinants, NOT when row reducing.
Linear Algebra Course 334
Linear Algebra Course 335
Theorem
If and are matrices, then
Example
Linear Algebra Course 336
Suppose is an invertible matrix.
Then det 0.
We have
Proposition
If is an invertible matrix (so det 0), then
Linear Algebra Course 337
Suppose , , are 3 3 matrices with det 2, det 3 and
Since det 0, is invertible and
Linear Algebra Course 338
2 dimensions:
The absolute value of the determinant of a 2 2 matrix is the area
of the parallelogram determined by the two column vectors.
3 dimensions:
The absolute value of the determinant of a 3 3 matrix is the
volume of the parallelepiped determined by the three column vectors.
Linear Algebra Course 339
Find the determinant, where
Use determinant to find out if the matrix is invertible.
Linear Algebra Course 340
11185
Linear Algebra Course 341
Last class
Relation between determinant and
▪ Row operation
▪ Matrix Inverse
▪ Matrix transpose
▪ Matrix product
This class
Vector spaces Definition & Examples
Subspace of vector spaces
Linear Algebra Course 342
Definition
A vector space is a nonempty set of vectors, satisfying the ten axioms
below.
is in a vector space because satisfies the
aforementioned ten axioms.
is not in a vector space because the zero vector is not in .
(It violates axiom 4)
Linear Algebra Course 344
Example
Let 0 be an integer and let
the set of all polynomials of degree at most :
Elements of have the form like
⋯
where ,⋯, are real numbers and is a variable.
Then the set is a vector space.
Note
is called polynomial.
The degree of above is .
Linear Algebra Course 345
Let’s verify 3 out of the 10 axioms here.
Let ⋯ and
⋯ .
Let be a scalar.
Axiom 1
The polynomial is defined as follows:
=
Therefore,
= ⋯
which is also a polynomial of degree at most .
So is in .
Linear Algebra Course 346
Axiom 4
=0 0 ⋯ 0
So zero vector is in . And
= 0 0 ⋯ 0
= ⋯
=
So .
Axiom 6
= ⋯
which is in .
The other 7 axioms also hold, so is a vector space.
Linear Algebra Course 347
Definition
A subspace of a vector space is a subset of that has three
properties:
The zero vector of is in .
For each and are in , + is in . (In this case we say is closed
under vector addition.)
For each in and each scalar , is in . (In this case we say is
closed under scalar multiplication.)
Note
Recall a subspace of n‐dimensional space (you already know).
Linear Algebra Course 348
Example
Show that is a subspace of R .
Solution
The zero vector of R is in (when 0 and 0 ).
Adding two vectors in always produces a vector whose second entry
is 0 and therefore the sum of two vectors is also in .
Multiplying a vector in by a scalar produces a vector in .
Since all properties hold, is a subspace of R .
Linear Algebra Course 349
Example
R ?
Solution
0 0
The zero vector of R is not in (when 0, .
0 1 0
Thus is not a subspace of R .
Linear Algebra Course 350
Theorem
In other word, if we can rewritten as linear combination of
, ⋯ , , then Span , ⋯ , } is a subspace.
Proof
is in Span ,⋯, } .
0 ⋯ 0
is in Span ,⋯, } .
⋯
is in Span ,⋯, } .
⋯
Linear Algebra Course 351
Example
Solution
Write vectors in in column form.
2 2
2 3 2 3
1 2
+b
2 3
Linear Algebra Course 352
Example
Solution
Write vectors in in column form.
2 2 0
1 0 1
0 0
1 2 0
1 0 1 +b + is not a linear
1 0 0 combination of
, ,
Thus is not a subspace of R .
Linear Algebra Course 353
Determine if the given set is a subspace of .
Determine if the given set is a subspace of .
Linear Algebra Course 354
11185
Linear Algebra Course 355
Last class
Vector spaces Definition & Examples
Subspace of vector spaces
This class
Null Spaces
Column Spaces
The Contrast Between Nul A and Col A
Null Spaces & Column Spaces: Review
Null Spaces & Column Spaces: Examples
Kernel and Range of a Linear Transformation
Linear Algebra Course 356
Definition
Theorem
Linear Algebra Course 357
Linear Algebra Course 358
Example
Linear Algebra Course 359
Linear Algebra Course 360
Linear Algebra Course 361
Definition
Theorem
Linear Algebra Course 362
Example
Linear Algebra Course 363
Linear Algebra Course 364
Example
Linear Algebra Course 365
Example
Linear Algebra Course 366
Definition
Linear Algebra Course 367
Theorem
Linear Algebra Course 368
Example
Linear Algebra Course 369
Example
Linear Algebra Course 370
Example
Linear Algebra Course 371
Linear Algebra Course 372
Linear Transformation
Linear Transformation
Linear Algebra Course 373
Linear Algebra Course 374
11185
Linear Algebra Course 375
Last class
Null Spaces
Column Spaces
Kernel and Range of a Linear Transformation
This class
Linearly Independent Sets
Basis Set
Spanning Set Theorem
Linear Algebra Course 376
Definition
Linear Algebra Course 377
Fact 1
Fact 2
Linear Algebra Course 378
Example 1
Example 2
Linear Algebra Course 379
Linear Algebra Course 380
Definition
Linear Algebra Course 381
Example 1
Linear Algebra Course 382
Example 2
Example 3
Linear Algebra Course 383
Example 4
Linear Algebra Course 384
Example
Linear Algebra Course 385
Linear Algebra Course 386
Example
Linear Algebra Course 387
Theorem
Linear Algebra Course 388
Example
Linear Algebra Course 389
Linear Algebra Course 390
Theorem
Example
Linear Algebra Course 391
Linear Algebra Course 392
Linear Algebra Course 21
11185
Linear Algebra Course 394
Last class
Coordinates and Coordinate Vector
Change‐of‐Coordinates Matrix
Isomorphic
This class
Eigenvectors/eigenvalue
Linear Algebra Course 395
Definition
Definition
An eigenvector of a linear
transformation is a non‐zero vector
whose direction does not change
when that linear transformation is
applied to it.
Linear Algebra Course 398
Linear Algebra Course 399
Linear Algebra Course 400
Procedure for finding eigenvectors
Linear Algebra Course 401
Definition
Linear Algebra Course 402
Linear Algebra Course 403
Linear Algebra Course 404
Linear Algebra Course 405
Linear Algebra Course 406
Linear Algebra Course 407
Linear Algebra Course 408
Linear Algebra Course 21