Difference between revisions of "Norm"
(Added proof and common norms) |
m |
||
Line 23: | Line 23: | ||
==Examples== | ==Examples== | ||
===The Euclidean Norm=== | ===The Euclidean Norm=== | ||
+ | {{Todo|Migrate this norm to its own page}} | ||
The Euclidean norm is denoted <math>\|\cdot\|_2</math> | The Euclidean norm is denoted <math>\|\cdot\|_2</math> | ||
Revision as of 17:29, 7 March 2015
Contents
[hide]Definition
A norm on a vector space (V,F) is a function ∥⋅∥:V→R such that:
- ∀x∈V ∥x∥≥0
- ∥x∥=0⟺x=0
- ∀λ∈F,x∈V ∥λx∥=|λ|∥x∥ where |⋅| denotes absolute value
- ∀x,y∈V ∥x+y∥≤∥x∥+∥y∥ - a form of the triangle inequality
Often parts 1 and 2 are combined into the statement
- ∥x∥≥0 and ∥x∥=0⟺x=0 so only 3 requirements will be stated.
I don't like this
Common norms
The 1-norm
∥x∥1=n∑i=1|xi| - it's just a special case of the p-norm.
The 2-norm
∥x∥2=√n∑i=1x2i - Also known as the Euclidean norm (see below) - it's just a special case of the p-norm.
The p-norm
∥x∥p=(n∑i=1|xi|p)1p (I use this notation because it can be easy to forget the p in p√)
The supremum-norm
Also called ∞−norm
∥x∥∞=sup({xi}ni=1)
Examples
The Euclidean Norm
TODO: Migrate this norm to its own page
The Euclidean norm is denoted ∥⋅∥2
Here for x∈Rn we have:
∥x∥2=√n∑i=1x2i
Proof that it is a norm
TODO: proof
Part 4 - Triangle inequality
Let x,y∈Rn
∥x+y∥22=n∑i=1(xi+yi)2 =n∑i=1x2i+2n∑i=1xiyi+n∑i=1y2i ≤n∑i=1x2i+2√n∑i=1x2i√n∑i=1y2i+n∑i=1y2i using the Cauchy-Schwarz inequality
=(√n∑i=1x2i+√n∑i=1y2i)2 =(∥x∥2+∥y∥2)2
Thus we see: ∥x+y∥22≤(∥x∥2+∥y∥2)2, as norms are always ≥0 we see:
∥x+y∥2≤∥x∥2+∥y∥2 - as required.