JEE maths study guide
Dot product and angle for JEE maths: formula and examples
For dot product and angle questions in JEE maths, use cos θ = (a · b)/(|a||b|) for two nonzero real vectors. Calculate the dot product from matching components and divide by the product of the magnitudes. The angle between the vectors lies from 0° to 180°.
Made for: Indian JEE maths students who know vector components and basic trigonometry.
The short version
What should you take away?
- The angle formula requires both vector magnitudes to be nonzero.
- The dot product is the sum of products of matching components.
- The denominator is the product of magnitudes, not their sum.
- The dot-product sign separates angles less than, equal to, and greater than 90 degrees.
01
How does the dot product define the angle between vectors?
For nonzero vectors a and b, a · b = |a||b| cos θ. Their angle θ belongs to [0°, 180°], so this cosine determines the angle uniquely.
The dot product is a scalar, not a vector. In an orthonormal Cartesian basis, a = (a1, a2, a3) and b = (b1, b2, b3) give a · b = a1b1 + a2b2 + a3b3. Matching components refer to the same coordinate direction.
A magnitude measures vector length and is nonnegative. The magnitude of a is √(a1² + a2² + a3²). For two nonzero vectors, both magnitudes are positive. Division by their product therefore gives cos θ without a change of sign.
The angle concerns the two directions with their initial points together. Parallel vectors in the same direction have θ = 0°. Opposite directions give θ = 180°. Perpendicular nonzero vectors give θ = 90°. These cases correspond to cosine values 1, −1, and 0.
02
How do component calculations give an exact angle?
Find the angle between a = (1, 1, 0) and b = (1, 0, 1). Their dot product is 1 and both magnitudes equal √2, so θ = 60°.
First calculate the matching component products. The x-components give 1 × 1 = 1. The y-components give 1 × 0 = 0. The z-components give 0 × 1 = 0. Thus a · b = 1 + 0 + 0 = 1.
Next calculate each magnitude from its own components. For a, |a| = √(1² + 1² + 0²) = √2. For b, |b| = √(1² + 0² + 1²) = √2. Both vectors are nonzero, so the angle formula applies. Their magnitude product is 2.
Substitution gives cos θ = 1/2. Within the interval from 0° to 180°, the corresponding angle is 60°. The positive dot product also agrees with an acute angle. The two vectors have equal lengths, but equal lengths alone do not establish this angle.
- Multiply matching components and add their products.
- Calculate each magnitude separately from its squared components.
- Divide by the magnitude product and identify the angle.
03
Which sign and denominator errors change the angle?
Do not replace the dot product with its absolute value for a vector angle. A negative dot product gives an angle greater than 90°, with 180° possible.
The magnitude product is positive for nonzero vectors, so cos θ has the sign of a · b. For nonparallel vectors, a positive dot product gives an acute angle and a negative one gives an obtuse angle. Zero gives a right angle. The parallel endpoint cases give 0° for the same direction and 180° for opposite directions.
The zero vector has dot product zero with every vector, but its direction and its angle are undefined. Therefore a zero dot product proves perpendicular directions only after both vectors are known to be nonzero. The angle formula itself exposes this restriction through a zero denominator.
The angle between two vectors can differ from the acute angle between the lines that contain them. Reversal of b changes the worked example from 60° to 120°. An absolute value erases that distinction. The problem statement determines whether it asks for vectors or undirected lines.
04
Can you find a new angle and describe its type?
Find the angle between u = (2, −1, 2) and v = (1, 2, 2). Give an exact expression and state whether the angle is acute.
Start with the component products, including the negative y-component of u. Calculate both magnitudes from squares. Before an inverse cosine, make sure that the vectors are nonzero and that the cosine lies between −1 and 1. Keep an exact value if it is not a familiar angle.
For a further comparison, replace v with −v. The magnitude remains the same, while every matching product changes sign. Thus the dot product changes sign. This comparison provides a direct reason that reversal changes an acute vector angle to its supplementary obtuse angle.
Answer: u · v = 2 × 1 + (−1) × 2 + 2 × 2 = 4. Both magnitudes are 3. Thus cos θ = 4/9 and θ = arccos(4/9), an acute angle. For u and −v, the angle is arccos(−4/9) = 180° − arccos(4/9).
Questions students ask next
What else should you know?
Does a zero dot product always mean a 90° angle?
Only when both vectors are nonzero. The zero vector has no direction, so its angle is undefined.
Can the cosine ratio be greater than one?
For exact calculations with two real nonzero vectors, no. A ratio outside [−1, 1] indicates a calculation error or numerical rounding near an endpoint.
Must the angle be a standard trigonometric angle?
No. An exact inverse-cosine expression is valid. A decimal approximation needs a stated angle unit and appropriate rounding.
What changed: Initial article prepared with Codex and its subagents, textbook sources, and a separate automated review. Mathematics reviewed and publication approved by AIR1 site owner on 2026-11-03. No independent professional review is claimed.