Projection of a vector on a line
Point a lamp straight down on a tilted stick and look at the shadow it casts on the floor — that shadow's length tells you how much of the stick "acts along" the floor's direction. The projection of a vector on a line asks exactly this question for vectors: given and a direction (a line, or another vector ), how much of lies along that direction? In CBSE Class 12 this sits inside the Vector Algebra chapter, immediately after the scalar (dot) product . The syllabus treats projection as something the dot product gives you for free, not a new formula to memorise separately — once you know the dot product, one line of algebra produces both the scalar projection (a number) and the vector projection (an actual vector). This article expands the core rules, walks a derivation, and solves a full worked example so the idea is exam-ready, not just definition-ready.
The scalar projection of on is — the dot-product definition rearranged, nothing more.
The core idea
1. Projection on a unit vector. If a line's direction is given by a unit vector (so ), the scalar projection of on that line is simply
where: is the angle between and . This is the length of the "shadow" casts on the line — positive if the shadow falls forward along , negative if it falls backward.
2. Projection on a general vector. Most exam questions give a direction as an ordinary vector , not a ready-made unit vector. Convert first: , and then
where: is the dot product of the two vectors and is the magnitude of . Note there is exactly one factor of in the denominator here — this is the single most common place marks are lost.
3. Sign tells you the angle. The projection can be positive, negative, or zero: positive when is acute, negative when is obtuse, and exactly zero when (since ). A negative answer is not a mistake — it is information.
4. Vector projection. Sometimes you need the actual shadow vector, not just its length. Multiply the scalar projection by the unit vector :
where: the extra factor of appears because itself contains a — so the vector projection formula carries in the denominator, while the scalar projection carries only . Keeping this distinction straight is the whole game.
The goal is to show that the scalar-projection formula is not a separate law to memorise but a direct one-line rearrangement of the dot-product definition , so that in an exam you can rebuild it from scratch even if the name slips your mind.
Step 1. Start from the definition of the dot product between any two vectors and : , where is the angle between them. This is the only fact being used — nothing about projection has been assumed yet.
Step 2. Isolate , which is precisely the length of the shadow casts along the direction of (drop a perpendicular from the tip of onto the line of ; the adjacent side of that right triangle has length ). Dividing both sides of the dot-product definition by gives .
Step 3. Recognise the right-hand side as the scalar projection of on , so . If happens to already be a unit vector, and the formula collapses to the simpler seen above — the two forms are the same rule at different levels of tidiness.
Step 4. To get the vector projection, multiply this scalar length by the unit vector in 's direction, : , which is exactly the vector-projection formula. Every step used only the dot-product definition and basic algebra — no independent geometric assumption was needed.
Worked example
Find the scalar projection of on the vector , then find the vector projection, and confirm the two are consistent.
Step 1. Compute the dot product: .
Step 2. Compute the magnitude of : .
Step 3. Scalar projection: . The projection is , negative because — the angle between and is obtuse.
Step 4. Vector projection: divide by instead and multiply by : .
Step 5. Check consistency: the magnitude of this vector should equal . Indeed . The scalar projection is and the vector projection is , and their magnitudes agree, confirming the two formulas are consistent.
Common traps
- Dividing by twice, or not at all. Scalar projection needs exactly one factor of in the denominator; vector projection needs because a second copy of is being multiplied in.
- Assuming the answer must be positive. A negative scalar projection is completely valid — it simply signals an obtuse angle between the two vectors.
- Swapping which vector is "on" which. Projection of on generally differs from projection of on , because although is symmetric, dividing by versus gives different numbers.
- Skipping the unit-vector step for a "line." Projection onto a line means projection onto that line's direction (a unit vector); plugging a non-unit vector straight into without dividing by its magnitude gives the wrong quantity entirely.
Ask the tutor: if you want to see why dividing by instead of turns a scalar projection into a vector projection, ask the AI tutor to walk through it with your own numbers.
Why does the vector projection formula have magnitude of b squared, but the scalar one only has magnitude of b once?
Because the vector projection is built in two stages. First you get the scalar projection, , which is just a number (a length). Then, to turn that length into a vector pointing along , you multiply it by the unit vector . That second step contributes one more factor of , and when you write back in terms of itself, the two factors of combine into in the denominator. So the extra power is not a new rule — it is bookkeeping from converting a unit vector into the original vector .
Is projection of a on b the same as projection of b on a?
Not in general. The dot product is the same either way — dot products are symmetric. But the projection formula divides that dot product by the magnitude of whichever vector you are projecting onto: projection of on divides by , while projection of on divides by . Unless , these two divisions give different numbers. Always check which vector is named as the line or direction — that is the one whose magnitude goes in the denominator.
Do I need to memorise the projection formula separately from the dot product?
No, and that is exactly the point CBSE is making by placing this topic right after the dot product. Start from , and dividing both sides by immediately isolates , the scalar projection. Rebuilding the formula this way under exam pressure is safer than trying to recall it as an isolated fact, and it also stops you from accidentally mixing up the scalar and vector projection expressions.