Skip to main content

Quantum core · institution-dependent · Interactive lesson

Hermitian operators and orthogonality

Every number a measurement can return has to be real, and every expansion you read as a set of probabilities has to be orthogonal. Hermiticity is the one condition that delivers both — and because the proof runs on integration by parts, it is settled at the boundary of the domain, never by the formula you wrote down.

UPIV-06.06 · Lesson 6 of 9 in this unit. Position is not a completion score.
Starting model: Hermitian operators and orthogonalityA = cos(2πx/L) drawn solid and B = cos(2πnx/L − θ) drawn dashed over one period of a ring, with their pointwise product on the lower axis and a dashed line at its mean. Mode index n = 1 sets the energy ratio 1; the phase θ sets the normalised overlap ⟨A|B⟩ = 1.000, which is twice the drawn mean.solid A = cos(2πx/L)dashed B = cos(2πnx/L − θ)one Ĥ · energy ratio 1 · overlap 1.000product A⋅B, dashed line = its meanx = 0x = L
Start with a picture. Change the model in the lab below.

Quantum core · institution-dependent. Departments differ in how much quantum mechanics they include in Physics IV or teach in a dedicated course. Follow your university’s required mathematical depth and assessment; these numbered units are not automatically optional.

1

Build the model

Real outcomes and a usable basis, both bought at the boundary.

The key idea

An operator is Hermitian on a given set of functions when ∫f*(Ĥg) dx equals ∫(Ĥf)*g dx for every pair f, g that the boundary conditions admit — a property of the expression and its domain together, never of the expression alone.

Example. On a ring of circumference L = 1.00 nm, periodicity ψ(L) = ψ(0) makes the leftover bracket −iℏ[f*g]ₐᵇ vanish, so p̂ = −iℏ d/dx is Hermitian there and its eigenvalues pₙ = nh/L are real: p₁ = 6.63 × 10⁻²⁵ kg m s⁻¹.

The complete physical model and assumptions

The measurement postulate hands the operator formalism two bills to pay: the possible outcomes of an observable are the eigenvalues of its operator, so they must be real numbers, and the probability of each outcome is the squared modulus of an expansion coefficient, so the eigenfunctions must form a basis you can project onto. A single algebraic condition pays both: call an operator Hermitian on a space of functions when ∫f*(Ĥg) dx = ∫(Ĥf)*g dx for every admissible pair f, g. Feed one eigenfunction into that identity and reality falls out in a line; feed two, and eigenfunctions belonging to different eigenvalues are forced orthogonal. What it costs is that the condition is never about the differential expression alone. Getting from one side to the other takes integration by parts, and each pass leaves a boundary term; hermiticity is precisely the claim that those terms cancel, which is a statement about the boundary conditions and the domain. Change the domain and the same symbols can stop being Hermitian, or lose their eigenfunctions entirely. And the orthogonality proof carries a visible gap: where two eigenvalues coincide it multiplies the overlap by zero and says nothing, so inside a degenerate subspace orthogonality is imposed — by Gram–Schmidt, or by labelling the states with a second, commuting observable.

1Two demands the postulate makes on an operator

The measurement postulate does not treat operators gently. It says the only possible results of measuring an observable are the eigenvalues of its operator, and that if a state is written as Ψ = Σ cₙψₙ over the eigenfunctions, then |cₙ|² is the probability of the result λₙ. Two things have to be true for that to make sense. The eigenvalues must be real, because no instrument has ever read 3 + 2i. And the coefficients must be extractable, with their squared moduli summing to one, which needs ⟨ψₙ|ψₘ⟩ = 0 for n ≠ m — without it, projecting Ψ onto ψₙ picks up contamination from every other term and the probabilities do not add to one. Neither demand is automatic. A general linear operator has complex eigenvalues and non-orthogonal eigenfunctions, so the formalism needs a filter that admits only the operators fit to represent an observable. Hermiticity is that filter, and everything below is the receipt.

2Where the condition is settled: two integrations by parts

Write Ĥ = −(ℏ²/2m) d²/dx² + V(x) and compare ∫f*(Ĥg) dx with ∫(Ĥf)*g dx on a domain a ≤ x ≤ b. The potential contributes ∫(V − V*)f*g dx, which cancels only if V is real. The kinetic term needs two integrations by parts: ∫f*g″ dx = [f*g′]ₐᵇ − ∫(f*)′g′ dx, and ∫(f″)*g dx = [(f′)*g]ₐᵇ − ∫(f*)′g′ dx. The two interior integrals are identical and subtract away, leaving ∫[f*(Ĥg) − (Ĥf)*g] dx = −(ℏ²/2m)[f*g′ − (f′)*g]ₐᵇ. So hermiticity is not an algebraic identity: it is the claim that this one bracket vanishes for every pair of functions the problem admits. Three settings kill it. Square-integrable states on the whole line have f, g → 0 as |x| → ∞. A hard-walled box sets f = g = 0 at both walls. A ring imposes periodicity, so the two ends cancel each other. A Robin condition f′ = αf at an end works too — but only when α is real, since the bracket there collapses to (α − α*)f*g.

3Reality of the eigenvalues, in one line

Put f = g = ψ, an eigenfunction with Ĥψ = λψ. The left side of the Hermitian condition is ∫ψ*(λψ) dx = λ∫|ψ|² dx; the right side is ∫(λψ)*ψ dx = λ*∫|ψ|² dx. Subtract: (λ − λ*)∫|ψ|² dx = 0. An eigenfunction is by definition not the zero function, so ∫|ψ|² dx is strictly positive and can be divided out, forcing λ = λ*. The proof is three lines, but every clause is load-bearing. It used the conjugation rule (λψ)* = λ*ψ*, which is exactly where a complex eigenvalue would have to appear, and it used the positivity of the norm, which is why the argument says nothing about the zero function. It also shows precisely what breaks the result: give the potential a constant imaginary part, V = V₀ − iΓ/2, and the potential term no longer cancels. The same algebra then returns Im λ = −Γ/2 instead of zero, and the norm of the state decays rather than holding at one.

4Orthogonality, in two, and what it buys

Now take two eigenfunctions, Ĥψₙ = λₙψₙ and Ĥψₘ = λₘψₘ, and feed them in as f = ψₙ, g = ψₘ. The left side is λₘ⟨ψₙ|ψₘ⟩; the right side is λₙ*⟨ψₙ|ψₘ⟩, which is λₙ⟨ψₙ|ψₘ⟩ because reality has already been proved. Subtracting gives (λₘ − λₙ)⟨ψₙ|ψₘ⟩ = 0, so wherever the two eigenvalues differ the overlap must be zero. Check it on the infinite well, ψₙ = √(2/L) sin(nπx/L): the product-to-sum identity turns ⟨ψ₁|ψ₃⟩ into the integral of (1/L)[cos(2πx/L) − cos(4πx/L)] across the well, and both sines vanish at both limits. What orthogonality buys is the entire probabilistic reading. Expand Ψ = Σ cₙψₙ, multiply by ψₘ* and integrate; every cross term dies and cₘ = ⟨ψₘ|Ψ⟩ survives alone. Normalisation then gives Σ|cₙ|² = 1, so the numbers |cₙ|² are a genuine probability distribution rather than a set of weights that merely resembles one.

5Degeneracy: the proof multiplies by zero

The orthogonality proof has a visible hole. If λₘ = λₙ the factor (λₘ − λₙ) is zero, so (λₘ − λₙ)⟨ψₙ|ψₘ⟩ = 0 is satisfied by any overlap whatsoever and makes no claim at all. Degeneracy is not exotic: on a ring of circumference L the states cos(2πx/L) and sin(2πx/L) share the energy h²/(2mL²), and so does every linear combination of them. Take u = √(2/L) cos(2πx/L) and w = (1/√L)[cos(2πx/L) + sin(2πx/L)]. Both are normalised, both are eigenfunctions of the same Ĥ with the same eigenvalue, and ⟨u|w⟩ = 1/√2 = 0.707 — an angle of 45°, not 90°. Orthogonality inside a degenerate subspace is therefore imposed, not derived. Gram–Schmidt does it mechanically: subtract the projection, w − ⟨u|w⟩u, which here returns (1/√L) sin(2πx/L), then renormalise to √(2/L) sin(2πx/L). The physicist's version is to find a second observable that commutes with Ĥ — here p̂ — and label the states by its eigenvalues, which picks out exp(±2πix/L) as the natural orthogonal pair.

6Hermitian is a property of the domain, not the symbol

Ask whether p̂ = −iℏ d/dx is Hermitian and the honest answer is: on which domain? One integration by parts leaves the bracket −iℏ[f*g]ₐᵇ. On the whole line, with square-integrable states, it vanishes and p̂ is fine. On a ring with f(L) = f(0) it vanishes too, and p̂ then carries a complete orthonormal set exp(2πinx/L)/√L with real eigenvalues pₙ = nh/L — for L = 1.00 nm that is 6.63 × 10⁻²⁵ kg m s⁻¹ per unit of n. Now put the same symbol on the infinite well, 0 ≤ x ≤ L with ψ(0) = ψ(L) = 0. The bracket still vanishes, so p̂ passes the symmetry test — and yet p̂ψ = pψ forces ψ ∝ exp(ipx/ℏ), whose modulus is constant, so nothing in the domain can meet the walls. The operator has no eigenfunctions there at all: it is symmetric but not self-adjoint, and cannot represent a measurable momentum. Ĥ = p̂²/2m is untroubled, which is why the well still has a clean energy spectrum. Same three symbols, three domains, three different answers — which is why the boundary conditions belong in the statement of the operator, not in a footnote.

2

Key equations

Read the units, assumptions and limits before substituting.

The Hermitian condition

∫ f*(Ĥg) dx = ∫ (Ĥf)* g dx for all f, g in D(Ĥ)

One identity, and both the reality of eigenvalues and the orthogonality of eigenfunctions are corollaries of it.

Both integrals run over the whole domain; D(Ĥ) is the set of functions the boundary conditions admit.

Where it is decided: the boundary term

∫[f*(Ĥg) − (Ĥf)*g] dx = −(ℏ²/2m)[f*g′ − (f′)*g]ₐᵇ

Hermiticity is the vanishing of this one bracket — a condition on the boundary, not an algebraic identity.

a and b are the ends of the domain; the two V terms cancel only when V is real.

Eigenvalues come out real

(λ − λ*) ∫|ψ|² dx = 0 ⇒ λ = λ*

Guarantees that every possible outcome is a real number, which is what the measurement postulate needs.

ψ is a non-zero eigenfunction, so ∫|ψ|² dx is strictly positive and may be divided out.

Distinct eigenvalues force orthogonality

(λₘ − λₙ) ⟨ψₙ|ψₘ⟩ = 0 ⇒ ⟨ψₙ|ψₘ⟩ = 0 for λₘ ≠ λₙ

Projection then works: cₙ = ⟨ψₙ|Ψ⟩ pulls one amplitude out of a superposition, and Σ|cₙ|² = 1.

⟨ψₙ|ψₘ⟩ = ∫ψₙ*ψₘ dx, dimensionless once both are normalised; the step uses the reality already proved.

Momentum: the domain does the choosing

∫[f*(p̂g) − (p̂f)*g] dx = −iℏ [f* g]ₐᵇ

Same symbols, two domains, two different physics — the reason hermiticity is never read off a formula.

p̂ = −iℏ d/dx. Periodic f(b) = f(a) on a ring of circumference L = b − a gives pₙ = nh/L; hard walls kill the bracket but leave no eigenfunction at all.

Gram–Schmidt inside a degenerate level

χ₂ = ψ₂ − ⟨χ₁|ψ₂⟩ χ₁, then χ₂ → χ₂/‖χ₂‖

Orthogonality inside a degenerate level is imposed by you; the theorem never supplied it.

χ₁ is already normalised, and ψ₂ shares its eigenvalue, so χ₂ is still an eigenfunction of that same eigenvalue.
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

0 °
0 to 180 °; steps of 5.
1
1 to 3; steps of 1.

Try this. Hold n at 1 so both curves share one energy, then sweep θ: the overlap runs from 1 to 0 to −1, so orthogonality inside a degenerate level is a choice. Move n to 2 and the overlap is pinned at zero for every θ — the theorem doing the work once the eigenvalues differ.

Live results

OVERLAP ⟨A|B⟩
1.000
ENERGY RATIO E(B)/E(A)
1
ANGLE BETWEEN STATES
0.0 °
MEAN OF PRODUCT
0.500

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics IV modelA = cos(2πx/L) drawn solid and B = cos(2πnx/L − θ) drawn dashed over one period of a ring, with their pointwise product on the lower axis and a dashed line at its mean. Mode index n = 1 sets the energy ratio 1; the phase θ sets the normalised overlap ⟨A|B⟩ = 1.000, which is twice the drawn mean.solid A = cos(2πx/L)dashed B = cos(2πnx/L − θ)one Ĥ · energy ratio 1 · overlap 1.000product A⋅B, dashed line = its meanx = 0x = L
A = cos(2πx/L) drawn solid and B = cos(2πnx/L − θ) drawn dashed over one period of a ring, with their pointwise product on the lower axis and a dashed line at its mean. Mode index n = 1 sets the energy ratio 1; the phase θ sets the normalised overlap ⟨A|B⟩ = 1.000, which is twice the drawn mean.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Phase θ of state B: 0 °; Mode index n of state B: 1

Baseline 0; choose 0 to 180, in steps of 5.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The theorem does not say that eigenfunctions of a Hermitian operator are orthogonal; it says that eigenfunctions belonging to different eigenvalues are. When two eigenvalues coincide, the step (λₘ − λₙ)⟨ψₙ|ψₘ⟩ = 0 multiplies the overlap by zero and asserts nothing at all. On a ring of circumference L, cos(2πx/L) and cos(2πx/L) + sin(2πx/L) are both eigenfunctions with the same energy, and their normalised overlap is 1/√2 — an angle of 45°, not a right angle. Inside a degenerate level, orthogonality is a choice you make: Gram–Schmidt, or a label from a commuting observable. The same over-reading catches hermiticity itself, which students certify by dropping boundary terms rather than by checking that the boundary conditions kill them.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

An electron sits in an infinite square well of width L = 0.500 nm, with normalised states ψₙ(x) = √(2/L) sin(nπx/L). Show by direct integration that ψ₁ and ψ₃ are orthogonal, then name the theorem that promised the result in advance.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

MediumExample 2

An electron moves freely on a ring of circumference L = 2.00 nm. Both u(x) = √(2/L) cos(2πx/L) and w(x) = (1/√L)[cos(2πx/L) + sin(2πx/L)] are normalised eigenfunctions of Ĥ. Find their common energy, compute ⟨u|w⟩, and build a normalised eigenfunction orthogonal to u.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

HardExample 3

A decaying resonance is modelled by giving the potential a constant imaginary part, V = V₀ − iΓ/2 with V₀ and Γ real and positive. Identify the step of the reality proof that fails, find the imaginary part of the energy eigenvalue, and evaluate the lifetime and the surviving norm after 1.00 ps for Γ = 1.00 meV.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 5 steps revealed.

6

Quick check

Select an answer and explain it before checking.

The operator p̂ = −iℏ d/dx is written on the interval 0 ≤ x ≤ L with the infinite well's boundary condition ψ(0) = ψ(L) = 0. Which statement about it is correct?
7

Review & continue

An operator is Hermitian on a given set of functions when ∫f*(Ĥg) dx equals ∫(Ĥf)*g dx for every pair f, g that the boundary conditions admit — a property of the expression and its domain together, never of the expression alone.

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.