Class 12 Maths, Worked in Full Past papersGet updates
Chapter 10 · Vector Algebra

Example 16: Projection of 2i^+3j^+2k^2\hat i+3\hat j+2\hat k on i^+2j^+k^\hat i+2\hat j+\hat k

ExamplesProjection of a vector on a vector · Section 10.6.2
The question

Find the projection of the vector a⃗=2i^+3j^+2k^\vec a = 2\hat i + 3\hat j + 2\hat k on the vector b⃗=i^+2j^+k^\vec b = \hat i + 2\hat j + \hat k⁠.

Exam answer

The projection of a⃗\vec a on b⃗\vec b is 1∣b⃗∣(a⃗⋅b⃗)\frac{1}{|\vec b|}(\vec a\cdot\vec b)⁠.

a⃗⋅b⃗=(2)(1)+(3)(2)+(2)(1)=2+6+2=10\begin{aligned} \vec a\cdot\vec b &= (2)(1) + (3)(2) + (2)(1) \\ &= 2 + 6 + 2 = 10 \end{aligned} ∣b⃗∣=12+22+12=6|\vec b| = \sqrt{1^2 + 2^2 + 1^2} = \sqrt6 Projection=16(10)=106=1066\begin{aligned} \text{Projection} &= \frac{1}{\sqrt6}(10) = \frac{10}{\sqrt6} \\ &= \frac{10\sqrt6}{6} \end{aligned}

∴\therefore the projection of a⃗\vec a on b⃗\vec b is 536\dfrac53\sqrt6⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The projection of a⃗\vec a on b⃗\vec b is the signed length of the shadow of a⃗\vec a on the line of b⃗\vec b⁠: ∣a⃗∣cos⁡θ|\vec a|\cos\theta⁠. Since a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ\vec a\cdot\vec b = |\vec a||\vec b|\cos\theta⁠, it equals

∣a⃗∣cos⁡θ=a⃗⋅b⃗∣b⃗∣=a⃗⋅b^.|\vec a|\cos\theta = \frac{\vec a\cdot\vec b}{|\vec b|} = \vec a\cdot\hat b.

So we need only the scalar product and the length of the vector we project on.

Given, to find, and the plan
Given
a⃗=2i^+3j^+2k^\vec a = 2\hat i + 3\hat j + 2\hat k⁠, b⃗=i^+2j^+k^\vec b = \hat i + 2\hat j + \hat k⁠.
To find
The projection of a⃗\vec a on b⃗\vec b⁠.
Plan
(1) Compute a⃗⋅b⃗\vec a\cdot\vec b⁠. (2) Compute ∣b⃗∣|\vec b|⁠. (3) Divide and rationalise. (4) Check that the shadow is not longer than a⃗\vec a⁠.

Basics you need

1Projection on a vector

The projection of a⃗\vec a on b⃗\vec b is a⃗⋅b^=a⃗⋅b⃗∣b⃗∣=1∣b⃗∣(a⃗⋅b⃗)\vec a\cdot\hat b = \vec a\cdot\frac{\vec b}{|\vec b|} = \frac{1}{|\vec b|}(\vec a\cdot\vec b) (Section 10.6.2, Observation 2, Fig 10.20). Lesson: the dot product

2Scalar product in components

a⃗⋅b⃗=a1b1+a2b2+a3b3\vec a\cdot\vec b = a_1b_1 + a_2b_2 + a_3b_3 (Section 10.6.1). Lesson: Examples 13–21

3Cosine as a shadow

A segment of length rr at angle θ\theta to a line casts a shadow of signed length rcos⁡θr\cos\theta on it. Basics: cos θ is a shadow

Solution

  1. The scalar product

    a⃗⋅b⃗=(2)(1)+(3)(2)+(2)(1)=2+6+2=10.\begin{aligned} \vec a\cdot\vec b &= (2)(1) + (3)(2) + (2)(1) \\ &= 2 + 6 + 2 = 10. \end{aligned}
    Multiply the matching components of a⃗\vec a and b⃗\vec b and add, exactly as the book writes 2×1+3×2+2×12 \times 1 + 3 \times 2 + 2 \times 1⁠.
    a⃗⋅b⃗=a1b1+a2b2+a3b3\vec a\cdot\vec b = a_1b_1 + a_2b_2 + a_3b_3 (Section 10.6.1). Lesson: the dot product
  2. The length of b⃗\vec b

    ∣b⃗∣=(1)2+(2)2+(1)2=6.|\vec b| = \sqrt{(1)^2 + (2)^2 + (1)^2} = \sqrt6.
    We project on b⃗\vec b⁠, so we divide by the length of b⃗\vec b⁠, the vector that fixes the direction of the line. The length of a⃗\vec a is not used.
    ∣r⃗∣=x2+y2+z2|\vec r| = \sqrt{x^2 + y^2 + z^2} (Section 10.5.1). Basics: use Pythagoras twice
  3. Divide, and rationalise

    1∣b⃗∣(a⃗⋅b⃗)=106=1066=536.\frac{1}{|\vec b|}(\vec a\cdot\vec b) = \frac{10}{\sqrt6} = \frac{10\sqrt6}{6} = \frac53\sqrt6.

    So the projection of a⃗\vec a on b⃗\vec b is 106=536\frac{10}{\sqrt6} = \frac53\sqrt6.

    l O a, length √17 b, length √6 projection 10/√6 ≈ 4.08 cos θ ≈ 0.99 θ ≈ 8.05°
    a⃗\vec a and b⃗\vec b drawn in their own plane, true to scale. The perpendicular from the tip of a⃗\vec a to the line ll of b⃗\vec b marks the shadow of a⃗\vec a⁠: its length is the projection 106≈4.08\frac{10}{\sqrt6} \approx 4.08⁠, a little less than ∣a⃗∣=17≈4.12|\vec a| = \sqrt{17} \approx 4.12⁠, because the angle between the vectors is small.
    Multiplying top and bottom by 6\sqrt6 gives 1066\frac{10\sqrt6}{6}⁠, and cancelling 2 gives 563\frac{5\sqrt6}{3}⁠, the book's form. The answer is positive because a⃗⋅b⃗>0\vec a\cdot\vec b > 0⁠: the shadow points the same way as b⃗\vec b⁠, and the angle between the vectors is acute.
    Projection of a⃗\vec a on b⃗\vec b (Section 10.6.2, Observation 2). Lesson: Examples 13–21
  4. Check against the length of a⃗\vec a

    ∣a⃗∣=4+9+4=17|\vec a| = \sqrt{4 + 9 + 4} = \sqrt{17}⁠. The projection is ∣a⃗∣cos⁡θ|\vec a|\cos\theta and ∣cos⁡θ∣≤1|\cos\theta| \le 1⁠, so it can never be longer than 17\sqrt{17}⁠. Indeed (106)2=1006=503\left(\frac{10}{\sqrt6}\right)^2 = \frac{100}{6} = \frac{50}{3}⁠, which is less than 17.

    This guards against the most common slip, dividing by ∣a⃗∣|\vec a| instead of ∣b⃗∣|\vec b|⁠: that would give 1017\frac{10}{\sqrt{17}}⁠, the projection of b⃗\vec b on a⃗\vec a⁠, which must be at most ∣b⃗∣=6|\vec b| = \sqrt6⁠.
    ∣cos⁡θ∣≤1|\cos\theta| \le 1⁠. Basics: cos θ is a shadow
Result

The projection of a⃗\vec a on b⃗\vec b is 106=536\frac{10}{\sqrt6} = \frac53\sqrt6⁠.

(Textbook answer: 1∣b⃗∣(a⃗⋅b⃗)\frac{1}{|\vec b|}(\vec a\cdot\vec b) =(2×1+3×2+2×1)(1)2+(2)2+(1)2= \frac{(2 \times 1 + 3 \times 2 + 2 \times 1)}{\sqrt{(1)^2 + (2)^2 + (1)^2}} =106=536= \frac{10}{\sqrt6} = \frac53\sqrt6⁠.)

Check it with numbers

106≈4.082483\frac{10}{\sqrt6} \approx 4.082483 and 536≈4.082483\frac53\sqrt6 \approx 4.082483 (the same number), while ∣a⃗∣=17≈4.123106|\vec a| = \sqrt{17} \approx 4.123106⁠.

The angle: cos⁡θ=1017 6=10102≈0.990148\cos\theta = \frac{10}{\sqrt{17}\,\sqrt6} = \frac{10}{\sqrt{102}} \approx 0.990148⁠, so θ≈8.05∘\theta \approx 8.05^\circ⁠, and 17cos⁡θ=106\sqrt{17}\cos\theta = \frac{10}{\sqrt6} exactly.

The projection vector (the shadow as a vector along b⃗\vec b⁠) is (a⃗⋅b^) b^=106(i^+2j^+k^)(\vec a\cdot\hat b)\,\hat b = \frac{10}{6}(\hat i + 2\hat j + \hat k) =53(i^+2j^+k^)= \frac53(\hat i + 2\hat j + \hat k)⁠, whose length is 536\frac53\sqrt6 again.

Common mistakes
  1. Dividing by ∣a⃗∣|\vec a|⁠. 1017\frac{10}{\sqrt{17}} is the projection of b⃗\vec b on a⃗\vec a⁠; projecting on b⃗\vec b divides by ∣b⃗∣|\vec b|⁠.
  2. Forgetting to divide at all. a⃗⋅b⃗=10\vec a\cdot\vec b = 10 is not the projection; it is ∣b⃗∣|\vec b| times the projection.
  3. Mixing up the projection and the projection vector. The question asks for the number 536\frac53\sqrt6⁠; the vector 53(i^+2j^+k^)\frac53(\hat i + 2\hat j + \hat k) is the projection vector.
What to take away
  1. Projection of a⃗\vec a on b⃗\vec b⁠: a⃗⋅b⃗∣b⃗∣\frac{\vec a\cdot\vec b}{|\vec b|}⁠, dividing by the length of the vector projected on.
  2. It is the signed length of the shadow, ∣a⃗∣cos⁡θ|\vec a|\cos\theta⁠, so its size is at most ∣a⃗∣|\vec a|⁠.
  3. Its sign tells whether the angle is acute (positive) or obtuse (negative).

Every fact used, and where it comes from

FactUsed inSource
a⃗⋅b⃗=a1b1+a2b2+a3b3\vec a\cdot\vec b = a_1b_1 + a_2b_2 + a_3b_3Step 1Section 10.6.1 (Lesson: the dot product)
∣xi^+yj^+zk^∣=x2+y2+z2|x\hat i + y\hat j + z\hat k| = \sqrt{x^2 + y^2 + z^2}Steps 2, 4Section 10.5.1
Projection of a⃗\vec a on b⃗\vec b is a⃗⋅b^=1∣b⃗∣(a⃗⋅b⃗)\vec a\cdot\hat b = \frac{1}{|\vec b|}(\vec a\cdot\vec b)Step 3Section 10.6.2, Observation 2, Fig 10.20
∣cos⁡θ∣≤1|\cos\theta| \le 1Step 4Trigonometry (Basics: cos θ is a shadow)
Projection vectorCheckSection 10.6.2
The book's working and answerResultExample 16, Section 10.6.2 (Lesson: Examples 13–21)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →