1 Vector Representations
1.1 Basis Unit Vectors
A vector is a quantity that has both a magnitude and a direction. Vectors of
magnitude 1 (i.e. unit magnitude) are called unit vectors. Any vector in
3-Dimensional space can be represented using the three basis unit vectors
along the three axes x, y, and z respectively, which are defined as follows:
All these basis unit vectors point away from O. The unit vectors î, ĵ , and k̂
can be thought of as being unit steps along the x, y, and z axes respectively.
Consider the point in 3-space, with the (x, y, z) coordinates (1, 2, 4). Recalling
the interpretation of the basis unit vectors as being unit steps along their
respective axes, the required vector goes from O to the point (1, 2, 4). We need
a step of 1 along the x-axis, a step of 2 along the y-axis, and a step of 4 along
the z-axis. Therefore, the required position vector will be:
1
The position vector is a vector from O to the point, say P, and so can also be
−−→
labelled as OP . It is clear that to obtain the representation of a point in
3-space as a position vector, the coordinate relative to the respective axes is
multiplied by the corresponding unit vector for that axis. So, for example, to
obtain the position vector of the point A = (6, −4, 3),
−→
a = OA = 6 · î + (−4) · ĵ + 3 · k̂
−→
a = OA = 6î − 4ĵ + 3k̂
Writing down the î, ĵ, k̂ representation of a vector is called as writing the
vector down in terms of its î, ĵ, k̂ components.
These vectors are called position vectors since their position is fixed relative to
the origin, because a point in space has a fixed position relative to the origin O.
2
vectors can also be represented in terms of the unit basis vectors, since any
vector in 3-space can be represented in terms of these basis unit vectors.
Consider, for example two points P = (1, 0, 3) and Q = (−2, 3, 1). Suppose we
require the vector that goes from P to Q. It is clear that such a vector can be
−−→ −−→ −−→ −−→ −−→
obtained by vector addition of the form P Q = −OP + OQ = OQ − OP .
−−→
OP = 1î + 0ĵ + 3k̂ = î + 3k̂
Now, we have:
−−→ −−→ −−→
P Q = OQ − OP = −2î + 3ĵ + k̂ − (î + 3k̂)
The corresponding components can be added directly as they are parallel (or
antparallel) vectors, so we have:
−−→
P Q = (−2 − 1)î + (3 + 0)ĵ + (1 − 3)k̂
−−→
P Q = −3î + 3ĵ − 2k̂
In this way, any number of vectors can be added (or subtraced) if they are
decomposed in terms of their î, ĵ, k̂ components.
3
1.3.1 Vector Dot Product
The dot product of two vectors, a and b, is defined as:
Note that:
• The right hand side has no vectors, only scalars, and so the result of the
dot product of two vectors is a scalar.
• The definition of the dot product of two vectors does not depend on
whether the vectors are written in terms of î, ĵ, k̂ or not; it is
independent of the representation of the vectors, just like vector addition
can be carried out by joining vectors tail-to-tail, without representing
them in terms of î, ĵ, k̂ or some other form.
• The dot product depends on the cosine of the angle between the two
vectors. Therefore, if two vectors are at 90◦ to each other, i.e. they are
orthogonal, then as cos 90◦ = 0, the dot product of two orthogonal
vectors is zero.
• If the dot product of two vectors is zero, and both vectors themselves are
not zero vectors (i.e. |a| =
6 0 and |b| =6 0), then the dot product can only
be zero if cos θ is zero, which implies that the two vectors are at 90◦ to
each other- they are orthogonal. This implies that if the dot product
of two non-zero vectors is zero, the vectors are orthogonal.
The above definition (1) seems to imply that to calculate the dot product of
two vectors, one must have their magnitudes and the angle between them.
However, this is not always possible. However, it is possible to obtain the dot
product in a much easier way if the vectors involved are first decomposed in
terms of the basis unit vectors.
2 For proof, see: http://www.citycollegiate.com/vectorXIi.htm
4
Example
Consider a = a1 î + a2 ĵ + a3 k̂, and b = b1 î + b2 ĵ + b3 k̂. Now, the dot product
of the two vectors, a · b, is given by:
a·b=
a1 b1 î· î+a1 b2 î· ĵ+a1 b3 î· k̂+a2 b1 ĵ· î+a2 b2 ĵ· ĵ+a2 b3 ĵ· k̂+a3 b1 k̂· î+a3 b2 k̂· ĵ+a3 b3 k̂· k̂
Now, the basis unit vectors, î, ĵ, k̂ are directed along the x, y, and z axes
respectively. These axes are orthogonal to each other, and this implies that
the the various vectors î, ĵ, k̂ are all mutually orthogonal. Therefore, from
the definition of the dot product we must have the dot product of the basis
unit vectors with each other being zero, i.e. î · ĵ = 0, î · k̂ = 0, and ĵ · k̂ = 0.
Using this property and also the property for the dot product of a vector with
itself, we can simplify the above to get:
a · b = a1 b1 + a2 b2 + a3 b3
which is simply the sum of the products of the corresponding î, ĵ, k̂
components. Remember, this is not the definition of the dot product of two
vectors, it is a means of calculating the dot product of two vectors if their î, ĵ,
k̂ representation is known.
The primary use of the dot product is in calculating angles between vectors by
applying the definition of the dot product (eq (1)) in reverse, and also to
determine orthogonality of two vectors (by requiring their dot product to be
zero).