Inner Product
For V V V over K K K , an inner product is ⟨ ⋅ , ⋅ ⟩ : V × V → K \langle \cdot, \cdot \rangle : V \times V \to K ⟨ ⋅ , ⋅ ⟩ : V × V → K with
⟨ x , x ⟩ ∈ R ≥ 0 \langle x, x \rangle \in \mathbb{R}_{\ge 0} ⟨ x , x ⟩ ∈ R ≥ 0 , and ⟨ x , x ⟩ = 0 \langle x, x \rangle = 0 ⟨ x , x ⟩ = 0 iff x = 0 x = 0 x = 0 ,
⟨ x + y , z ⟩ = ⟨ x , z ⟩ + ⟨ y , z ⟩ \langle x + y, z \rangle = \langle x, z \rangle + \langle y, z \rangle ⟨ x + y , z ⟩ = ⟨ x , z ⟩ + ⟨ y , z ⟩ ,
⟨ c x , z ⟩ = c ⟨ x , z ⟩ \langle cx, z \rangle = c \langle x, z \rangle ⟨ c x , z ⟩ = c ⟨ x , z ⟩ ,
⟨ x , z ⟩ = ⟨ z , x ⟩ ‾ \langle x, z \rangle = \overline{\langle z, x \rangle} ⟨ x , z ⟩ = ⟨ z , x ⟩ .
( V , ⟨ ⋅ , ⋅ ⟩ ) (V, \langle \cdot, \cdot \rangle) ( V , ⟨ ⋅ , ⋅ ⟩) is an inner product space.
Examples:
C n \mathbb{C}^n C n over C \mathbb{C} C , ⟨ x , z ⟩ = z ∗ x \langle x, z \rangle = z^*x ⟨ x , z ⟩ = z ∗ x ,
C n \mathbb{C}^n C n over C \mathbb{C} C , ⟨ x , z ⟩ A = z ∗ A x \langle x, z \rangle_A = z^*Ax ⟨ x , z ⟩ A = z ∗ A x for A ∈ M n A \in M_n A ∈ M n Hermitian PD,
C 0 [ 0 , 1 ] C^0[0,1] C 0 [ 0 , 1 ] with a weight w ( t ) > 0 w(t) > 0 w ( t ) > 0 , ⟨ f , g ⟩ = ∫ 0 1 f ( t ) g ( t ) ‾ w ( t ) d t \langle f, g \rangle = \int_0^1 f(t)\overline{g(t)}\, w(t)\, dt ⟨ f , g ⟩ = ∫ 0 1 f ( t ) g ( t ) w ( t ) d t .
In the second argument it is conjugate linear. For all x , y , z , w ∈ V x, y, z, w \in V x , y , z , w ∈ V and a , b , c , d ∈ K a, b, c, d \in K a , b , c , d ∈ K ,
⟨ x , c z ⟩ = ⟨ c z , x ⟩ ‾ = c ⟨ z , x ⟩ ‾ = c ˉ ⟨ z , x ⟩ ‾ = c ˉ ⟨ x , z ⟩ \langle x, cz \rangle = \overline{\langle cz, x \rangle} = \overline{c \langle z, x \rangle} = \bar{c}\, \overline{\langle z, x \rangle} = \bar{c} \langle x, z \rangle ⟨ x , cz ⟩ = ⟨ cz , x ⟩ = c ⟨ z , x ⟩ = c ˉ ⟨ z , x ⟩ = c ˉ ⟨ x , z ⟩
⟨ x , y + z ⟩ = ⟨ y + z , x ⟩ ‾ = ⟨ y , x ⟩ ‾ + ⟨ z , x ⟩ ‾ = ⟨ x , y ⟩ + ⟨ x , z ⟩ \langle x, y + z \rangle = \overline{\langle y + z, x \rangle} = \overline{\langle y, x \rangle} + \overline{\langle z, x \rangle} = \langle x, y \rangle + \langle x, z \rangle ⟨ x , y + z ⟩ = ⟨ y + z , x ⟩ = ⟨ y , x ⟩ + ⟨ z , x ⟩ = ⟨ x , y ⟩ + ⟨ x , z ⟩
⟨ a x + b y , c z + d w ⟩ = a c ˉ ⟨ x , z ⟩ + a d ˉ ⟨ x , w ⟩ + b c ˉ ⟨ y , z ⟩ + b d ˉ ⟨ y , w ⟩ \langle ax + by, cz + dw \rangle = a\bar{c} \langle x, z \rangle + a\bar{d} \langle x, w \rangle + b\bar{c} \langle y, z \rangle + b\bar{d} \langle y, w \rangle ⟨ a x + b y , cz + d w ⟩ = a c ˉ ⟨ x , z ⟩ + a d ˉ ⟨ x , w ⟩ + b c ˉ ⟨ y , z ⟩ + b d ˉ ⟨ y , w ⟩
Norm
For V V V over K K K , a norm is a function ∥ ⋅ ∥ : V → R ≥ 0 \| \cdot \| : V \to \mathbb{R}_{\ge 0} ∥ ⋅ ∥ : V → R ≥ 0 with
∥ x ∥ = 0 \|x\| = 0 ∥ x ∥ = 0 iff x = 0 x = 0 x = 0 ,
∥ c x ∥ = ∣ c ∣ ∥ x ∥ \|cx\| = |c| \, \|x\| ∥ c x ∥ = ∣ c ∣ ∥ x ∥ ,
∥ x + y ∥ ≤ ∥ x ∥ + ∥ y ∥ \|x + y\| \le \|x\| + \|y\| ∥ x + y ∥ ≤ ∥ x ∥ + ∥ y ∥ .
Examples: on K n K^n K n over K K K , for p ≥ 1 p \ge 1 p ≥ 1 ,
∥ x ∥ p = ( ∑ i ∣ x i ∣ p ) 1 / p , ∥ x ∥ ∞ = max i ∣ x i ∣ \|x\|_p = \Big(\sum_i |x_i|^p\Big)^{1/p}, \qquad \|x\|_\infty = \max_i |x_i| ∥ x ∥ p = ( i ∑ ∣ x i ∣ p ) 1/ p , ∥ x ∥ ∞ = i max ∣ x i ∣
If ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ is a norm on K n K^n K n and A ∈ M n ( K ) A \in M_n(K) A ∈ M n ( K ) is invertible, then ∥ x ∥ A : = ∥ A x ∥ \|x\|_A := \|Ax\| ∥ x ∥ A := ∥ A x ∥ is a norm. The triangle inequality is
∥ x + y ∥ A = ∥ A ( x + y ) ∥ ≤ ∥ A x ∥ + ∥ A y ∥ = ∥ x ∥ A + ∥ y ∥ A \|x + y\|_A = \|A(x + y)\| \le \|Ax\| + \|Ay\| = \|x\|_A + \|y\|_A ∥ x + y ∥ A = ∥ A ( x + y ) ∥ ≤ ∥ A x ∥ + ∥ A y ∥ = ∥ x ∥ A + ∥ y ∥ A
Cauchy-Schwarz
∣ ⟨ x , y ⟩ ∣ 2 ≤ ⟨ x , x ⟩ ⟨ y , y ⟩ |\langle x, y \rangle|^2 \le \langle x, x \rangle \langle y, y \rangle ∣ ⟨ x , y ⟩ ∣ 2 ≤ ⟨ x , x ⟩ ⟨ y , y ⟩
Proof For any t , θ ∈ R t, \theta \in \mathbb{R} t , θ ∈ R ,
0 ≤ ⟨ t e i θ x + y , t e i θ x + y ⟩ = t 2 e i θ e i θ ‾ ⟨ x , x ⟩ + t e i θ ⟨ x , y ⟩ + t e i θ ‾ ⟨ y , x ⟩ + ⟨ y , y ⟩ = ⟨ x , x ⟩ t 2 + 2 R e { e i θ ⟨ x , y ⟩ } t + ⟨ y , y ⟩ \begin{aligned}
0 &\le \langle te^{i\theta}x + y, te^{i\theta}x + y \rangle = t^2 e^{i\theta}\overline{e^{i\theta}} \langle x, x \rangle + te^{i\theta} \langle x, y \rangle + t\overline{e^{i\theta}} \langle y, x \rangle + \langle y, y \rangle \\
&= \langle x, x \rangle t^2 + 2\,\mathrm{Re}\{e^{i\theta} \langle x, y \rangle\} t + \langle y, y \rangle
\end{aligned} 0 ≤ ⟨ t e i θ x + y , t e i θ x + y ⟩ = t 2 e i θ e i θ ⟨ x , x ⟩ + t e i θ ⟨ x , y ⟩ + t e i θ ⟨ y , x ⟩ + ⟨ y , y ⟩ = ⟨ x , x ⟩ t 2 + 2 Re { e i θ ⟨ x , y ⟩} t + ⟨ y , y ⟩
Choose θ \theta θ such that e i θ ⟨ x , y ⟩ = ∣ ⟨ x , y ⟩ ∣ e^{i\theta} \langle x, y \rangle = |\langle x, y \rangle| e i θ ⟨ x , y ⟩ = ∣ ⟨ x , y ⟩ ∣ . Then ⟨ x , x ⟩ t 2 + 2 ∣ ⟨ x , y ⟩ ∣ t + ⟨ y , y ⟩ ≥ 0 \langle x, x \rangle t^2 + 2|\langle x, y \rangle| t + \langle y, y \rangle \ge 0 ⟨ x , x ⟩ t 2 + 2∣ ⟨ x , y ⟩ ∣ t + ⟨ y , y ⟩ ≥ 0 for all t t t , so the discriminant is
Δ = ( 2 ∣ ⟨ x , y ⟩ ∣ ) 2 − 4 ⟨ x , x ⟩ ⟨ y , y ⟩ ≤ 0 \Delta = (2|\langle x, y \rangle|)^2 - 4 \langle x, x \rangle \langle y, y \rangle \le 0 Δ = ( 2∣ ⟨ x , y ⟩ ∣ ) 2 − 4 ⟨ x , x ⟩ ⟨ y , y ⟩ ≤ 0
Induced Norm
If V V V has an inner product, ∥ x ∥ : = ⟨ x , x ⟩ \|x\| := \sqrt{\langle x, x \rangle} ∥ x ∥ := ⟨ x , x ⟩ is a norm. The triangle inequality follows from Cauchy-Schwarz,
∥ x + y ∥ 2 = ⟨ x , x ⟩ + ⟨ x , y ⟩ + ⟨ y , x ⟩ + ⟨ y , y ⟩ = ∥ x ∥ 2 + ∥ y ∥ 2 + 2 R e ⟨ x , y ⟩ ≤ ∥ x ∥ 2 + ∥ y ∥ 2 + 2 ∥ x ∥ ∥ y ∥ = ( ∥ x ∥ + ∥ y ∥ ) 2 \|x + y\|^2 = \langle x, x \rangle + \langle x, y \rangle + \langle y, x \rangle + \langle y, y \rangle = \|x\|^2 + \|y\|^2 + 2\,\mathrm{Re}\langle x, y \rangle \le \|x\|^2 + \|y\|^2 + 2\|x\|\|y\| = (\|x\| + \|y\|)^2 ∥ x + y ∥ 2 = ⟨ x , x ⟩ + ⟨ x , y ⟩ + ⟨ y , x ⟩ + ⟨ y , y ⟩ = ∥ x ∥ 2 + ∥ y ∥ 2 + 2 Re ⟨ x , y ⟩ ≤ ∥ x ∥ 2 + ∥ y ∥ 2 + 2∥ x ∥∥ y ∥ = ( ∥ x ∥ + ∥ y ∥ ) 2
Metric, Banach and Hilbert Spaces
d : S × S → R ≥ 0 d : \mathcal{S} \times \mathcal{S} \to \mathbb{R}_{\ge 0} d : S × S → R ≥ 0 is a metric when
d ( x , y ) = 0 d(x,y) = 0 d ( x , y ) = 0 iff x = y x = y x = y ,
d ( x , y ) = d ( y , x ) d(x,y) = d(y,x) d ( x , y ) = d ( y , x ) ,
d ( x , z ) ≤ d ( x , y ) + d ( y , z ) d(x,z) \le d(x,y) + d(y,z) d ( x , z ) ≤ d ( x , y ) + d ( y , z ) ,
and ( S , d ) (\mathcal{S}, d) ( S , d ) is a metric space.
A Banach space is a normed linear space (NLS) that is complete in the metric of its norm. A Hilbert space is the same, with the norm created by an inner product. If V V V is finite dimensional, any inner product or norm creates a complete space.
Finite Dimensional Normed Spaces
On an NLS ( V , ∥ ⋅ ∥ ) (V, \|\cdot\|) ( V , ∥ ⋅ ∥ ) , norms are continuous, since
∥ x ∥ ≤ ∥ y ∥ + ∥ x − y ∥ ∥ y ∥ ≤ ∥ x ∥ + ∥ x − y ∥ } ⟹ ∣ ∥ x ∥ − ∥ y ∥ ∣ ≤ ∥ x − y ∥ \left.
\begin{aligned}
\|x\| &\le \|y\| + \|x - y\| \\
\|y\| &\le \|x\| + \|x - y\|
\end{aligned}
\right\}
\implies \big|\|x\| - \|y\|\big| \le \|x - y\| ∥ x ∥ ∥ y ∥ ≤ ∥ y ∥ + ∥ x − y ∥ ≤ ∥ x ∥ + ∥ x − y ∥ } ⟹ ∥ x ∥ − ∥ y ∥ ≤ ∥ x − y ∥
On an NLS ( V , ∥ ⋅ ∥ ) (V, \|\cdot\|) ( V , ∥ ⋅ ∥ ) the following are equivalent
V V V is finite dimensional,
the unit sphere { x ∈ V : ∥ x ∥ = 1 } \{x \in V : \|x\| = 1\} { x ∈ V : ∥ x ∥ = 1 } is compact,
the unit ball { x ∈ V : ∥ x ∥ ≤ 1 } \{x \in V : \|x\| \le 1\} { x ∈ V : ∥ x ∥ ≤ 1 } is compact,
for every ω ⊆ V \omega \subseteq V ω ⊆ V , ω \omega ω is compact iff ω \omega ω is closed and bounded.
All Norms are Equivalent If V V V over K K K is finite dimensional, for any norms ∥ ⋅ ∥ , ∥ ⋅ ∥ ′ \|\cdot\|, \|\cdot\|' ∥ ⋅ ∥ , ∥ ⋅ ∥ ′ on V V V there are m , M ∈ R > 0 m, M \in \mathbb{R}_{>0} m , M ∈ R > 0 such that for all x ∈ V x \in V x ∈ V
m ∥ x ∥ ′ ≤ ∥ x ∥ ≤ M ∥ x ∥ ′ m\|x\|' \le \|x\| \le M\|x\|' m ∥ x ∥ ′ ≤ ∥ x ∥ ≤ M ∥ x ∥ ′
Convergence
x ( i ) → x x^{(i)} \to x x ( i ) → x in ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ means ∥ x ( i ) − x ∥ → 0 \|x^{(i)} - x\| \to 0 ∥ x ( i ) − x ∥ → 0 . By equivalence of norms, ∥ x ( i ) − x ∥ ≤ M ∥ x ( i ) − x ∥ ′ \|x^{(i)} - x\| \le M\|x^{(i)} - x\|' ∥ x ( i ) − x ∥ ≤ M ∥ x ( i ) − x ∥ ′ , so if the right side goes to 0, so does the left. In finite dimensions, convergence doesn't depend on the norm.
Componentwise Convergence On K n K^n K n , x ( i ) → x x^{(i)} \to x x ( i ) → x iff x j ( i ) → x j x^{(i)}_j \to x_j x j ( i ) → x j for all j j j , since
∥ x ( i ) − x ∥ → 0 ⟺ ∥ x ( i ) − x ∥ ∞ → 0 ⟺ ∣ x j ( i ) − x j ∣ → 0 ∀ j \|x^{(i)} - x\| \to 0 \iff \|x^{(i)} - x\|_\infty \to 0 \iff |x^{(i)}_j - x_j| \to 0 \;\; \forall j ∥ x ( i ) − x ∥ → 0 ⟺ ∥ x ( i ) − x ∥ ∞ → 0 ⟺ ∣ x j ( i ) − x j ∣ → 0 ∀ j
Linear Maps
For vector spaces V , W V, W V , W over K K K , T : V → W T : V \to W T : V → W is linear if for all α , β ∈ K \alpha, \beta \in K α , β ∈ K and x , y ∈ V x, y \in V x , y ∈ V
T ( α x + β y ) = α T ( x ) + β T ( y ) T(\alpha x + \beta y) = \alpha T(x) + \beta T(y) T ( αx + β y ) = α T ( x ) + βT ( y )
If V V V is finite dimensional with dim V = n \dim V = n dim V = n , then V V V is isomorphic to K n K^n K n over K K K . Say B = { b ( 1 ) , … , b ( n ) } \mathcal{B} = \{b^{(1)}, \ldots, b^{(n)}\} B = { b ( 1 ) , … , b ( n ) } is a basis. For all x ∈ V x \in V x ∈ V there are unique α 1 , … , α n ∈ K \alpha_1, \ldots, \alpha_n \in K α 1 , … , α n ∈ K with x = ∑ α i b ( i ) x = \sum \alpha_i b^{(i)} x = ∑ α i b ( i ) , and x ↦ ( α 1 , … , α n ) x \mapsto (\alpha_1, \ldots, \alpha_n) x ↦ ( α 1 , … , α n ) is the isomorphism.
If V , W V, W V , W are finite dimensional with bases B V \mathcal{B}_V B V of size n n n and B W \mathcal{B}_W B W of size m m m , then T : V → W T : V \to W T : V → W is linear iff there is A ∈ M m , n ( K ) A \in M_{m,n}(K) A ∈ M m , n ( K ) such that for all x ∈ V x \in V x ∈ V , y ∈ W y \in W y ∈ W ,
T ( x ) = y ⟺ A [ x ] B V = [ y ] B W T(x) = y \iff A[x]_{\mathcal{B}_V} = [y]_{\mathcal{B}_W} T ( x ) = y ⟺ A [ x ] B V = [ y ] B W