Académique Documents
Professionnel Documents
Culture Documents
1
1.1: Basic concepts
2
Notation:
Q Q
Q
§
a
PQ QP P
P P
Vector components:
v =ai+bj
a and b: scalar component
i and j : direction
In 3D:
v = a i + b j + c k or v =< a, b, c >
3
• The vector PQ with initial point P( x1, y1, z1 ) and terminal
point Q( x2 , y2 , z2 ) has the standard representation
PQ = ( x2 − x1 )i + ( y2 − y1 ) j + ( z2 − z1 )k
Or PQ =< x2 − x1, y2 − y1, z2 − z1 >
4
Important Formulae
1. Magnitude
2 2 2
v = v1 + v 2 + v3
3. v ± w = v1 ± w1 , v2 ± w2 , v3 ± w3
5
Example 1.1.1:
Given that a = 3,1,−2 , b = − 1,6,4 . Find
(a) a + 3b (b) b (c) a unit vector in the direction of b.
Example 1.1.3:
Given two points, P(1,0,1) and Q(3,2,0). Find a unit vector u in the
direction of PQ .
6
1.2 The Dot Product (The Scalar Product)
The scalar product between two vectors
v = < v1, v2 , v3 > and w = < w1, w2 , w3 > is defined as
follows:
in components
v ⋅ w = v1 , v 2 , v3 ⋅ w1 , w2 , w3
= v1 w1 + v 2 w2 + v3 w3
geometrically
v ⋅ w = v w cosθ
where θ is the angle between v and w.
7
Example 1.2.1 (Test 1, Sem 2 2006/07)
Given u = 5i – j + 2k, v = 2i + 3j – k. Find
a) u gv
b) the angle between u and b
8
Theorem 1.6:(Angle between two vectors)
orthogonal.
b) A vector v has magnitude 8. If v is orthogonal to both vectors c and
d given by c 2,1, 3 and d 1, 2,1 find the vector v.
9
1.3 The Cross Products (Vector Products)
The cross product (vector product) u × v is a vector
perpendicular to u and v whose direction is determined by the
right hand rule and whose length is determined by the lengths
of u and v and the angle between them.
u× v v
θ
u
i j k
u × v = u1 u 2 u3
v1 v 2 v3
= (u 2 v3 − u 3 v 2 )i − (u1v3 − u 3 v1 ) j + (u1v 2 − u 2 v1)k
10
Definition 1.10: (Magnitude of Cross Product)
If u and v are nonzero vectors, and θ ( 0 < θ < π ) is the
angle between u and v, then
u × v = u v sin θ ,
11
Example 1.3.1
(a) u × v (b) v × u
12
Area of parallelogram & triangle
13
Example 1.3.8
Find an area of a triangle that is formed from vectors
u = i + j - 3k and v = -6j + 5k.
Example 1.3.9
Find the area of the triangle having vertices at P (1,3,2),
Q(-2,1,3) and R(3,-2,-1). Ans: 11.52sq units.
14
1.4 Lines in Space
1.4.1 How lines can be defined using vectors?
PQ = t v
Say r0 = OP and r = OQ
∴ PQ = r − r0
r − r0 = tv or r = r0 + tv
In component form,
15
(equation of line in vector component)
Example 1.4.1:
Give the parametric equations for the line through the point (6,4,3)
and parallel to the vector 2,0,−7 .
16
Find the vector u which is perpendicular to both vectors a = i - 2j + k
and b = -2i + j – k and hence write down the parametric equations of
the straight line which passes through (2,3,1) and is parrarel to u.
2x + 1 3 − y z + 4
= = , find
3 4 2
(a) a point on the line.
(b) a vector that is parallel to the line.
17
Write the equation of L in symmetrical form.
18
Example 1.4.9:
Find an acute angle between line
l1 = i + 2j + t(2i – j + 2k)
and line
l 2 = 2i – j + k + s(3i – 6j + 2k).
19
1.4.3 Intersection of Two Lines
In three-dimensional coordinates (space), two lines can be in
one of the three cases as shown below
20
a) intersect b) parallel c)skewed
21
l1 : x = x1 + a t
y = y1 + b t
z = z1 + c t
l2 : x = x2 + ds
y = y2 + es (3)
z = z2 + fs
22
Two lines are skewed if they are neither parallel
nor intersect.
Example 1:
Determine whether l1 and l2 are parallel,
intersect or skewed.
a) l1 : x = 3 + 3t , y = 1 − 4t , z = −4 − 7t
l 2 : x = 2 + 3s , y = 5 − 4 s , z = 3 − 7 s
23
x −1 2 − y
b) l1 : = =z
1 4
x−4 z+2
l2 : = y −3 =
−1 3
Solutions:
a) for l1 :
point on the line, P = (3, 1, - 4)
vector that parallel to line, v1 =< 3,−4,−7 >
for l2 :
point on the line, Q = (2, 5, 3)
vector that parallel to line, v 2 =< 3,−4,−7 >
24
v1 = λ v 2 ?
v1 = v 2 where λ = 1
Therefore, lines l1 and l2 are parallel.
25
v1 ≠ λ v 2 → not parallel.
In parametric eq’s:
l1 : x 1 t , y 2 4t , z t
l2 : x 4 s , y 3 s , z 2 3s
1 t 4 s (1)
2 4t 3 s (2)
t 2 3 s (3)
Solve the simultaneous equations (1), (2), and
(3) to get t and s.
5 7
s and t
4 4
26
7 5
2 3 ?
4 4
1 17
4 4
PQ sin θ
θ
P
v
27
Distance from a point Q to a line that passes through
point P parallel to vector v is equal to the length of the
component of PQ perpendicular to the line.
d = PQ sin θ
PQ × v
=
v
Example 1.4.12:
Find the shortest distance from the point M(1,-2,2) to the line
28
Example 1.4.14: (Test 1, Sem 1 2005/06)
Find the shortest distance from the point (-2,1,0) to the line
Q (x,y,z)
α
P (xo,y0,z0)
Thus, PQ ⋅ N = 0
29
Conclusion:
The equation of a plane can be determined if a point on the
plane and a vector orthogonal to the plane are known.
Example 1.5.1:
Give an equation for the plane through the point (2, 3, 4) and perpendicular to
30
Example 1.5.3: (Test 1, 2005/06)
Given the plane that contains points A(2,1,7), B(4,-2,-1), and C(3,5,-2). Find:
a) The normal vector to the plane
b) The equation of the plane in standard form
Example 1.5.4:
Find the parametric equations for the line through the point (5, -3, 2) and
31
x − x0 y − y 0 z − z 0
= =
a b c (symmetric)
or
x = x 0 + at , y = y 0 + bt , z = z 0 + ct (parametric)
Example 1.5.5:
Find the equation of the line passing through P(2,3,1) and
parallel to the line of intersection of the planes x + 2y - 3z = 4
and x - 2y + z = 0.
32
1.5.3 Angle Between Two Planes
Properties of two planes
33
(a) An angle between the crossing planes is an angle
between their normal vectors.
N1 ⋅ N 2
cosθ =
N1 N 2
(b) Two planes are parallel if and only if their normal
vectors are parallel, N1 = λN 2
(c) Two planes are orthogonal if and only if N1 ⋅ N 2 = 0 .
Example 1.5.6:
Find the angle between plane 3 x + 4 y = 0 and plane
2 x + y − 2 z = 5.
34
L
35
Calculate the angle between the plane x – 2y + z = 4 and the
line .
-Theorem-
The distance D between a point P ( x1, y1, z1 ) and
the plane ax + by + cz = d is
Q( x0 , y0 , z0 )
37
x 1 1 y z 1
a) Find the point where the line passes
3 2 3
through the plane 5x + 3y - 4z = 3.
b) Find the distance D between the point (4, 5, -8) and the
plane 2 x 6 y 3z 4 0 .
Example 1.5.11:
i. Show that the line
x 1 y z 1
3 2 1
1 x y 1 z 1
6 with thw line
2 3 4
plane 3x 2 y 6 z 5 0 .
38
(b) Between two parallel
planes
d1 − d 2
D=
a2 + b2 + c2
Example 1.5.13:
Find the distance between two parallel planes
x + 2 y − 2 z = 3 and 2 x + 4 y − 4 z = 7 .
39
(c) Between two skewed lines
N uv
L2
Q
v
θ L1
u
P
Assume L1 and L2 are skew lines in space
containing the points P and Q and are parallel to
vectors u and v respectively.
40
and its direction is given by a vector normal to
both lines.
d PQ cos
N PQ u v PQ
N uv
Example 1.5.14:
Find the shortest distance between the skewed
lines.
l1 : x = 1+2t, y = -1+ t , z = 2 + 4t
41
Example 1.5.15:
Find the distance between the lines
L1 : i + 2 j + 3k + t (i − k )
L2 : x = 0, y = 1 + 2t , z = 3 + t
Example 1.5.16:
Find the distance between the lines L1 through
the points A(1, 0, -1 ) and B(-1, 1, 0) and the
line L2 through the points C(3, 1, -1) and
D(4, 5, -2) .
42
43