Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Scalar projection

The signed length of one vector's shadow along another, \text{comp}_{\mathbf{u}}\mathbf{v}=\dfrac{\mathbf{v}\cdot\mathbf{u}}{|\mathbf{u}|}.

The scalar projection of \mathbf{v} onto \mathbf{u}, \text{comp}_{\mathbf{u}}\mathbf{v}=\dfrac{\mathbf{v}\cdot\mathbf{u}}{|\mathbf{u}|}, is the number that most work computations actually need — the length (with sign) of the shadow \mathbf{v} casts onto \mathbf{u}'s line. A negative scalar projection is meaningful, not an error: it means the shadow falls on the backward extension of \mathbf{u}'s line, exactly when \theta>90°.

Examples

  • Fixing \mathbf{u}=\langle 4,0,0\rangle and \mathbf{v}=\langle 2,3,1\rangle, the scalar projection is \mathbf{u}\cdot\mathbf{v}/|\mathbf{u}|=8/4=2.

Read the full section →
Graph settings

Calculator