Skip to content
LoveToCalc

Definition — what does that mean?

Vector projection

The vector along b that ends at the foot of the perpendicular from the tip of a.

In Swedish: Vektorprojektion

Vector projection

The relation

(p₁, p₂, p₃)=(a₁, a₂, a₃)·(b₁, b₂, b₃)(b₁, b₂, b₃)·(b₁, b₂, b₃)·(b₁, b₂, b₃)

The vector along b that reaches the foot of the perpendicular from the tip of a: the dot product over b·b, times b.

Solved for p

p=(a₁b₁+a₂b₂+a₃b₃b₁²+b₂²+b₃²b₁, a₁b₁+a₂b₂+a₃b₃b₁²+b₂²+b₃²b₂, a₁b₁+a₂b₂+a₃b₃b₁²+b₂²+b₃²b₃)

p≈(−0.4286, 0.6429, 0.2143)

p equals the vector ((((((1 times (−2)) plus (1 times 3)) plus (2 times 1)) divided by (((−2) squared plus 3 squared) plus 1 squared)) times (−2)), (((((1 times (−2)) plus (1 times 3)) plus (2 times 1)) divided by (((−2) squared plus 3 squared) plus 1 squared)) times 3), (((((1 times (−2)) plus (1 times 3)) plus (2 times 1)) divided by (((−2) squared plus 3 squared) plus 1 squared)) times 1)), equals the vector (((((−2 plus 3) plus 2) divided by ((4 plus 9) plus 1)) times (−2)), ((((−2 plus 3) plus 2) divided by ((4 plus 9) plus 1)) times 3), ((((−2 plus 3) plus 2) divided by ((4 plus 9) plus 1)) times 1)), equals the vector ((((1 plus 2) divided by (13 plus 1)) times (−2)), (((1 plus 2) divided by (13 plus 1)) times 3), (((1 plus 2) divided by (13 plus 1)) times 1)), equals the vector (((3 divided by 14) times (−2)), ((3 divided by 14) times 3), ((3 divided by 14) times 1)), is approximately the vector ((0.2143 times (−2)), (0.2143 times 3), (0.2143 times 1)), is approximately the vector (−0.4286, 0.6429, 0.2143)

Working6 steps

Practice questions

You are given

  • a=(-2, -2, -3)
  • b=(2, -4, -2)
Your answer: Vector projection of a onto b p

Round to 2 decimals.

Round to 2 decimals.

Round to 2 decimals.

The formula

The answer is a vector, a multiple of b, and the card gives all three coordinates. Its length is the absolute value of the scalar projection.

Projecting a = (1, 1, 2) onto b = (−2, 3, 1): a·b = 3 and b·b = 14, so p = (3/14)(−2, 3, 1) = (−3/7, 9/14, 3/14) ≈ (−0.43, 0.64, 0.21).

Checking the answer

What is left, a − p = (10/7, 5/14, 25/14), must be perpendicular to b: (10/7)(−2) + (5/14)(3) + (25/14)(1) = −40/14 + 15/14 + 25/14 = 0. The projection and the remainder add up to a.

Common mistakes

Common questions

Why can’t the card find a from p? Everything of a that is perpendicular to b is lost in the projection, so many vectors have the same one.

What if a is perpendicular to b? Then a·b = 0 and the projection is the zero vector.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
p₁a₁b₁+a₂b₂+a₃b₃b₁²+b₂²+b₃²b₁1·(−2)+1·3+2·1(−2)²+3²+1²·(−2)−0.4286
p₂a₁b₁+a₂b₂+a₃b₃b₁²+b₂²+b₃²b₂1·(−2)+1·3+2·1(−2)²+3²+1²·30.6429
p₃a₁b₁+a₂b₂+a₃b₃b₁²+b₂²+b₃²b₃1·(−2)+1·3+2·1(−2)²+3²+1²·10.2143

Last reviewed October 11, 2026 ·How pages are reviewed

GeometryAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.