Docsity

Introduction to the Linear Transformations - Homework | MATH 290, Study notes of Linear Algebra

Partial preview of the text

Download Introduction to the Linear Transformations - Homework | MATH 290 and more Study notes Linear Algebra in PDF only on Docsity!

Chapter 6

Linear Transformation

6.1 Intro. to Linear Transformation

Homework: [Textbook, §6.1 Ex. 3, 5, 9, 23, 25, 33, 37, 39 ,53, 55,

57, 61(a,b), 63; page 371-].

In this section, we discuss linear transformations.

190 CHAPTER 6. LINEAR TRANSFORMATION

Recall, from calculus courses, a funtion

f : X → Y

from a set X to a set Y associates to each x ∈ X a unique element

f (x) ∈ Y. Following is some commonly used terminologies:

  1. X is called the domain of f.
  2. Y is called the codomain of f.
  3. If f (x) = y, then we say y is the image of x. The preimage of y

is

preimage(y) = {x ∈ X : f (x) = y}.

  1. The range of f is the set of images of elements in X.

In this section we deal with functions from a vector sapce V to

another vector space W, that respect the vector space structures. Such

a function will be called a linear transformation, defined as follows.

Definition 6.1.1 Let V and W be two vector spaces. A function

T : V → W

is called a linear transformation of V into W, if following two prper-

ties are true for all u, v ∈ V and scalars c.

  1. T (u+v) = T (u)+T (v). (We say that T preserves additivity.)
  2. T (cu) = cT (u). (We say that T preserves scalar multiplica-

tion.)

Reading assignment Read [Textbook, Examples 1-3, p. 362-].

Trivial Examples: Following are two easy exampes.

192 CHAPTER 6. LINEAR TRANSFORMATION

So, (1) is proved. Similarly,

T (−v) = T ((−1)v) = (−1)T (v) = −T (v).

So, (2) is proved. Then, by property (1) of the definition 6.1.1, we have

T (u − v) = T (u + (−1)v) = T (u) + T ((−1)v) = T (u) − T (v).

The last equality follows from (2). So, (3) is proved.

To prove (4), we use induction, on n. For n = 1 : we have T (c 1 v 1 ) =

c 1 T (v 1 ), by property (2) of the definition 6.1.1.

For n = 2, by the two properties of definition 6.1.1, we have

T (c 1 v 1 + c 2 v 2 ) = T (c 1 v 1 ) + T (c 2 v 2 ) = c 1 T (v 1 ) + c 2 T (v 2 ).

So, (4) is prove for n = 2. Now, we assume that the formula (4) is valid

for n − 1 vectors and prove it for n. We have

T (c 1 v 1 + c 2 v 2 + · · · + cnvn) = T (c 1 v 1 + c 2 v 2 + · · · + cn− 1 vn− 1 )+T (cnvn)

= (c 1 T (v 1 ) + c 2 T (v 2 ) + · · · + cn− 1 T (vn− 1 )) + cnT (vn).

So, the proof is complete.

6.1.2 Linear transformations given by matrices

Theorem 6.1.3 Suppose A is a matrix of size m × n. Given a vector

v =

v 1

v 2

vn

∈ R

n def ine T (v) = Av = A

v 1

v 2

vn

Then T is a linear transformation from R

n to R

m .

6.1. INTRO. TO LINEAR TRANSFORMATION 193

Proof. From properties of matrix multiplication, for u, v ∈ R

n and

scalar c we have

T (u + v) = A(u + v) = A(u) + A(v) = T (u) + T (v)

and

T (cu) = A(cu) = cAu = cT (u).

The proof is complete.

Remark. Most (or all) of our examples of linear transformations come

from matrices, as in this theorem.

Reading assignment Read [Textbook, Examples 2-10, p. 365-].

6.1.3 Projections along a vector in R

n

Projections in R

n is a good class of examples of linear transformations.

We define projection along a vector.

Recall the definition 5.2.6 of orthogonal projection, in the context

of Euclidean spaces R

n .

Definition 6.1.4 Suppose v ∈ R

n is a vector. Then,

f or u ∈ R

n def ine projv(u) =

v · u

‖ v ‖^2

v

  1. Then projv : R

n → R

n is a linear transformation.

Proof. This is because, for another vector w ∈ R

n and a scalar

c, it is easy to check

projv(u+w) = projv(u)+projv(w) and projv(cu) = c (projv(u)).

  1. The point of such projections is that any vector u ∈ R

n can be

written uniquely as a sum of a vector along v and another one

perpendicular to v:

u = projv(u) + (u − projv(u)).

6.1. INTRO. TO LINEAR TRANSFORMATION 195

Exercise 6.1.6 (Ex. 10. p. 371) Determine whether the function

T : R

2 → R

2 T (x, y) = (x

2 , y) is linear?

Solution: We have

T ((x, y) + (z, w)) = T (x + z, y + w) = ((x + z)

2 , y + w)

6 = (x

2 , y) + (z

2 , w) = T (x, y) + T (z, w).

So, T does not preserve additivity. So, T is not linear.

Alternately, you could check that T does not preserve scalar multi-

plication.

Alternately, you could check this failure(s), numerically. For example,

T ((1, 1) + (2, 0)) = T (3, 1) = (9, 1) 6 = T (1, 1) + T (2, 0).

Exercise 6.1.7 (Ex. 24, p. 371) Let T : R

3 → R

3 be a linear trans-

formation such that

T (1, 0 , 0) = (2, 4 , −1), T (0, 1 , 0) = (1, 3 , −2), T (0, 0 , 1) = (0, − 2 , 2).

Compute T (− 2 , 4 , −1).

Solution: We have

So, T (− 2 , 4 , −1) =

− 2 T (1, 0 , 0)+4T (0, 1 , 0)−T (0, 0 , 1) = (2, 4 , −1)+(1, 3 , −2)+(0, − 2 , 2) = (3, 5 , −1).

Remark. A linear transformation T : V → V can be defined, simply

by assigning values T (vi) for any basis {v 1 , v 2 ,... , vn} of V. In this

case of the our problem, values were assigned for the standard basis

{e 1 , e 2 , e 3 } of R

3 .

196 CHAPTER 6. LINEAR TRANSFORMATION

Exercise 6.1.8 (Ex. 38, p. 372) Let

A =

[

]

. Let T : R

5 → R

2

be the linear transformation T (x) = Ax.

  1. Compute T (1, 0 , − 1 , 3 , 0).

Solution:

T (1, 0 , − 1 , 3 , 0) =

[

]

[

]

  1. Compute preimage, under T, of (− 1 , 8).

Solution: The preimage consists of the solutions of the linear

system

[

]

x 1

x 2

x 3

x 4

x 5

[

]

The augmented matrix of this system is

[

]

The Gauss-Jordan form is

[

1 − 2 0 − 3. 5 − 4 5

]

198 CHAPTER 6. LINEAR TRANSFORMATION

  1. Find T (x, y, z).

Solution: See definition 6.1.4.

projv(x, y, z) =

v · (x, y, z)

‖ v ‖

2

v =

(1, 1 , 1) · (x, y, z)

‖ (1, 1 , 1) ‖^2

x + y + z

x + y + z

x + y + z

x + y + z

  1. Compute T (5, 0 , 5).

Solution: We have

T (5, 0 , 5) =

x + y + z

x + y + z

x + y + z

  1. Compute the matrix of T.

Solution: The matrix is given by

A =

1 3

1 3

1 3 1 3

1 3

1 3 1 3

1 3

1 3

because

T (x, y, z) =

1 3

1 3

1 3 1 3

1 3

1 3 1 3

1 3

1 3

x

y

z

6.2. KERNEL AND RANGE OF LINEAR TRANSFORMATION 199

6.2 Kernel and Range of linear Transfor-

mation

We will essentially, skip this section. Before we do that, let us give a

few definitions.

Definition 6.2.1 Let V, W be two vector spaces and T : V → W a

linear transformation.

  1. Then the kernel of T , denoted by ker(T ), is the set of v ∈ V such

that T (v) = 0. Notationally,

ker(T ) = {v ∈ V : T (v) = 0 }.

It is easy to see the ker(T ) is a subspace of V.

  1. Recall, range of T, denoted by range(T ), is given by

range(T ) = {v ∈ W : w = T (v) f or some v ∈ V }.

It is easy to see the range(T ) is a subspace of W.

  1. We say the T is isomorphism, if T is one-to-one and onto. It fol-

lows, that T is an isomorphism if ker(T ) = { 0 } and range(T ) =

W.

6.3. MATRICES FOR LINEAR TRANSFORMATIONS 201

These columns T (e 1 ), T (e 2 )... , T (en) form a m×n matrix A as follows,

A =

a 11 a 12... a 1 n

a 21 a 22... a 2 n

am 1 am 2... amn

This matrix A has the property that

T (v) = Av f or all v ∈ R

n .

This matrix A is called the standard matrix of T.

Proof. We can write v ∈ R

n as

v =

v 1

v 2

· · ·

vn

= v 1 e 1 + v 2 e 2 + · · · + vnen.

We have,

Av =

a 11 a 12... a 1 n

a 21 a 22... a 2 n

· · · · · · · · · · · ·

am 1 am 2... amn

v 1

v 2

· · ·

vn

= v 1

a 11

a 21

· · ·

am 1

+v 2

a 12

a 22

· · ·

am 2

+· · ·+vn

a 1 n

a 2 n

· · ·

amn

= v 1 T (e 1 )+v 2 T (e 2 )+· · ·+vnT (en) = T (v 1 e 1 + v 2 e 2 + · · · + vnen) = T (v).

The proof is complete.

Reading assignment: Read [Textbook, Examples 1,2; page 389-390].

In our context of linear transformations, we recall the following

definition of composition of functions.

Definition 6.3.2 Let

T 1 : R

n → R

m , T 2 : R

m → R

p

202 CHAPTER 6. LINEAR TRANSFORMATION

be two linear transformations. Define the composition T : R

n → R

p

of T 1 with T 2 as

T (v) = T 2 (T 1 (v)) f or v ∈ R

n .

The composition T is denoted by T = T 2 oT 1. Diagramatically,

R

n

T =T 2 oT 1 DD""

DD

DD

DD

T 1 (^) // R

m

T 2  

R

p .

Theorem 6.3.3 Suppose

T 1 : R

n → R

m , T 2 : R

m → R

p

are two linear transformations.

  1. Then, the composition T = T 2 oT 1 : R

n → R

p is a linear transfor-

mation.

  1. Suppose A 1 is the standard matrix of T 1 and A 2 is the standard

matrix of T 2. Then, the standard matrix of the composition

T = T 2 oT 1 is the product A = A 2 A 1.

Proof. For u, v ∈ R

n and scalars c, we have

T (u+v) = T 2 (T 1 (u+v)) = T 2 (T 1 (u)+T 1 v)) = T 2 (T 1 (u))+T 2 T 1 (v)) = T (u)+T (v)

and

T (cu) = T 2 (T 1 (cu)) = T 2 (cT 1 (u)) = cT 2 (T 1 (u)) = cT (u).

So, T preserves addition and scalar multiplication. Therefore T is a

linear transformation and (1) is proved. To prove (2), we have

T (u) = T 2 (T 1 (u)) = T 2 (A 1 u) = A 2 (A 1 u) = (A 2 A 1 )u.

204 CHAPTER 6. LINEAR TRANSFORMATION

Proof. (First, recall definition 6.2.1, that T is isomorphism if T is 1

to 1 and onto.)

(Proof of (1) ⇒ (2) :) Suppose T is invertible and T 2 be the inverse.

Suppose T (u) = T (v). Then,

u = T 2 (T (u)) = T 2 (T (v)) = v.

So, T is 1 to 1. Also, given u ∈ R

n we have

u = T (T 2 (u)). So, T onto R

n .

So, T is an isomorphism.

(Proof of (2) ⇒ (3) :) So, assume T is an isomorphism. Then,

Ax = 0 ⇒ T (x) = T ( 0 ) ⇒ x = 0.

So, Ax = 0 has an unique solution. Therefore A is invertible and (3)

follows from (2).

(Proof of (3) ⇒ (1) :) Suppose A is invertible. Let T 2 (x) = A

− 1 x,

then T 2 is a linear transformation and it is easily checked that T 2 is the

inverse of T. So, (1) follows from (3). The proof is complete.

Reading assignment: Read [Textbook, Examples 4; page 393].

6.3.1 Nonstandard bases and general vector spaces

The above discussion about (standard) matrices of linear transforma-

tions T had to be restricted to linear transformations T : R

n → R

m .

This wa sbecause R

n has a standard basis {e 1 , e 2 ,... , en, } that we

could use.

Suppose T : V → W is a linear transformation between two abstract

vector spaces V, W. Since V and W has no standard bases, we cannot

associate a matrix to T. But, if we fix a basis B of V and B

′ of W we

can associate a matrix to T. We do it as follows.

6.3. MATRICES FOR LINEAR TRANSFORMATIONS 205

Theorem 6.3.6 Suppose T : V → W is a linear transformation be-

tween two vector spaces V, W. Let

B = {v 1 , v 2 ,... , vn} be basis of V

and

B

′ = {w 1 , w 2 ,... , wm} be basis of w.

We can write

T (v 1 ) =

[

w 1 w 2 · · · wm

]

a 11

a 21

am 1

Writing similar equations for T (v 2 ),... , T (vn), we get

[

T (v 1 ) T (v 2 ) · · · T (vn)

]

[

w 1 w 2 · · · wm

]

a 11 a 12 · · · a 1 n

a 21 a 22 · · · a 2 n

am 1 am 2 · · · amn

Then, for v = x 1 v 1 + x 2 v 2 + · · · + xnvn, We have

T (v) =

[

w 1 w 2 · · · wm

]

a 11 a 12 · · · a 1 n

a 21 a 22 · · · a 2 n

am 1 am 2 · · · amn

x 1

x 2

xn

Write A = [aij ]. Then, T is determined by A, with respect to bases

B, B

′ .

Exercise 6.3.7 (Ex. 6, p. 397) Let

T (x, y, z) = (5x − 3 y + z, 2 z + 4y, 5 x + 3y).

6.3. MATRICES FOR LINEAR TRANSFORMATIONS 207

So, the standard matrix of T is

A =

[

]

Therefore,

T (0, 1 , −1) = A

[

]

[

]

We will write our answer in as a row: T (0, 1 , −1) = (1, 4).

Exercise 6.3.9 (Ex. 18, p. 397) Let T be the reflection in the line

y = x in R

2

. So, T (x, y) = (y, x).

  1. Write down the standard matrix of T.

Solution: In this case, T : R

2 → R

2

. With standard basis e 1 =

T , e 2 = (0, 1)

T , we have

T (e 1 ) =

[

]

, T (e 2 ) =

[

]

So, the standard matrix of T is

A =

[

]

  1. Use the standard matrix to compute T (3, 4).

Solution: Of course, we know T (3, 4) = (4, 3). They want use to

use the standard matrix to get the same answer. We have

T (3, 4) = A

[

]

[

] [

]

[

]

or T (3, 4) = (4, 3).

208 CHAPTER 6. LINEAR TRANSFORMATION

Lemma 6.3.10 Suppose T : R

2 → R

2 is the counterclockwise rotation

by a fixed angle θ. Then

T (x, y) =

[

cos θ − sin θ

sin θ cos θ

] [

x

y

]

Proof. We can write

x = r cos φ, y = r sin φ, where r =

x^2 + y^2 , tan φ = y/x.

By definition

T (x, y) = (r cos(φ + θ), r sin(φ + θ)).

Using trig-formulas

r cos(φ + θ) = r cos φ cos θ − r sin φ sin θ = x cos θ − y sin θ

and

r sin(φ + θ) = r sin φ cos θ + r cos φ sin θ = y cos θ + x sin θ.

So,

T (x, y) =

[

cos θ − sin θ

sin θ cos θ

] [

x

y

]

The proof is complete.

Exercise 6.3.11 (Ex. 22, p. 397) Let T be the counterclockwise ro-

tation in R

2 by angle 120

o .

  1. Write down the standard matrix of T.

Solution: We use lemma 6.3.10, with θ = 120

0

. So, the standard

matrix of T is

A =

[

cos θ − sin θ

sin θ cos θ

]

[

cos 120 − sin 120

sin 120 cos 120

]

[

√ 3

√^2 3 2

]