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:
Q.If F and S represent the applied force and displacement of an object, then the work done is
(A) zero if F and S are in the same direction
(B) maximum if F and S are at right angles to each other
(C) the area under the graph between F and S
(D) positive if the angle F and S is obtuse
(E) negative if the angle between F and S acute
›Reveal solutionSolution
W=∫F⋅dS is the area under the F-S graph.
Work done is the line integral of force over displacement, W=∫F⋅dS, which geometrically is the area under the force-displacement curve. The other options are wrong: work is maximum (not zero) when F and S are parallel, zero …
Q.A particle is displaced from P (3i^+2j^−k^) to Q (2i^+2j^+2k^) by a force F=i^+j^+k^. The work done on the particle (in J) is
(A) 2
(B) 1
(C) 2.5
(D) 3
(E) 5
›Reveal solutionSolution
Work is the dot product of force with displacement, W=F⋅d.
The displacement vector is d=Q−P=(2−3)i^+(2−2)j^+(2−(−1))k^=−i^+0j^+3k^. …
Q.The velocity of a moving particle at any instant is i^+j^. The magnitude and direction of the velocity of the particle are
(A) 2 units and 45° with the x-axis
(B) 2 units and 30° with the z-axis
(C) 2 units and 45° with the x-axis
(D) 2 units and 60° with the y-axis
(E) 2 units and 60° with the x-axis
›Reveal solutionSolution
The velocity is 2 units directed 45∘ from the x-axis.
Concept and Intuition
For a vector ai^+bj^, the magnitude is a2+b2 and the angle with the x-axis is tan−1(b/a).