What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Vector projection formula: what it means and how to use it

Find the component of $\mathbf v$ pointing along $\mathbf u$. This vectors relationship belongs to linear algebra. Read the symbols against the problem, confirm the required conditions, and estimate the scale before calculating.

\[\operatorname{proj}_{\mathbf u}\mathbf v=\frac{\mathbf v\cdot\mathbf u}{\mathbf u\cdot\mathbf u}\mathbf u\]

Check dimensions before using Vector projection

Write the size and role of every vector, matrix, space, and transformation. An expression can look algebraically familiar while being dimensionally undefined. Rebuild missing background in the linear algebra subject guide, then use linear algebra practice to retrieve the relationship without being told its name.

Follow one object through Vector projection

Track both the coordinates and the geometric or structural meaning:

\[Project $(2,3)$ onto $(1,0)$ to get $(2,0)$.\]

Carry out the transformation in a valid order

  1. Name the unknown, and the unit the answer has to come out in.
  2. Match the symbols to your values. $\mathbf u$ supplies the projection direction.
  3. Check the conditions before substituting. $\mathbf u\ne\mathbf0$.
  4. Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate - The check that catches most linear algebra slips.

An order or dimension error to avoid

What goes wrong: Students project onto the wrong vector, computing the shadow of u on v when the question asked for the shadow of v on u.

Why it fails: The two are different vectors, not just different lengths. Projecting (2, 3) onto (1, 0) gives (2, 0), while projecting (1, 0) onto (2, 3) gives about (0.308, 0.462).

Repair: Read the subscript as the surface the shadow lands on. In proj with u underneath, the answer always points along u, so your result must be a multiple of u.

Multiply back or test a simple vector

After using Vector projection, repeat the calculation with units attached and test the result against a boundary case or a quick numerical estimate.

When the transformation statement holds

There is no projection onto the zero vector, since u · u would be 0 in the denominator and a single point defines no direction to cast a shadow along. Everything else is fine, including a v that is perpendicular to u, which correctly yields the zero vector.

Questions about Vector projection

Can the projection point the opposite way from u?

Yes, whenever the dot product is negative. The scalar in front comes out negative and flips the result, which correctly says v leans backwards relative to u.

What is the leftover piece called?

It is the orthogonal component, found as v minus the projection, and it is perpendicular to u. Splitting v into these two parts is the core move behind least squares and Gram-Schmidt.

Why divide by u · u instead of by the magnitude of u?

Because you are correcting for u twice, and u · u is the magnitude squared. If you normalize u first, the formula does simplify to (v · û)û with a single division.

How is this different from the scalar projection?

The scalar projection is just the signed length of the shadow, a plain number equal to (v · u)/‖u‖. This formula multiplies that length back onto a direction, so the answer is an arrow rather than a size.

Make it yours

Change one input, predict whether the output should rise, fall, or stay fixed, and only then recalculate.