learn.howToCalculate
learn.whatIsHeading
Vector projection (proj_b a) shows component of vector a in direction of vector b; used in physics, graphics.
Guía paso a paso
- 1Input two vectors
- 2Calculate scalar projection: (a·b)/|b|
- 3Results show vector projection and scalar
Ejemplos resueltos
Entrada
a=(3,4), b=(1,0)
Resultado
Scalar proj = 3, vector proj = (3,0)
Errores comunes a evitar
- ✕Using dot product alone (missing direction)
- ✕Not normalizing vector b
Preguntas frecuentes
How is this different from dot product?
Dot product gives scalar; projection gives vector in b's direction.
learn.ctaText
Pruébalo tú mismo →