4.5.4 · D1Linear Algebra (Full)

Foundations — Projection of vectors

1,732 words8 min readBack to topic

This page assumes you have seen nothing. We will name every symbol the parent Projection of vectors note uses, draw the picture behind it, and say why the topic cannot live without it. Read top to bottom; each block earns the next.


1 — What is a vector? The symbol

A plain number like has only size. An arrow has size and which way it points. That "which way" is the whole reason projection exists — we are comparing directions.

Figure — Projection of vectors

In the picture the burnt-orange arrow starts at the origin (the corner point ) and ends at its tip. The length of the arrow is how big it is; the tilt of the arrow is its direction.


2 — Coordinates: writing

Figure — Projection of vectors
  • means: from , step 3 to the right, then 4 up. The arrow to that landing spot is .
  • A three-dimensional vector just adds a third number for "depth": (used in Example 4 of the parent).

3 — Length of a vector: the symbol

Where does its formula come from? Look again at figure s02: the components and form the two short sides of a right triangle, and the arrow is the slanted long side (the hypotenuse). Pythagoras — "the two legs squared, added, then square-rooted" — gives the length:

Why the topic needs it. The scalar projection literally begins with — you cannot talk about "how far the shadow reaches" without a notion of length. And division by in the formula is what stops the answer growing just because you drew longer.


4 — The angle between two arrows:

Figure — Projection of vectors

The figure shows three cases you MUST be ready for:

  • Acute (): arrows roughly agree in direction. Shadow lands forward.
  • Right angle (): arrows are perpendicular. Shadow has zero length — no part of points along .
  • Obtuse (): arrows disagree, pointing apart. Shadow falls on the back side — this is where the parent's minus sign comes from.

Keep all three in mind: the parent's "sign matters" section is nothing more than these three pictures.


5 — Cosine: why and not some other function

Sign of cosine — covering every case:

  • for → shadow forward (positive).
  • at → shadow zero.
  • for → shadow backward (negative).

So the single number carries both how much and which side — that's why the parent insists you never take its absolute value.


6 — The dot product: the symbol


7 — Unit vectors: the symbol

This is also why the vector projection divides by twice: once inside to normalise the direction, once to get the length. That doubled length is written .


8 — Perpendicular / orthogonal: the symbol and ""

Why does zero mean perpendicular? From the geometry form , and . So the dot product vanishes precisely when they meet at a right angle. The symbol (read "a-perp") is the leftover part of once you remove its shadow — it points at a clean right angle to . This is the seed of Orthogonal decomposition.


Prerequisite map

Vector arrow a

Components a = ax ay

Magnitude length of a

Dot product by components

Angle theta between arrows

Cosine adjacent over hyp

Dot product by geometry

Two dot forms are equal

Unit vector b-hat

Projection of a onto b

Sign of cosine forward or back

Perpendicular leftover a-perp


Equipment checklist

Test yourself — each line is prompt ::: answer.

What does the arrow in tell you the object has?
A length and a direction (it is an arrow, not just a number).
Meaning of the components in ?
Go 3 rightward, 4 upward from the origin.
Formula for and why it works?
— Pythagoras on the right triangle made by the components.
for ?
.
Where does the angle sit?
At the shared starting point of the two arrows.
What is on a right triangle?
Adjacent side ÷ hypotenuse.
Why cosine and not sine for a shadow?
Cosine reads the part along the direction; sine reads the perpendicular leftover.
Sign of when ?
Negative — shadow falls on the back side.
Two equivalent forms of the dot product?
(components) and (geometry).
Why is the dot product the engine of projection?
Its geometry form hides , so equating both forms solves for the shadow length with no protractor.
What is and its formula?
The unit (length-1) direction along ; .
Why does the vector projection divide by ?
One builds the unit direction , one more gets the length.
What does mean geometrically?
The arrows are perpendicular (orthogonal), since .
What is ?
The leftover of after removing its shadow — perpendicular to .

Connections

  • Dot product — the number-machine that hides ; the reason projection needs no protractor.
  • Unit vectors — supplies the pure direction that carries the shadow.
  • Orthogonal decomposition — where leads next.
  • Projection of vectors — the parent topic these foundations feed.