Scalar (or Dot) Product of Two Vectors
Scalar (or Dot) Product of Two Vectors
Maths · Vector Algebra · Concept 2
The dot product turns two vectors into a single number. That number answers two questions at once: how large is the angle between them, and how much of one vector points along the other. Almost every question about perpendicularity, projections, angles and lengths in vector algebra reduces to a dot product.
Definition
Scalar product
For non-zero vectors and with angle between them, where ,
If either vector is , the product is defined to be . The result is a scalar, not a vector.
Geometrical meaning: projection
Let and and drop perpendicular to . Then is the projection of on . Therefore
By symmetry it is equally the magnitude of times the projection of on . In words: the dot product is the product of the length of one vector and the length of the projection of the other onto it.
Properties
Algebraic properties
- (commutative)
- (distributive over addition)
- for a scalar
- , so
- with ,
Products of the base vectors
Hence, in component form, for and ,
Why there is no cancellation law
does not give . It only gives , so either or is perpendicular to . Similarly, does not force one of the vectors to be zero.
Angle between two vectors and the sign of the dot product
Angle formula
| Sign of | Angle | Geometry |
|---|---|---|
| Acute, the vectors point broadly the same way | ||
| Perpendicular (orthogonal) | ||
| Obtuse, the vectors point broadly opposite ways |
Extreme values
Maximum of is , attained when (like parallel vectors).
Minimum of is , attained when (unlike parallel vectors).
Consequently , the Cauchy-Schwarz inequality for vectors.
Example 1
Find so that and are (i) perpendicular, (ii) parallel.
Solution. (i) gives , so .
(ii) Parallel needs . The first and last ratios are both , and gives .
Example 2
Find all for which the angle between and is obtuse.
Solution. Since , the angle is obtuse exactly when .
.
. Hence .
Projections and resolution of a vector
Projection formulas
Scalar projection of on (also called the component of along ):
Vector projection of on :
Component of perpendicular to (lying in the plane of and ):
These two pieces add back to , which is the whole point of resolution: any vector splits uniquely into a part along a given direction and a part perpendicular to it.
Example 3
For and , find the component of along and the component of perpendicular to .
Solution. and .
Component along : .
Component perpendicular to : .
Check: , as required.
Magnitude identities
Expanding squares of vector sums
Resolution along the base vectors
This is just the statement that the components of a vector are its projections on the axes, and it is the identity behind the direction cosine formulas.
Example 4
If with , , , find the angle between and .
Solution. From , take magnitudes squared:
.
Hence .
Example 5
is the midpoint of in triangle . Prove that .
Solution. Write and . Squaring both,
and .
Adding, and using (since is the midpoint) together with ,
. This is Apollonius' theorem.
Proving classical results with the dot product
Example 6: the cosine rule
In triangle , , so . Squaring,
.
The angle between and is , so . Hence
Example 7: projection rule
Dotting with gives , that is
Example 8: the addition formula for cosine
Let make angle below the axis and make angle above it, so the angle between them is . Then
and .
Computing in both ways:
, hence .
Mutually perpendicular vectors of equal magnitude. If are mutually perpendicular with , then all pairwise dot products vanish, so
, giving .
The angle that makes with each of them is
,
and the same for the other two. So is equally inclined to all three, at . This is the vector proof that a cube's diagonal makes equal angles with its three edges.
A useful unit-vector identity. If and are unit vectors with angle between them, then
and ,
so . Both follow from and the half-angle formulas.
Where the dot product is used
- Work done by a constant force over a displacement is . It is a scalar, and it is negative when the force opposes the motion.
- Testing perpendicularity of lines, of a line and a normal, or of diagonals of a quadrilateral.
- Finding angles between lines, between a line and a plane, and between two planes.
- Length calculations in geometry proofs, by squaring a vector relation.
Mistakes that cost marks
- Writing as a vector, or writing . The triple dot product is meaningless because is already a scalar.
- Cancelling from .
- Dividing the dot product by when the scalar projection was asked for. Scalar projection divides by ; vector projection divides by and keeps a factor of .
- Forgetting that "obtuse angle" requires strictly, so endpoints where the dot product is zero must be excluded.
- Taking outside . The angle between vectors is never reflex.
Quick recap
- ; the sign of the dot product tells you acute or obtuse
- Scalar projection , vector projection
- is the workhorse identity
- with equality only for parallel vectors
Frequently asked questions
Why is the dot product called the scalar product?
Because the result of the operation is a scalar, that is, a plain number with no direction attached. The cross product is called the vector product for the opposite reason, as its result is a vector.
If , must one of the vectors be zero?
No. If both vectors are non-zero, a vanishing dot product means , so the two vectors are perpendicular. The zero product only forces a zero vector when you additionally know the vectors are parallel.
What is the difference between the scalar projection and the vector projection?
The scalar projection of on is the number , which can be negative. The vector projection is that number multiplied by , so it is an actual vector lying along .
Can the dot product be negative, and what does that mean physically?
Yes, whenever the angle exceeds ninety degrees. In the work formula , a negative value means the force has a component opposing the displacement, so it removes energy from the body, as friction does.
Is the dot product associative?
Associativity does not even make sense here. The expression asks for a dot product between a scalar and a vector, which is undefined. What does hold is the mixed associativity with scalars, .
Previous year questions on Scalar (or Dot) Product of Two Vectors
17 questions from past papers, each with a step-by-step solution.
- JEE Main 2026 Apr 2 Shift 1, Mathematics Q14
- JEE Main 2026 Apr 2 Shift 2, Mathematics Q14
- JEE Main 2026 Apr 2 Shift 2, Mathematics Q16
- JEE Main 2026 Apr 4 Shift 2, Mathematics Q15
- JEE Main 2026 Jan 21 Shift 1, Mathematics Q14
- JEE Main 2026 Jan 22 Shift 1, Mathematics Q1
- JEE Main 2026 Jan 22 Shift 2, Mathematics Q21
- JEE Main 2026 Jan 28 Shift 1, Mathematics Q19
- JEE Main 2025 Apr 2 Shift 1, Mathematics Q11
- JEE Main 2025 Apr 4 Shift 1, Mathematics Q9
Show all 17 questions
- JEE Main 2025 Apr 4 Shift 1, Mathematics Q14
- JEE Main 2025 Apr 7 Shift 1, Mathematics Q19
- JEE Main 2025 Apr 7 Shift 2, Mathematics Q2
- JEE Main 2025 Jan 22 Shift 2, Mathematics Q15
- JEE Main 2025 Jan 23 Shift 1, Mathematics Q7
- JEE Main 2025 Jan 23 Shift 2, Mathematics Q7
- JEE Main 2025 Jan 24 Shift 1, Mathematics Q8
Ready to master Vector Algebra?
Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.