Dot Product
The Dot Product, or the inner product or scalar product, is a fundamental operation in vector algebra that combines two vectors to produce a scalar quantity. This operation is essential in various fields, including physics, engineering, and computer graphics, due to its ability to measure the similarity between two vectors. The dot product can provide information about the angle between vectors, the projection of one vector onto another, and more.
1.0Dot and Cross Product of a Vector
What is the Dot Product?
The Dot Product is calculated as the sum of the products of corresponding components of two vectors.
The dot product is also known as the inner product or the scalar product and reads “a dot b”.
If and then dot product is
The scalar product is useful for determining the angle between two vectors.
Geometric Interpretation
Geometrically, the dot product can be interpreted as:
Where are the magnitudes of the vectors, and is the angle between them.
What is the Cross Product?
Given two vectors and , the cross product is defined as:
This resultant vector is orthogonal to both .
Geometric Interpretation
The magnitude of the cross product is given by: where and are the magnitudes of vectors and , and θ is the angle between them determines the direction of the resulting vector, following the right-hand rule.
2.0Dot Product Formula
For two vectors and in three-dimensional space, the dot product \mathbf{A} \cdot \mathbf{B}is defined as:
3.0Dot Product Rules
The dot product, commonly known as the scalar product, is a foundational operation in vector algebra with several important properties and rules. Here are the key rules and properties of the dot product:
Commutative Property
The dot product of 2 vectors is commutative, meaning the order in which you take the dot product does not matter:
Distributive Property
The dot product distributes over vector addition:
Scalar Multiplication
If you multiply a vector by a scalar and then take the dot product, it is equivalent to taking the dot product first and then multiplying by the scalar:
Zero Vector
The dot product of any vector with the zero vector results in zero:
Orthogonal Vectors
If two vectors are orthogonal (perpendicular), their dot product is zero:
Magnitude Relation
The dot product of a vector with itself gives the square of its magnitude: where is the magnitude of .
Angle Between Vectors
The dot product can be used to find the cosine of the angle θ between two vectors:
This relation can be rearranged to find the angle:
4.0Dot Product of a Vector with Itself
For a vector in three-dimensional space, the dot product of the vector with itself is given by:
5.0Dot Product of Parallel Vectors
When the two vectors are parallel then
- Same Direction:
When vectors are parallel and in the same direction, . Therefore,
- Opposite Direction:
When vectors A and B are parallel but in opposite directions, θ=180. Therefore,
6.0Dot Product of Perpendicular Vectors
If 2 vectors are Perpendicular, then their dot product is zero:
Geometric Interpretation
Perpendicular vectors form a 90∘ angle between them. In terms of the dot product, this means:
Thus,
7.0Dot Product of Unit Vectors
A unit vector is a vector with a magnitude of 1. For example, in three-dimensional space, the unit vectors are
- Same Unit Vector
The dot product of a unit vector with itself is always 1:
This is because the magnitude of a unit vector is 1. i.e.
- Different Unit Vectors
The dot product of 2 different unit vectors depends on their orientation relative to each other: , where θ is the angle between the two-unit vectors.
- If and are perpendicular , then: .
- If and are parallel , then:
8.0Dot Product Example
Example 1: Find the dot product of 2 vectors
Solution:
So, the dot product of A × B is 7.
Example 2: Let there be two vectors |a| = 10 and |b| = 5 and θ = 45°. Find their dot product.
Solution: As we know the formula of dot product
a × b = |a| |b| cos θ
a × b = (10) (5) cos 45°
Example 3: Given vector A = [1, 2, 3] and B = [4, –5, 6], Find the dot product of these two vectors.
Solution: As we know the formula of dot product
a × b = |a| |b| cos θ
a × b = (1) (4) + (2) (–5) + (3) (6)
= 4 – 10 + 18 = 12
θ = cos–1(0.3656) » 68.56°.
Example 4: Calculate the dot product of the two vectors and angle between them A=(-1,2,-2) \quad B=(6,3,-6)
Solution: Dot product
= –6 + 6 + 12 = 12
By dot product formula
.
Example 5: Calculate the dot product of vectors and and the angle between them.
Solution:
A × B = (2) (1) + (5) (–1) + (–1) (–3)
= 2 – 5 + 3 = 0
Dot product formula
os θ = 0
θ = 90°
So, the dot product of two vectors A & B is 0 and the angle between them is 90°.
9.0Dot Product Practice Questions
Find the dot product of the following vectors and determine the angle between them.
- A = (2, 4, 1) and B = (3, 5, 7)
- A = (–2, 3, 11) and B = (5, 7, –4)
10.0Solved Questions on Dot Product
Q. What is the dot product?
Ans: The dot product is also known as the inner product or the scalar product and reads “a dot b”.
If and then dot product is
Q. How do you calculate the dot product of 2 vectors?
Ans: To calculate the dot product of two vectors, multiply the corresponding components of the vectors and then sum the products. For vectors and :
Q. How is the dot product geometrically interpreted?
Ans: Geometrically, the dot product of two vectors and can be interpreted as: where are the magnitudes of the vectors, and is the angle between them.
Q. What does it mean if the dot product is zero?
Ans: If the dot product of 2 vectors is zero, it means that the vectors are orthogonal (perpendicular) to each other. This is because the cosine of is zero:
Q. What are the properties of the dot product?
Ans: The dot product has several important properties:
Commutative:
Distributive:
Scalar Multiplication:
Q. How does the dot product relate to the projection of one vector onto another?
Ans: The projection of vector onto vector is given by:
The dot product is crucial in determining the magnitude of this projection.
Table of Contents
- 1.0Dot and Cross Product of a Vector
- 2.0Dot Product Formula
- 3.0Dot Product Rules
- 3.1Commutative Property
- 3.2Distributive Property
- 3.3Scalar Multiplication
- 3.4Zero Vector
- 3.5Orthogonal Vectors
- 3.6Magnitude Relation
- 3.7Angle Between Vectors
- 4.0Dot Product of a Vector with Itself
- 5.0Dot Product of Parallel Vectors
- 6.0Dot Product of Perpendicular Vectors
- 7.0Dot Product of Unit Vectors
- 8.0Dot Product Example
- 9.0Dot Product Practice Questions
- 10.0Solved Questions on Dot Product
Join ALLEN!
(Session 2025 - 26)