The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.InnerProductSpace.Rayleigh

24 declarations and 2 deprecated aliases. Mathlib docs · Source

The Rayleigh quotient

The Rayleigh quotient of a self-adjoint operator T on an inner product space E is the function fun x ↦ ⟪T x, x⟫ / ‖x‖ ^ 2.

The main results of this file are IsSelfAdjoint.hasEigenvector_of_isMaxOn and IsSelfAdjoint.hasEigenvector_of_isMinOn, which state that if E is complete, and if the Rayleigh quotient attains its global maximum/minimum over some sphere at the point x₀, then x₀ is an eigenvector of T, and the iSup/iInf of fun x ↦ ⟪T x, x⟫ / ‖x‖ ^ 2 is the corresponding eigenvalue.

The corollaries LinearMap.IsSymmetric.hasEigenvalue_iSup_of_finiteDimensional and LinearMap.IsSymmetric.hasEigenvalue_iSup_of_finiteDimensional state that if E is finite-dimensional and nontrivial, then T has some (nonzero) eigenvectors with eigenvalue the iSup/iInf of fun x ↦ ⟪T x, x⟫ / ‖x‖ ^ 2.

TODO

A slightly more elaborate corollary is that if E is complete and T is a compact operator, then T has some (nonzero) eigenvector with eigenvalue either ⨆ x, ⟪T x, x⟫ / ‖x‖ ^ 2 or ⨅ x, ⟪T x, x⟫ / ‖x‖ ^ 2 (not necessarily both).

abbrev ContinuousLinearMap.rayleighQuotient E1 #

{𝕜 : Type u_1} →
  [inst : RCLike 𝕜] →
    {E : Type u_2} → [inst_1 : NormedAddCommGroup E] → [inst_2 : InnerProductSpace 𝕜 E] → (E →L[𝕜] E) → E → ℝ

The Rayleigh quotient of a continuous linear map T (over ℝ or ℂ) at a vector x is the quantity re ⟪T x, x⟫ / ‖x‖ ^ 2.

theorem ContinuousLinearMap.rayleigh_smul E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) (x : E) {c : 𝕜}, c ≠ 0 → T.rayleighQuotient (c • x) = T.rayleighQuotient x

theorem ContinuousLinearMap.rayleighQuotient_add E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T S : E →L[𝕜] E) {x : E}, (T + S).rayleighQuotient x = T.rayleighQuotient x + S.rayleighQuotient x

theorem ContinuousLinearMap.rayleighQuotient_zero_apply E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (x : E), ContinuousLinearMap.rayleighQuotient 0 x = 0

theorem ContinuousLinearMap.rayleighQuotient_apply_zero E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E), T.rayleighQuotient 0 = 0

theorem ContinuousLinearMap.rayleighQuotient_neg_apply E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) (x : E), (-T).rayleighQuotient x = -T.rayleighQuotient x

theorem ContinuousLinearMap.rayleighQuotient_apply_neg E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) (x : E), T.rayleighQuotient (-x) = T.rayleighQuotient x

theorem ContinuousLinearMap.image_rayleigh_eq_image_rayleigh_sphere E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) {r : ℝ}, 0 < r → T.rayleighQuotient '' {0}ᶜ = T.rayleighQuotient '' Metric.sphere 0 r

theorem ContinuousLinearMap.iSup_rayleigh_eq_iSup_rayleigh_sphere E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) {r : ℝ}, 0 < r → ⨆ x, T.rayleighQuotient ↑x = ⨆ x, T.rayleighQuotient ↑x

theorem ContinuousLinearMap.iInf_rayleigh_eq_iInf_rayleigh_sphere E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) {r : ℝ}, 0 < r → ⨅ x, T.rayleighQuotient ↑x = ⨅ x, T.rayleighQuotient ↑x

theorem ContinuousLinearMap.rayleighQuotient_le_norm E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) (x : E), |T.rayleighQuotient x| ≤ ‖T‖

theorem ContinuousLinearMap.bddAbove_rayleighQuotient E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E), BddAbove (Set.range fun x ↦ |T.rayleighQuotient x|)

theorem ContinuousLinearMap.norm_eq_iSup_rayleighQuotient E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E), (↑T).IsSymmetric → ‖T‖ = ⨆ x, |T.rayleighQuotient x|

theorem ContinuousLinearMap.rayleighQuotient_le_of_norm_mem_resolventSet E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) [Nontrivial E],
  (algebraMap ℝ 𝕜) ‖T‖ ∈ resolventSet 𝕜 T → ∃ ε > 0, ∀ (x : E), T.rayleighQuotient x ≤ ‖T‖ - ε

If ‖T‖ is not in the spectrum, then T.rayleighQuotient x don't reach ‖T‖.

theorem ContinuousLinearMap.abs_rayleighQuotient_le_of_norm_mem_resolventSet E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) [Nontrivial E],
  (algebraMap ℝ 𝕜) ‖T‖ ∈ resolventSet 𝕜 T →
    -(algebraMap ℝ 𝕜) ‖T‖ ∈ resolventSet 𝕜 T → ∃ ε > 0, ∀ (x : E), |T.rayleighQuotient x| ≤ ‖T‖ - ε

If ±‖T‖ are not in the spectrum, then |T.rayleighQuotient x| doesn't reach ‖T‖.

theorem ContinuousLinearMap.spectralRadius_eq_eNorm E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →L[𝕜] E) [inst_3 : CompleteSpace E], IsSelfAdjoint T → spectralRadius 𝕜 T = ‖T‖ₑ

The spectral radius of a self-adjoint operator on a complete space equals the norm.

theorem LinearMap.IsSymmetric.hasStrictFDerivAt_reApplyInnerSelf E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] {T : F →L[ℝ] F},
  (↑T).IsSymmetric → ∀ (x₀ : F), HasStrictFDerivAt T.reApplyInnerSelf (2 • (innerSL ℝ) (T x₀)) x₀

theorem IsSelfAdjoint.linearly_dependent_of_isLocalExtrOn E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] [inst_2 : CompleteSpace F]
  {T : F →L[ℝ] F},
  IsSelfAdjoint T →
    ∀ {x₀ : F}, IsLocalExtrOn T.reApplyInnerSelf (Metric.sphere 0 ‖x₀‖) x₀ → ∃ a b, (a, b) ≠ 0 ∧ a • x₀ + b • T x₀ = 0

theorem IsSelfAdjoint.hasEigenvector_of_isLocalExtrOn E3 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : CompleteSpace E] {T : E →L[𝕜] E},
  IsSelfAdjoint T →
    ∀ {x₀ : E},
      x₀ ≠ 0 →
        IsLocalExtrOn T.reApplyInnerSelf (Metric.sphere 0 ‖x₀‖) x₀ →
          Module.End.HasEigenvector (↑T) (↑(T.rayleighQuotient x₀)) x₀

For a self-adjoint operator T, a local extremum of the Rayleigh quotient of T on a sphere centred at the origin is an eigenvector of T.

theorem IsSelfAdjoint.hasEigenvector_of_isMaxOn E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : CompleteSpace E] {T : E →L[𝕜] E},
  IsSelfAdjoint T →
    ∀ {x₀ : E},
      x₀ ≠ 0 →
        IsMaxOn T.reApplyInnerSelf (Metric.sphere 0 ‖x₀‖) x₀ →
          Module.End.HasEigenvector (↑T) (↑(⨆ x, T.rayleighQuotient ↑x)) x₀

For a self-adjoint operator T, a maximum of the Rayleigh quotient of T on a sphere centred at the origin is an eigenvector of T, with eigenvalue the global supremum of the Rayleigh quotient.

theorem IsSelfAdjoint.hasEigenvector_of_isMinOn E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : CompleteSpace E] {T : E →L[𝕜] E},
  IsSelfAdjoint T →
    ∀ {x₀ : E},
      x₀ ≠ 0 →
        IsMinOn T.reApplyInnerSelf (Metric.sphere 0 ‖x₀‖) x₀ →
          Module.End.HasEigenvector (↑T) (↑(⨅ x, T.rayleighQuotient ↑x)) x₀

For a self-adjoint operator T, a minimum of the Rayleigh quotient of T on a sphere centred at the origin is an eigenvector of T, with eigenvalue the global infimum of the Rayleigh quotient.

theorem LinearMap.IsSymmetric.hasEigenvalue_iSup_of_finiteDimensional E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [FiniteDimensional 𝕜 E] {T : E →ₗ[𝕜] E} [Nontrivial E],
  T.IsSymmetric → Module.End.HasEigenvalue T ↑(⨆ x, RCLike.re (inner 𝕜 (T ↑x) ↑x) / ‖↑x‖ ^ 2)

The supremum of the Rayleigh quotient of a symmetric operator T on a nontrivial finite-dimensional vector space is an eigenvalue for that operator.

theorem LinearMap.IsSymmetric.hasEigenvalue_iInf_of_finiteDimensional E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [FiniteDimensional 𝕜 E] {T : E →ₗ[𝕜] E} [Nontrivial E],
  T.IsSymmetric → Module.End.HasEigenvalue T ↑(⨅ x, RCLike.re (inner 𝕜 (T ↑x) ↑x) / ‖↑x‖ ^ 2)

The infimum of the Rayleigh quotient of a symmetric operator T on a nontrivial finite-dimensional vector space is an eigenvalue for that operator.

theorem LinearMap.IsSymmetric.subsingleton_of_no_eigenvalue_finiteDimensional E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [FiniteDimensional 𝕜 E] {T : E →ₗ[𝕜] E}, T.IsSymmetric → (∀ (μ : 𝕜), Module.End.eigenspace T μ = ⊥) → Subsingleton E

Deprecated aliases

NameNew nameSince
ContinuousLinearMap.spectralRadius_eq_nnNormContinuousLinearMap.spectralRadius_eq_eNorm2026-11-10
ContinuousLinearMap.spectralRadius_eq_nnnormContinuousLinearMap.spectralRadius_eq_eNorm2026-10-31