Vector projection: scalar projection and vector projection of one vector onto another
“Compute the scalar and vector projection of one vector onto another and interpret it geometrically”
To project onto , drop a perpendicular from the head of to the line of . The scalar projection is the signed length ; the vector projection is the shadow vector . Subtracting the vector projection from gives the perpendicular component, splitting into parts parallel and perpendicular to .
Jump to a section
What this dot point is asking
NESA wants you to find the shadow of one vector on another: the scalar projection (the signed length of that shadow) and the vector projection (the shadow as a vector), and to interpret them as the part of one vector that lies along the direction of the other. The same idea, run once more, splits any vector into a part parallel to a chosen direction and a part perpendicular to it, which is the move behind resolving forces and a string of geometric proofs.
The answer
Picture both vectors starting at a point . To project onto , shine a light straight down onto the line of and read off the shadow of . Formally, drop a perpendicular from the head of to the line through : the shadow runs from to the foot of that perpendicular. Building this up one stage at a time is the clearest way to see where every formula comes from.
Stage 1, the two vectors. Draw and from the same point . We are going to project onto the direction of , so sets the direction and is the vector being projected.
Stage 2, drop a perpendicular. From the head of , drop a line straight down onto the line of . It meets that line at a right angle at the foot . This perpendicular is the key construction; the right-angle marker is what makes the projection "the closest point of 's line to the head of ".
Stage 3, the vector projection. The arrow from to , heavy below, is the vector projection of onto . It points along (or directly opposite, if the angle is obtuse) and reaches exactly as far as the shadow of .
Stage 4, the parallel and perpendicular split. The original , the projection (from to ) and the dropped perpendicular (from to the head of ) form a right triangle. So is the sum of a parallel part (the vector projection, along ) and a perpendicular part (at right angles to ). That decomposition is what "resolve into components" means.
Scalar projection
The scalar projection of onto is the signed length of that shadow (the length , with a sign):
where is the angle between and . The two forms agree because , and dividing by leaves , which is the adjacent side of the right triangle in Stage 4. The sign is positive when the angle is acute (the shadow points along ) and negative when it is obtuse (the shadow points the opposite way).
Vector projection
The vector projection of onto is the shadow as an actual vector (the arrow ):
Read it as "scalar projection times the unit vector ": take the signed length, then point it along . Writing rolls the two steps into one, which is why the formula has (one turns the length into the right size, the other normalises ).
For non-zero :
Note the denominators: for the scalar, for the vector. The numerator is the same dot product both times, so compute it once. The magnitude of the vector projection equals the absolute value of the scalar projection.
The parallel and perpendicular decomposition
Stage 4 says it in symbols. Any vector splits uniquely into a part along and a part at right angles to :
The slick way to get the perpendicular part is to find the vector projection first, then subtract it from ; what is left over must be perpendicular to . You can always check by dotting the leftover with and getting .
Two edge cases worth knowing
- If is already parallel to , the shadow is all of : and the perpendicular part is .
- If is perpendicular to , then , so both projections are zero: there is no shadow.
A common simplification: if is a unit vector (), the formulas collapse to scalar projection and vector projection .
How exam questions ask about projection
- "Find the scalar projection of onto " or "the component of in the direction of ": compute (a number, possibly negative).
- "Find the vector projection of onto " or "the projection vector": compute (a vector).
- "Resolve into components parallel and perpendicular to ": the parallel part is the vector projection; the perpendicular part is minus it.
- "Find the component of the force in the direction of motion": a projection of the force onto the direction vector (resolve forces).
- "Find the distance from a point to a line": often the magnitude of the perpendicular part of a displacement onto the line's direction.
Compute and once, then read off whichever projection is asked, scalar uses , vector uses . Read the question word for word: "scalar"/"component"/"how far along" wants a number; "vector projection"/"the shadow"/"resolve into" wants a vector. Keep the answer exact (leave rather than decimalising) unless told otherwise. For a "resolve" question, finish with the two checks markers love: dot the perpendicular part with to confirm it is , and add the two parts to confirm they rebuild . A negative scalar projection is not an error, it means the shadow points opposite to , so say so.
Compute both projections when the target is a unit vector
Find the scalar and vector projections of onto . Because , the formulas simplify: the scalar projection is just , and the vector projection is that scalar times :
Geometrically, projecting onto the -axis keeps the -component and drops the -component.
Project onto a diagonal direction
Find the vector projection of onto . Now , not , so use the full formula:
Find the perpendicular component by subtraction
Find the component of perpendicular to . Subtract the parallel part (the vector projection just found) from :
Check: , perpendicular confirmed, and .
Apply projection to find the effective force in a given direction
A force N acts on an object constrained to move in the direction . The effective force is the component of along , the vector projection:
Interpret a negative scalar projection
Find the scalar projection of onto . Compute the dot product and divide by :
The negative sign means has a component pointing opposite to . The shadow has length but lies on the far side of .
Use projection for a distance from a point to a line
Find the perpendicular distance from to the line through in the direction . The displacement is ; its perpendicular part to was found above to be , so the distance is
- Confusing scalar and vector projection
- "Scalar" wants a number; "vector" wants a vector. Re-read the wording before answering.
- versus
- The scalar projection divides by ; the vector projection divides by . Mixing them is the most common slip.
- Dropping the sign
- The scalar projection can be negative (obtuse angle). The magnitude of the projection is the unsigned length; do not silently make it positive.
- Projecting the wrong way round
- (project onto ) is generally not . Check which vector sets the direction.
- Treating as the scalar projection
- They are equal only when . In general the scalar projection is divided by .
Exam-style questions
Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
HSC-style3 marksFind the vector projection of onto .Show worked answer →
Vector projection is .
.
.
Projection .
HSC-style4 marksResolve into a component parallel to and a component perpendicular to .Show worked answer →
, and .
Parallel component (vector projection): .
Perpendicular component: .
Check: , so it is perpendicular to . And .