Chapter 1 Linear Equations and Linear Transformations
Chapter 1 Linear Equations and Linear Transformations
Chapter 1 Linear Equations and Linear Transformations
TRANSFORMATIONS
a1 x1 + a2 x2 + . . . + an xn = b
• Example
• 4x1 − 3x2 = x1 − 2
(√ )
• x2 = 2 6 − x1 + x3
• 4x1 − 5x2 = x1 x2
√
• x1 = x2 − 3
1
2
• The set of all possible solutions is called the solution set of the linear system.
• Two linear systems are called equivalent if they have the same solution set.
(b) x1 − 2x2 = −1
−x1 + 2x2 = 3
(c) x1 − 2x2 = −1
−x1 + 2x2 = 1
3
• Example Find the coefficient matrix and the augmented matrix of the follow-
ing linear system.
x1 + x2 + 2x3 = 9
2x1 + 4x2 − 3x3 = 1
3x1 + 6x2 − 5x3 = 0
5
• Theorem
If the augmented matrices of two linear systems are row equivalent, then the
two systems have the same solution set.
• Theorem
Each matrix is row equivalent to one and only one reduced echelon form.
• Example Suppose that the augmented matrix of a linear system with un-
knowns x1 , x2 , x3 and x4 has been reduced to
1 0 0 0 3
0 1 0 0 −1
0 0 1 0 0
0 0 0 1 5
• Example Suppose that the augmented matrix of a linear system with un-
knowns x1 , x2 , x3 and x4 has been reduced to
1 2 0 4 3
0 1 0 9 −1
0 0 0 1 −3
0 0 0 0 −2
• Example Suppose that the augmented matrix of a linear system with un-
knowns x1 , x2 , x3 and x4 has been reduced to
1 2 0 4 3
0 1 0 9 −1
0 0 0 1 −3
0 0 0 0 0
• Example Suppose that the augmented matrix of a linear system with un-
knowns x1 , x2 , x3 and x4 has been reduced to
1 2 3 4 3
0 0 1 9 −1
0 0 0 0 0
0 0 0 0 0
• Example Determine the existence and uniqueness of the solutions to the fol-
lowing
linear system
3x2 − 6x3 + 6x4 + 3x5 = −5
(a) 3x1 − 7x2 + 8x3 − 5x4 + 8x5 = 9
3x − 9x + 12x
1 2 3 − 9x4 + 6x5 = 15
3x2 − 6x3 + 6x4 + 3x5 = −9
(b) 3x1 − 7x2 + 8x3 − 5x4 + 8x5 = 9
3x − 9x + 12x
1 2 3 − 9x4 + 6x5 = 15
3x2 − 6x3 + 6x4 + 3x5 = 0
(c) 3x1 − 7x2 + 8x3 − 5x4 + 8x5 = 0
3x − 9x + 12x
1 2 3 − 9x4 + 6x5 = 0
13
14
1.3 Vectors
• Given two vectors, we can define their sum (add corresponding entries) and
scalar multiplication (multiply each entry).
1 2
• Example Given u = and v = , find 4u and 4u − 3v.
−2 −5
17
• Algebraic Properties
• u+v =v+u
• (u + v) + w = u + (v + w)
• u+0=0+u=u
• −u = (−1)u
• c(u + v) = cu + cv
• (c + d)u = cu + du
• c(du) = cdu
• 1u = u
18
c1 v1 + c2 v2 + . . . + cn vn
1 2 7
• Example Let a1 = −2 , a2 = 5 , determine whether b = 4
−5 6 −3
2
and c = 4 can be written as linear combinations of a1 and a2 .
−3
19
• A vector equation
x1 a1 + x2 a2 + . . . + xn an = b
has the same solution set as the linear system whose augmented matrix is
[ ]
a1 a2 . . . an b
• Definition
where aij denotes the entry at the ith row and jth column. It can also be
written as
[ ]
A = a1 a2 . . . an
• Theorem
• A+B =B+A
• (A + B) + C = A + (B + C)
• A+0=A
• r(A + B) = rA + rB
• (r + s)A = rA + sA
• r(sA) = (rs)A
• Matrix Multiplication
3 4 5
−2 3 2
−2 −1 7
• Example Let A = and B = 1 −5 0 . Find the third
6 −7 8
−3 −1 1
0 −2 1
row of AB.
23
• Theorem
• A(BC) = (AB)C
• A(B + C) = AB + AC
• (B + C)A = BA + CA
• r(AB) = (rA)B = A(rB)
• Im A = A = AIn
3 4 5
• Example Let A = −2 −1 7 . Find A3 .
0 2 −3
24
• Theorem
• (AT )T = A
• (A + B)T = AT + B T
• (rA)T = rAT
• (AB)T = B T AT
• A linear system
a11 x1 + a12 x2 + . . . + a1n xn = b1
a21 x1 + a22 x2 + . . . + a2n xn = b2
..
.
am1 x1 + am2 x2 + . . . + amn xn = bm
where
a11 a12 . . . a1n x1 b1
a21 a22 . . . a2n x2 b2
A= , x = , b=
... ..
. . . . ... ... ...
am1 am2 . . . amn xn bm
a11 a12 a1n
a21 a22 a2n
a1 = , a2 = , . . . an =
... ... ...
am1 am2 amn
are called the columns of the matrix A, and the linear system is equivalent to
the vector equation
x1 a1 + x2 a2 + . . . + xn an = b
• Theorem
• Note
For every b ∈ Rm , the equation Ax = b has a solution if and only if the row
echelon form of A does not have a row consisting entirely of zeros.
• Theorem
implies
c1 = c2 = . . . = cp = 0.
1 4 2
• Example Let v1 = 2, v2 = 5 and v3 = 1. Determine if the set
3 6 0
{v1 , v2 , v3 } is linearly independent. If not, find a linear relation among v1 , v2
and v3 .
31
0 1 4
• Example Determine if the columns of the matrix A = 1 2 −1 are lin-
5 8 0
early independent.
• Theorem
The columns of a matrix A are linearly independent if and only if the equation
Ax = 0 has only the trivial solution, if and only if every column of A is pivot.
32
• Example Determine whether the following sets of vectors are linearly inde-
pendent.
3 6
(a) v1 = , v2 =
1 2
3 6
(b) v1 = , v2 =
2 2
• Theorem
A set of two vectors {v1 , v2 } is linearly dependent if and only if one of the
vectors is a multiple of the other. The set of linearly independent if and only
if neither of the vectors is a multiple of the other.
33
• Theorem
• Theorem
• Example
Determine
by inspection if the given set is linearly dependent.
1 2 3 4
(a) 7, 0, 1, 1
6 9 5 8
0 2 3
(b) 0, 0, 1
0 9 5
2 3
(c) 0, 1
9 5
−2 3
4 −6
(d) ,
6 −9
10 −15
1 −3 3 3
2
• Example Let A = 3 5 , u = , b = 2 , c = 2 , and
−1
−1 7 −5 5
define a transformation T : R2 → R3 by T (x) = Ax.
(a) Find T (u).
(b) Find an x in R2 whose image under T is b. Is there more than one such x?
(c) Determine whether c is in the range of T .
36
• Linear Transformations
A transformation T is linear if
(a) T (u + v) = T (u) + T (v)
(b) T (cu) = cT (u)
• (For your information only, if you ever heard that linear transform
maps straight lines to straight lines and if you want to know how
to represent a straight line in Rn ) Suppose u and v are two points in Rn .
It is not difficult to see that as t runs through −∞ to ∞, tu + (1 − t)v runs
through all points lying on the straight line
passing through u and v. For
x
example, in R2 , we know any point lying on the straight line passing
y
x1 x
through u = and v = 2 satisfies y = y1 −y2 (x − x2 ) + y2 . Hence
x1 −x2
y1 y2
y1 −y2
x−x2 = x1 −x2 . If x − x2= t(x − x ), then y − y2 = t(y1 − y2 ). It means that if
y−y2
1 2
x x x
we set t = xx−x 2
, then = t 1 + (1 − t) 2 .
1 −x2
y y1 y2
Question: if t is required to lie between 0 and 1, what is tu + (1 − t)v?
You can think of t as time and think of tu + (1 − t)v ∈ Rn as the position of
a particle at time t. Question: If you have learned multivariable calculus, can
you find what is the velocity and acceleration of this particle?
Under the transformation T , this line is mapped to T (tu+(1−t)v) = tT (u)+
(1−t)T (v), which is again a line that passes through two points T (u) and T (v).
Hence linear transformation maps straight lines to straight lines.
37
• Theorem
• Theorem
If T is a linear transformation,
(a) T (0) = 0
(b) T (c1 v1 + c2 v2 + . . . + cp vp ) = c1 T (v1 ) + c2 T (v2 ) + . . . + cp T (vp )
38
1 0 0
• Example Describe the linear transformation x 7→ Ax, where A = 0 1 0.
0 0 0
r 0
• Example Describe the linear transformation x 7→ Ax, where A = .
0 r
1 3
• Example Describe the linear transformation x 7→ Ax, where A = .
0 1
39
0 −1
• Example Describe the linear transformation x 7→ Ax, where A = .
1 0
cos θ − sin θ
• Example Describe the linear transformation x 7→ Ax, where A = .
sin θ cos θ
• In Rn , we define
1 0 0 0
0 1 0 0
e1 =
0 , e2 = 0 , e3 = 1 , . . . , en = 0
... ... ... ...
0 0 0 1
41
• Theorem
In fact,
[ ]
A = T (e1 ) T (e2 ) . . . T (en )
42
• Definition
• Definition
• Theorem