MATH1014-LinearAlgebra-Lecture02.slides
MATH1014-LinearAlgebra-Lecture02.slides
= a1 b1 + a2 b2 + · · · + an bn
a
Recall that if v = b , the length (or magnitude) of v is defined as
c
p
kvk = a2 + b 2 + c 2 .
z
Q
O v-u
θ
x u
y
P
whence
u·v = kuk · kvk cos θ (1)
If either u or v are zero then the angle betwen them is not defined. In this
case, however, (1) still holds in the sense that both sides are zero.
Definition
Two vectors are called orthogonal or perpendicular or normal if u·v = 0,
that is, θ = π/2.
u-uv
u
u
v
uv
h
u=(h)+(u-h)
u - uv
u
v
s
θ uv
u - uv
u
v
s
θ uv
a×b = ha2 b3 − a3 b2 , a3 b1 − a1 b3 , a1 b2 − a2 b1 i.
a×b = ha2 b3 − a3 b2 , a3 b1 − a1 b3 , a1 b2 − a2 b1 i.
You should check that this formula gives a vector satisfying the definition
on the previous slide! Alternatively, we could give this formula as the
definition and then prove those properties as a theorem.
a b
= ad − bc.
c d
a1 a 2 a3
b b b b b b
b1 b2 b3 = a1 2 3 − a2 1 3 + a3 1 2
c2 c3 c1 c3 c1 c2
c1 c2 c3
a2 a 3 a a a a
a×b = i − 1 3 j + 1 2 k.
b2 b3 b1 b3 b1 b2
In view of the similarity of the last two equations we often write
i j k
a×b = a1 a2 a3 . (2)
b1 b2 b3
i j k
a×b = 2 −1 −2
2 −3 1
= −7i − 6j − 4k.
Lemma
Two non zero vectors a and b are parallel (or antiparallel) if and only if
a×b = 0.
u×(v×w) 6= (u×v)×w!
Since
−→ −→
AC ·BC (−1)(−4) + (−2)(1) + (2)(−1) 0
cos θC = −→ −→ = −→ −→ = −→ −→ = 0,
kAC kkBC k kAC kkBC k kAC kkBC k
−→ −→
the sides AC and BC are orthogonal.
Solution The points A, B and C form a triangle and all lie in the plane
containing this triangle. We need to find the value of k so that D is in the
same plane.
Solution The points A, B and C form a triangle and all lie in the plane
containing this triangle. We need to find the value of k so that D is in the
same plane.
−→ −→
One way of doing this is to find a vector u perpendicular to AB and AC ,
−→
and then find k so that AD is perpendicular to u.
Solution The points A, B and C form a triangle and all lie in the plane
containing this triangle. We need to find the value of k so that D is in the
same plane.
−→ −→
One way of doing this is to find a vector u perpendicular to AB and AC ,
−→
and then find k so that AD is perpendicular to u.
−→ −→
A suitable vector u is given by AB×AC . We then require that
−→
u·AD = 0.
Now
−→ −→ −→
AB = −i + 2j − k, AC = −3i + k, AD = (k − 1)i − j + 3k.
Then
−→ −→ −→ −→ −→ −→
(AB×AC )·AD = AD·(AB×AC )
k − 1 −1 3
= −1 2 −1
−3 0 1
R
F
Ɵ S
P Q
D
a·b
compa b =
kak
−2 + 0 + 0 −2
= √ =√ .
1+9+0 10
a·b
proja b = â
kak
a·b a
=
kak kak
−2 h1, 3, 0i
= √ √
10 10
h−2, −6, 0i
= = h−1/5, −3/5, 0i.
10