Linear Algebra formula reference

Vector Projection

Projects one vector onto the direction of another.

Open in editor
LaTeX\operatorname{proj}_{\mathbf b}\mathbf a=\frac{\mathbf a\cdot\mathbf b}{\mathbf b\cdot\mathbf b}\mathbf b

Variables

  • a: vector being projected
  • b: nonzero direction vector

How to use this formula

Projects one vector onto the direction of another.

Important notes

  • b cannot be the zero vector.

Quick example

The result is parallel to b.

Applicability, worked calculation, and verification

Assumptions and domain checks

  • b cannot be the zero vector.
  • For the Vector Projection, every denominator must be nonzero, and the numerator and denominator must remain correctly grouped.
  • Preserve matrix order and verify dimension compatibility; multiplication and inversion are not generally commutative or always defined.
  • Matrix and vector dimensions must be compatible, and any required inverse, determinant, rank, or basis condition must hold.

Worked example

Input

Output

The result is parallel to b.

Common mistakes

  • When copying Vector Projection, keep the complete numerator and denominator grouped; a missing brace or parenthesis changes the result.
  • Do not assume commutativity, invertibility, independence, or full rank unless the required condition has been established.

Continue the workflow

Use Vector Projection in your own work

  1. Check the domainMatch the variables and assumptions to the problem before substituting values.
  2. Copy the exact notationPreserve grouping, signs, and exponents in \operatorname{proj}_{\mathbf b}\mathbf a=\frac{\mathbf a\cdot\mathbf b}{\mathbf b\cdot\mathbf b}\mathbf b.
  3. Edit or convertOpen the expression in the LaTeX editor, then export it for your document or web page.

Review and verification

Last reviewed: 2026-07-23

Automated quality check: Kept noindex until the missing evidence is supplied.

Formula references

Frequently asked questions

What is the Vector Projection used for?

Projects one vector onto the direction of another.

Can I copy this formula as LaTeX?

Yes. Copy \operatorname{proj}_{\mathbf b}\mathbf a=\frac{\mathbf a\cdot\mathbf b}{\mathbf b\cdot\mathbf b}\mathbf b or open it in the LaTeX editor.

What should I check before using it?

Confirm that each variable, unit, domain restriction, and assumption matches the problem.

Reuse, attribution, and correction

Share this reference without losing its source

Copy a citation, permanent link, Markdown link, or self-contained embed card. Each reusable format points readers back to the maintained canonical page.

Report an issue

Search the whole reference

Symbols, formulas, guides, tools and commands

Start typing to search.

move · Enter open · Esc close