Professional Documents
Culture Documents
Level 2, Semester 1
MAT 513: Number Systems and Algebra
Topic: Vectors in R3
(a) define a position vector, dot/inner product, orthogonal vectors, as well cross prod-
ucts;
(b) use/apply the definitions to solve problems related to the definitions;
(c) find the equations of line and planes in R3
Unit Vectors in R3
⃗u = (u1 , u2 , u3 ) = u1 î + u2 ĵ + u3 k̂.
If ⃗u = u1 î + u2 ĵ + u3 k̂ and w
⃗ = w1 î + w2 ĵ + w3 k̂, then
⃗u ± w
⃗ = (u1 ± w1 )î + (u2 ± w2 ĵ) + (u3 ± w3 )k̂
Position Vectors
Definition: Let P be a point on the plane and O be the origin. Then the vector OP ⃗ is
called the position vector of P. For example, if P is a point (2, −1, 4), then the position
⃗ = 2î − ĵ + 4k̂
vector of P is the vector OP
Example
Let ⃗v ∈ R3 defined by ⃗v = √2 î
17
− √2 ĵ
17
+ √3 k̂.
17
Find ∥⃗v ∥
1
Solution
s 2 2 2
2 −2 3
∥cv∥ = + +
17 17 17
r
4 4 9
= + +
17 17 17
r
17
=
17
=1
Theorem
Let ⃗v be a vector in Rn and c be a scalar. Then
∥c⃗v ∥ = |c|∥⃗v ∥
⃗u · ⃗v = u1 v1 + u2 v2 + u3 v3 + · · · un vn
Example
Verify that ⃗u · ⃗v = −7, given that ⃗u = (1, 2, 0, −3) and ⃗v = (3, −2, 4, 2)
Now, consider two non - zero vectors ⃗u and ⃗v in R2 . Assume that these vectors are posi-
tioned such that their initial points coincide. The angle between ⃗u and ⃗v falls in the range
0 ≤ ϕ ≤ π.
2
Definition: If ⃗u and ⃗v are vectors in R2 and ϕ is the angle between ⃗u and ⃗v , then the dot
product of Euclidean product denoted by ⃗u · ⃗v is defined by
∥u∥∥v∥ cos ϕ, if ⃗u ̸= 0 and ⃗v ̸= 0
⃗u · ⃗v =
0, if ⃗u = 0 or ⃗v = 0
Example
π
Find the inner/dot product of the vectors ⃗u = (0, 0, 11) and ⃗v = (0, 2, 2) if ϕ = 4
Solution
By definition,
⃗u · ⃗v = ∥u∥∥v∥ cos ϕ
p p π
= 02 + 02 + 12 · 02 + 22 + 22 cos
4
√ π
= 2 2 cos
4
√ 1
=2 2· √
2
=2
Examples
If ⃗a = −2î + 4ĵ + 2k̂ and ⃗b = 2î + 2ĵ − 4k̂, find x if
(a) 2⃗x = ⃗b (b) ⃗b − 2⃗x = ⃗a
Solutions
(a)
1
⃗x = ⃗b
2
1
= 2î + 2ĵ − 4k̂
2
= î + ĵ − 2k̂
(b)
2⃗x = ⃗b − ⃗a
1 ⃗
⃗x = b − ⃗a
2
1
= 2î + 2ĵ − 4k̂ + 2î − 4ĵ − 2k̂
2
1
= 4î − 2ĵ − 6k̂
2
= 2î − ĵ − 3k̂
3
Example
Find r and s given that ⃗a = (2, −1, r) is parallel to ⃗b = (s, 2, −3)
Solution
Since ⃗a and ⃗b are parallel, then ⃗a = k⃗b for some k ∈R. Thus,
⃗u · ⃗v
cos ϕ =
∥⃗u∥∥⃗v ∥
where
⃗u · ⃗v = u1 v1 + u2 v2 + · · · un vn
Example
Consider the vectors ⃗u = (2, −1, 1) and ⃗v = (1, 1, 2) in R3 . Find ⃗u · ⃗v and determine the
angle ϕ between ⃗u and ⃗v .
Solution
and √ √
∥⃗v ∥ = 1+1+4= 6
4
Therefore,
⃗u · ⃗v
cos ϕ =
∥⃗u∥∥⃗v ∥
3
=√ √
6 6
1 π
= =⇒ ϕ =
2 3
Theorem
Let ⃗u and ⃗v be vectors in Rn .
√
(a) ⃗v · ⃗v = ∥⃗v ∥2 , that is ∥⃗v ∥ = ⃗v · ⃗v
(b) If the vectors ⃗u and ⃗v are non-zero and ϕ is the angle between them, then
(i) ϕ if acute iff ⃗u · ⃗v > 0
(ii) ϕ if obtuse iff ⃗u · ⃗v < 0
(iii) ϕ = π2 iff ⃗u · ⃗v = 0
Exercise
If ⃗u = (1, −2, 3), ⃗v = (−3, 4, 2) and w
⃗ = (3, 6, 3), find and describe/classify the angles
between ⃗u and ⃗v , ⃗u and w
⃗ as well as w
⃗ and ⃗v
Definition
Let ⃗u and ⃗v be vectors in Rn . The two vectors are said to be orthogonal/perpendicular if
⃗u · ⃗v = 0
Example
Find the value of m if 3î − mĵ + k̂ and −5î + 3ĵ − 2k̂ are orthogonal.
Solution
5
Algebraic Properties of Cross Products
If ⃗u and ⃗v be vectors in Rn and c ∈ R is any scalar, then the following properties are true;
(a) ⃗u × ⃗v = −(⃗v × ⃗u)
(b) ⃗u × (⃗v + w)⃗ = (⃗u × ⃗v ) + (⃗u + w)
⃗
(c) c(⃗u × ⃗v ) = c⃗u × ⃗v = ⃗u × c⃗v
(d) ⃗u × 0 = 0 × ⃗u = 0
(e) ⃗u × ⃗u = 0
(f) ⃗u · (⃗v · w)
⃗ = (⃗u · ⃗v ) · w
⃗
Exercise
Take any 3 arbitrary vectors in R3 and verify these properties.
LINES AND PLANES IN 3 - DIMENSION
In plane geometry, a line is specified by its gradient and one of its points. Similarly, in
R3 , we speak of planes and not lines. The plane is specified by giving its inclination and
specifying one of its points.
Describing the Inclination
The best way is to specify a non-zero vector (known as the normal) that is perpendicular to
the plane. Consider the diagram that follow (diagram will be shared on WhatsApp).
Suppose we want to find the equation of a plane passing through the point P0 (x0 , y0 , z0 )
and having a non-zero vector ⃗n = (a, b, c) as a normal. From the diagram, we can see that
−−→
the plane consists of all points P (x, y, z) such that the vector P0 P is orthogonal to ⃗n. This
is to say
−−→
⃗n · P0 P = 0
−−→
The vector P0 P = (x − x0 , y − y0 , z − z0 ) so that
−−→
⃗n · P0 P = 0
(a, b, c) · (x − x0 , y − y0 , z − z0 ) = 0
a(x − x0 ) + b(y − y0 ) + c(z − z0 ) = 0
This is called the point - normal form of the equation of the plane.
Example
Find the equation of a plane passing through the point (3, −1, 7) and orthogonal to the
vector ⃗n = (4, 2 − 5)
Solution
The point form of the equation is given by
6
Theorem
Let a, b, c and d be real constants and let a, b, c be all non - zero. Then the graph of the
equation ax + by + cz + d = 0 is a plane having the vector ⃗n = (a, b, c) as a normal. The
equation ax + by + cz + d = 0 is a linear equation in x, y and z and is called the general
form of the equation of the plane.
Example
Find the equation of of a plane passing through the points P1 (1, 2, −1), P2 (2, 3, 1) and
P3 (3, −1, 2)
Solution
Since the points are on the plane, they must satisfy ax + by + cz + d = 0
a + 2b − z + d = 0
2a + 3b + z + d = 0
3a − b + 2z + d = 0
⃗n · (⃗r − r⃗0 ) = 0
where ⃗r = (x, y, z) is the vector from the origin to the point P (x, y, z) and r⃗0 = (x0 , y0 , z0 )
is the vector from the origin to the point P0 (x0 , y0 , z0 ).
Example
Find the equation of a plane passing through (6, 3 − 4) and orthogonal to the vector
⃗n = (−1, 2, 5)
Solution
The equation will be given by
⃗n(r − r0 ) = 0
(−1, 2, 5) · (x − x0 , y − y0 , z − z0 ) = 0
(−1, 2, 5) · (x − 6, y − 3, z + 4) = 0
−1(x − 6) + 2(y − 3) + 5(z + 4) = 0
−x + 2y + 5z + 20 = 0
7
Lines in R3
Consider the diagram that follow (diagram will be shared on WhatsApp).
Suppose l is aline in R3 through the point P0 (x0 , y0 , z0 ) and having a non-zero vector
⃗v = (a, b, c) as shown in the diagram. From the diagram, we can see that the line l consists
−−→ −−→
of points P (x, y, z) for which the vector P0 P is parallel to ⃗v . If P0 P is parallel to ⃗v , then
there exist a scalar t such that
−−→
P0 P = t⃗v
(x − x0 , y − y0 , z − z0 ) = t(a, b, c)
(x − x0 , y − y0 , z − z0 ) = (ta, tb, tc)
x = 1 + 4t
y = 2 + 5t
z = −3 − 7t, (−∞ < t < ∞)
Example
Find the parametric equation of the line l passing through the points P1 (2, 4, −1) and
P2 (5, 0, 7). Determine where the line intersects the xy− plane.
Solution
−−−→
We first find the vector P1 P2 which is given by
−−−→
P1 P2 = (5, 0, 7) − (2, 4, −1)
= (3, −4, 8)
8
so, the line l is parallel to this vector and P1 (2, 4, −1) lies on l. Thus,
(
x = x0 + at = 2 + 3t
y = y0 + bt = 4 − 4t , −∞ < t < ∞
z = z0 + ct = −1 + 8t
1
−1 + 8t = 0 =⇒ t =
8
Then
1 19
x=2+3 =
8 8
1 7
y =4−4 =
8 2