PYQ Vault

CBSE Class 12 Maths · Vector Algebra

Scalar (Dot) Product and Projection

The dot product a · b = |a||b| cos θ = a₁b₁ + a₂b₂ + a₃b₃ is a number; it gives the angle between two vectors, is zero exactly when non-zero vectors are perpendicular, and divided by |b| gives the projection of a on b.

Why this matters

98 questions, sixty-two of them from board papers, the most of any part of this chapter, and every year from 2022 to 2026. The board asks for the angle between two vectors (from components, from a + b + c = 0, or from equal lengths such as the length of a + 2b equal to the length of 2a minus b), for an unknown that makes two vectors perpendicular, for projections (a value, an unknown, or which formula is the projection vector), and for lengths like the length of a + 2b from given magnitudes and a dot product. Proofs come up most years: half-angle results for unit vectors (2022, 2025), a vector equally inclined to two others (2022), and the sum of three squared lengths at most 9 (2026). In 2024 four assertion-reason items tested projections, commutativity and what a dot product gives. The textbook adds Examples 13 to 21 and 27 to 30, all of Exercise 10.3 and five Miscellaneous questions.

Concept 1 of 5: The dot product and the angle between two vectors

The dot product multiplies the lengths of two vectors and the cosine of the angle between them, so the answer is a number, not a vector. From components it is just the sum of the products of matching components. Put the two together and you get cos⁡θ\cos\theta: positive for an acute angle, zero for a right angle, negative for an obtuse one.

Definition

  • a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ\vec{a} \cdot \vec{b} = |\vec{a}||\vec{b}|\cos\theta, where 0≤θ≤π0 \le \theta \le \pi.
  • In components: a⃗⋅b⃗=a1b1+a2b2+a3b3\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 + a_3b_3.
  • Angle: cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\cos\theta = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}.
  • a⃗⋅b⃗=b⃗⋅a⃗\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}; i^⋅i^=1\hat{i} \cdot \hat{i} = 1, i^⋅j^=0\hat{i} \cdot \hat{j} = 0; a⃗⋅a⃗=∣a⃗∣2\vec{a} \cdot \vec{a} = |\vec{a}|^2.
  • a⃗⋅b⃗≥0\vec{a} \cdot \vec{b} \ge 0 exactly when 0≤θ≤π20 \le \theta \le \dfrac{\pi}{2}; the angle is obtuse exactly when a⃗⋅b⃗<0\vec{a} \cdot \vec{b} < 0 (and the vectors are not opposite).
  • ∣a⃗⋅b⃗∣≤∣a⃗∣∣b⃗∣|\vec{a} \cdot \vec{b}| \le |\vec{a}||\vec{b}| always.
  • Angle of a triangle at B: use BA→\overrightarrow{BA} and BC→\overrightarrow{BC}, both pointing away from B.

Angle between two vectors

cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣=a1b1+a2b2+a3b3∣a⃗∣∣b⃗∣\cos\theta = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|} = \dfrac{a_1b_1 + a_2b_2 + a_3b_3}{|\vec{a}||\vec{b}|}
  • θ\thetathe angle between the vectors, from 0 to pi

Worked example

Find the angle between a⃗=2i^+j^−k^\vec{a} = 2\hat{i} + \hat{j} - \hat{k} and b⃗=i^−j^+2k^\vec{b} = \hat{i} - \hat{j} + 2\hat{k}.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/1/1 · 25 (a)Moderate

Example 1 · Vector Algebra · Scalar (Dot) Product and Projection

Two friends while flying kites from different locations, find the strings of their kites crossing each other. The strings can be represented by vectors a⃗=3i^+j^+2k^\vec{a} = 3\hat{i} + \hat{j} + 2\hat{k} and b⃗=2i^−2j^+4k^\vec{b} = 2\hat{i} - 2\hat{j} + 4\hat{k}. Determine the angle formed between the kite strings. Assume there is no slack in the strings.

Vectors pointing into the vertex

For the angle at D use DV→\overrightarrow{DV} and DA→\overrightarrow{DA}, both starting at D. Using VD→\overrightarrow{VD} changes the sign of the cosine and gives the supplement of the angle.

A dot product is a number

a⃗⋅b⃗\vec{a} \cdot \vec{b} is a scalar, but (b⃗⋅c⃗) a⃗(\vec{b} \cdot \vec{c})\,\vec{a} is a scalar times a vector, so it is a vector. Board 2024 set this as an assertion-reason item.

Reversing one vector

Replacing b⃗\vec{b} by −b⃗-\vec{b} turns the angle θ\theta into π−θ\pi - \theta. Scaling by a positive number does not change the angle at all.

Concept 2 of 5: Perpendicular vectors: a dot product of zero

Two non-zero vectors are perpendicular exactly when cos⁡θ=0\cos\theta = 0, that is when their dot product is zero. That turns "find λ\lambda so that the vectors are perpendicular" into one linear equation. It also proves geometry facts: write the condition as a dot product, expand, and use a⃗⋅a⃗=∣a⃗∣2\vec{a} \cdot \vec{a} = |\vec{a}|^2.

Definition

  • For non-zero a⃗\vec{a}, b⃗\vec{b}: a⃗⊥b⃗\vec{a} \perp \vec{b} exactly when a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0.
  • a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0 also holds when one vector is 0⃗\vec{0}, so the converse needs the vectors to be non-zero.
  • (a⃗+λb⃗)⋅c⃗=a⃗⋅c⃗+λ (b⃗⋅c⃗)(\vec{a} + \lambda\vec{b}) \cdot \vec{c} = \vec{a} \cdot \vec{c} + \lambda\,(\vec{b} \cdot \vec{c}).
  • (a⃗+b⃗)⋅(a⃗−b⃗)=∣a⃗∣2−∣b⃗∣2(\vec{a} + \vec{b}) \cdot (\vec{a} - \vec{b}) = |\vec{a}|^2 - |\vec{b}|^2, so a⃗+b⃗⊥a⃗−b⃗\vec{a} + \vec{b} \perp \vec{a} - \vec{b} exactly when ∣a⃗∣=∣b⃗∣|\vec{a}| = |\vec{b}|.
  • If a⃗⋅b⃗=a⃗⋅c⃗\vec{a} \cdot \vec{b} = \vec{a} \cdot \vec{c} with a⃗≠0⃗\vec{a} \ne \vec{0} and b⃗≠c⃗\vec{b} \ne \vec{c}, then a⃗⊥(b⃗−c⃗)\vec{a} \perp (\vec{b} - \vec{c}).

Perpendicular vectors

a⃗⋅b⃗=a1b1+a2b2+a3b3=0\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 + a_3b_3 = 0

Worked example

Find λ\lambda so that a⃗+λb⃗\vec{a} + \lambda\vec{b} is perpendicular to c⃗\vec{c}, where a⃗=i^+2j^−k^\vec{a} = \hat{i} + 2\hat{j} - \hat{k}, b⃗=2i^−j^+3k^\vec{b} = 2\hat{i} - \hat{j} + 3\hat{k} and c⃗=3i^+j^+k^\vec{c} = 3\hat{i} + \hat{j} + \hat{k}.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2026 · 65/5/1 · 24 (a)Moderate

Example 2 · Vector Algebra · Scalar (Dot) Product and Projection

Three honey bees were found flying along the vectors a⃗=2i^−3j^+k^\vec{a} = 2\hat{i} - 3\hat{j} + \hat{k}, b⃗=4j^−2k^\vec{b} = 4\hat{j} - 2\hat{k} and c⃗=3i^+2k^\vec{c} = 3\hat{i} + 2\hat{k} respectively. Find the value of λ\lambda such that the path for a⃗+λb⃗\vec{a} + \lambda \vec{b} is perpendicular to c⃗\vec{c}.

A zero dot product with a zero vector

a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0 proves perpendicular only when both vectors are non-zero. Say so in the answer.

Expanding the bracket wrongly

(a⃗+b⃗)⋅(a⃗−b⃗)(\vec{a} + \vec{b}) \cdot (\vec{a} - \vec{b}) is ∣a⃗∣2−∣b⃗∣2|\vec{a}|^2 - |\vec{b}|^2: the two middle terms cancel because a⃗⋅b⃗=b⃗⋅a⃗\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}.

Opposite is not perpendicular

a⃗\vec{a} and −a⃗-\vec{a} make an angle π\pi, and a⃗⋅(−a⃗)=−∣a⃗∣2\vec{a} \cdot (-\vec{a}) = -|\vec{a}|^2, not 0.

Concept 3 of 5: Projection of a vector on another

Shine a light straight down onto the line of b⃗\vec{b}: the shadow of a⃗\vec{a} is its projection. Its signed length is ∣a⃗∣cos⁡θ|\vec{a}|\cos\theta, which equals a⃗⋅b⃗∣b⃗∣\dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}. The projection vector is that length times the unit vector along b⃗\vec{b}.

Definition

  • Projection of a⃗\vec{a} on b⃗\vec{b}: a⃗⋅b^=a⃗⋅b⃗∣b⃗∣\vec{a} \cdot \hat{b} = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}. Divide by the length of the vector you project ON.
  • Projection vector: (a⃗⋅b⃗∣b⃗∣2)b⃗\left(\dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|^2}\right)\vec{b}.
  • The projection is negative when the angle is obtuse and 0 when the vectors are perpendicular.
  • The projections of a⃗=a1i^+a2j^+a3k^\vec{a} = a_1\hat{i} + a_2\hat{j} + a_3\hat{k} on the axes are a1,a2,a3a_1, a_2, a_3.
  • The projection of a⃗\vec{a} on b⃗\vec{b} and of b⃗\vec{b} on a⃗\vec{a} are different unless ∣a⃗∣=∣b⃗∣|\vec{a}| = |\vec{b}| or a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0.

Projection of a on b

projb⃗ a⃗=a⃗⋅b⃗∣b⃗∣,projection vector=(a⃗⋅b⃗∣b⃗∣2)b⃗\text{proj}_{\vec{b}}\,\vec{a} = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}, \qquad \text{projection vector} = \left(\dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|^2}\right)\vec{b}

Worked example

Find the projection of a⃗=3i^−j^+2k^\vec{a} = 3\hat{i} - \hat{j} + 2\hat{k} on b⃗=2i^+2j^−k^\vec{b} = 2\hat{i} + 2\hat{j} - \hat{k}, and the projection vector.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/5/3 · Q30Moderate

Example 3 · Vector Algebra · Scalar (Dot) Product and Projection

Find the projection of vector (b⃗+c⃗)(\vec{b} + \vec{c}) on vector a⃗\vec{a}, where a⃗=2i^+2j^+k^\vec{a} = 2\hat{i} + 2\hat{j} + \hat{k}, b⃗=i^+3j^+k^\vec{b} = \hat{i} + 3\hat{j} + \hat{k} and c⃗=i^+k^\vec{c} = \hat{i} + \hat{k}.

Dividing by the wrong length

The projection of a⃗\vec{a} ON b⃗\vec{b} divides by ∣b⃗∣|\vec{b}|. Dividing by ∣a⃗∣|\vec{a}| gives the projection of b⃗\vec{b} on a⃗\vec{a}.

Squaring brings in a false root

When the unknown sits under the square root of ∣b⃗∣|\vec{b}|, squaring gives two roots. Put each back: a root that makes the projection negative when the question says positive must be rejected.

Scalar asked, vector given

"Projection" is a number. "Projection vector" is that number times b^\hat{b}. Answer the one the question names.

Concept 4 of 5: Lengths of sums and differences

You cannot add lengths, but you can square them: ∣u⃗∣2=u⃗⋅u⃗|\vec{u}|^2 = \vec{u} \cdot \vec{u}. Expanding ∣a⃗+b⃗∣2|\vec{a} + \vec{b}|^2 like (x+y)2(x + y)^2 gives the two squared lengths plus twice the dot product. Any condition on lengths of sums or differences becomes an equation in a⃗⋅b⃗\vec{a} \cdot \vec{b}, and from it the angle.

Definition

  • ∣a⃗±b⃗∣2=∣a⃗∣2+∣b⃗∣2±2 a⃗⋅b⃗|\vec{a} \pm \vec{b}|^2 = |\vec{a}|^2 + |\vec{b}|^2 \pm 2\,\vec{a} \cdot \vec{b}.
  • ∣pa⃗+qb⃗∣2=p2∣a⃗∣2+q2∣b⃗∣2+2pq a⃗⋅b⃗|p\vec{a} + q\vec{b}|^2 = p^2|\vec{a}|^2 + q^2|\vec{b}|^2 + 2pq\,\vec{a} \cdot \vec{b}.
  • (x⃗−a⃗)⋅(x⃗+a⃗)=∣x⃗∣2−∣a⃗∣2(\vec{x} - \vec{a}) \cdot (\vec{x} + \vec{a}) = |\vec{x}|^2 - |\vec{a}|^2.
  • ∣a⃗+b⃗∣=∣a⃗−b⃗∣|\vec{a} + \vec{b}| = |\vec{a} - \vec{b}| exactly when a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0.
  • Unit vectors at angle θ\theta: ∣a⃗−b⃗∣=2sin⁡θ2|\vec{a} - \vec{b}| = 2\sin\dfrac{\theta}{2}, since ∣a⃗−b⃗∣2=2−2cos⁡θ=4sin⁡2θ2|\vec{a} - \vec{b}|^2 = 2 - 2\cos\theta = 4\sin^2\dfrac{\theta}{2}.
  • Take the positive square root at the end: a length is never negative.

Square of a sum

∣a⃗+b⃗∣2=∣a⃗∣2+∣b⃗∣2+2 a⃗⋅b⃗|\vec{a} + \vec{b}|^2 = |\vec{a}|^2 + |\vec{b}|^2 + 2\,\vec{a} \cdot \vec{b}

Worked example

If ∣a⃗∣=3|\vec{a}| = 3, ∣b⃗∣=2|\vec{b}| = 2 and a⃗⋅b⃗=1\vec{a} \cdot \vec{b} = 1, find ∣2a⃗−b⃗∣|2\vec{a} - \vec{b}|.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/2/3 · Q24Moderate

Example 4 · Vector Algebra · Scalar (Dot) Product and Projection

If ∣a⃗∣=2|\vec{a}| = 2, ∣b⃗∣=3|\vec{b}| = 3 and a⃗⋅b⃗=4\vec{a} \cdot \vec{b} = 4, then evaluate ∣a⃗+2b⃗∣|\vec{a} + 2\vec{b}|.

Forgetting the coefficient on the cross term

∣2a⃗−b⃗∣2|2\vec{a} - \vec{b}|^2 has −4 a⃗⋅b⃗-4\,\vec{a} \cdot \vec{b}, not −2 a⃗⋅b⃗-2\,\vec{a} \cdot \vec{b}: the cross term is 2×2×(−1)2 \times 2 \times (-1) times the dot product.

Squaring the vector's coefficient only

∣2a⃗∣2=4∣a⃗∣2|2\vec{a}|^2 = 4|\vec{a}|^2. Writing 2∣a⃗∣22|\vec{a}|^2 is a common slip.

Half-angle proofs without the sign step

From ∣a⃗−b⃗∣2=4sin⁡2θ2|\vec{a} - \vec{b}|^2 = 4\sin^2\dfrac{\theta}{2} you may take the positive root only because θ2\dfrac{\theta}{2} lies between 0 and π2\dfrac{\pi}{2}. Write that line: it carries a mark.

Concept 5 of 5: Three vectors adding to zero, and mutually perpendicular vectors

If a⃗+b⃗+c⃗=0⃗\vec{a} + \vec{b} + \vec{c} = \vec{0}, squaring the sum gives the three dot products at once. To find the angle between two of them, move the third to the other side and square: the third vector's length is known. Mutually perpendicular vectors make every cross dot product zero, which is what makes their sums easy.

Definition

  • From a⃗+b⃗+c⃗=0⃗\vec{a} + \vec{b} + \vec{c} = \vec{0}: ∣a⃗∣2+∣b⃗∣2+∣c⃗∣2+2(a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗)=0|\vec{a}|^2 + |\vec{b}|^2 + |\vec{c}|^2 + 2(\vec{a} \cdot \vec{b} + \vec{b} \cdot \vec{c} + \vec{c} \cdot \vec{a}) = 0.
  • Angle between a⃗\vec{a} and b⃗\vec{b}: a⃗+b⃗=−c⃗\vec{a} + \vec{b} = -\vec{c}, so ∣a⃗∣2+∣b⃗∣2+2∣a⃗∣∣b⃗∣cos⁡θ=∣c⃗∣2|\vec{a}|^2 + |\vec{b}|^2 + 2|\vec{a}||\vec{b}|\cos\theta = |\vec{c}|^2.
  • Mutually perpendicular a⃗,b⃗,c⃗\vec{a}, \vec{b}, \vec{c}: a⃗⋅b⃗=b⃗⋅c⃗=c⃗⋅a⃗=0\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{c} = \vec{c} \cdot \vec{a} = 0, so ∣pa⃗+qb⃗+rc⃗∣2=p2∣a⃗∣2+q2∣b⃗∣2+r2∣c⃗∣2|p\vec{a} + q\vec{b} + r\vec{c}|^2 = p^2|\vec{a}|^2 + q^2|\vec{b}|^2 + r^2|\vec{c}|^2.

Square of a sum of three

∣a⃗+b⃗+c⃗∣2=∣a⃗∣2+∣b⃗∣2+∣c⃗∣2+2(a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗)|\vec{a} + \vec{b} + \vec{c}|^2 = |\vec{a}|^2 + |\vec{b}|^2 + |\vec{c}|^2 + 2(\vec{a} \cdot \vec{b} + \vec{b} \cdot \vec{c} + \vec{c} \cdot \vec{a})

Worked example

If a⃗+b⃗+c⃗=0⃗\vec{a} + \vec{b} + \vec{c} = \vec{0} with ∣a⃗∣=1|\vec{a}| = 1, ∣b⃗∣=2|\vec{b}| = 2 and ∣c⃗∣=3|\vec{c}| = 3, find a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗\vec{a} \cdot \vec{b} + \vec{b} \cdot \vec{c} + \vec{c} \cdot \vec{a}.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/5/1 · 30 (a)Moderate

Example 5 · Vector Algebra · Scalar (Dot) Product and Projection

If a⃗+b⃗+c⃗=0⃗\vec{a} + \vec{b} + \vec{c} = \vec{0} such that ∣a⃗∣=3|\vec{a}| = 3, ∣b⃗∣=5|\vec{b}| = 5, ∣c⃗∣=7|\vec{c}| = 7, then find the angle between a⃗\vec{a} and b⃗\vec{b}.

Squaring the wrong side

For the angle between a⃗\vec{a} and b⃗\vec{b}, keep a⃗+b⃗\vec{a} + \vec{b} together and move c⃗\vec{c} across. Squaring a⃗+c⃗\vec{a} + \vec{c} brings in the wrong dot product.

The 2 in front of the bracket

The expansion has 2(a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗)2(\vec{a} \cdot \vec{b} + \vec{b} \cdot \vec{c} + \vec{c} \cdot \vec{a}). Forgetting to divide by 2 at the end doubles the answer.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (5)

  • The dot product and the angle between two vectors

    Angle between two vectors

    cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣=a1b1+a2b2+a3b3∣a⃗∣∣b⃗∣\cos\theta = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|} = \dfrac{a_1b_1 + a_2b_2 + a_3b_3}{|\vec{a}||\vec{b}|}
  • Perpendicular vectors: a dot product of zero

    Perpendicular vectors

    a⃗⋅b⃗=a1b1+a2b2+a3b3=0\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 + a_3b_3 = 0
  • Projection of a vector on another

    Projection of a on b

    projb⃗ a⃗=a⃗⋅b⃗∣b⃗∣,projection vector=(a⃗⋅b⃗∣b⃗∣2)b⃗\text{proj}_{\vec{b}}\,\vec{a} = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}, \qquad \text{projection vector} = \left(\dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|^2}\right)\vec{b}
  • Lengths of sums and differences

    Square of a sum

    ∣a⃗+b⃗∣2=∣a⃗∣2+∣b⃗∣2+2 a⃗⋅b⃗|\vec{a} + \vec{b}|^2 = |\vec{a}|^2 + |\vec{b}|^2 + 2\,\vec{a} \cdot \vec{b}
  • Three vectors adding to zero, and mutually perpendicular vectors

    Square of a sum of three

    ∣a⃗+b⃗+c⃗∣2=∣a⃗∣2+∣b⃗∣2+∣c⃗∣2+2(a⃗⋅b⃗+b⃗⋅c⃗+c⃗⋅a⃗)|\vec{a} + \vec{b} + \vec{c}|^2 = |\vec{a}|^2 + |\vec{b}|^2 + |\vec{c}|^2 + 2(\vec{a} \cdot \vec{b} + \vec{b} \cdot \vec{c} + \vec{c} \cdot \vec{a})

Watch out for (14)

Test yourself on Vector Algebra

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.