WOLFRAM|DEMONSTRATIONS PROJECT

Projection of One 2D Vector to Another

​
vector

v
components
vector

s
components
projection of

v
onto

s
components
v

PQ
Q-P5

i
+6

j
〈5,6〉
s

PR
Q-R1

j
+7

i
〈7,1〉
projection
Pr

287
50

i
+
41
50

j

287
50
,
41
50

●
●
●
This Demonstration finds the projection vector
Pr
of a vector
v
=
PQ
onto another
s
=
PR
and draws them and various component vectors.