4.5.33 · D1Linear Algebra (Full)

Foundations — Inner product spaces — dot product generalization

1,878 words9 min readBack to topic

This page is the ground floor. The parent note uses roughly a dozen symbols and quietly assumes you already picture them. Here we earn every single one, in an order where each brick rests on the one below it. Nothing is used before it is drawn.


0. What is a "vector" here, really?

Before any symbol appears, fix the picture.

Figure — Inner product spaces — dot product generalization
  • = how far along the horizontal axis (the "right" step).
  • = how far along the vertical axis (the "up" step).

Why the topic needs this: the whole subject is about doing geometry to arrows. But the punchline of the parent note is that "arrow" can later mean a polynomial or a sound wave. So we start with the arrow you can literally see, then generalise. See Dot Product for where these components come from.


1. The symbols and

Why we need specially: the third axiom of an inner product singles it out — it is the only arrow allowed to have zero length. Every other arrow must have positive length. Keep this arrow in mind; it is the "degenerate case" the axioms are built to handle.


2. Scaling: the symbol

Figure — Inner product spaces — dot product generalization

Why the topic needs this: the linearity axiom is a promise about how the machine reacts to stretching. To even state that axiom you must first know what "stretch by " looks like — that is the picture above.


3. Adding arrows:

Why the topic needs this: the triangle inequality is literally a statement about this tip-to-tail triangle: the direct path is never longer than the detour. You cannot read that inequality without seeing this picture.


4. The dot product — the original magic ruler

Now the star of the show.

Figure — Inner product spaces — dot product generalization

Why this single operation matters: the whole parent topic rests on the observation that this one number secretly encodes three geometric facts — length, angle, perpendicularity. The next three symbols pull each fact out.


5. Norm — length from the dot product

Why the square root and not something else? Because is the squared hypotenuse of the right triangle with legs and . To get the actual length we must undo the square — that is precisely what does. This is the tool that answers the question "how long is this arrow?" More in Norms and Distance.

Recall Why must

never be negative? Because it equals , a sum of squares — squares are never negative. If it could be negative, the length would be an imaginary number, which is nonsense for a length. This is the exact reason positive-definiteness is an axiom.


6. The angle and

Why and not or ? We want a number that is when arrows align, when perpendicular, when opposite. That is exactly the behaviour of : , , . No other basic trig function fits all three checkpoints, so cosine is the natural choice.


7. Orthogonality: the symbol

Why this is the cleanest of the three jobs: length and angle need a square root and a division. Perpendicularity needs nothing — just "is the number zero?". That simplicity is why Orthogonality and Gram-Schmidt, Orthogonal Projections, and Fourier Series all lean on it so heavily.


8. The generalised bracket

Here is the leap the parent note makes.

Once you have any , you copy §5–§7 word for word:


9. The leftover symbols

Why the integral is the right generalisation: a vector is a list of numbers indexed by . A function is a list of numbers indexed by — but runs continuously. The dot product therefore becomes : multiply matching values, then add them all up. Same idea, continuous bookkeeping.


How these foundations feed the topic

Vector as arrow

Scaling c v

Adding u plus v

Dot product u dot v

Norm length

Angle and cosine

Orthogonality

Inner product bracket

Cauchy-Schwarz

Triangle inequality


Equipment checklist

Draw the arrow from the origin
Go 3 right, 2 up; the arrow points to the point .
What does do to an arrow when
Keeps its length but flips it to point the opposite way.
Compute
.
Get the length of from the dot product
.
Why is never negative
It equals a sum of squares , and squares can't be negative.
Which trig function turns "aligned/perpendicular/opposite" into ""
Cosine, because .
What does mean geometrically
The two arrows are perpendicular (orthogonal).
What is the difference between and
The dot is one specific ruler; the brackets are any ruler obeying the three axioms.
Read the symbol
A rule taking two vectors from space and returning one real number.
Why does become for functions
A function is a continuous "list" indexed by , so the finite sum becomes an integral over .