Imagine you're pushing a heavy box across the floor. You push at an angle — not straight forward, but partly downward and partly forward. The part of your push that actually moves the box is only the forward component. The downward part just presses the box into the floor.
That's the core intuition behind the dot product: it measures how much one vector "goes in the direction of" another vector.
Step 1: What is a dot product?
Given two vectors a and b in 2D or 3D space, their dot product (also called the scalar product) is defined algebraically as:
a⋅b=a1b1+a2b2+a3b3
You multiply corresponding components and add them up. The result is a single number (a scalar), not a vector.
For example, if a=(3,4) and b=(2,−1), then:
a⋅b=3×2+4×(−1)=6−4=2
Step 2: The geometric meaning — the angle connection
Here's the beautiful part. The dot product also has a completely different geometric definition:
a⋅b=∣a∣∣b∣cosθ
where ∣a∣ and ∣b∣ are the magnitudes (lengths) of the vectors, and θ is the angle between them when they're placed tail-to-tail.
This is the dot product angle formula. It connects algebra (component multiplication) to geometry (angle and length).
Step 3: Why does this make sense?
Think about the extreme cases:
Vectors point in the same direction (θ=0∘): cos0=1, so a⋅b=∣a∣∣b∣ — the maximum possible value. All of one vector's "push" is in the other's direction.
Vectors are perpendicular (θ=90∘): cos90∘=0, so a⋅b=0. Neither vector has any component along the other. This is a crucial test for orthogonality.
Vectors point opposite (θ=180∘): cos180∘=−1, so a⋅b=−∣a∣∣b∣ — the most negative value. They're completely against each other.
Any other angle: the dot product is somewhere between these extremes, proportional to how much one vector "projects" onto the other.
Tip
The dot product is positive when the angle is acute (<90∘), zero when perpendicular, and negative when obtuse (>90∘). This sign alone tells you whether the vectors are generally aligned or opposed.
Step 4: Finding the angle from the dot product
If you know the components of two vectors, you can find the angle between them by rearranging the formula:
cosθ=∣a∣∣b∣a⋅b
Then use θ=cos−1(that value).
Example: Find the angle between a=(1,2) and b=(3,4).
Compute dot product: 1×3+2×4=3+8=11
Compute magnitudes: ∣a∣=12+22=5, ∣b∣=32+42=5
cosθ=5×511=5511≈0.9839
θ=cos−1(0.9839)≈10.3∘
The vectors are nearly aligned.
Watch out
The dot product formula gives cosθ, not θ itself. Always take the inverse cosine. Also, the formula works for vectors of any dimension — 2D, 3D, even 100D — as long as you use the component definition.
The scalar (dot) product is a⋅b=−25, and the vector (cross) product is a×b=7i^−j^−5k^.
Why dot and cross products? The geometry behind the algebra
When you multiply two vectors, there are two natural ways to do it — one gives a number (scalar), the other gives a vector. The dot product measures how much two vectors point in the same direction: it’s maximum when they’re parallel, zero when perpendicular. The cross product measures how much they point in different directions — its magnitude is the area of the parallelogram they span, and its direction is perpendicular to both.
Here, we’re given a and b in component form, so we’ll compute both products directly using their algebraic definitions. No geometry needed — just careful arithmetic.
Step-by-step solution
1. Scalar (dot) product
The dot product of two vectors a=axi^+ayj^+azk^ and b=bxi^+byj^+bzk^ is:
a⋅b=axbx+ayby+azbz
For our vectors:
ax=3, ay=−4, az=5
bx=−2, by=1, bz=−3
So:
a⋅b=(3)(−2)+(−4)(1)+(5)(−3)
Compute term by term:
3×(−2)=−6
(−4)×1=−4
5×(−3)=−15
Add them up:
−6+(−4)+(−15)=−25
Watch out
A common mistake is forgetting the sign of the components — especially bz=−3. Double-check each product’s sign.
2. Vector (cross) product
The cross product a×b is a vector perpendicular to both a and b. In components, it’s given by the determinant:
Same / Similar Concept — real previous-year questions on the same or a closely similar concept, not this exact question.
KCET 2021Set B-21 markMCQ
Q.A particle starts from the origin at t=0s with a velocity of 10j^ms−1 and moves in the x-y plane with a constant acceleration of (8i^+2j^)ms−2. At an instant when the x-coordinate of the particle is 16m, y-coordinate of the particle is
(A) 16m
(B) 28m
(C) 36m
(D) 24m
›Reveal solutionSolution
Treat the x- and y-components as two independent 1-D constant-acceleration problems: find t from the x-equation, then substitute into the y-equation.
Step 1 — Resolve the given vectors.
Initial velocity u=10j^, so
ux=0,uy=10ms−1.
Acceleration a=8i^+2j^, so
ax=8ms−2,ay=2ms−2.
Both are constant, so s=ut+21at2 applies component-wise — that independence is the whole idea of 2-D motion.
Q.In which of the following conditions work is done?
(A) When force applied is Zero.
(B) When force and displacement are parallel to each other
(C) When force and displacement are perpendicular to each other
(D) When displacement is zero.
›Reveal solutionSolution
Work is done when force and displacement are parallel. …
Q.The work done to move a charge on an equipotential surface is
(A) Infinity
(B) Less than 1
(C) Greater than 1
(D) Zero
›Reveal solutionSolution
On an equipotential surface, the potential is constant everywhere, so moving a charge between any two points on it involves no change in potential energy — the work done is zero.
The key idea is simple: work done by an external agent against an electric field equals the change in potential energy of the charge. Potential energy at a point is U=qV, where V is the electric potential at that point. On an equipotential surface, V is the same at every point. So if you move a charge from one point to another on that surface, V doesn't change — hence U doesn't change. No change in potential energy means no work is done (by or against the field).
This is independent of the path taken. Even if the path is curved or long, as long as you stay on the surface, the work remains zero. The electric field is always perpendicular to an equipotential surface, so any displacement along the surface is perpendicular to the field — and work done by a force perpendicular to displacement is zero.
Recall the definition of work in electrostatics.
The work done by an external agent to move a charge q from point A to point B in an electric field is
Wext=q(VB−VA)
where VA and VB are the electric potentials at A and B.
Apply it to an equipotential surface.
By definition, every point on an equipotential surface has the same potential. So if A and B both lie on that surface,
VB=VA⇒VB−VA=0
Conclude the work.
Substituting into the formula:
Wext=q×0=0 …