How do we measure the length of a vector? The measuring rule is the norm.
The rule has three parts. A length is never negative, and only the zero vector has length 0. Scaling a vector scales its length by the same factor. And the length of a sum never exceeds the sum of the lengths. That last rule is the triangle inequality. Change the ruler and the length changes: the block-counting ruler, the straight-line ruler, and the king-move ruler all differ.
For example, in a π grid city, go one block east and one block north. The straight line is one diagonal, but on blocks you must walk twice. A chess king goes diagonally in one move. The same move measures 2, about 1.41, and 1 under the three rulers.
The vector (1.5,2), that is (3,4) halved β by homogeneity the lengths halve too.Show proof
β₯xβ₯1β=β£3β£+β£4β£=7.
β₯xβ₯2β=32+42β=25β=5.
β₯xβ₯ββ=max(β£3β£,β£4β£)=4. The same vector measures 7, 5, and 4 under the three rulers.
Prove completely, from the norm axioms, the reverse triangle inequality β£β₯xβ₯ββ₯yβ₯β£β€β₯xβyβ₯.
β£β₯xβ₯ββ₯yβ₯β£β€β₯xβyβ₯
x=(1,1), y=(0.5,0.5) β parallel, so the difference of lengths shows up directly.Show proof
Since x=(xβy)+y, the triangle inequality gives β₯xβ₯β€β₯xβyβ₯+β₯yβ₯. Rearranging, β₯xβ₯ββ₯yβ₯β€β₯xβyβ₯.
Swapping the roles of x and y gives β₯yβ₯ββ₯xβ₯β€β₯yβxβ₯. But β₯yβxβ₯=β₯(β1)(xβy)β₯=β₯xβyβ₯, so β₯yβ₯ββ₯xβ₯β€β₯xβyβ₯ holds too.
Combining the two inequalities, β£β₯xβ₯ββ₯yβ₯β£=max(β₯xβ₯ββ₯yβ₯,β₯yβ₯ββ₯xβ₯)β€β₯xβyβ₯. This is the reverse triangle inequality.
On a vector space with a norm β₯β β₯, put d(x,y)=β₯xβyβ₯. Prove completely that d satisfies all the metric axioms.
d(x,y)=β₯xβyβ₯
x=(1,1), y=0 β the distance between two points is the norm of their difference.Show proof
Non-negativity and separation: by the first norm axiom, d(x,y)=β₯xβyβ₯β₯0, and d(x,y)=0 is equivalent to β₯xβyβ₯=0, which is equivalent to xβy=0, that is, x=y.
Symmetry: by the second norm axiom, d(y,x)=β₯yβxβ₯=β₯(β1)(xβy)β₯=β£β1β£β₯xβyβ₯=β₯xβyβ₯=d(x,y).
Triangle inequality: by the third norm axiom, d(x,z)=β₯xβzβ₯=β₯(xβy)+(yβz)β₯β€β₯xβyβ₯+β₯yβzβ₯=d(x,y)+d(y,z). All four axioms hold, so d is a metric.