Hermitian Operators

A chemist measures a bond dissociation energy and gets 4.52 eV. It is never 4.52+0.3i4.52 + 0.3i eV. Every measurable quantity in chemistry — energy, momentum, position, angular momentum — comes out of an experiment as a real number. Quantum mechanics must guarantee that in advance, before any measurement is made. That guarantee is not an accident of nature. It is built into the mathematical structure of the operators that represent observables. The property responsible is called Hermiticity. Understanding it is the difference between treating quantum mechanics as a set of rules to memorize and understanding why those rules could not have been otherwise. This matters immediately for anything built on Eigenvalue Equations and Quantization. When you write H^ψ=Eψ\hat{H}\psi = E\psi and expect EE to be a real, measurable energy, you are silently relying on H^\hat{H} being Hermitian. The same is true for L^zYℓm=mℏ Yℓm\hat{L}_z Y_\ell^m = m\hbar\, Y_\ell^m, for p^ eikx=ℏk eikx\hat{p}\,e^{ikx} = \hbar k\, e^{ikx}. It is also true for every eigenvalue a chemist ever quotes from a spectrum, a photoelectron peak, or an NMR shift. If the operator were not Hermitian, nothing would stop the eigenvalues from being complex. The entire edifice connecting operators to experiment would collapse. The big picture is this: quantum mechanics associates every physical observable with a linear operator acting on wavefunctions. This follows the correspondence introduced when Operators and Observables are first defined. Hermiticity is the extra mathematical condition imposed on that operator. It guarantees that (i) its eigenvalues — the only possible measurement outcomes — are always real. It also guarantees that (ii) its eigenfunctions — the only possible definite-value states — form a mutually orthogonal, complete basis. This fact is developed fully under Orthonormality of Eigenfunctions. Hermiticity is also the reason expectation values, covered under Expectation Values, always come out real for physically sensible operators. This article gives the precise definition of a Hermitian operator. It proves rigorously that Hermiticity forces real eigenvalues. It works through the standard quantum-chemical operators (momentum, kinetic energy, the Hamiltonian, angular momentum) to show the definition in action. Then it works three full examples. One is abstract and foundational. One is a real quantum-chemical operator check. One is an exam-style trap involving a non-Hermitian-looking operator that turns out fine only under boundary conditions. Along the way you will see exactly where the boundary terms in an integration by parts come from. That is where all the subtlety — and all the marks lost on exams — actually lives.

Key takeaways
  • A Hermitian operator satisfies ⟨f∣A^g⟩=⟨A^f∣g⟩\langle f|\hat{A}g\rangle = \langle \hat{A}f|g\rangle for all well-behaved f,gf,g in the relevant function space.
  • Hermiticity is exactly the condition that guarantees real eigenvalues — the only outcomes a measurement can return.
  • Physical observables (position, momentum, kinetic energy, the Hamiltonian, angular momentum) are represented by Hermitian operators; this is a postulate choice justified by this guarantee.
  • Proving Hermiticity for differential operators like p^=−iℏ d/dx\hat{p} = -i\hbar\,d/dx requires integration by parts and vanishing boundary terms — the boundary conditions on the wavefunction are doing real work.
  • Hermiticity also underlies the orthogonality of eigenfunctions belonging to different eigenvalues, a structural fact used constantly in spectroscopy and perturbation theory.
  • Key idea: an operator is Hermitian when moving it from one side of an inner product to the other never changes the value — and that symmetry is precisely what forces its eigenvalues to be real numbers.

Where this lives today

Every electronic structure calculation run today — Hartree–Fock, density functional theory, coupled cluster, configuration interaction — diagonalizes a Hermitian (or in the generalized-eigenvalue-problem sense, Hermitian-with-respect-to-an-overlap-metric) Fock or Kohn–Sham matrix, and the entire numerical stability of quantum chemistry software rests on exploiting Hermiticity: Hermitian matrices have real eigenvalues and an orthogonal (or unitary) set of eigenvectors, which is why standard diagonalization routines (LAPACK's Hermitian eigensolvers, for instance) are faster and more numerically stable than routines for general matrices, and why molecular orbital coefficients come out as a genuinely orthonormal basis without extra enforcement. In spectroscopy, the reality of eigenvalues guaranteed by Hermiticity is the entire reason a UV-Vis, IR, or NMR peak position can be reported as a single real energy or frequency rather than a complex number — and the deviation from strict Hermiticity, engineered deliberately via complex absorbing potentials or non-Hermitian effective Hamiltonians, is now a standard computational tool for modeling autoionizing resonances, predissociation, and Auger decay, where the imaginary part of an eigenvalue directly encodes a physical lifetime through τ=ℏ/Γ\tau = \hbar/\Gamma. Non-Hermitian quantum mechanics has also become an active research area for open quantum systems and PT-symmetric Hamiltonians, precisely because the standard theorem is understood well enough that chemists and physicists can identify exactly which idealizations are being relaxed and why. In magnetic resonance and molecular symmetry analysis, the fact that angular momentum operators are Hermitian underlies why mℓm_\ell, msm_s, and total angular momentum quantum numbers are always real half-integers or integers, directly setting the selection rules and Zeeman splitting patterns used in EPR and NMR spectrometers, and in materials science the same real-eigenvalue guarantee underlies band-structure calculations, where Hermitian Bloch Hamiltonians produce the real band energies plotted in every solid-state and photovoltaic materials paper.

Ask the tutor: Can you show me why the angular momentum operator L^z\hat{L}_z needs periodic boundary conditions specifically, and what would go wrong if we tried to treat ϕ\phi like an ordinary Cartesian coordinate instead?

The physical picture

Start from the postulate that every observable AA in quantum mechanics is represented by a linear operator A^\hat{A}, and that a measurement of AA can only return one of the eigenvalues aa of the eigenvalue equation A^ψ=aψ\hat{A}\psi = a\psi. This is already familiar from the study of Eigenvalue Equations and Quantization: quantization itself — discrete energy levels, discrete angular momentum — emerges from boundary conditions imposed on such eigenvalue equations. But nothing in the bare idea "operator has eigenvalues" forbids those eigenvalues from being complex numbers. A generic linear operator acting on a generic vector space happily produces complex eigenvalues (a rotation matrix in two dimensions has eigenvalues ±i\pm i, for instance). Quantum mechanics needs an extra restriction to rule this out for physical operators, and Hermiticity is that restriction. The formal definition uses the inner product of functions. For two well-behaved (square-integrable, satisfying the boundary conditions of the problem) functions f(x)f(x) and g(x)g(x) on a domain, define

⟨f∣g⟩=∫f∗(x) g(x) dx.\langle f | g \rangle = \int f^{*}(x)\, g(x)\, dx .

An operator A^\hat{A} is Hermitian (some texts say self-adjoint, with a technical distinction about domains that does not matter at this level) if, for all admissible ff and gg,

∫f∗ (A^g) dx=∫(A^f)∗ g dx.\int f^{*}\,(\hat{A}g)\,dx = \int (\hat{A}f)^{*}\, g\, dx .

In words: you can let A^\hat{A} act on the function to the right, or let it act on the function to the left (with the operator itself unchanged, only the bra taking the complex conjugate of the result), and the integral comes out the same either way. This is a nontrivial statement, because most differential operators, applied naively, do not have this symmetry — moving a derivative across an integral costs you a boundary term, via integration by parts, and Hermiticity is precisely the statement that these boundary terms vanish under the physical boundary conditions imposed on wavefunctions (decay at infinity, periodicity, or vanishing at a box edge). The reason this single algebraic condition is worth an entire article is that it does two jobs simultaneously. First, applied with f=g=ψf=g=\psi an eigenfunction, it forces the eigenvalue aa to satisfy a=a∗a = a^{*}, i.e., to be real — this is proven in full generality below and is the load-bearing result of the whole subject. Second, applied to two eigenfunctions with different eigenvalues, it forces those eigenfunctions to be orthogonal, which is the seed of the orthonormality machinery used everywhere in spectroscopy (transition selection rules, Fourier expansion of wavefunctions, perturbation theory sums). Both consequences follow from the same one-line definition, which is part of why the definition is so central to the subject rather than a technicality to memorize and forget.

Figure
Hermiticity as a mirror: the operator gives the same integral whether it acts left or right
Definition of a Hermitian operator ∫ f *( g) dx  acts on the right-hand function ∫ ( f)* g dx  acts on the left-hand function = Equality holds only because boundary terms from integration by parts vanish (ψ → 0 as x → ±∞, or periodic boundary conditions) Consequence: eigenvalues of  are guaranteed real numbers

The chemically important operators — position x^\hat{x}, momentum p^=−iℏ d/dx\hat{p}=-i\hbar\, d/dx, kinetic energy T^=−ℏ22md2dx2\hat{T} = -\dfrac{\hbar^2}{2m}\dfrac{d^2}{dx^2}, the Hamiltonian H^=T^+V^(x)\hat{H} = \hat{T}+\hat{V}(x) for real potential VV, and the angular momentum operators L^x,L^y,L^z\hat{L}_x, \hat{L}_y, \hat{L}_z — are all Hermitian on the function spaces relevant to bound states. It is worth seeing concretely why momentum needs the factor of ii in its definition: without it, d/dxd/dx alone is not Hermitian (integration by parts on a first derivative picks up a sign flip), but −i d/dx-i\, d/dx exactly compensates that sign flip with the complex conjugation built into the inner product, restoring Hermiticity. This is not a cosmetic choice — it is forced by the requirement that momentum be a real, measurable quantity.

Figure
Why momentum needs the factor of i: sign flip from integration by parts is cancelled by complex conjugation
d/dx alone vs. −iℏ d/dx ∫ f* (dg/dx) dx = −∫ (df/dx)* g dx (boundary term vanishes) → plain d/dx picks up a minus sign moving across: NOT Hermitian p̂ = −iℏ d/dx: ∫ f* p̂g dx = −iℏ∫f*(dg/dx)dx = +iℏ∫(df/dx)*g dx = ∫(p̂f)*g dx → the extra factor of i absorbs the minus sign: Hermitian ✓

The core ideas

The central defining relation, restated for clarity and for later reference, is

∫f∗ A^g  dx  =  ∫(A^f)∗g  dxfor all admissible f,g.\int f^{*}\,\hat{A}g\,\,dx \;=\; \int \left(\hat{A}f\right)^{*} g\,\,dx \qquad \text{for all admissible } f,g .

where: A^\hat{A} is the operator being tested, f,gf,g are any two functions satisfying the boundary conditions of the problem (normalizable, or periodic, or vanishing at box walls), and the star denotes complex conjugation. Reading: this equation says the operator can be transferred across the inner product from acting on the right function to acting on the left function without changing the value of the integral — this transferability is the entire content of "Hermitian." The payoff — real eigenvalues — is captured by

A^ψ=a ψ⟹a=a∗⟹a∈R.\hat{A}\psi = a\,\psi \quad\Longrightarrow\quad a = a^{*} \quad\Longrightarrow\quad a \in \mathbb{R}.

where: ψ\psi is a normalized eigenfunction of A^\hat{A}, aa is the corresponding eigenvalue, obtained by setting f=g=ψf=g=\psi in the Hermiticity condition. Reading: real eigenvalues are not assumed — they are derived from Hermiticity, which is why physicists insist observables be represented by Hermitian operators in the first place. A second consequence, foreshadowing eigenfunction structure, is orthogonality for unequal eigenvalues:

(a1−a2)∫ψ1∗ψ2 dx=0⟹∫ψ1∗ψ2 dx=0  if a1≠a2.(a_1 - a_2)\int \psi_1^{*}\psi_2\, dx = 0 \quad\Longrightarrow\quad \int \psi_1^{*}\psi_2\,dx = 0 \ \text{ if } a_1 \neq a_2 .

where: ψ1,ψ2\psi_1,\psi_2 are eigenfunctions of the same Hermitian operator with distinct eigenvalues a1≠a2a_1 \ne a_2. Reading: two states of a Hermitian observable with different measurable values are automatically orthogonal — this is the seed idea developed in full under Orthonormality of Eigenfunctions. Finally, the practical criterion used to verify Hermiticity for a differential operator on an interval [a,b][a,b] is

∫abf∗ A^g dx−∫ab(A^f)∗g dx=[boundary term in f,g]ab,\int_a^b f^{*}\,\hat{A}g\,dx - \int_a^b (\hat{A}f)^{*}g\,dx = \Big[\text{boundary term in } f,g\Big]_a^b ,

where: the right-hand side is what remains after one or more integrations by parts. Reading: Hermiticity holds if and only if this boundary term vanishes — which is why the boundary conditions imposed on the wavefunction (decay at infinity, node at an infinite wall, periodicity on a ring) are not bookkeeping details but the actual mechanism enforcing real, measurable eigenvalues.

Derivation AReal eigenvalues follow from Hermiticity

Goal. Show that if A^\hat{A} is Hermitian and A^ψ=aψ\hat{A}\psi = a\psi for normalized ψ\psi, then aa must be a real number.

Step 1 — Write the Hermiticity condition for the specific pair f=g=ψf=g=\psi. The defining property of a Hermitian operator must hold for every admissible pair of functions, so in particular it holds when both functions are chosen to be the same eigenfunction ψ\psi:

∫ψ∗ (A^ψ) dx=∫(A^ψ)∗ ψ dx.\int \psi^{*}\,(\hat{A}\psi)\,dx = \int (\hat{A}\psi)^{*}\,\psi\,dx .

This is legitimate precisely because ψ\psi, being a bound-state or box eigenfunction, satisfies the boundary conditions required for A^\hat{A} to be Hermitian on this function space.

Step 2 — Substitute the eigenvalue equation on both sides. Since A^ψ=aψ\hat{A}\psi = a\psi, the left side becomes

∫ψ∗(aψ) dx=a∫ψ∗ψ dx=a,\int \psi^{*}(a\psi)\,dx = a\int \psi^{*}\psi\,dx = a ,

using normalization ∫ψ∗ψ dx=1\int \psi^{*}\psi\,dx = 1. For the right side, first conjugate the eigenvalue equation: (A^ψ)∗=(aψ)∗=a∗ψ∗(\hat{A}\psi)^{*} = (a\psi)^{*} = a^{*}\psi^{*}, so

∫(A^ψ)∗ψ dx=∫a∗ψ∗ψ dx=a∗∫ψ∗ψ dx=a∗.\int (\hat{A}\psi)^{*}\psi\,dx = \int a^{*}\psi^{*}\psi\,dx = a^{*}\int \psi^{*}\psi\,dx = a^{*} .

Step 3 — Equate the two sides and conclude. Hermiticity said the two integrals in Step 1 are equal, and Step 2 evaluated them to aa and a∗a^{*} respectively, so

a=a∗.a = a^{*}.

A complex number equal to its own complex conjugate has zero imaginary part, so aa is purely real. No assumption about the specific form of A^\hat{A} was used beyond the Hermiticity condition and normalizability of ψ\psi — the result holds for position, momentum, kinetic energy, any real potential, the full Hamiltonian, and all components of angular momentum simultaneously, because all of them are Hermitian on their respective domains. This is the single fact that licenses identifying eigenvalues of quantum-mechanical operators with the outcomes of real, physical measurements.

Go deeper · Derivation B · 1 minProving momentum and kinetic energy are Hermitian, with the boundary term made explicit
Derivation BProving momentum and kinetic energy are Hermitian, with the boundary term made explicit

Goal. Show explicitly, by integration by parts, that p^=−iℏ d/dx\hat{p}=-i\hbar\,d/dx is Hermitian on the space of functions vanishing at x→±∞x\to\pm\infty, and use that result to show T^=p^2/2m\hat{T}=\hat{p}^2/2m is Hermitian too.

Step 1 — Set up the integral for momentum and integrate by parts once. Take two functions f(x),g(x)f(x), g(x) that vanish as x→±∞x\to\pm\infty (the physical requirement for normalizable bound-state wavefunctions). Compute

∫−∞∞f∗ p^ g dx=−iℏ∫−∞∞f∗dgdx dx.\int_{-\infty}^{\infty} f^{*}\,\hat{p}\,g\,dx = -i\hbar\int_{-\infty}^{\infty} f^{*}\frac{dg}{dx}\,dx .

Integrate by parts with u=f∗u=f^{*}, dv=(dg/dx) dxdv = (dg/dx)\,dx, so du=(df∗/dx) dxdu = (df^{*}/dx)\,dx and v=gv=g:

−iℏ∫−∞∞f∗dgdx dx=−iℏ[f∗g]−∞∞+iℏ∫−∞∞df∗dx g dx.-i\hbar\int_{-\infty}^{\infty} f^{*}\frac{dg}{dx}\,dx = -i\hbar\Big[f^{*}g\Big]_{-\infty}^{\infty} + i\hbar\int_{-\infty}^{\infty}\frac{df^{*}}{dx}\,g\,dx .

Step 2 — Discard the boundary term using the physical boundary condition. Because f,g→0f,g \to 0 as x→±∞x\to\pm\infty (any bound-state wavefunction must be square-integrable, forcing this decay), the boundary term [f∗g]−∞∞[f^{*}g]_{-\infty}^{\infty} vanishes identically. What remains is

∫−∞∞f∗ p^ g dx=iℏ∫−∞∞df∗dx g dx=∫−∞∞(−iℏdfdx)∗g dx=∫−∞∞(p^f)∗g dx,\int_{-\infty}^{\infty} f^{*}\,\hat{p}\,g\,dx = i\hbar\int_{-\infty}^{\infty} \frac{df^{*}}{dx}\,g\,dx = \int_{-\infty}^{\infty}\left(-i\hbar\frac{df}{dx}\right)^{*} g\,dx = \int_{-\infty}^{\infty}(\hat{p}f)^{*}g\,dx ,

where the middle step used (−iℏ df/dx)∗=+iℏ df∗/dx\left(-i\hbar\,df/dx\right)^{*} = +i\hbar\,df^{*}/dx. This is exactly the Hermiticity condition for p^\hat{p}: the operator has been moved from the right function to the left function with no change in value, and the vanishing of the boundary term is precisely what made this possible.

Step 3 — Extend to kinetic energy by applying the same argument twice. Kinetic energy is T^=p^2/(2m)=−ℏ22md2dx2\hat{T} = \hat{p}^2/(2m) = -\dfrac{\hbar^2}{2m}\dfrac{d^2}{dx^2}. Apply integration by parts twice:

∫f∗d2gdx2 dx=[f∗g′]−∞∞−∫df∗dxdgdx dx=−∫df∗dxdgdx dx\int f^{*}\frac{d^2g}{dx^2}\,dx = \Big[f^{*}g'\Big]_{-\infty}^{\infty} - \int \frac{df^{*}}{dx}\frac{dg}{dx}\,dx = -\int \frac{df^{*}}{dx}\frac{dg}{dx}\,dx

after the first boundary term vanishes (again because f,g→0f,g\to0 at infinity, so g′g' times a vanishing f∗f^* vanishes too, given normalizable, smoothly-decaying wavefunctions). Integrating by parts a second time,

−∫df∗dxdgdx dx=−[f∗′g]−∞∞+∫d2f∗dx2 g dx=∫d2f∗dx2 g dx,-\int \frac{df^{*}}{dx}\frac{dg}{dx}\,dx = -\Big[f^{*\prime}g\Big]_{-\infty}^{\infty} + \int \frac{d^2f^{*}}{dx^2}\,g\,dx = \int \frac{d^2f^{*}}{dx^2}\,g\,dx ,

the second boundary term vanishing for the same reason. Multiplying through by −ℏ2/2m-\hbar^2/2m shows

∫f∗ T^g dx=∫(T^f)∗ g dx,\int f^{*}\,\hat{T}g\,dx = \int (\hat{T}f)^{*}\,g\,dx ,

so T^\hat{T} is Hermitian. Since any real potential energy operator V^(x)\hat{V}(x) (multiplication by a real function) is trivially Hermitian — ∫f∗Vg dx=∫(Vf)∗g dx\int f^{*}V g\,dx = \int (Vf)^{*}g\,dx holds term by term because VV is real — the full Hamiltonian H^=T^+V^\hat{H}=\hat{T}+\hat{V} is Hermitian as the sum of two Hermitian operators. This is exactly why energies computed from the Schrödinger equation are guaranteed real.

Worked examples

Example 1 — Foundational: checking Hermiticity for p^=−iℏ d/dx\hat{p}=-i\hbar\,d/dx on a finite box, with unequal, non-round test functions. To make the boundary-term mechanism completely concrete, work on a finite interval x∈[0,L]x\in[0,L] with L=3.70L = 3.70 Å (an off-round, asymmetric choice on purpose), using the particle-in-a-box eigenfunctions

f(x)=2Lsin⁡ ⁣(2πxL),g(x)=2Lsin⁡ ⁣(5πxL),f(x) = \sqrt{\frac{2}{L}}\sin\!\left(\frac{2\pi x}{L}\right), \qquad g(x) = \sqrt{\frac{2}{L}}\sin\!\left(\frac{5\pi x}{L}\right),

i.e., the n=2n=2 and n=5n=5 box states — deliberately unequal quantum numbers, not a symmetric n=nn=n case, so that the calculation actually tests the mechanism rather than trivially cancelling. Compute the left-hand side of the Hermiticity test directly:

∫0Lf∗ p^ g dx=−iℏ∫0Lf dgdx dx=−iℏ⋅2L∫0Lsin⁡ ⁣(2πxL)⋅5πLcos⁡ ⁣(5πxL)dx.\int_0^L f^{*}\,\hat{p}\,g\,dx = -i\hbar\int_0^L f\,\frac{dg}{dx}\,dx = -i\hbar\cdot\frac{2}{L}\int_0^L \sin\!\left(\frac{2\pi x}{L}\right)\cdot\frac{5\pi}{L}\cos\!\left(\frac{5\pi x}{L}\right)dx .

Using the product-to-sum identity sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B = \tfrac12[\sin(A+B)+\sin(A-B)] with A=2πx/LA = 2\pi x/L, B=5πx/LB=5\pi x/L:

∫0Lsin⁡ ⁣(2πxL)cos⁡ ⁣(5πxL)dx=12∫0L[sin⁡ ⁣(7πxL)−sin⁡ ⁣(3πxL)]dx.\int_0^L \sin\!\left(\frac{2\pi x}{L}\right)\cos\!\left(\frac{5\pi x}{L}\right)dx = \frac12\int_0^L\left[\sin\!\left(\frac{7\pi x}{L}\right) - \sin\!\left(\frac{3\pi x}{L}\right)\right]dx .

Each term integrates to −Lkπ[cos⁡(kπx/L)]0L=−Lkπ[(−1)k−1]-\frac{L}{k\pi}\big[\cos(k\pi x/L)\big]_0^L = -\frac{L}{k\pi}\left[(-1)^k - 1\right]. For k=7k=7 (odd): −L7π(−1−1)=2L7π-\frac{L}{7\pi}(-1-1) = \frac{2L}{7\pi}. For k=3k=3 (odd): 2L3π\frac{2L}{3\pi}. So the bracket gives

12(2L7π−2L3π)=L7π−L3π=L(3−721π)=−4L21π.\frac12\left(\frac{2L}{7\pi} - \frac{2L}{3\pi}\right) = \frac{L}{7\pi} - \frac{L}{3\pi} = L\left(\frac{3-7}{21\pi}\right) = -\frac{4L}{21\pi}.

Therefore

∫0Lf dgdx dx=2L⋅5πL⋅(−4L21π)=−4021L,\int_0^L f\,\frac{dg}{dx}\,dx = \frac{2}{L}\cdot\frac{5\pi}{L}\cdot\left(-\frac{4L}{21\pi}\right) = -\frac{40}{21L},

and

∫0Lf∗ p^ g dx=−iℏ(−4021L)=40 iℏ21L.\int_0^L f^{*}\,\hat{p}\,g\,dx = -i\hbar\left(-\frac{40}{21L}\right) = \frac{40\,i\hbar}{21L}.

Now compute the right side, ∫0L(p^f)∗g dx\int_0^L (\hat{p}f)^{*}g\,dx. Since p^f=−iℏ df/dx\hat{p}f = -i\hbar\,df/dx, its conjugate is (p^f)∗=+iℏ df/dx(\hat{p}f)^* = +i\hbar\,df/dx (as ff is real), so

∫0L(p^f)∗g dx=iℏ∫0Ldfdx g dx=iℏ⋅2L⋅2πL∫0Lcos⁡ ⁣(2πxL)sin⁡ ⁣(5πxL)dx.\int_0^L (\hat{p}f)^{*}g\,dx = i\hbar\int_0^L \frac{df}{dx}\,g\,dx = i\hbar\cdot\frac{2}{L}\cdot\frac{2\pi}{L}\int_0^L\cos\!\left(\frac{2\pi x}{L}\right)\sin\!\left(\frac{5\pi x}{L}\right)dx .

By the same product-to-sum identity (now cos⁡Asin⁡B=12[sin⁡(A+B)−sin⁡(A−B)]\cos A\sin B = \tfrac12[\sin(A+B)-\sin(A-B)], A=2πx/L, B=5πx/LA=2\pi x/L,\ B=5\pi x/L), the integral equals 12(2L7π+2L3π)=L7π+L3π=10L21π\tfrac12\left(\frac{2L}{7\pi}+\frac{2L}{3\pi}\right) = \frac{L}{7\pi}+\frac{L}{3\pi} = \frac{10L}{21\pi}. Then

∫0Ldfdxg dx=2L⋅2πL⋅10L21π=4021L,\int_0^L \frac{df}{dx}g\,dx = \frac{2}{L}\cdot\frac{2\pi}{L}\cdot\frac{10L}{21\pi} = \frac{40}{21L},

so

∫0L(p^f)∗g dx=iℏ⋅4021L=40 iℏ21L.\int_0^L (\hat{p}f)^{*}g\,dx = i\hbar\cdot\frac{40}{21L} = \frac{40\,i\hbar}{21L}.

Both sides equal 40 iℏ21L\dfrac{40\,i\hbar}{21L}, confirming the Hermiticity condition for this specific, deliberately asymmetric pair of box states — and note that at no point did f=0f=0 and g=0g=0 at the endpoints get invoked inside the calculation; the box eigenfunctions automatically satisfy ψ(0)=ψ(L)=0\psi(0)=\psi(L)=0, which is exactly the boundary condition that made this equality possible when the calculation is redone via integration by parts instead of direct evaluation (the two routes must and do agree).

Limiting case check. As L→∞L\to\infty with fixed quantum numbers scaled so the wavevectors k=nπ/Lk=n\pi/L stay fixed, both integrals scale as 1/L1/L and vanish, consistent with free-particle plane waves not being individually normalizable — the finite-box result smoothly connects to the free-particle (delta-function-normalized) limit.

Example 2 — Applied: is the "naive" one-dimensional Hamiltonian with a linear ramp potential Hermitian, checked with a concrete asymmetric potential value? Consider an electron in a region with a uniform static electric field, giving potential energy V(x)=eExV(x) = eEx for x∈[0,L]x\in[0,L] with field E=2.15×107 V/mE = 2.15\times10^{7}\ \text{V/m} and box width L=1.20L = 1.20 nm (values chosen off-round, as in a Stark-effect-in-a-box problem). The Hamiltonian is

H^=−ℏ22med2dx2+eEx.\hat{H} = -\frac{\hbar^2}{2m_e}\frac{d^2}{dx^2} + eEx .

Confirm Hermiticity by checking each piece. The kinetic term is Hermitian by the general proof above, valid for any function vanishing at the box walls x=0,Lx=0,L regardless of the potential present — the boundary term argument in the kinetic-energy derivation only used f=g=0f=g=0 at the endpoints, never anything about V(x)V(x). The potential term is multiplication by the real number eExeEx at each point xx:

∫0Lf∗(eEx) g dx=eE∫0Lf∗xg dx=(eE∫0L(xf)∗g dx)=∫0L(eExf)∗g dx,\int_0^L f^{*}(eEx)\,g\,dx = eE\int_0^L f^{*}xg\,dx = \left(eE\int_0^L (xf)^{*}g\,dx\right) = \int_0^L (eEx f)^{*}g\,dx,

using that xx and eEeE are real numbers so (eExf)∗=eExf∗(eEx f)^* = eEx f^*. This holds termwise for any real-valued V(x)V(x) — linear, quadratic, Coulombic, Morse — without any integration by parts or boundary term at all, because multiplication operators commute past complex conjugation trivially when the multiplying function is real. So H^=T^+V^\hat{H} = \hat{T}+\hat{V} is Hermitian, and its eigenvalues — the Stark-shifted energy levels of the electron in this field — are guaranteed real. As a numerical sanity check on the field strength itself: the potential energy accumulated across the box is

ΔV=eEL=(1.602×10−19 C)(2.15×107 V/m)(1.20×10−9 m)=4.13×10−21 J=0.0258 eV,\Delta V = eEL = (1.602\times10^{-19}\,\text{C})(2.15\times10^{7}\,\text{V/m})(1.20\times10^{-9}\,\text{m}) = 4.13\times10^{-21}\ \text{J} = 0.0258\ \text{eV},

a modest perturbation compared to the unperturbed particle-in-a-box ground-state energy E1=h2/8meL2≈0.261E_1 = h^2/8m_eL^2 \approx 0.261 eV for this box width — confirming this is a sensible, physically realizable Stark perturbation problem, and that the Hamiltonian written down is a legitimate real-valued, Hermitian operator whose real eigenvalues can genuinely be measured spectroscopically.

Example 3 — Exam-level trap: an operator that looks non-Hermitian until the boundary conditions are used correctly. A common exam trick is to present the operator A^=iddx\hat{A} = i\dfrac{d}{dx} (note: no ℏ\hbar, and importantly no minus sign, as a deliberately altered form to test whether the student checks Hermiticity by rote or by calculation) on the domain of functions on a ring of circumference ℓ=8.40\ell = 8.40 Å with periodic boundary conditions ψ(x+ℓ)=ψ(x)\psi(x+\ell) = \psi(x), and ask whether A^\hat{A} is Hermitian, and if so, whether its eigenvalues are real. Take two periodic functions f,gf,g on [0,ℓ][0,\ell] with f(0)=f(ℓ)f(0)=f(\ell), g(0)=g(ℓ)g(0)=g(\ell). Compute

∫0ℓf∗ A^g dx=i∫0ℓf∗dgdx dx=i[f∗g]0ℓ−i∫0ℓdf∗dxg dx.\int_0^{\ell} f^{*}\,\hat{A}g\,dx = i\int_0^{\ell} f^{*}\frac{dg}{dx}\,dx = i\Big[f^{*}g\Big]_0^{\ell} - i\int_0^{\ell}\frac{df^{*}}{dx}g\,dx .

The boundary term is i[f∗(ℓ)g(ℓ)−f∗(0)g(0)]i\left[f^{*}(\ell)g(\ell) - f^{*}(0)g(0)\right], which vanishes not because f,g→0f,g\to0 (they do not, on a ring — this is the trap) but because periodicity gives f∗(ℓ)=f∗(0)f^*(\ell)=f^*(0) and g(ℓ)=g(0)g(\ell)=g(0), so the bracketed difference is exactly zero regardless of the specific values of f(0)f(0) and g(0)g(0). So

∫0ℓf∗ A^g dx=−i∫0ℓdf∗dxg dx=∫0ℓ(idfdx)∗g dx=∫0ℓ(A^f)∗g dx,\int_0^{\ell} f^{*}\,\hat{A}g\,dx = -i\int_0^{\ell}\frac{df^{*}}{dx}g\,dx = \int_0^{\ell}\left(i\frac{df}{dx}\right)^{*}g\,dx = \int_0^{\ell}(\hat{A}f)^{*}g\,dx,

where the middle step used (i df/dx)∗=−i df∗/dx\left(i\,df/dx\right)^{*} = -i\,df^{*}/dx. The two sides match, so A^=i d/dx\hat{A}=i\,d/dx is Hermitian on the periodic ring — despite lacking both the ℏ\hbar and the customary minus sign that p^=−iℏ d/dx\hat{p}=-i\hbar\,d/dx carries, because Hermiticity only cares about the structural pairing of the imaginary unit with the derivative and the vanishing of the boundary term, not about the numerical prefactor (any real, nonzero prefactor multiplying a Hermitian operator gives another Hermitian operator). Its eigenfunctions are ψn(x)=1ℓe2πinx/ℓ\psi_n(x) = \dfrac{1}{\sqrt{\ell}}e^{2\pi i n x/\ell} for integer nn (chosen to satisfy periodicity), with eigenvalues found from A^ψn=i⋅2πinℓψn=−2πnℓψn\hat{A}\psi_n = i\cdot\dfrac{2\pi i n}{\ell}\psi_n = -\dfrac{2\pi n}{\ell}\psi_n. Take n=3n=3 on the ring of circumference ℓ=8.40\ell = 8.40 Å:

a3=−2π(3)8.40×10−10 m=−2.243×1010 m−1,a_3 = -\frac{2\pi(3)}{8.40\times10^{-10}\ \text{m}} = -2.243\times10^{10}\ \text{m}^{-1},

manifestly a real number, exactly as the general theorem demands. The trap in this problem is not the algebra — it is realizing that "vanishing boundary term" does not always mean "function vanishes at the boundary"; on a ring it means "function returns to its starting value," and periodicity supplies that just as effectively as decay-at-infinity does for a free particle.

Limiting cases, scope & common traps

SituationWhat happensWhy
Free particle, ψ→0\psi\to 0 as x→±∞x\to\pm\inftyp^,T^,H^\hat{p}, \hat{T}, \hat{H} Hermitian; boundary term vanishes from decayNormalizability forces f,g→0f,g\to0
Particle in a box, ψ(0)=ψ(L)=0\psi(0)=\psi(L)=0Same operators Hermitian; boundary term vanishes from the hard-wall nodeDirichlet boundary condition kills [f∗g][f^*g]
Particle on a ring, periodic ψ\psiHermitian if boundary term uses periodicity, not decayf(ℓ)=f(0)f(\ell)=f(0), g(ℓ)=g(0)g(\ell)=g(0) makes bracket cancel exactly
Momentum operator missing the −i-i (i.e. plain d/dxd/dx)Not HermitianIntegration by parts gives an extra minus sign with no conjugation to cancel it
Non-normalizable "eigenfunctions" of Hermitian operators (e.g. plane waves, position eigenfunctions)Eigenvalues still real, but eigenfunctions need delta-function normalizationThe finite-norm proof extends via limiting/distributional arguments
Angular momentum L^z=−iℏ ∂/∂ϕ\hat{L}_z = -i\hbar\,\partial/\partial\phiHermitian on [0,2π][0,2\pi] with periodic ψ(ϕ+2π)=ψ(ϕ)\psi(\phi+2\pi)=\psi(\phi)Same ring-type boundary argument as Example 3
Complex potential V(x)=V0−iΓV(x) = V_0 - i\Gamma (used to model decay/absorption)H^\hat{H} not HermitianVV not real, so multiplication-operator argument fails; eigenvalues acquire imaginary parts (finite lifetimes)

The chemist behind it

The mathematical structure underlying Hermitian operators is named for Charles Hermite, a French mathematician who never worked on quantum mechanics himself — he died in 1901, a quarter-century before Schrödinger's equation existed — but whose work on quadratic forms, orthogonal polynomials, and self-adjoint transformations in the 1850s–1870s supplied exactly the linear-algebraic machinery that Dirac, von Neumann, and others needed when they formalized quantum theory in the late 1920s. Hermite's own preoccupations were classical: he proved the transcendence of ee in 1873, studied elliptic functions, and introduced the polynomials that now bear his name in the context of probability theory and interpolation, long before anyone suspected they would become the exact eigenfunctions of the quantum harmonic oscillator. The physical use of Hermiticity — insisting that observables be represented by self-adjoint operators specifically so that measured quantities come out real — is due to the architects of matrix and wave mechanics: Werner Heisenberg's matrix formulation implicitly required Hermitian matrices for observable quantities, and Paul Dirac's 1930 textbook The Principles of Quantum Mechanics made the operator formalism, including the explicit real-eigenvalue theorem, the language of the field. John von Neumann's 1932 mathematical treatise then supplied the fully rigorous Hilbert-space treatment (including the subtle distinction between Hermitian and truly self-adjoint operators on infinite-dimensional spaces, a distinction that rarely bites in standard chemistry problems but matters for some singular potentials).

Origins · 1 minCharles Hermite and how this was discovered
CH
Charles Hermite
1822–1901 · Mathematical analysis, Paris, mid-to-late 19th century

Hermite worked primarily in pure analysis and number theory, far from any physical laboratory, yet supplied two separate legacies to quantum chemistry: the self-adjoint (Hermitian) operators that guarantee real observables, and the Hermite polynomials Hn(x)H_n(x) that are the exact spatial wavefunctions of the quantum harmonic oscillator — itself the zeroth-order model for every molecular vibration a chemist ever fits to an infrared spectrum.

History
- 1822 — Charles Hermite born in Dieuze, France.
- 1873 — Hermite proves ee is transcendental, capping decades of work in classical analysis.
- 1901 — Hermite dies; his self-adjoint transformations and orthogonal polynomials already exist as pure mathematics.
- 1925–1926 — Heisenberg's matrix mechanics and Schrödinger's wave mechanics both implicitly demand real-valued observables.
- 1930–1932 — Dirac's operator formalism and von Neumann's rigorous Hilbert-space theory make Hermiticity the explicit, load-bearing postulate connecting operators to measurement.
Why do physical observables have to be represented by Hermitian operators at all?

Because a measurement can only ever return a real number — you never read "3.2 + 0.5i eV" off a spectrometer — and quantum mechanics needs a built-in guarantee that its formalism cannot predict a complex outcome for a genuine measurement. The theorem proven from the Hermiticity condition shows that eigenvalues of Hermitian operators are automatically real, so by choosing to represent observables with Hermitian operators, physicists ensure the theory is self-consistent with what experiments can possibly show. It is a postulate motivated by, and justified by, this guarantee, rather than an arbitrary rule.

Is Hermiticity the same as an operator having a symmetric matrix?

Not quite. For real matrices, Hermiticity does reduce to ordinary matrix symmetry (Aij=AjiA_{ij}=A_{ji}). But quantum mechanical operators are generally represented by complex matrices, where the correct condition is Aij=Aji∗A_{ij} = A_{ji}^{*} — equal to the transpose of its own complex conjugate, sometimes written A=A†A = A^{\dagger}. A matrix can look "symmetric" entrywise and still fail this if its entries are complex; conversely, an "antisymmetric-looking" matrix with imaginary off-diagonal entries can satisfy A=A†A=A^{\dagger} perfectly well.

Do all Hermitian operators have a complete set of eigenfunctions?

For the well-behaved, bounded, or discrete-spectrum operators typical of introductory quantum chemistry (particle in a box, harmonic oscillator, hydrogen atom bound states), yes — this completeness is what allows any wavefunction to be expanded as a sum over eigenfunctions, the basis of perturbation theory and spectral analysis. For operators with continuous spectra (free-particle momentum, position), the eigenfunctions are not individually normalizable and completeness takes a more careful, distributional form (delta-function normalization), but the same essential real-eigenvalue and orthogonality structure survives.

Can a Hermitian operator have a repeated (degenerate) eigenvalue, and does the orthogonality argument still work?

Yes — degeneracy is common (for example, the 2px,2py,2pz2p_x, 2p_y, 2p_z orbitals of hydrogen all share one energy). The orthogonality proof given here only forces orthogonality between eigenfunctions with different eigenvalues; for a degenerate eigenspace, eigenfunctions are not automatically orthogonal to each other, but any linear combination within that eigenspace is still a valid eigenfunction with the same eigenvalue, and the Gram–Schmidt procedure can always be used to choose an orthogonal basis within the degenerate subspace by hand.

Why does the boundary term vanish for a particle in an infinite box but not automatically for every operator on every domain?

The infinite box imposes ψ(0)=ψ(L)=0\psi(0)=\psi(L)=0 as a hard physical requirement (infinite potential walls mean zero probability of finding the particle there), and this specific condition happens to zero out the bracketed boundary term [f∗g]0L[f^*g]_0^L for operators like p^\hat{p} and T^\hat{T}. A different domain with different boundary conditions — say, a semi-infinite box, or a domain where the wavefunction is required to have a fixed nonzero slope at the edge — can leave a nonzero boundary term, in which case the naive operator is genuinely not Hermitian on that domain until the boundary conditions or the operator's domain of definition are adjusted.

How does Hermiticity connect to expectation values being real?

The expectation value of an observable in a general (not necessarily eigenfunction) state ψ\psi is ⟨A⟩=∫ψ∗A^ψ dx\langle A\rangle = \int \psi^{*}\hat{A}\psi\,dx. Setting f=g=ψf=g=\psi in the Hermiticity condition immediately gives ⟨A⟩=⟨A⟩∗\langle A\rangle = \langle A\rangle^{*}, exactly the same algebraic step used for eigenvalues, showing that expectation values of Hermitian operators are real for any physically allowed state, not just eigenstates. This generalization is the direct link to the machinery built around Expectation Values.

Does Hermiticity guarantee that measurement outcomes are non-negative, or just real?

Only real — Hermiticity says nothing about sign. Energy eigenvalues of a bound Hamiltonian can be negative (a bound electron has negative total energy relative to the ionization threshold), and this is completely consistent with Hermiticity; the theorem only rules out eigenvalues having a nonzero imaginary part. Non-negativity is a separate, stronger property (called positive semi-definiteness) that some operators, like p^2\hat{p}^2, do additionally possess, but it is not implied by Hermiticity alone.

Before this

Where this leads