How To Multiply Two Vectors | Dot and Cross Products

Vectors can be multiplied in two fundamental ways: the scalar (dot) product, yielding a scalar, and the vector (cross) product, yielding a new vector.

Multiplying vectors involves distinct operations compared to scalar multiplication, each with unique mathematical outcomes and practical applications. Understanding these methods is foundational for fields like physics, engineering, and computer graphics, where forces, velocities, and orientations are routinely analyzed. This exploration clarifies the processes and significance of both the dot and cross products.

Understanding Vector Multiplication

Vector multiplication is not a single, universal operation like multiplying two numbers. Instead, it encompasses two primary methods, each designed to extract different types of information from the interaction of two vectors. These methods are the scalar product, often called the dot product, and the vector product, known as the cross product.

The key distinction lies in their outputs: the dot product always yields a scalar quantity, a single number representing magnitude, while the cross product always yields a new vector, possessing both magnitude and direction. This difference dictates their respective applications in describing physical phenomena and geometric relationships.

The Scalar (Dot) Product: Magnitude and Direction Alignment

The scalar product, or dot product, of two vectors measures the extent to which they point in the same direction. It quantifies the projection of one vector onto another, effectively assessing their alignment. This operation takes two vectors, say vector A and vector B, and produces a single scalar value.

Geometrically, the dot product `A · B` is defined as the product of their magnitudes and the cosine of the angle `θ` between them: `A · B = |A| |B| cos(θ)`. If two vectors are perpendicular (orthogonal), the angle `θ` is 90 degrees, and `cos(90°) = 0`, so their dot product is zero. This property is a crucial test for orthogonality.

Physically, the dot product is used to calculate work done by a force, where only the component of force acting in the direction of displacement contributes. It also determines the power delivered by a force or the flux of a vector field through a surface.

Properties of the Dot Product

  • Commutativity: The order of multiplication does not affect the result. `A · B = B · A`.
  • Distributivity: The dot product distributes over vector addition. `A · (B + C) = A · B + A · C`.
  • Scalar Multiplication: A scalar factor can be associated with either vector or the entire product. `(cA) · B = c(A · B) = A · (cB)`.
  • Self-Dot Product: The dot product of a vector with itself yields the square of its magnitude. `A · A = |A|^2`.

Calculating the Dot Product

When vectors are expressed in Cartesian coordinates, calculating the dot product becomes a straightforward algebraic process. For two vectors `A = ` and `B = ` in three dimensions, their dot product is the sum of the products of their corresponding components:

`A · B = A_x B_x + A_y B_y + A_z B_z`

For example, if `A = <2, 3, 1>` and `B = <4, -2, 5>`, then `A · B = (2)(4) + (3)(-2) + (1)(5) = 8 – 6 + 5 = 7`. This scalar result indicates the degree of alignment between the two vectors. The dot product also simplifies when using standard unit vectors `i, j, k`. For instance, `i · i = 1`, `j · j = 1`, `k · k = 1`, while `i · j = 0`, `j · k = 0`, `k · i = 0`, reflecting their orthogonality. More details on dot product calculations can be found on Khan Academy.

The Vector (Cross) Product: Orthogonality and Orientation

The vector product, or cross product, is an operation defined exclusively for two vectors in three-dimensional space, producing a new vector. This resulting vector is always perpendicular (orthogonal) to both of the original vectors, establishing a plane. The direction of this new vector is determined by the right-hand rule.

Geometrically, the magnitude of the cross product `A × B` is equal to the area of the parallelogram formed by vectors A and B. Its formula is `|A × B| = |A| |B| sin(θ)`, where `θ` is the angle between A and B. If two vectors are parallel or anti-parallel (`θ = 0°` or `θ = 180°`), `sin(θ) = 0`, meaning their cross product is the zero vector.

Physically, the cross product is essential for describing rotational effects. It is used to calculate torque, which is the rotational equivalent of force, and angular momentum. It also describes the magnetic force on a moving charge, known as the Lorentz force, and is critical in determining normal vectors to surfaces in geometry and computer graphics.

Properties of the Cross Product

  • Anti-commutativity: The order of multiplication matters and reverses the direction of the resulting vector. `A × B = -(B × A)`.
  • Distributivity: The cross product distributes over vector addition. `A × (B + C) = A × B + A × C`.
  • Scalar Multiplication: A scalar factor can be associated with either vector or the entire product. `(cA) × B = c(A × B) = A × (cB)`.
  • Self-Cross Product: The cross product of a vector with itself yields the zero vector. `A × A = 0`.

Calculating the Cross Product

Calculating the cross product `A × B` for vectors `A = ` and `B = ` involves a more complex component-wise calculation, often expressed using a determinant form:

`A × B = (A_y B_z – A_z B_y)i – (A_x B_z – A_z B_x)j + (A_x B_y – A_y B_x)k`

Alternatively, this can be written as a determinant of a 3×3 matrix:

| i   j   k   |
| A_x A_y A_z |
| B_x B_y B_z |

For example, if `A = <2, 3, 1>` and `B = <4, -2, 5>`:

  • `i` component: `(3)(5) – (1)(-2) = 15 – (-2) = 17`
  • `j` component: `(1)(4) – (2)(5) = 4 – 10 = -6` (note the negative sign from the determinant expansion)
  • `k` component: `(2)(-2) – (3)(4) = -4 – 12 = -16`

The resulting vector is `A × B = <17, 6, -16>`. This vector is perpendicular to both `A` and `B`. The cross products of unit vectors follow a cyclic pattern: `i × j = k`, `j × k = i`, `k × i = j`. Reversing the order introduces a negative sign, `j × i = -k`. Additional resources on calculating the cross product are available through MIT OpenCourseWare.

Key Differences and Applications

The dot and cross products serve fundamentally different purposes due to their distinct outputs and geometric interpretations. The dot product provides insight into the degree of alignment or similarity between two vectors, yielding a scalar that can represent quantities like work or energy. It is applicable in any number of dimensions.

The cross product, conversely, reveals information about the perpendicularity and orientation of two vectors in three-dimensional space, producing a new vector. This vector’s direction defines a plane, and its magnitude represents an area. It is crucial for understanding rotational dynamics and generating normal vectors.

Feature Dot Product Cross Product
Output Type Scalar Vector
Geometric Meaning Projection/Alignment Area of Parallelogram/Orthogonal Vector
Space Requirement Any dimension 3D only
Physical Applications Work, energy, power, flux Torque, angular momentum, magnetic force

Applications of the dot product extend to calculating the angle between two vectors, determining if vectors are orthogonal, and finding the component of a vector along another. Its utility lies in scalar quantities derived from vector interactions.

Applications of the cross product include finding a vector perpendicular to a plane defined by two other vectors, calculating the area of a triangle or parallelogram in 3D space, and modeling rotational forces. Its vector output provides directional information critical for spatial analysis.

Geometric Interpretations

The dot product’s geometric interpretation is fundamentally about projection. `A · B` can be seen as `|A|` multiplied by the component of `B` along `A`, or `|B|` multiplied by the component of `A` along `B`. This scalar value directly quantifies how much one vector “points in the direction of” another. A positive dot product means the vectors generally point in the same direction, a negative dot product means they generally point in opposite directions, and a zero dot product means they are orthogonal.

The cross product’s geometric interpretation is tied to area and perpendicularity. The magnitude `|A × B|` represents the area of the parallelogram formed by vectors `A` and `B` when placed tail-to-tail. The direction of the resulting vector `A × B` is perpendicular to the plane containing both `A` and `B`, following the right-hand rule. This means if you curl the fingers of your right hand from vector `A` to vector `B`, your thumb points in the direction of `A × B`. This characteristic makes the cross product invaluable for defining surface normals and rotational axes.

Property Dot Product Cross Product
Commutativity Yes (`A·B = B·A`) No (`A×B = -B×A`)
Associativity No (only with scalar mult.) No (vector triple product is distinct)
Distributivity Yes (`A·(B+C) = A·B + A·C`) Yes (`A×(B+C) = A×B + A×C`)
Self-Operation `A·A = |A|^2` `A×A = 0` (zero vector)

References & Sources

  • Khan Academy. “khanacademy.org” Offers comprehensive lessons and practice exercises on vector operations, including the dot and cross products.
  • MIT OpenCourseWare. “ocw.mit.edu” Provides university-level course materials, including lectures and notes on multivariable calculus and linear algebra covering vector multiplication.