Lecture 08
Lecture 08
u v
Vector operations
1) Addition: u v
v vu
u
u
uv v
u+ v v + u
2) Negative of u: u
u u change in direction,
no change in magnitude
Vector operations
3) Difference: u v (same as u (v))
v
uv v
u
4) Scalar multiple: ku (k )
u 1
u 2u (1.2)u
2
Coordinate systems (2-space)
Position u with its initial point at (0, 0)
y
(u1 , u2 )
u (u1 , u2 ) u2
u
components of u
(0, 0) u1 x
xy plane
Coordinate systems (3-space)
Position u with its initial point at (0, 0, 0)
u3 (u1 , u2 , u3 )
u (u1 , u2 , u3 )
u
components of u u2
(0, 0, 0) y
u1
x xyz space
Addition and scalar multiplication
1) Addition: add component-wise.
u 2v
2u 3v
or
u1
u
n 1 matrix 2 (column vector)
:
u
n
Properties of vector operations
Let u, v , w be n-vectors and a , b be real numbers.
1) u v v u 5) a(bu) (ab)u
2) u (v w) (u v) w 6) a(u v) au av
3) u 0 u 0 + u 7) (a b)u au bu
4) u (u) 0 8) 1u u
Note:
n
1) For any positive integer n, is a set.
2) How many vectors does n
contain? Infinitely many!
2 3
3) Do and have any vector in common? No!
(2, 3) (1.5, 3 , 0)
Example (Subsets of Rn)
S {(u1 , u2 , u3 )|u1 0 and u2 u3 }
3
S contains vectors (u1 ,u2 ,u3 ) from such that
u1 0 and u2 u3
S is a subset of 3
(0,1, 1) S (0, 0, 0) S (1, 0, 0) S
S {(0, a , a)| a }
Example (Subsets of Rn)
S {(w, x , y , z)| w x y z 0, 2w x y 2 z 1}
w 13 t
x We are now able to rewrite
13 s
the set S in another way:
y s
z t s ,t
S {(13 t , 13 s , s , t )| s , t } (Explicit)
Example (Subsets of Rn)
2
Lines in
Recall that the equation ax by c in two variables x , y
2
represents a line in .
Solving
(Implicit) representation:
(Explicit) representation:
c bt c at
{( , t )|t }, if a 0; {(t , )|t }, if b 0.
a b
Example (Subsets of Rn)
3
Planes in
Recall that the equation ax by cz d in three variables
3
x , y , z represents a plane in .
(Implicit) representation:
Explicit representations: d bs ct
{( , s , t )| s , t }, if a 0;
a
d as ct
{(s , , t )| s , t }, if b 0;
b
d as bt
{(s , t , )| s , t }, if c 0;
c
Example (Subsets of Rn)
3
How do we represent lines in ?
3
A line in is usually represented explicitly.
A point and a
So what do
direction...or
we need?
two points.
Example (Subsets of Rn)
3
A line in is represented by the set
{ (a0 , b0 , c0 ) t (a , b , c) |t }
(a0 , b0 , c0 ) (a , b , c)
(a , b, c) (direction of the line)
origin
Example (Subsets of Rn)
3
A line in is represented by the set
Remember:
3
A line in cannot be represented by a
2
single linear equation like in .
Notation
S is a finite set. We use S to denoted the number
of elements in S .
S1 3, S2 1, S3 2
Definition (Linear Combination)
Consider u (1, 2, 1), v (0, 2, 5).
2u 3v (2,10,13) u 2v (1, 2, 11)
(2,10,13) and (1, 2, 11) are both linear combinations
of u and v.
n
Let u1 , u2 ,..., uk be vectors in .
For any real numbers c1 , c 2 ,..., ck , the vector
c1u1 c 2 u2 ... ck uk
2u 3v w
Example (Linear Combination)
Consider u (1, 2, 1), v (0, 2, 5), w (1, 0, 2).
How to check?
Example (Linear Combination)
Consider u (2,1, 3), v (1, 1, 2), w (3, 0, 5).
Question: Is (3, 3, 4) a linear combination of u, v , w ?
au bv cw (3, 3, 4)
2a b 3c 3 2 1 3 3
1 1 0 3
a b 3
3a 2b 5c 4 3 2 5 4
Example (Linear Combination)
Consider u (2,1, 3), v (1, 1, 2), w (3, 0, 5).
Question: Is (3, 3, 4) a linear combination of u, v , w ?
2 1 3 3 2 1 3 3
1 1 0 3 Gaussian 0 3 3 3
Elimination 2 2 2
3 2 5 4 0 0 0 0
a 2 t (a , b, c) (2, 1, 0)
b 1 t 2(2,1, 3) (1, 1, 2) 0(3, 0, 5) (3, 3, 4)
c t t
(a , b , c) (1, 2,1)
(2,1, 3) 2(1, 1, 2) (3, 0, 5) (3, 3, 4)
Example (Linear Combination)
Consider u (2,1, 3), v (1, 1, 2), w (3, 0, 5).
Question: Is (1, 2, 4) a linear combination of u, v , w ?
au bv cw (1, 2, 4)
2a b 3c 1 2 1 3 1
1 1 0 2
a b 2
3a 2b 5c 4 3 2 5 4
Example (Linear Combination)
Consider u (2,1, 3), v (1, 1, 2), w (3, 0, 5).
Question: Is (1, 2, 4) a linear combination of u, v , w ? No!
2 1 3 1 2 1 3 1
1 1 0 2 Gaussian 0 3 3 3
Elimination 2 2 2
3 2 5 4 0 0 0 3
(3, 13 , 0, 2)
4
Any (w, x , y , z) in :
So (1, 2, 4) span{ u, v , w}
Example
S {(1,1, 0),(2, 1,1)}.
(2a b , a , 3b a)
a(2,1, 1) b(1, 0, 3)