Vector Dot Product
The dot product (also called scalar product) is a fundamental operation in vector mathematics that produces a scalar value from two vectors.
Definition
For two vectors A and B, the dot product is defined as:
A⋅B=∣A∣∣B∣cos(θ)
where θ is the angle between the two vectors.
Component Form
If vectors are expressed in component form:
- A = (Ax, Ay)
- B = (Bx, By)
Then the dot product is:
A⋅B=AxBx+AyBy
Converting from Polar to Cartesian
Given a vector with magnitude |V| and angle θ from the positive x-axis:
- Vx = |V| cos(θ)
- Vy = |V| sin(θ)
Properties of Dot Product
- Commutative: A · B = B · A
- Distributive: A · (B + C) = A · B + A · C
- Scalar multiplication: (kA) · B = k(A · B)
- Self dot product: A · A = |A|²
Geometric Interpretation
The dot product represents:
- The projection of one vector onto another, multiplied by the magnitude of the second vector
- A measure of how much two vectors point in the same direction
- If A · B > 0: vectors point in generally the same direction (acute angle)
- If A · B = 0: vectors are perpendicular (90° angle)
- If A · B < 0: vectors point in generally opposite directions (obtuse angle)
Applications
The dot product is used in:
- Physics: Calculating work (W = F · d)
- Computer Graphics: Lighting calculations and determining visibility
- Engineering: Stress analysis and structural mechanics
- Mathematics: Finding angles between vectors and projections