Chapter 1 (A01) 2
Chapter 1 (A01) 2
4
1.1 Vectors in R2 and R3
1.1.1 Introduction to Vectors
Definition: Points in Space
The collection of all points of two components (x, y) is called the Real 2-Space and is denoted R2 . The
collection of all points of three components (x, y, z) is called the Real 3-Space and is denoted R3 .
Definition: Vectors
An abstraction of a point is a vector. Consider a point P = (x1 , x2 ), then an analog to this P⃗ is called a
vector and is given by
⃗ x1
P = (x1 , x2 ) ⇐⇒ P =
x2
They are graphically given by arrows where the base is located at some point (x, y) and the tip of the arrow
is located at (x + p1 , y + p2 ) in R2 . Vectors and how you graph them naturally extends in the same notation
and graphical means in R3 .
Textbooks often use the notation P instead of P⃗ . Either is acceptable but bold face is impossible to write
by hand, so when writing by hand we always use P⃗ .
−1
1
Example 1: Graph the vectors in R2 and 1 in R3 .
−2
2
To address the
notational
issue of wanting to write inline, but vectors being written vertically, we will adopt
a T
the notation b = a b c .
c
5
1.1.2 Vector Operations
Definition: Vector Addition and Subtraction
Let ⃗u and ⃗v be vectors with the same number of components. Vector addition ⃗u +⃗v and subtraction ⃗u −⃗v are
defined by adding and subtracting the same positioned components, respectively. Visually, vector addition
follows the parallelogram law and subtraction follows the tip-to-tip law.
2 1
Example 2: Let ⃗v = and w
⃗= ⃗ and ⃗v − w.
. Compute and graph ⃗v + w ⃗
−1 2
Definition: Scalars
In the context of vectors we call (real) numbers scalars.
If ⃗v is a vector and t is a scalar then multiplication of the two t⃗v is done by distributing the scalar into each
component.
2 1
Example 3: Let ⃗v = . Compute and graph 2⃗v and − ⃗v .
4 2
6
1.1.3 Standard Basis and Linear Combinations
Definition: Linear Combination
Let v⃗1 , ..., v⃗n be vectors. We say that the expression a1 v⃗1 + · · · + an v⃗n where a1 , ..., an are scalars is called
a linear combination of v⃗1 , ..., v⃗n .
5 1 2
Example 4: Express ⃗v = as a linear combination of ⃗s = and ⃗t = .
1 1 0
T
in terms of the standard basis of R3 .
Example 5: Express w
⃗= 3 2 −4
1. ⃗0 + ⃗v = ⃗v
2. ⃗v − ⃗v = ⃗0
7
1.1.5 The Vector Equation of a Line
Definition: Parametric Curves in Rn
1 2
Example 6: Consider the line through P (3, 1, −2) that is parallel to the line ⃗y (t) = −2 + t 2 .
1 −3
Form the (a) Vector equation; (b) Parametric equations; and (c) Scalar form of this line.
8
1.1.6 Directed Line Segments
Definition: Directed Line Segments
The directed line segment from the point P to the point Q is the vector denoted by P⃗Q. Suppose O is
⃗ as simply P⃗ to be consistent with previous results.
the origin, then we just denote OP
Example 7: Find the vector equation of the line that passes through the points P (1, 5, −2) and Q(4, −1, 3).
Demonstrate that the vector equation for a line isn’t necessarily unique by finding three different vector equations.
9
1.2 Vectors in Rn
1.2.1 Rn and Algebraic Operations
Definition: Points in Space
Vector addition, subtraction, and scalar multiplication is defined the same in Rn (component-wise).
T T
Example 1: Let ⃗v = 2 −1 3 4 and w
⃗= 3 2 −2 1 . Compute 3⃗v − 2w.
⃗
Property Name
(⃗x + ⃗y ) + w
⃗ = ⃗x + (⃗y + w)
⃗ Associativity of vector addition
There exists vector ⃗0 ∈ Rn such that ⃗0 + ⃗z = ⃗z for all ⃗z ∈ Rn Existence of zero vector
For each ⃗z ∈ Rn there exists −⃗z ∈ Rn such that ⃗z + (−⃗z) = ⃗0 Existence of additive inverse
10
1.2.2 Subspaces
Definition: Subspaces
A non-empty subset S of Rn is called a subspace of Rn if for all vectors ⃗x, ⃗y ∈ S and t ∈ R...
1. ⃗0 ∈ S (Non-Empty)
( )
x1
Example 3: Prove that the set S = 2x1 − 3x2 = 0 is a subspace of R2 .
x2
11
1.2.3 Spanning Sets and Linear Independence
Definition: Spanning Sets
n T T o T
Example 4: Let R = −3 0 2 , −5 0 1 . Demonstrate that ⃗v = −4 2 5 is not in
Span(R).
( )
x1
Example 5: Use the above theorem to prove indirectly that S = 2x1 − 3x2 = 0 is a subspace.
x2
Let R be a non-empty collection of vectors in Rn . If S = Span(R) then we say that S is the subspace
spanned by the vectors in R and in return we say that R spans S. The set R is called a spanning set
for the subspace S.
1 1 0 1 0
Example 6: Show that Span 0 , 1 , 1 = Span 0 , 1 .
−1 −1 0 −1 0
12
Theorem: Linear Dependence Within Spanning Sets
Let v⃗1 , ..., v⃗k be vectors in Rn . If v⃗k can be written as a linear combination of v⃗1 , ..., v⃗k then
A collection of vectors {v⃗1 , ..., v⃗k } is said to be linearly dependent if there exist coefficients t1 , ..., tk not
all zero such that
⃗0 = t1 v⃗1 + · · · + tk v⃗k
Alternatively, if the only solution is t1 = t2 = · · · = tk = 0 (called the trivial solution) then we say the
collection is linearly dependent.
4 9 1
Example 7: Show that the collection −1 , 0 , 2 is linearly dependent.
0 1 1
Let R be a collection of vectors in Rn such that S = Span(R). Provided R is linearly independent we say
that R is a basis for S.
13
1 −1 1
Example 8: Let T = −2 , 1 , −4 . Take the linear combination 3v⃗1 +2v⃗2 − v⃗3 and comment
0 1 2
as to whether this set can be a basis for Span(T ). If not, find a basis for Span(T ).
(2) Let p⃗, d⃗1 , d⃗2 ∈ Rn with {d⃗1 , d⃗2 } being a linearly independent set. Then the set with vector equation
⃗x(t1 , t2 ) = p⃗ + t1 d⃗1 + t2 d⃗2 is called a plane in Rn that passes through p⃗.
(3) Let p⃗, v⃗1 , ..., ⃗vn−1 ∈ Rn with {v⃗1 , ..., ⃗vn−1 } being linearly independent. Then the set with vector
equations ⃗x(t1 , ..., tn−1 ) = p⃗ + t1⃗v1 + · · · + tn−1⃗vn−1 is called a hyperplane in Rn that passes through
p⃗.
1 −1 0
Example 9: Show that the set Span 2 , 1 , 3 is not a hyperplane. Determine what
1 2 3
type of surface this space describes.
14
1.3 Length and Dot Products
1.3.1 Length
Definition
n
The length/norm q of a vector ⃗x ∈ R is denoted and de-
fined as ∥⃗x∥ = x21 + x22 + · · · + x2n . Quite literally, it is
the length of the arrow.
T
1 2 2
Example 1: Let ⃗x = − − . Compute ∥⃗x∥.
3 3 3
1
The unit vector moving in the same direction as ⃗x is denoted and given by x̂ = ⃗x.
∥⃗x∥
1
⃗ in the same direction as ⃗x = −2 such that ∥w∥
Example 2: Construct a vector w ⃗ = 2.
5
15
1.3.2 Angles and Dot Product
Definition: The Dot Product
The dot product between two vectors p⃗ and ⃗q in Rn is given and denoted by p⃗ · ⃗q = p1 q1 + p2 q2 + · · · + pn qn .
The prior result is a theorem in R2 and R3 derived by using the Law-Of-Cosines. Since we can’t draw such
figures in higher dimensions, we take the above to be the definition of the angle between two vectors in
higher dimensions.
1 1
Example 3: Find the angle in R2 between the vectors ⃗v = 2 and w
⃗ = −1 .
−1 −1
16
1.3.3 Properties of Length and Dot Product
Theorem: Dot Product and Norm Properties
Let ⃗x ∈ Rn . We have that ⃗x · ⃗x ≥ 0 and equality is obtained if and only if ⃗x = ⃗0. Similarly, ∥⃗x∥ ≥ 0 and
equality is obtained if and only if ⃗x = ⃗0.
Example 5: Suppose that ⃗x and ⃗y are vectors in Rn satisfying ∥⃗x∥ = 3, ∥⃗y ∥ = 2 and the angle between them
is θ = π/3. Compute ⃗x · (5⃗x + ⃗y ).
17
1.3.4 The Scalar Equation of a Plane
Definition: The Scalar Equation of a Plane
T
Example 6: Find the equation of the plane that contains the point P (2, 3, −1) with normal ⃗n = 1 −4 1 .
Example 7: Find a normal vector to the plane with scalar equation 5x1 − 6x2 + 7x3 = 11.
Example 8: Construct the scalar equation of the plane that contains the point P (2, 4, −1) and is parallel to
the plane 2x1 + 3x2 − 5x3 = 6.
18
1.3.5 The Cross Product
Definition: The Cross Product
u2 v3 − u3 v2
Let ⃗u and ⃗v be vectors in R3 . The cross product is defined to be ⃗u × ⃗v = u3 v1 − u1 v3 .
u1 v2 − u2 v1
Let ⃗u and ⃗v be vectors in R3 . The cross product of them is orthogonal to both ⃗u and ⃗v .
Example 9: Find the scalar equation of the plane through three points P (1, 0, 1), Q(0, 1, −1) and R(2, 1, 0).
Property Name
⃗x × ⃗y = −⃗y × ⃗x Anti-Commutativity
⃗x × ⃗x = ⃗0 Self-Degenerate
19
1.4 Projections and Minimum Distance
1.4.1 Projections
Definition: Projection
perp⃗v ⃗u = ⃗u − proj⃗v ⃗u
T T
Example 1: Let ⃗u = 1 −2 0 and ⃗v = 3 1 2 . Determine proj⃗v ⃗u and perp⃗v ⃗u.
Property Name
20
1.4.2 Projections and Minimal Distance
Theorem: Distance from a Point to a Plane and Distance from a Point to a Plane
Example 2: Find the distance between the point Q(4, 3) and the line that runs through the points P (1, 2)
and R(0, 3).
21
Example 3: Find the point on the plane x1 − 2x2 + 2x3 = 5 that is closest to the point Q(2, 1, 1). Hint: In
⃗ =Q
the previous diagram note that R ⃗ + QR
⃗ =Q ⃗ + proj⃗n QP
⃗ .
1 1
Example 4: Find the point on the line ⃗x(t) = −2 + t 0 that is closest to the point Q(1, 3, 1).
3 1
22