4.5.33 · D3Linear Algebra (Full)

Worked examples — Inner product spaces — dot product generalization

1,991 words9 min readBack to topic

This page is a drill through every kind of situation an inner-product question can throw at you. We start by listing all the case classes in one table, then work an example for each cell so you never meet a scenario cold. Everything here rests on the parent note: an inner product is a rule that eats two vectors and returns one number, obeying symmetry, linearity in the first slot, and positive-definiteness (, and only for the zero vector).

Reminder of the derived geometry we will keep using:


The scenario matrix

Here is every case class this topic can put in front of you. Each later example is tagged with the cell it lands in.

# Case class What makes it tricky Example
A Standard positive angle () cosine in , acute angle Ex 1
B Negative inner product () obtuse angle, sign of cosine Ex 2
C Orthogonal case () right angle in that geometry Ex 3
D Degenerate / zero input () cosine formula divides by zero Ex 4
E Non-standard weights stretch axes usual right angle stops being right Ex 5
F Function space (integral) orthogonality by integrating a period Ex 6
G Limiting / boundary of Cauchy–Schwarz (equality) , parallel vectors Ex 7
H Real-world word problem translate words into an inner product Ex 8
I Exam twist: "is this an inner product?" one axiom quietly fails Ex 9

We now hit every cell.


Cell A — acute angle, everything positive


Cell B — obtuse angle, negative inner product


Cell C — orthogonality (right angle in this geometry)


Cell D — degenerate / zero vector


Cell E — weighted inner product bends the geometry


Cell F — function space, orthogonality by integration


Cell G — the equality boundary of Cauchy–Schwarz


Cell H — real-world word problem


Cell I — exam twist: "is this an inner product?"


Recall Quick self-test across all cells

Sign of when ::: negative → obtuse angle (Cell B). Angle between a vector and ::: undefined — division by zero (Cell D). Do axes stay orthogonal under ::: yes, but off-axis right angles get bent (Cell E). What makes Cauchy–Schwarz an equality ::: the two vectors are scalar multiples (parallel/anti-parallel) (Cell G). Which axiom kills ::: positive-definiteness (Cell I).