Lecture 01 - Vectors in R 2 and R 3
Lecture 01 - Vectors in R 2 and R 3
(Refers to
section 4.1 and parts of 4.2 in your text)
Objectives:
1.1 Vectors − The elements, x = (x1, x2), of the Cartesian plane R2 are familiar and
usually referred to as ordered pairs, or coordinates of the plane.
1.1.1 Definition − Let Rn = {(x1, x2 , ..., xn) : x1, x2, ..., xn ∈ R}. We say that x is an
n-tuple of real numbers and we call x a vector. The xi's are called the entries,
coordinates or components of the vector. To distinguish vectors from scalars, we
represent vectors in boldface.
• If we write x is a vector in R5 , we mean x = (x1, x2 , x3, x4, x5) where x1, x2, x3 , x4
and x5 are real numbers.
1.1.2 Remark − We usually write vectors in the form x = (x1, x2, ..., xn) as above. But
we could also write x as a column,
1 vector x in Rn:
Scalar x = (x1, x2, ..., xn) and 1 vector cx in Rn :
multiplication one number c in R cx = (cx1, cx2 , ..., cxn).
(called a scalar)
1.2.2 Equality of vectors: Two vectors a = (a1 , a2, a3) and b = (b1, b2, b3) are said to
be equal vectors if and only if their corresponding entries are equal, that is, a1 = b1,
a2 = b2 and a3 = b3.
1.2.3 Definition − Two vectors a and b are said to be collinear if one vector is a
scalar multiple of the other. Essentially this means that their directed line segments
both lie on the same line and going through the origin.
Example − Witness (2, 3) = 2(1, 0) + 3(0, 1).. So is a linear combination of the two
vectors (1, 0) and (0, 1). More generally for any vector (a, b),
1.3.1 Definition − We often represent a vector x = (x1, x2) by a directed line segment
starting at (0, 0) ending at (x1, x2) with an arrow at (x1, x2). Similarly, vectors in R3
can also be represented by a directed line segment. (This is of course impossible for
vectors in R4, R5 and so on.)
• vector addition,
• vector subtraction
• scalar multiplication.
These representations are very useful and quite important when trying to visualize
operations of vectors in 2-space and 3-space.
• They will express the vector (2, 1, 7) as OA “with a bar on top” (where the O
denotes the origin).
• They will express the directed line segment going from A to B as AB “with a
bar on top” . So the vector AB (with overbar) is the vector
1.4.1 Definition − For a vector x in R3, the length of x, denoted by || x || (or norm of
x) is the number
This is true since if b and a point in the same direction then they both have the
same unit vector, i.e., a / || a || = b / || b || .
1.4.4 Definition − The distance between two points a and b in R3 (i.e., the length of
the line segment joining a to b) is defined as the length of the vector b − a, i.e., the
norm || b − a ||.
1.5.1 Definition − Given any two vectors a and b in Rn, we define the angle θ
between a and b as being the number θ, 0 ≤ θ ≤ π, we obtain by solving for
1.5.2 Example − Find the angle between the vectors (3, −1, 2) and (4, 3, −1).
cos θ = < (3, −1, 2), (4, 3, −1) > / [|| (3, −1, 2) || || 4, 3, −1) || ]
= 7/ (√14 √26)
≈ 0.3669
Use directed line segments representation to see that it can be found by the expression
m = (1/2)(x + y)
For many it is easier to remember in this form since we can see it as ‘’the average’’ of
the two vectors.
Another example: If A = (1, 2, 3) and B = (0, 4, 1) find the midpoint of the line
segment joining (1/2)AB and BA.
m = (1/2)[(1/2)(B – A) + (A – B)]
= (1/4)(B – A) + (1/2) (A – B)
= – (1/4)B + (1/4)A
= (1/4)(A – B).
= (1/4)(1, –2, 2)
1.6.2 The following 4 properties of dot products can be shown to hold true:
1) The < a, a > ≥ 0 for any a in Rn . Equality holds if and only if a = 0. (Hence if a
is not 0, < a, a > is not 0)
2) For all a, b in Rn , < b, a > = < a, b > (Commutativity)
3) For all a, b , c in Rn , < c + b, a > = < c, a > + < b, a >. (Left hand distribution)
4) For all b, a in V and α in R, < αb, a > = α < b, a >. (Left hand association)
If a and b are vectors in R3 such that || a || = 1, || b || = 4 and < a, b > = –2 use the
definition of the norm and any of the properties of dot products to show that
|| –3a + b || = √27.
= …
1.6.3 Two vectors a and b in R n are orthogonal if < a, b > = 0. We sometimes write
a⊥b
to say that a and b are orthogonal, particularly when we are referring to vectors in R2
or R3 . Find x such that (2, 3, 4) and (1, 2, x) are orthogonal in R3.
(Remark: Looking at the formula for the angle between vectors see why, for vectors
in R2 and R3 , orthogonal can be replaced with perpendicular. )
1.6.4 Use the formula for angles between vectors to show that, Then for any vectors a
and b in Rn
| < a, b > | ≤ || a || || b ||.
Solution:
________________________________
Optional material.
This allows us to find the angle between two vectors a and b, as long as 0 ≤ θ ≤ π