How to find the scalar and vector projections of one vector onto another

 
 
Scalar and vector projections blog post.jpeg
 
 
 

What are scalar and vector projections?

Scalar projections

The scalar projection of one vector onto another (also called the component of one vector along another), is

compab=aba\text{comp}_a{b}=\frac{a\cdot{b}}{|a|}

where aba\cdot{b} is the dot product of the vectors aa and bb, and a|a| is the length of aa (also called the magnitude of aa).

Krista King Math.jpg

Hi! I'm krista.

I create online courses to help you rock your math class. Read more.

 

Vector projections

The vector projection of one vector onto another is like a shadow that one vector casts on another vector. For example, the projection of green onto orange is blue:

 
projection of one vector onto another
 

projab=(aba)aa\text{proj}_a{b}=\left(\frac{a\cdot{b}}{|a|}\right)\frac{a}{|a|}

where aba\cdot{b} is the dot product of the vectors aa and bb, and a|a| is the length of aa (also called the magnitude of aa).

 
 

How to find the scalar and vector projections of one vector onto another


 
Krista King Math Signup.png
 
Calculus 3 course.png

Take the course

Want to learn more about Calculus 3? I have a step-by-step course for that. :)

 
 

 
 

A step-by-step example of how to find the scalar projections and vector projections

Example

Find the scalar and vector projections of bb onto aa.

a=i+2j3ka=i+2j-3k

b=6i+jb=6i+j

Since we use the value of the scalar projection in the formula for the vector projection, we’ll start by finding the scalar projection. We’ll need the dot product of aa and bb and the magnitude of aa.

We’ll convert the given vector equations into the form

a=1,2,3a=\langle1,2,-3\rangle

b=6,1,0b=\langle6,1,0\rangle

We’ll take the dot product.

ab=(1)(6)+(2)(1)+(3)(0)a\cdot{b}=(1)(6)+(2)(1)+(-3)(0)

ab=6+2+0a\cdot{b}=6+2+0

ab=8a\cdot{b}=8

Scalar and vector projections for Calculus 3.jpg

Since we use the value of the scalar projection in the formula for the vector projection, we’ll start by finding the scalar projection.

We’ll find the magnitude (length) of aa using the distance formula. Remember, the terminal point of aa is (1,2,3)(1,2,-3) and the initial point of aa is (0,0,0)(0,0,0).

a=(x2x1)2+(y2y1)2+(z2z1)2|a|=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2}

a=(10)2+(20)2+(30)2|a|=\sqrt{(1-0)^2+(2-0)^2+(-3-0)^2}

a=1+4+9|a|=\sqrt{1+4+9}

a=14|a|=\sqrt{14}

We’ll plug aba\cdot b and a|a| into the formula for the scalar projection.

compab=814\text{comp}_a{b}=\frac{8}{\sqrt{14}}

Since we have the scalar projection, we already have everything we need to find the vector projection.

projab=(814)i+2j3k14\text{proj}_a{b}=\left(\frac{8}{\sqrt{14}}\right)\frac{i+2j-3k}{\sqrt{14}}

projab=8i+16j24k14\text{proj}_a{b}=\frac{8i+16j-24k}{14}

projab=4i+8j12k7\text{proj}_a{b}=\frac{4i+8j-12k}{7}

projab=47i+87j127k\text{proj}_a{b}=\frac47i+\frac87j-\frac{12}{7}k

To summarize our findings, we’ll say that

the scalar projection of bb onto aa is

compab=814\text{comp}_a{b}=\frac{8}{\sqrt{14}}

the vector projection of bb onto aa is

projab=47i+87j127k\text{proj}_a{b}=\frac47i+\frac87j-\frac{12}{7}k

 
Krista King.png
 

Get access to the complete Calculus 3 course