Scalar projection simply gives the length in a particular direction. The result of this is a scalar that quantifies this amount. On the other hand, vector projection 'projects' the length of one vector in the direction of another. One way to think of it is as if the 'shadow' of a vector is cast over the top of another vector.
Scalar projection
We will start with the simplest to understand conceptually. The scalar projection of a vector finds how much, as a scalar, of the vector is in a particular direction. It is found using the dot product of the vector with the unit vector in the direction in question.
The scalar projection of a vector onto unit vector is the scalar given by the dot product: or
Figure 1
Find the scalar projection of vector in the horizontal direction.
Solution
The 'horizontal direction' is along the x-axis, therefore the unit vector we will be using is . Vector in vector notation is .
Intuitively, you may have already realized that the scalar projection must be 3 since by definition is comprised of 3 units in the horizontal direction (and 4 vertically).
We can show this using the dot product too:
Therefore, the scalar projection of in the horizontal direction is equal to 3.
Vector projection
A vector projection is the projection of one vector onto another. It takes the length of one vector and projects it in the direction of another, creating a new vector with the direction of the second.
Figure 2
Figure 3
Vector b is known as the projection of a in the x-axis direction (figure 2). If you look at figure 3, vector c is a vector in the x-axis direction, so b is also the projection of a in the direction of vector c.
In mathematical notation, this is written as . We know that the vector must be equal to , therefore is such that is orthogonal to vector c.
This orthogonality is a property that is essential to finding the projection of a onto L. Remember the 'dot product'? Since is orthogonal to line L, the 'dot product' of the two must be equal to zero. Using this information, we can derive a formula for the vector projection of a in the direction of b.
Deriving the projection vector formula
To understand fully what the projection vector does, it may be useful to see how to derive it. First, let's consider a vector v lying on line L. Since is in the direction of L, we can write it as a scalar multiple of vector v.
Using the dot product:
Since the dot product of a vector with itself is equal to the length of that vector squared, we get:
.
And so, .
The vector projection of vector a onto vector v is .
We have vector and vector . Find the projection of x onto v.
Using the formula:
Therefore, .
is represented by the blue arrow in the diagram below.
Figure 4
Projections - Key takeaways
- Scalar projection gives the length in which a vector is in a given direction
- To find the scalar projection, use the dot product of a vector with a unit vector in the direction in question
- The formula for scalar projection of x onto direction u is
- Vector projection projects the length of one vector into the direction of another
- To find the projection of vector a onto L, is such that is orthogonal to line L
- The projection of vector a onto line L of vector v is .
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Get to know Lily
Content Quality Monitored by:
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
Get to know Gabriel