Woody Calculus · Calculus 3 · Vector geometry
One pair of vectors.Two different questions.
See what dot and cross products mean. Watch the visual lesson, change the vectors yourself, then work the problems with confidence.
Start with the visual lesson
Dot vs. cross. See the difference.
Watch here, then explore the examples below.
Watch on YouTube ↗Jump to a video chapter · plays here
The written lesson and all ten visual slides are below the video.
TRY IT YOURSELF
Explore the same two vectors
Start with the lesson’s pair: a = (2, −1, 2) and b = (1, 3, −1). Compare the dot product, perpendicular vector, angle, and areas below.
A 2D view of 3D vectors. Screen angles are not the actual spatial angles; all arrows share one scale.
- Dot product · a · b
- −3
- Cross product · a × b
- (−5, 4, 7)
- Angle between a and b
- 107.55°
- Parallelogram area
- 9.4868
- Triangle area
- 4.7434
- Projection of a onto b
- (−0.2727, −0.8182, 0.2727)
Numerical results are rounded to four decimal places; the angle is shown to two decimal places.
The negative dot product gives an obtuse angle. The nonzero cross product supplies a perpendicular direction; its length gives the parallelogram area.
Browse all 10 visual slides
CALCULUS 3 · VECTOR ALGEBRA · GEOMETRY
What Is the Difference Between the Dot Product and Cross Product?
The dot product multiplies two vectors and returns a scalar that measures alignment. The cross product multiplies two three-dimensional vectors and returns a vector perpendicular to both. Use the dot product for angles, projections, orthogonality, and work. Use the cross product for normals, area, torque, and orientation.
For nonparallel, nonzero inputs, the cross product gives a nonzero perpendicular direction. Parallel inputs, or a zero input, give the zero vector, which has no direction.
The dot product of vectors a and b equals the magnitude of a times the magnitude of b times the cosine of the angle between them. The magnitude of the cross product equals the magnitude of a times the magnitude of b times the sine of the angle.Ask what the problem measures. Use the dot product for alignment, angles, projections, and work. Use the cross product for perpendicular directions, area, and torque. Check the output afterward: vector projection uses a dot product, while area is a scalar obtained from a cross-product magnitude.
Key Takeaways
- Dot product: returns a scalar and measures alignment through cosine.
- Cross product: returns a perpendicular vector whose magnitude measures area through sine.
- Decision rule: identify the geometry, choose the operation, then check the required output.
Estimated study time: 45–55 minutes.
Dot Product vs. Cross Product at a Glance
Start with the geometry the problem asks you to measure. The dot product returns a scalar, while the cross product returns a vector—but applications can take another step, such as taking a magnitude for area or multiplying by a vector for projection.
| Feature | Dot product | Cross product |
|---|---|---|
| Notation | ||
| Standard mapping | ||
| Output | Scalar | Vector perpendicular to both inputs |
| Geometry | Alignment through | Area and orientation through |
| Common uses | Angles, projection, orthogonality, work | Area, normals, torque, orientation |
| Order |
Geometry first. Then check the output.
Use dot for alignment, angles, projections, and work. Use cross for a normal direction, area, or torque. A scalar answer does not automatically mean dot: area comes from a cross-product magnitude. A vector answer does not automatically mean cross: vector projection uses a dot product.
The Dot Product: Formula, Geometry, and Sign
The dot product compresses two equal-dimensional vectors into one scalar. Its component formula makes computation fast, while its geometric formula explains angles, alignment, projection, and work.
Component formula
Geometric formula
For nonzero vectors, solve for the angle by dividing by both magnitudes:
| Dot product | Angle | Geometric interpretation |
|---|---|---|
| Same direction or acute: | The vectors point partly in the same direction. | |
| Right | The vectors are perpendicular. | |
| Obtuse or opposite direction: | The vectors point partly in opposite directions. |
Zero-vector warning
The equation is also true if either vector is the zero vector, but the angle formula is then undefined because one magnitude is zero. State the nonzero hypothesis when interpreting a zero dot product as a right angle.
Worked Dot Product Example: Find the Angle Between Two Vectors
Let and . We will compute the dot product, calculate both magnitudes, find the angle, and interpret its sign.
Step 1: Compute the dot product
Step 2: Compute the magnitudes
Step 3: Find and interpret the angle
Conclusion: The angle is obtuse, exactly as the negative dot product predicts.
Dot Product Applications: Orthogonality, Projection, and Work
The dot product is valuable because it extracts the part of one vector lying along another direction. That single idea powers orthogonality tests, scalar components, vector projections, and mechanical work. The scalar-component and vector-projection formulas below require : the direction onto which we project must be defined.
Orthogonality
For nonzero vectors,
Scalar component
The signed length of the component of along is
Vector projection
The actual vector component of along is
Projection of the worked-example vector
For the same vectors from the previous section, and . Therefore,
The negative scalar component is not an error. It records that the projection points against the direction of , consistent with the obtuse angle.
Work performed by a constant force
If newtons and meters, then
Directional derivatives: a central Calculus 3 dot product
If is differentiable at the point and is a unit vector, the directional derivative is . This dot product measures the component of the gradient in the chosen direction—the instantaneous rate at which changes as you move along .
The Cross Product: Formula, Magnitude, and Direction
The standard cross product takes two vectors in three-dimensional space and constructs a vector perpendicular to both. Its component formula determines the coordinates, its magnitude determines area, and the right-hand rule determines orientation.
Component formula
Magnitude and geometric meaning
This magnitude equals the area of the parallelogram spanned by and . It is zero precisely when the vectors are parallel, antiparallel, or one input is the zero vector.
Right-hand rule
For nonparallel, nonzero vectors, place both vectors tail-to-tail. Curl the fingers of your right hand through the smaller rotation from toward . Your thumb points in the direction of .
Why order matters
Swapping the inputs preserves the magnitude but reverses the direction. On an exam, a correct component computation with the wrong order produces the opposite normal vector.
Worked Cross Product Example: Compute and Verify
Use the same vectors and . After computing the cross product, verify it by taking two dot products.
Step 1: Compute the cross product
Step 2: Verify perpendicularity
Step 3: Compute the magnitude
The zero dot products check perpendicularity. Check the magnitude with and the direction with the right-hand rule. Perpendicularity alone does not determine the correct cross product.
Cross Product Applications: Area, Plane Normals, and Torque
The same perpendicular vector created by the cross product solves several different-looking Calculus 3 problems. Its magnitude measures area, its direction supplies a plane normal, and its orientation records rotational effect.
Parallelogram and triangle area
For the worked-example vectors, the parallelogram area is , and the triangle area is .
Equation of a plane
If linearly independent vectors and lie in a plane, then is a normal vector. A plane through position vector satisfies
Using and the point ,
Torque
For meters and newtons,
How Dot and Cross Products Work Together in Calculus 3
Later vector-calculus formulas often use the cross product to create an oriented normal and then use the dot product to measure how strongly a vector field points through that normal.
Flux through a parametrized surface
For a smooth regular parametrization , choose the orientation given by . This cross product is the normal scaled by area density; the vector area element is . The flux of a vector field is
Reversing the orientation reverses and therefore changes the sign of the flux.
Scalar triple product and volume
The cross product creates a normal whose magnitude is the base area. Dotting with extracts the signed height contribution:
The absolute value gives geometric volume. Without the absolute value, the scalar triple product records orientation.
Lagrange’s Identity Unifies Dot and Cross Products
The dot and cross products are not unrelated formulas. Their squared sizes split the same quantity into cosine and sine contributions:
For nonzero inputs, this follows from . If either vector is zero, both sides of the identity are zero:
Verification with the lesson’s vectors
For and ,
This identity provides an independent check that the dot product, cross product, and magnitudes computed in the two worked examples agree.
How to Choose Dot Product or Cross Product in Six Steps
Use this decision process before writing a formula. It prevents the most common error: performing a correct calculation with the wrong operation.
-
1
Identify the geometry and output
Decide whether you need alignment, an angle, a projection, area, or a perpendicular direction. Note the required output too.
-
2
Choose dot for alignment and projection
Use the dot product for angles, alignment, orthogonality, scalar components, vector projections, and work.
-
3
Choose cross for normals, area, and torque
Use the cross product for normals, oriented area, torque, and three-dimensional orientation.
-
4
Compute with the correct formula and order
Match corresponding components for the dot product; preserve component signs and input order for the cross product.
-
5
Interpret the geometry
Connect the result to angle, projection, area, perpendicular direction, orientation, work, torque, flux, or volume.
-
6
Verify the result
Check the output type, signs, units, magnitude, and any required orthogonality or orientation conditions.
Common Dot Product and Cross Product Mistakes
Most vector-product errors come from choosing the wrong operation, overlooking a sign, or forgetting what kind of object the calculation should produce.
Returning the wrong output type
A dot product must be a scalar. A cross product must be a vector in the standard three-dimensional setting.
Forgetting the magnitudes
The angle formula divides the dot product by . The dot product alone is not generally the cosine.
Ignoring cross-product order
Swapping the inputs reverses the direction: .
Losing the middle-component sign
Use the direct component formula consistently. When using a determinant mnemonic, remember that the middle cofactor carries a minus sign.
Calling every zero dot product a right angle
If either input is the zero vector, the angle is undefined. The perpendicular interpretation requires nonzero vectors.
Omitting absolute value for volume
The scalar triple product is signed. Geometric volume is .
Dot Product and Cross Product Practice with Complete Solutions
Work each problem before opening its solution. For stronger retention, rewrite the solution and say the purpose of each step aloud: compute, interpret, and verify.
1. Classify an angle using the dot product.
Let and . Determine whether the angle between them is acute, right, or obtuse.
Show the worked solution
Solution
Because the dot product is negative and both vectors are nonzero, the angle is obtuse.
2. Find an exact angle between two vectors.
Find the angle between and .
Show the worked solution
Solution
3. Find a scalar component and vector projection.
Let and . Find and .
Show the worked solution
Solution
4. Compute work from force and displacement.
A constant force newtons moves an object through displacement meters. Find the work.
Show the worked solution
Solution
5. Compute and verify a cross product.
Let and . Find and verify orthogonality.
Show the worked solution
Solution
Both zero dot products verify that is perpendicular to the two input vectors.
6. Find the area of a triangle in three-dimensional space.
A triangle has adjacent side vectors and . Find its area.
Show the worked solution
Solution
7. Build the equation of a plane from two direction vectors.
Find the plane through containing the direction vectors and .
Show the worked solution
Solution
Substitution of gives zero, so the plane contains the required point.
8. Find a parallelepiped volume with the scalar triple product.
Find the volume generated by , , and .
Show the worked solution
Solution
9. Compute a torque vector.
Let meters and newtons. Find the torque.
Show the worked solution
Solution
The positive -direction agrees with the right-hand rule from toward .
10. Choose the correct product before computing.
Which product should be used for each task?
- Find the angle between two vectors.
- Find a vector normal to a plane.
- Find the work done by a force.
- Find the area of a parallelogram.
Show the worked solution
Solution
- Dot product because the angle formula uses cosine.
- Cross product of two linearly independent directions in the plane, giving a nonzero normal.
- Dot product because work measures the component of force along the displacement.
- Cross product because its magnitude gives parallelogram area.
Dot Product and Cross Product Glossary
These definitions collect the central vocabulary used throughout vector algebra and Calculus 3.
- Vector
- An object represented by components such as and, when nonzero, by magnitude and direction. The zero vector has magnitude zero and no direction.
- Dot product
- A scalar-valued product obtained by multiplying corresponding components and adding. Geometrically, it measures alignment through cosine.
- Scalar product
- Another name for the dot product, emphasizing that its output is a scalar.
- Cross product
- A three-dimensional vector product that returns a vector perpendicular to both input vectors.
- Vector product
- Another name for the cross product, emphasizing that its output is a vector.
- Orthogonal vectors
- Vectors whose dot product is zero. For two nonzero vectors, this means a right angle; the zero vector has no defined direction or angle.
- Scalar component
- The signed length of the projection of one vector along a specified nonzero vector.
- Vector projection
- The vector component of one vector lying along a specified nonzero vector.
- Normal vector
- A nonzero vector perpendicular to a line, plane, or surface at the relevant point.
- Right-hand rule
- The orientation convention used to determine the direction of a cross product.
- Scalar triple product
- The scalar , whose absolute value gives parallelepiped volume.
- Flux
- A scalar measurement of how much of a vector field passes through an oriented surface.
Frequently Asked Questions About Dot and Cross Products
These concise answers address the questions students most often ask when deciding between the two vector products.
What is the main difference between the dot product and cross product?
The dot product returns a scalar that measures alignment. The cross product returns a vector perpendicular to two three-dimensional input vectors.
When should I use the dot product?
Use the dot product for angles, orthogonality, scalar components, vector projections, work, and other problems requiring a scalar measure of alignment.
When should I use the cross product?
Use the cross product for perpendicular vectors, plane normals, parallelogram or triangle area, torque, surface orientation, and scalar triple products.
Can a dot product be negative?
Yes. For nonzero vectors, a negative dot product means the angle is greater than 90° and at most 180°. At 180°, the vectors point in exactly opposite directions.
When is a cross product equal to the zero vector?
The cross product is zero when the input vectors are parallel or antiparallel, or when at least one input is the zero vector.
Why does order matter in the cross product?
The cross product records orientation. Swapping the input order preserves the magnitude but reverses the direction, so b cross a is the negative of a cross b.
How do I find the angle between two vectors?
For nonzero vectors, divide their dot product by the product of their magnitudes, then apply inverse cosine. The result lies between zero and 180 degrees.
What is the difference between a scalar component and a vector projection?
The scalar component is the signed length along the chosen direction. The vector projection is the actual vector lying along that direction. Both require a nonzero vector specifying that direction.
How are dot and cross products used together in Calculus 3?
The cross product often creates an oriented surface normal, and the dot product then measures how much of a vector field passes through that direction, as in flux integrals.
How can I verify a cross product calculation?
Dot the result with each original vector to check perpendicularity. Then check its magnitude against the product of the input magnitudes times the sine of their angle, and check its direction with the right-hand rule. Perpendicularity alone is not enough.
References and Further Reading
This lesson was independently developed and mathematically verified by Woody Calculus. The following authoritative sources provide additional textbook treatments of vectors and vector calculus.
- OpenStax, Calculus Volume 3, Section 2.3: The Dot Product (2016).
- OpenStax, Calculus Volume 3, Section 2.4: The Cross Product (2016).
- James Stewart, Daniel K. Clegg, and Saleem Watson, Calculus: Early Transcendentals, 9th edition, Cengage, 2020.
- Jerrold E. Marsden and Anthony J. Tromba, Vector Calculus, 6th edition, W. H. Freeman/Macmillan Learning, 2013.
- H. M. Schey, Div, Grad, Curl, and All That, 4th edition, W. W. Norton, 2005.