Top Banner
ENGG2013 Unit 14 Subspace and dimension Mar, 2011.
21
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

ENGG2013 Unit 14

Subspace and dimensionMar, 2011.

Page 2: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Yesterday

• Every basis in contains two vectors

• Every basis in contains three vectors

kshum ENGG2013 2

x

y

xy

z

Page 3: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Basis: Definition

• For any given vector in

if there is one and only one choice for the coefficients c1, c2, …,ck, such that

we say that these k vectors form a basis of . kshum ENGG2013 3

Page 4: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Review of set and subset

kshum ENGG2013 4

Cities in China

Shanghai

Beijing

Hong Kong

Tianjing

Wuhan

Guangzhou

Shenzhen

Subset of cities in Guangdongprovince

Page 5: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Review: Intersection and union

kshum ENGG2013 5

F: Set of fruits

A: subset o

f fruit w

ith re

d skin

B: seedless

A union B = {cherry, apple, raspberry, watermelon}

A intersect B = {raspberry}

Page 6: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Subspace: definition

• A subspace W in is a subset which is– Closed under addition– Closed under scalar multiplication

kshum ENGG2013 6

W

Page 7: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Conceptual illustration

kshum ENGG2013 7

W

Page 8: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Example of subspace

• The z-axis

kshum ENGG2013 8

x

y

z

Page 9: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Example of subspace• The x-y plane

kshum ENGG2013 9

x

y

z

Page 10: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Non-example

• Parabola

kshum ENGG2013 10

x

y

Page 11: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Intersection

• Intersection of two subpaces is also a subspace.

kshum ENGG2013 11

x

y

z

For example, the intersectionof the x-y plane and the x-z planeis the same as the x-axis

Page 12: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Union • Union of two subspace is in general not a subspace.

– It is closed under scalar multiplicationbut not closed under addition.

kshum ENGG2013 12

x

y

z

For example, the unionof the x-y plane and the z axisis not closed under addition

Page 13: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Lattice points

• The set is not a subspace

– It is closed under addition, – But not closed under scalar multiplication

kshum ENGG2013 13

1

1

2

2

Page 14: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Subspace, Basis and dimension

• Let W be a subspace in

• For any given vector in W,

if there is one and only one choice for the coefficients c1, c2, …,ck, such that

we say that these k vectors form a basis of W. and define the dimension of subspace W by dim(W)=k.kshum ENGG2013 14

Page 15: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Alternate definition

• A set of k vectors

is called a basis of a subspace W in , if1.The k vectors are linearly independent2.The span of them is W.The dimension of W is defined as k.We say that W is generated by these k vectors.kshum ENGG2013 15

Page 16: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Example

• Let W be the x-z plane• W is a subspace• u and v form a basis

of W.• The dimension of W is 2.

kshum ENGG2013 16

x

yz

W

Page 17: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Example

• Let W be the y-axis

• The set

containing only one elementis a basis of W.

Dimension of W is 1.kshum ENGG2013 17

x

y

z

W

Page 18: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Question

• Let W be the y-axisshifted to the right by one unit.

• What is the dimensionof W?

kshum ENGG2013 18

x

yz

W1

Page 19: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Question

• Let W be the straight line x=y=z.

• What is the dimension of W?

kshum ENGG2013 19

Page 20: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Question

• Find a basis for the plane

kshum ENGG2013 20

Page 21: ENGG2013 Unit 14 Subspace and dimension Mar, 2011.

Question

• Find a basis for the intersection of

(This is the intersection of two planes:x – 2y – z = 0, and x + y + z = 0.)

kshum ENGG2013 21