Vectors, Dot Product, and Cross Product
students, welcome to one of the most useful parts of Geometry and Vectors in Space 🚀 In this lesson, you will learn how vectors describe direction and movement in three dimensions, how the dot product measures how much two vectors point the same way, and how the cross product creates a vector perpendicular to two others. These ideas show up in physics, engineering, computer graphics, and multivariable calculus.
By the end of this lesson, you should be able to:
- Explain what a vector is and how to represent it in space.
- Use the dot product to find angles, check for perpendicular vectors, and measure projection.
- Use the cross product to find a perpendicular vector and the area of a parallelogram.
- Connect these ideas to geometry in three-dimensional space.
Vectors in Three Dimensions
A vector is a quantity with both magnitude and direction. Think of walking through a city: saying “go 3 blocks east and 2 blocks north” is a vector idea because it tells both how far and which way. In three-dimensional space, vectors are often written as $\langle a, b, c \rangle$ or as $\mathbf{v} = \langle a, b, c \rangle$.
The numbers $a$, $b$, and $c$ are the components of the vector. They tell how much the vector moves in the $x$, $y$, and $z$ directions. For example, $\langle 2, -1, 4 \rangle$ means move 2 units in the positive $x$ direction, 1 unit in the negative $y$ direction, and 4 units in the positive $z$ direction.
A vector can also be drawn as an arrow from one point to another. If a point $P$ is at $(x_1, y_1, z_1)$ and a point $Q$ is at $(x_2, y_2, z_2)$, then the vector from $P$ to $Q$ is
$$
\overrightarrow{PQ} = \langle x_2 - x_1,\ y_2 - y_1,\ z_2 - z_1 \rangle.
$$
This is important in multivariable calculus because many geometric problems begin by turning points into vectors. Once the vector is known, you can use algebra to study lines, planes, angles, and motion.
A key feature of vectors is that they can be added and scaled. If $\mathbf{u} = \langle u_1, u_2, u_3 \rangle$ and $\mathbf{v} = \langle v_1, v_2, v_3 \rangle$, then
$$
$\mathbf{u}$ + $\mathbf{v}$ = \langle u_1 + v_1,\ u_2 + v_2,\ u_3 + v_3 \rangle
$$
and for a scalar $k$,
$$
k$\mathbf{v}$ = \langle kv_1, kv_2, kv_3 \rangle.
$$
Example: if $\mathbf{u} = \langle 1, 2, 3 \rangle$ and $\mathbf{v} = \langle 4, -1, 2 \rangle$, then
$$
$\mathbf{u}$ + $\mathbf{v}$ = \langle 5, 1, 5 \rangle.
$$
This is like combining two movement instructions into one final movement 🧭
The Dot Product
The dot product is a way to multiply two vectors and get a number, not a vector. If $\mathbf{u} = \langle u_1, u_2, u_3 \rangle$ and $\mathbf{v} = \langle v_1, v_2, v_3 \rangle$, then
$$
$\mathbf{u}$ $\cdot$ $\mathbf{v}$ = u_1v_1 + u_2v_2 + u_3v_3.
$$
This is the algebraic definition. There is also a geometric meaning:
$$
$\mathbf{u} \cdot \mathbf{v} = \|\mathbf{u}\|\,\|\mathbf{v}\|\cos\theta,$
$$
where $\theta$ is the angle between the two vectors and $\|\mathbf{v}\|$ means the length of $\mathbf{v}$.
The dot product helps answer several questions:
- Are two vectors perpendicular? If $\mathbf{u} \cdot \mathbf{v} = 0$, then the vectors are orthogonal, or at right angles.
- What is the angle between two vectors? Use the formula above.
- How much of one vector lies in the direction of another? This is related to projection.
Example: let $\mathbf{u} = \langle 2, 3, 1 \rangle$ and $\mathbf{v} = \langle 1, 0, 4 \rangle$. Then
$$
$\mathbf{u}$ $\cdot$ $\mathbf{v}$ = 2(1) + 3(0) + 1(4) = 6.
$$
Since the dot product is positive, the angle between the vectors is less than $90^\circ$. It does not give the exact angle by itself, but it tells us something about how aligned the vectors are.
To find the angle, use
$$
$\cos\theta = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{u}\|\,\|\mathbf{v}\|}.$
$$
For the vectors above,
$$
\|$\mathbf{u}$\| = $\sqrt{2^2 + 3^2 + 1^2}$ = $\sqrt{14}$,
$$
$$
\|$\mathbf{v}$\| = $\sqrt{1^2 + 0^2 + 4^2}$ = $\sqrt{17}$.
$$
So
$$
$\cos\theta = \frac{6}{\sqrt{14}\sqrt{17}}.$
$$
This kind of calculation appears when checking whether a force pushes along a direction, or whether two lines meet at a right angle in space ⚙️
Projection is another important idea. The vector projection of $\mathbf{u}$ onto $\mathbf{v}$ is
$$
$\text{proj}_{\mathbf{v}$}$\mathbf{u}$ = $\frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{v}\|^2}$$\mathbf{v}.
$$
This gives the part of $\mathbf{u}$ that points in the same direction as $\mathbf{v}$. Imagine shining a flashlight so a shadow is cast onto a line; the projection is like the shadow of one vector on another.
The Cross Product
The cross product is another way to combine two vectors, but this time the result is a vector. It only works in three dimensions. If $\mathbf{u} = \langle u_1, u_2, u_3 \rangle$ and $\mathbf{v} = \langle v_1, v_2, v_3 \rangle$, then
$$
$\mathbf{u}$ $\times$ $\mathbf{v}$ = \langle u_2v_3 - u_3v_2,\ u_3v_1 - u_1v_3,\ u_1v_2 - u_2v_1 \rangle.
$$
The result is perpendicular to both $\mathbf{u}$ and $\mathbf{v}$. Its direction is determined by the right-hand rule: if the fingers of your right hand curl from $\mathbf{u}$ toward $\mathbf{v}$, then your thumb points in the direction of $\mathbf{u} \times \mathbf{v}$ 👍
The magnitude of the cross product is
$$
$\|\mathbf{u} \times \mathbf{v}\| = \|\mathbf{u}\|\,\|\mathbf{v}\|\sin\theta.$
$$
This gives the area of the parallelogram formed by the two vectors. Since the area of a triangle is half the area of a parallelogram, the triangle area is
$$
$\frac{1}{2}\|\mathbf{u} \times \mathbf{v}\|.$
$$
Example: let $\mathbf{u} = \langle 1, 2, 3 \rangle$ and $\mathbf{v} = \langle 2, 0, 1 \rangle$. Then
$$
$\mathbf{u}$ $\times$ $\mathbf{v}$ = \langle 2(1) - 3(0),\ 3(2) - 1(1),\ 1(0) - 2(2) \rangle = \langle 2, 5, -4 \rangle.
$$
Check it: this new vector is perpendicular to both original vectors. The cross product is especially useful in geometry for finding normal vectors to planes. If a plane contains two nonparallel direction vectors, their cross product gives a normal vector that helps write the plane’s equation.
The cross product also helps with real-world modeling. For example, in physics, torque depends on a cross product because turning effects depend on both the size of a force and how far it is from a pivot point.
Dot Product vs Cross Product
It helps to compare the two operations:
- The dot product gives a scalar.
- The cross product gives a vector.
- The dot product uses $\cos\theta$.
- The cross product uses $\sin\theta$.
- The dot product is useful for angles and orthogonality.
- The cross product is useful for perpendicular vectors and area.
A simple memory trick is this: the dot product measures alignment, while the cross product measures “spread” between vectors 📐
For example, if two vectors point in the same direction, the dot product is large and positive, but the cross product is zero because the angle is $0$ and $\sin 0 = 0$. If two vectors are perpendicular, the dot product is zero, but the cross product has maximum magnitude for those lengths because $\sin 90^\circ = 1$.
Why This Matters in Geometry and Vectors in Space
Vectors are the language of motion and direction in three dimensions. The dot product and cross product turn geometric questions into algebraic calculations. That is one of the core ideas of multivariable calculus: complex spatial problems become manageable through formulas.
In the broader topic of Geometry and Vectors in Space, these tools connect to:
- Distances between points, by turning points into vectors.
- Equations of lines and planes, using direction and normal vectors.
- Spheres, cylinders, and quadric surfaces, where vectors help describe positions and symmetries.
- Physical applications such as forces, velocity, and torque.
When you study surfaces and curves later, these vector tools will keep appearing. They help describe tangent directions, normal directions, and how objects move in space.
Conclusion
students, vectors are more than arrows on a graph. They are a powerful way to represent direction, movement, and geometry in three dimensions. The dot product tells us how two vectors relate in angle and alignment, while the cross product gives a perpendicular vector and an area measure. Together, they form a foundation for many ideas in multivariable calculus and three-dimensional geometry 🌟
Study Notes
- A vector in three dimensions is written as $\langle a, b, c \rangle$.
- The vector from $(x_1, y_1, z_1)$ to $(x_2, y_2, z_2)$ is $\langle x_2 - x_1,\ y_2 - y_1,\ z_2 - z_1 \rangle$.
- Vectors can be added and multiplied by scalars component-wise.
- The dot product is $\mathbf{u} \cdot \mathbf{v} = u_1v_1 + u_2v_2 + u_3v_3$.
- Also, $\mathbf{u} \cdot \mathbf{v} = \|\mathbf{u}\|\,\|\mathbf{v}\|\cos\theta$.
- If $\mathbf{u} \cdot \mathbf{v} = 0$, the vectors are perpendicular.
- The projection of $\mathbf{u}$ onto $\mathbf{v}$ is $\text{proj}_{\mathbf{v}}\mathbf{u} = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{v}\|^2}\mathbf{v}$.
- The cross product is $\mathbf{u} \times \mathbf{v} = \langle u_2v_3 - u_3v_2,\ u_3v_1 - u_1v_3,\ u_1v_2 - u_2v_1 \rangle$.
- The vector $\mathbf{u} \times \mathbf{v}$ is perpendicular to both $\mathbf{u}$ and $\mathbf{v}$.
- The magnitude $\|\mathbf{u} \times \mathbf{v}\|$ equals the area of the parallelogram formed by the two vectors.
- The triangle area formed by two vectors is $\frac{1}{2}\|\mathbf{u} \times \mathbf{v}\|$.
- Dot product and cross product are essential tools for studying lines, planes, surfaces, and motion in space.
