The cross product is an operation on
vectors, but I didnβt include it
in the vectors section because I felt like it would be nice to introduce
this operation after covering planes,
but I didnβt want to introduce planes before having introduced
linear systems, so here we are.
In the lesson about planes, we have
found the equation of a plane from three given points.
The way we did this was by forming two vectors from the three points given - say
u and v - and we created a linear system of equations by
saying that the vector weβre looking for has to be
orthogonal to both of them.
If n is the normal vector we are looking for, that would be
{nβ u=0nβ v=0.β
The cross product solves exactly this problem. The cross product between two
vectors u and v, denoted by the symbol uΓv,
returns a vector orthogonal to uandv.
Derivation
We will derive the cross product through a similar process used to find a vector
orthogonal to two other vectors as we did in the
lesson about planes.
Remember, we are given u and v, and we want to find some expression for
the components of n. The system of equations has infinitely many solutions,
and we can choose any of the possible solutions. We will intelligently pick our
values for n1β and n2β such that the terms cancel out and the equation is solved:
We now have our expressions for n1β and n2β, but weβre missing n3β.
To find n3β, we substitute our chosen values for n1β and n2β into our
original linear system of equations and solve it:
This is not as hard to remember as it may seem at first, because in each component,
there is a subtraction taking place.
Each operand of the subtraction is a product.
The first operand of the product is always a component of u,
the second is always a component of v.
If you look at the first operand of each subtraction, if the first operand
of the product is the ith element of u, the second operand
of the product will be the (i+1)th element of v.
If you go past 3 - the size of the vector - it wraps around back to 1.
Looking at the second operand of each subtraction, itβs the other way around:
the first operand of the product is the (i+1)th element of u,
and the second operand is the ith element of v.
Hopefully, this allows you to memorize this more easily.
Properties of the Resulting Vector
If you have a vector n=uΓv, then n will
tell us some information about how u and v are related to each other.
Also, some interesting facts emerge.
Angle Between the Operands of the Cross Product
For example, the
angle
between u and v has an effect on the
length
of n.
That is, when u and v are
orthogonal
to each other, n reaches its maximum length of
β₯uβ₯β₯vβ₯, whereas when
u and v are
parallel,
n reaches its minimum length of 0.
In fact, an interesting geometric fact is that the length of uΓv
is the same as the area of the parallelogram spanned by u and v.
Reversing the Operands
Notice how two vectors u and v always have
two possible normal vectors which are orthogonal to both u and v
at the same time. These two possible normal vectors point in exact opposite directions.
But the cross product only gives us one normal vector? How do we find the other?
Well, for one, you could just
multiply the result by the scalarβ1 to reverse the direction the normal vector points to and therefore find the second
normal vector.
But another, more interesting way, is by using the property of the cross product
vΓu=β(uΓv).
Therefore, reversing the order of the operands in the cross product simply finds the other
possible normal vector.
This also implies that the cross product is not commutative.
Example
Take the vectors
u=β213ββ,v=β142ββ.
We want to find a vector orthogonal to both of these vectors. That is
n=uΓv.
We use the formula derived above for the cross product:
Keep in mind that the cross product in this form only exists in three dimensions.
There are some more advanced cases in higher dimensions, but that is beyond the scope
of this lesson.