Slide Chapter1 ST
Slide Chapter1 ST
1.1
1.2
1.3
1.4
1.5
1.1
Systems of linear equations
1.1. SYSTEMS OF LINEAR EQUATIONS
Example. 1/ 3x y 2
2 / 2 x1 x2 1 0
3 / x1 x23 1
4 / x1 x2 3x2 0
1.1. SYSTEMS OF LINEAR EQUATIONS
x1 2x2 1
b x 2x 3
1 2
x1 2x2 1
c x 2x 1
1 2
1.1. SYSTEMS OF LINEAR EQUATIONS
x2 x3 3
1.1. SYSTEMS OF LINEAR EQUATIONS
MATRIX NOTATION
An m x n matrix is a rectangular array of numbers with m rows and
n columns. In this case, size of the matrix is mxn.
1.1. SYSTEMS OF LINEAR EQUATIONS
x1 2x2 x3 0
Given linear system 2x1 4x2 6x3 4
x2 x3 3
with the coefficients of each variable aligned in columns,
1 2 1
the matrix 2 4 6 is called the coefficient matrix (or matrix coefficients)
0 1 1
of the system, and
1 2 1 0
2 4 6 4 is called the augmented matrix of the system.
0 1 1 3
1.1. SYSTEMS OF LINEAR EQUATIONS
(the leading entries are 1’s, and there are 0’s below and above each leading 1.)
Example 3. Determine which matrices are in echelon form,
0 0
A
1 2
0 3 2
B 1 2 1
0 0 0
2 0 1
C
0 0 3
1 0 1
D
2 1 1
Example 3. Determine which matrices are in echelon form.
0 0
A is NOT in echelon form.
1 2
0 3 2
B 1 2 1 is NOT in echelon form.
0 0 0
2 0 1
C is in echelon form.
0 0 3
1 0 1
D is NOT in echelon form.
2 1 1
1.2. ROW REDUCTION AND ECHELON FORMS
A pivot position in a matrix A is a location in A that corresponds to
a leading 1 in the reduced echelon form of A. A pivot column is a
column of A that contains a pivot position.
A pivot is a nonzero number in a pivot position that is used as
needed to create zeros via row operations.
Example.
1 2 1 1 2 1 1 2 1
A 2 4 1 0 0 1 0 0 1 B
1 2 3 0 0 4 0 0 0
1 2 1 1 2 0
0 0 1 0 0 1 C
0 0 0 0 0 0
THE ROW REDUCTION ALGORITHM
Example 4. Apply elementary row operations to transform the
following matrix first into echelon form and then into reduced
echelon form:
0 0 0 0 0
1 1 2 2 3
3 7 17
1 1
0 2 5
1 0
SOLUTION.
STEP 1
If there is a row of all zeros, interchange rows to move this row to the last row.
0 0 0 0 0
0
2 5 1 0
1 1 2 2 3 h h 1
1 2 2 3
3 7 17 1 1 3
1 4
7 17 1 1
0 2 5 1 0 0
0 0 0 0
STEP 2
Begin with the leftmost, nonzero column. This is a pivot column. The pivot
position is at the top. Select a nonzero entry in the pivot column as a pivot.
If necessary, interchange rows to move this entry into the pivot position.
Pivot position
Pivot
0 2 5 1 0
1 1 2 2 3
1 1 2 2 3 h h 0 2 5 1 0
3 7 1 7 1 1 3
1 2
7 1 7 1 1
0 0 0 0 0 0
0 0 0 0
Pivot column
STEP 3
Use row replacement operations to create zeros in all positions below the pivot.
Pivot
1 1 2 2 3
1
1 2 2 3
0 2 5 1 0 h h 3 h1 0 2 5 1 0
3 3
3
7 17 1 1 0
4 11 7 10
0 0 0 0 0 0
0 0 0 0
STEP 4
Cover (or ignore) the row containing the pivot position and cover all rows, if
any, above it. Apply steps 1-3 to the submatrix that remains. Repear the process
(new) pivot
1 1 2 2 3 1 1 2 2 3
0 2 5 1 0 h3 h3 2h2
0 2 5 1 0
0 4 1 1 7 1 0
0 0 1 5 10
0 0 0 0 0 0 0 0 0 0
STEP 5
Beginning with the rightmost pivot and working upward and the the left, create
1 1 2 2 3 1 1 0 12 23
0 2 5 1 0 h h 5h 0 2 0 24 50
1 5 10
2 2 3
0 0 1 5 10 h h 2h
1 1 3
0 0
0 0 0 0 0 0 0 0 0 0
The rightmost pivot
1 1 0 12 23 1 0 0 0 2
0 2 0 24 50 h h 1 2h 0
2 0 24 50
1 5 10 1 5 10
1 1 2
0 0 0 0
0 0 0 0 0 0 0 0 0 0
the next pivot the pivot is not 1
1 0 0 0 2
h2 1 2h2 0 1 0 12 25
0 0 1 5 10
0 0 0 0 0
Note.
• The combination of steps 1-4 is called the forward phase of the
row reduction algorithm. Step 5 is called the backward phase.
1.2. ROW REDUCTION AND ECHELON FORMS
x1 x2 2 x3 x4 2
2 x1 x2 x3 1
1.2. ROW REDUCTION AND ECHELON FORMS
x1 x2 2 x3 x4 2
2 x1 x2 x3 1
Vector in ℝ
A matrix with only one column is called a column vector, or simply
a vector.
LINEAR COMBINATIONS
Given vectors v , v , … ,v in ℝ and given scalars c , ,…, , the
vector y defined by
y c1 v1 ... c p v p
is called a linear combination of v , v , … ,v with weight c , ,…, .
The weights in a linear combination ca be any real numbers, including
zero.
1.3. VECTOR EQUATIONS
VECTOR EQUATION
A vector equation
x1a1 x2a 2 ... xn a n b
has the same solution set as the linear system whose augmented
matrix is
a1 a 2 a n b (*)
.
x
n
Ax
1.4. THE MATRIX EQUATION Ax=b
THEOREM 3
If A is an × matrix, with columns a1, …, an, and if b is in ℝ , the
matrix equation
Ax = b
has the same solution set as the vector equation
+ + ⋯+ =
which, in turn, has the same solution set as the system of linear
equations whose augmented matrix is
[ … b]
1.4. THE MATRIX EQUATION Ax=b
The equation Ax=b has a solution (or is consistent) if and only if b
is a linear combination of the columns of A.
THEOREM 4
Let A be an × matrix. Then the following statements are
logically equivalent. That is, for a particular A, either they are all
true statements or they are all false.
a. For each b in ℝ , the equation Ax=b has a solution.
b. Each b in ℝ is a linear combination of the columns of A.
c. The columns of A span ℝ .
d. A has a pivot position in every row.
span R3?
1.4. THE MATRIX EQUATION Ax=b
THEOREM 5
THEOREM 6
Suppose the equation Ax = b is consistent for
some given b, and let p be solution. The solution
set of Ax = b is the set of all vectors of the
form = + , where vh is any solution of the
homogeneous equation Ax=0.
1.5. SOLUTION SETS OF LINEAR SYSTEMS
3 1 3
Example 11. Let
v1 1 , v 2 2 , v 3 8
0 4 12
THEOREM 7.
Characterization of linearly dependent sets
THEOREM 9
If a set S {v1 ,..., v p } in ℝ contains the zero
vector, then the set is linearly dependent.
1.7. LINEAR INDEPENDENCE
MATRIX TRANSFORMATIONS
A matrix transformation T is a transformation that is computed
as T(x) = Ax, where x is in Rn and A is an m x n matrix.
In this case:
The range of T
= is the set of all images T(x)
= is the set of all vectors Ax
= is the set of all vectors x1a1+… +xnan, where ak is the k-th column of A.
= is the set of all linear combinations of the columns of A.
Linear transformations
A transformation (or mapping) T is linear if:
i.T (u v) T (u) T (v) for all u, v in the domain of T;
ii.T (cu) cT (u) for all scalars c an all u in the domain of T.
The nxn identity matrix In is (the identity matrix in Rn), is the nxn
matrix with 1’s on the diagonal and 0’s elsewhere.
1.9. THE MATRIX OF A LINEAR TRANSFORMATION
Example 15.
a. Find the standard matrix A for the dilation transformation
T(x) = 0.5x, for x in R2.
b. Find the standard matrix A for the transformation
T(x1, x2) =(3x1-x2, 2x1, x1+5x2).
Example 16. Let T: R2 -> R2
be the transformation that
rotates each point in R2
about the origin through an
angle φ, with
counterclockwise rotation
for a positive angle. Then T
is a linear transformation.
Find the standard matrix A
of this transformation.
1.9. THE MATRIX OF A LINEAR TRANSFORMATION
Geometric linear transformation of R2
• See pages 74-76.
1.9. THE MATRIX OF A LINEAR TRANSFORMATION
One-to-one and Onto Mappings.
A mapping T: Rn -> Rm is said to be
1. onto Rm if each b in Rm is the image of at least one x in Rn.
2. one-to-one if each b in Rm is the image of at most one x in Rn.
Remark:
Suppose Amxn is the standard matrix for the linear transformation
T: Rn -> Rm. Then
1. T maps Rn onto Rm if and only if A has a pivot position in every row.
2. T is one-to-one if and only if A has a pivot position in every column.
1.9. THE MATRIX OF A LINEAR TRANSFORMATION
Example 17. Let
1 2 1
T x Ax, A
3 0 1
F x 1 , x 2 2x 1 x 2 , x 1 x 2
a. Does T map R3 onto R2? Is T one-to-one?
b. Does F map R2 onto R2? Is F one-to-one?