Vector
A vector is alternate notation for an
n tuple, so that
is the n-tuple
Collinear
Given a
vector space , we say that two vectors
are collinear if there exists an
such that
The length of a Vector
Given a
vector , we define its length by
Unit Sphere
The
unit sphere in
, denoted
, is the set of
vectors with
length :
In particular,
Angle Between Nonzero Vectors
Given nonzero
vectors , the angle between
and
is the smaller Euclidean angle between the rays from the origin in the directions
and
. It is the unique value
representing that smaller angle.
Linearly Independent Nonzero Vectors Have Non-Extreme Angle
Suppose
are
linearly independent, and let
be the
angle between them. Then
If
, then
and
point along the same ray, so one is a positive scalar multiple of the other. If
, then
and
point along opposite rays, so one is a negative scalar multiple of the other. In either case,
and
are
collinear, so
is
linearly dependent. This contradicts the assumption that
are linearly independent.
Dot Product Algebraic Definition
Given two
vectors and
in
, their dot product is the real number
Thus
.
Dot Product is Symmetric
For any ,
Dot Product Distributes into Vector Addition from the Right
For any ,
Write
,
, and
. By the
definition of the dot product,
Dot Product Distributes into Vector Addition from the Left
For any ,
Dot Product is Compatible with Scalar Multiplication
For any and ,
Dot Product is Positive Definite
For any ,
Moreover if and only if .
By the
definition of the dot product,
Since every square
is non-negative,
. Also,
exactly when each
, which happens exactly when each
, i.e. exactly when
.
Positive Dot Product Expression for Independent Plane Vectors
If
are
linearly independent, then
Write
and
. By the
definition of the dot product,
Substituting these expressions and multiplying out gives
To show that this square is strictly positive, we must show that
. Suppose instead that
, meaning
. Since
linearly independent sets cannot contain the zero vector,
, so at least one of
is nonzero. We consider each possibility so that we divide only by a nonzero coordinate.
If , the assumed equality gives . Thus
If
, then
. The assumed equality becomes
, so
, and therefore
In either case,
is a scalar multiple of
, contradicting their linear independence. Hence
, and its square is positive.
Norm Squared is the Dot Product
For any we have that
Nonzero Vector has Positive Length
If and , then
Dot Product Expansion of Norm Squared
For any ,
and
Euclidean Law of Cosines
Suppose a triangle has side lengths , , and , and suppose that is the angle between the sides of length and . Then
TODO: Add a Euclidean geometry proof here.
Dot Product Geometric Formula
If
are non-zero and
is the
angle between and
, then
The vectors
,
, and
determine a triangle with side lengths
,
, and
. By the
Euclidean law of cosines applied to this triangle,
On the other hand, by the
dot product expansion of norm squared,
Equating the two expressions and subtracting
from both sides gives
Dividing by
, we get
Unit Vector
A
vector is called a unit vector if its
length is
, i.e.
Norm Equals Absolute Dot Product with a Parallel Unit Vector
Let
be a
unit vector. If
for some
, then
Since and is a unit vector,
Also,
because . Therefore .
Dot Product of a Vector Parallel to a Unit Vector
Let
, and suppose
is a
unit vector. If
for some
, then
Since ,
Since is a unit vector,
Therefore .
Positively Oriented Triple in R3
An ordered triple of nonzero vectors in is positively oriented if it has the same orientation as the standard coordinate directions . Equivalently, when the fingers of the right hand curl from the direction of toward the direction of , the thumb points in the direction of .
An easy way to remember this is ab 231 where you then get a2b3 - ..., a3b1 - ..., a1b2
Cross Product is Orthogonal to its Factors
If , then
Cross Product is Anti-Commutative
If , then
Cross Product Expands Over Two Vector Sums
If , then
Oriented Projected Area Identity
Let
be a
unit vector. For
, define
Then
Plane Through the Origin as a Span
Suppose
are
linearly independent. The plane through the origin generated by
and
is the
span
Plane Through the Origin by a Normal
Suppose
and
. The plane through the origin with normal vector
is defined using the
dot product by
Span Plane has Cross Product Normal
Suppose are linearly independent. Then
Let
.
Let
be the
angle between and
. Since
, we have
and
by
nonzero vectors have positive length. Since
and
are
linearly independent, the angle satisfies
and
by
linearly independent nonzero vectors have non-extreme angle. Also
by the definition of angle, so
by
sine is zero on only at the endpoints. Therefore, by the
definition of the cross product,
and so
.
First suppose that . By the definition of span, for some . Since is orthogonal to both and by the cross product is orthogonal to its factors proposition,
Thus
For the reverse containment, note that
are
linearly independent. To see this, suppose that
Taking the
dot product of both sides with
, we get
Since
,
, and
by
norm squared is the dot product, it follows that
. Therefore
, and since
are linearly independent, we get
. Thus
are linearly independent.
Since by the dimension of , the three linearly independent vectors form a basis of .
Now suppose that . Since form a basis, we can write . Then
Since
, we have
. Thus
, so
by the
definition of span.
Translated Plane by a Normal
Suppose
and
. The plane through
with normal vector
is defined by translating the
plane through the origin by a normal:
By the
dot product, this can equivalently be written as
.
Coordinate Equation of a Plane
Suppose
, and suppose that
. The equation
defines the plane
whose normal vector is
, as shown by its equivalence with the
translated plane by a normal.
Translated Span Plane Equals Translated Normal Plane
Suppose , suppose , and suppose that and are linearly independent. Then
Equation for a Line
We say the equation of a line is given by where where the line is given by the set
Equation of a Line as a 3d Dot Product
Suppose that is given by then we have
TODO: Add the proof here.
Equation of a Line Given by the Cross Product
Suppose that and consider then the equation of the line that passes through is given by
We know that
defines a line, but we need to verify that
are both on that line, but since
and
we know that they are on the line, as needed.
Parallelogram Law
Suppose then we have
The Norm of The Half of The Sum of Two Unit Vectors is One iff They are Equal
Suppose such that then
Suppose that
we'd like to prove that
, thus it's equivalent to show that
, recall that from the
parallelogram law that
thus it's enough to show that
, which means we just have to show that
, moreover
were unit vectors so we have
and we now just need to prove that
. We've assumed that
, this means that
thus we conclude that
as needed.
Suppose that , then as needed.
Vector Cosine Law
Suppose that and is the angle between them, then
Dot Product Is a Sum of Norms
Barycentric Coordinates of a Triangle
Let
be such that
is
linearly independent. The
barycentric coordinates of a point
relative to the ordered vertices
are the unique real numbers
satisfying
It is not immediately obvious that every point can be written this way. The following construction shows that it is possible.
Barycentric Coordinates from Dot Products
Suppose
are such that
is
linearly independent, and let
. Set
Then
, and the
barycentric coordinates of
relative to
are
, where
The vectors
and
point from
toward the other two vertices, while
points from
toward
. We first express
in terms of these two edge vectors; its coefficients will give the barycentric coordinates.
By assumption, and are linearly independent and therefore form a basis of . Thus there are unique with . Rearranging gives
Hence
are the barycentric coordinates. We now want to compute
and
. To get two scalar equations in these two unknowns, take the dot product of both sides of
with a fixed vector. We choose
once and
once. This is what it means here to “multiply” a vector equation by
or
: each dot product gives a scalar equation.
We solve these equations by making the coefficients of one unknown equal and then subtracting, so that unknown cancels. The
positive dot product expression proposition tells us that
, because
and
are linearly independent. Thus we may divide by
after each cancellation.
First, isolate . Multiply the first scalar equation by and the second by . Both -coefficients are then . Subtract the scaled first equation from the scaled second:
Dividing by
gives
Similarly, to isolate , multiply the first scalar equation by and the second by . Both -coefficients are then . Subtract the scaled second equation from the scaled first:
Thus
as claimed.
Point Inside a Triangle
Let
be such that
is
linearly independent, and let
have
barycentric coordinates relative to
. We say that
is
inside the triangle with vertices
, including its boundary, if
Using
from the
preceding proposition, this is equivalent to
,
, and
.
The point is
strictly inside if all three coordinates are positive. It lies on the boundary if all three are nonnegative and at least one is zero.