Documentation

TauCeti.Analysis.InnerProductSpace.Orthonormal.Coordinates

Orthonormal coordinates #

This module describes coordinates adapted to a vector in a real inner product space and rotated coordinates in a complex inner product space.

For an orthonormal basis b, the i-th coordinate functional of the underlying basis is the inner product with b i.

In a finite-dimensional real inner product space, an orthonormal coordinate system can be chosen so that the inner product with a given vector is its norm times any prescribed coordinate.

For an orthonormal basis b of a complex inner product space E, indexed by a finite type ι, every v : E has the complex coordinates ⟪b j, v⟫:

Main definitions #

Main statements #

Choose orthonormal coordinates in which the inner product with v is its norm times the prescribed coordinate. This also holds for v = 0.

@[simp]
theorem OrthonormalBasis.toBasis_coord {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] [Fintype ι] (b : OrthonormalBasis ι 𝕜 E) (i : ι) :
b.toBasis.coord i = (innerₛₗ 𝕜) (b i)

The i-th coordinate functional of an orthonormal basis is the inner product with its i-th vector.

theorem OrthonormalBasis.toBasis_coord_real {ι : Type u_3} [Fintype ι] {F : Type u_4} [NormedAddCommGroup F] [InnerProductSpace ℝ F] (b : OrthonormalBasis ι ℝ F) (i : ι) :
b.toBasis.coord i = (innerₗ F) (b i)

The coordinate functional of a real orthonormal basis, expressed using the real bilinear inner product.

theorem OrthonormalBasis.repr_apply_of_eigenbasis {𝕜 : Type u_1} {E : Type u_2} {ι : Type u_3} [RCLike 𝕜] [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] [Fintype ι] (b : OrthonormalBasis ι 𝕜 E) (S : E →ₗ[𝕜] E) {μ : ι → 𝕜} (hb : ∀ (i : ι), S (b i) = μ i • b i) (x : E) (i : ι) :
(b.repr (S x)).ofLp i = μ i * (b.repr x).ofLp i

The coordinates of S x in an orthonormal eigenbasis of S are the coordinates of x scaled by the eigenvalues.

theorem OrthonormalBasis.exists_apply_self_eq_sum_mul_inner_sq {E : Type u_1} {ι : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [Fintype ι] (b : OrthonormalBasis ι ℂ E) (c : ι → ℂ) :
∃ (Q : E →L[ℂ] E →L[ℂ] ℂ), ∀ (v : E), (Q v) v = ∑ j : ι, c j * inner ℂ (b j) v ^ 2

The holomorphic quadratic form ∑ⱼ c j ⟪b j, z⟫² is z ↦ Q z z for a continuous complex bilinear form Q.

noncomputable def OrthonormalBasis.rotatedRealCoords {E : Type u_1} {ι : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [Fintype ι] (b : OrthonormalBasis ι ℂ E) (ω : ι → ℂ) (hω : ∀ (j : ι), ω j * (starRingEnd ℂ) (ω j) = 1) :
E ≃ₗ[ℝ] ι ⊕ ι → ℝ

The real and imaginary parts of the coordinates conj (ω j) ⟪b j, v⟫ in an orthonormal basis b, rotated by units ω j, as a real linear equivalence.

Instances For
    @[simp]
    theorem OrthonormalBasis.rotatedRealCoords_apply_inl {E : Type u_1} {ι : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [Fintype ι] (b : OrthonormalBasis ι ℂ E) (ω : ι → ℂ) (hω : ∀ (j : ι), ω j * (starRingEnd ℂ) (ω j) = 1) (v : E) (j : ι) :
    (b.rotatedRealCoords ω hω) v (Sum.inl j) = ((starRingEnd ℂ) (ω j) * inner ℂ (b j) v).re

    The Sum.inl j coordinate of rotatedRealCoords is the real part of conj (ω j) ⟪b j, v⟫.

    @[simp]
    theorem OrthonormalBasis.rotatedRealCoords_apply_inr {E : Type u_1} {ι : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [Fintype ι] (b : OrthonormalBasis ι ℂ E) (ω : ι → ℂ) (hω : ∀ (j : ι), ω j * (starRingEnd ℂ) (ω j) = 1) (v : E) (j : ι) :
    (b.rotatedRealCoords ω hω) v (Sum.inr j) = ((starRingEnd ℂ) (ω j) * inner ℂ (b j) v).im

    The Sum.inr j coordinate of rotatedRealCoords is the imaginary part of conj (ω j) ⟪b j, v⟫.

    @[simp]
    theorem OrthonormalBasis.rotatedRealCoords_symm_apply {E : Type u_1} {ι : Type u_2} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [Fintype ι] (b : OrthonormalBasis ι ℂ E) (ω : ι → ℂ) (hω : ∀ (j : ι), ω j * (starRingEnd ℂ) (ω j) = 1) (u : ι ⊕ ι → ℝ) :
    (b.rotatedRealCoords ω hω).symm u = ∑ j : ι, (ω j * { re := u (Sum.inl j), im := u (Sum.inr j) }) • b j

    The inverse of rotatedRealCoords sends real coordinates u to the vector whose rotated coordinate conj (ω j) ⟪b j, v⟫ is u (Sum.inl j) + u (Sum.inr j) i.