Functional Analysis
Functional analysis studies vector spaces endowed with a limit-related structure (like a metric or topology) and the linear operators acting upon them.
1. Normed Linear Spaces
A Normed Linear Space ( V , ∥ ⋅ ∥ ) (V, \|\cdot\|) is a vector space V V over a field (usually C \mathbb{C} or R \mathbb{R} ) with a norm function ∥ ⋅ ∥ : V → [ 0 , ∞ ) \|\cdot\|: V \to [0, \infty) satisfying:
Definiteness : ∥ v ∥ = 0 ⟺ v = 0 \|v\| = 0 \iff v = 0 .
Homogeneity : ∥ α v ∥ = ∣ α ∣ ⋅ ∥ v ∥ \|\alpha v\| = |\alpha| \cdot \|v\| .
Triangle Inequality : ∥ u + v ∥ ≤ ∥ u ∥ + ∥ v ∥ \|u + v\| \le \|u\| + \|v\| .
A Banach Space is a normed linear space that is complete (every Cauchy sequence converges).
2. Hilbert Spaces and Inner Products
A Hilbert Space is a complete inner product space. The inner product ⟨ ⋅ , ⋅ ⟩ \langle \cdot, \cdot \rangle satisfies:
Linearity : ⟨ α u + β v , w ⟩ = α ⟨ u , w ⟩ + β ⟨ v , w ⟩ \langle \alpha u + \beta v, w \rangle = \alpha \langle u, w \rangle + \beta \langle v, w \rangle .
Conjugate Symmetry : ⟨ u , v ⟩ = ⟨ v , u ⟩ ‾ \langle u, v \rangle = \overline{\langle v, u \rangle} .
Positive Definiteness : ⟨ v , v ⟩ ≥ 0 \langle v, v \rangle \ge 0 , with equality only if v = 0 v=0 .
The L 2 L^2 Space is a primary example, where functions are square-integrable:
⟨ f , g ⟩ = ∫ a b f ( x ) g ( x ) ‾ d x , ∥ f ∥ 2 = ∫ a b ∣ f ( x ) ∣ 2 d x \langle f, g \rangle = \int_a^b f(x) \overline{g(x)} \, dx, \quad \|f\|_2 = \sqrt{\int_a^b |f(x)|^2 \, dx}
Interactive Lab
import numpy as np
# Numerical verification of the Triangle Inequality
# ||f + g|| <= ||f|| + ||g||
x = np.linspace(0, 1, 500)
f = x**2
g = np.exp(x)
def norm_l2(y, dx):
return np.sqrt(np.trapz(y**2, dx))
dx = x[1] - x[0]
n_f = norm_l2(f, x)
n_g = norm_l2(g, x)
n_sum = norm_l2(f + g, x)
print(f"||f||: {n_f:.4f}")
print(f"||g||: {n_g:.4f}")
print(f"||f+g||: {n_sum:.4f}")
print(f"Is {n_sum:.4f} <= {n_f + n_g:.4f}? {n_sum <= n_f + n_g + 1e-9}")1 import numpy as np
2
3
4
5 x = np.linspace( 0 , 1 , 500 )
6 f = x* * 2
7 g = np.exp( x)
8
9 def norm_l2( y, dx) :
10 return np.sqrt( np.trapz( y* * 2 , dx) )
11
12 dx = x[ 1 ] - x[ 0 ]
13 n_f = norm_l2( f, x)
14 n_g = norm_l2( g, x)
15 n_sum = norm_l2( f + g, x)
16
17 print ( f"||f||: {n_f:.4f}" )
18 print ( f"||g||: {n_g:.4f}" )
19 print ( f"||f+g||: {n_sum:.4f}" )
20 print ( f"Is {n_sum:.4f} <= {n_f + n_g:.4f}? {n_sum <= n_f + n_g + 1e-9}" )
3. Linear Operators
Partial Differential Equations : Proving that a solution exists even if we can’t find it.
Signal Processing : Decomposing complex signals into simple frequencies.
Quantum Mechanics : The state of a particle is a vector in an infinite-dimensional Hilbert space.
Exercises
Knowledge Check
In functional analysis, what corresponds to the 'Dot Product' of two vectors?
Answer: The integral of the product of the two functions.
The inner product $\langle f, g \rangle = \int f(x)g(x) dx$ is the functional equivalent of the dot product.
In functional analysis, what corresponds to the 'Dot Product' of two vectors?
The product of their maximum values.
The integral of the product of the two functions.
The derivative of their sum.
The distance between their graphs. Check answer
Knowledge Check
Why do we say that functional analysis deals with 'Infinite Dimensions'?
Answer: Because to describe an arbitrary function exactly, you need an infinite number of coefficients (like a Fourier series).
While a vector in 3D needs 3 numbers, a function needs a number for every point in its domain, which is uncountably infinite.
Why do we say that functional analysis deals with 'Infinite Dimensions'?
Because functions are very long.
Because to describe an arbitrary function exactly, you need an infinite number of coefficients (like a Fourier series).
Because it was discovered by an infinite number of people.
It is a metaphor for the complexity of the math. Check answer
Knowledge Check
In the context of the derivative operator, what is f(x) = e^x?
Answer: An eigenfunction with eigenvalue 1.
Since $\frac{d}{dx} e^x = 1 \cdot e^x$, the function $e^x$ is an eigenfunction of the differentiation operator.
In the context of the derivative operator, what is f(x) = e^x?
A constant.
A singularity.
An eigenfunction with eigenvalue 1.
An orthogonal basis. Check answer