Functions of Operators
A function of an operator is obtained by applying a scalar function to the operator’s spectral values while retaining its spectral subspaces. It is not, in general, obtained by applying the function separately to the entries of one matrix representation.
For a self-adjoint operator with finite spectral decomposition
the defining rule is
This one construction gives precise meanings to , , , , spectral projectors, and many other expressions used throughout quantum mechanics. When is real-valued, it also has a direct physical interpretation: measuring amounts to measuring and reporting the transformed outcome .
Scope and Conventions
Section titled “Scope and Conventions”The main object on this page is a self-adjoint operator . Finite-dimensional operators come first because all domain questions disappear and the essential idea is visible in a finite sum. The later sections state the corresponding spectral-integral construction for continuous spectra and unbounded functions.
Three conventions matter:
- denotes the spectrum of .
- A scalar function only needs to be specified on ; changing it away from the spectrum does not change .
- When is unbounded, the domain is part of the definition.
General functions of nonnormal or nondiagonalizable matrices require additional machinery. Their finite-dimensional construction belongs to Matrix Functions and Exponentials.
Finite-Dimensional Spectral Definition
Section titled “Finite-Dimensional Spectral Definition”Let act on a finite-dimensional Hilbert space. Write its spectral decomposition using the distinct eigenvalues :
For any function defined on the finite set , define
If belongs to the eigenspace , then
The degeneracy label is untouched. Functional calculus changes the spectral value attached to an eigenspace, not the vectors inside that eigenspace.
Functional calculus retains each subspace while replacing by . If several values have the same image , the corresponding spectral projector of is their sum, such as .
Basis Independence
Section titled “Basis Independence”Suppose is diagonalized as
Then
where
More generally, under a unitary change of representation,
This covariance is the test that an operator construction is independent of a chosen basis.
Why entrywise substitution fails
Section titled “Why entrywise substitution fails”Consider
Applying to each entry leaves this matrix unchanged. The operator square instead means composition:
Entrywise substitution depends on the displayed basis and usually does not represent any intrinsic function of the operator.
Algebraic Laws
Section titled “Algebraic Laws”For finite-dimensional , or for bounded functions in the general spectral calculus, the map preserves the ordinary algebra of scalar functions. For scalars ,
The product law follows immediately from orthogonality of the spectral projectors:
Several useful tests follow:
- If is real-valued on , then is self-adjoint.
- If on , then is positive.
- If on , then is unitary.
- Every commutes with and with every spectral projector .
For unbounded and , these formulas acquire domain qualifications. One must not replace operator inclusions by equalities without checking the domains of the sums and products.
Spectrum, Norm, and Kernel
Section titled “Spectrum, Norm, and Kernel”In finite dimensions, the spectral mapping rule is exact:
Repeated values are listed only once in the set on the right. The operator norm and kernel are
and
For a bounded self-adjoint operator and continuous , the same spectral mapping and norm formulas hold, with the maximum taken over the compact spectrum. For a merely Borel function, the correct general statement uses its essential range relative to the projection-valued spectral measure; the naive set-theoretic image can contain values carried by no spectral weight.
Relabeling and Coarse Graining
Section titled “Relabeling and Coarse Graining”Let be a distinct value of on . The spectral projector of associated with is
There are two qualitatively different cases.
Injective functions preserve all spectral labels
Section titled “Injective functions preserve all spectral labels”If is one-to-one on , every can be recovered from . The observables and have the same spectral projectors, and there is a function on such that
Thus contains exactly the same sharp spectral information as .
Noninjective functions merge outcomes
Section titled “Noninjective functions merge outcomes”If for distinct eigenvalues, cannot distinguish the corresponding eigenspaces. Their projectors add. This is a genuine coarse graining of the sharp observable, even though the operator remains a perfectly well-defined function of .
This distinction is central when deciding whether a derived operator supplies a new label in a complete set of commuting observables. A function of one member automatically commutes with it, but it may be redundant or may erase labels rather than resolve them.
Measurement Distribution of a Function
Section titled “Measurement Distribution of a Function”In this section, let be real-valued on , so is again a self-adjoint observable. Let be the spectral projector of for a Borel set . The projection-valued measure of obeys
For a state , define the outcome measure
Then
In probability language, the distribution of is the pushforward of the distribution of under . In the finite discrete case,
Whenever the expectation is defined,
Powers give moments, so and the variance are special cases of this rule. Their statistical interpretation is developed in Variance and Standard Deviation.
Which Commuting Operators Are Functions?
Section titled “Which Commuting Operators Are Functions?”Every commutes with , but the converse depends on degeneracy.
If has a nondegenerate finite spectrum, every operator satisfying is diagonal in the eigenbasis of . Assigning the corresponding diagonal value of to each eigenvalue of defines a function such that
If has degenerate eigenspaces, an operator commuting with may act nontrivially inside each eigenspace. A function cannot do that: it is a scalar multiple of the identity on every . Therefore
in a typical degenerate case.
This is the operator-algebra version of the statement that a single degenerate observable does not label a basis completely.
Every Finite Spectral Function Is a Polynomial
Section titled “Every Finite Spectral Function Is a Polynomial”Although may be nonanalytic or even discontinuous away from the spectrum, its values on a finite spectrum can always be interpolated by a polynomial. Define
These polynomials satisfy and
Consequently,
Thus every function of a finite-dimensional self-adjoint operator equals a polynomial in that operator of degree at most . This statement concerns agreement on the finite spectral set; it does not claim that the original scalar function is globally polynomial.
Polynomial and Power-Series Routes
Section titled “Polynomial and Power-Series Routes”For a polynomial
the spectral definition agrees with ordinary operator algebra:
If a power series for converges uniformly on the spectrum, then the same series may be applied to :
The spectral rule is more general. It defines discontinuous functions such as characteristic functions and sign functions, for which no globally convergent Taylor series is available. A series is therefore a computational route under appropriate convergence conditions, not the universal definition.
Positive Square Roots and Absolute Values
Section titled “Positive Square Roots and Absolute Values”Let be a positive self-adjoint operator. Since its spectrum is contained in , the nonnegative square-root function defines
In finite dimensions this is
It is the unique positive self-adjoint operator satisfying
The adjective positive removes the branch ambiguity. An operator can have other square roots, and a scalar square-root branch need not be defined on the spectrum of a general operator.
For self-adjoint , its absolute value is
Defining gives the bounded sign operator and the factorization
on . This is the self-adjoint case of polar decomposition.
Inverses, Reciprocals, and Zero
Section titled “Inverses, Reciprocals, and Zero”For a finite-dimensional operator,
exists exactly when no eigenvalue is zero. For a general self-adjoint operator, the bounded everywhere-defined inverse exists exactly when
The distinction between spectrum and point spectrum now matters. It is possible that even though is not an eigenvalue. In that case the reciprocal function may define a densely defined, unbounded inverse:
with a proper domain determined by square integrability near . The scalar function may be assigned any finite value at because the spectral projector of that singleton vanishes in this case.
If zero is an eigenvalue, no two-sided inverse exists on the full Hilbert space. The Moore–Penrose pseudoinverse instead uses
It annihilates the kernel. In infinite dimensions it can still be unbounded if nonzero spectral values accumulate at zero.
Exponentials and Unitary Groups
Section titled “Exponentials and Unitary Groups”For self-adjoint and real , the function has unit modulus. Therefore
is a bounded unitary operator on the whole Hilbert space, even when itself is unbounded. It satisfies
For a time-independent self-adjoint Hamiltonian,
Each energy sector acquires the phase . The dynamical meaning, continuity in , and generator relation belong to Unitary Time Evolution.
By contrast, for real need not be bounded when is unbounded. Its domain must then be determined from the spectral growth of .
A Useful Projector Identity
Section titled “A Useful Projector Identity”An orthogonal projector has spectrum contained in . Hence
For the exponential,
This identity is often faster than expanding the series. It follows equally from for every .
The Resolvent as a Function
Section titled “The Resolvent as a Function”For , the scalar function
is bounded on the spectrum. It defines the resolvent
For self-adjoint ,
The resolvent packages spectral and dynamical information, but its analytic structure and boundary values have their canonical treatment in Resolvent Operator.
Worked Example: Squaring Spin One
Section titled “Worked Example: Squaring Spin One”Let act in the spin-one space, with projectors , , and :
Applying gives
The outcomes of are and . For
their probabilities are
Squaring has merged the and sectors. Measuring cannot recover the sign of the original outcome.
Worked Example: Any Function of a Qubit Observable
Section titled “Worked Example: Any Function of a Qubit Observable”Write a Hermitian two-level operator as
For , define
The two eigenvalues and projectors are
Therefore every function of reduces to
Choosing yields
This is the spectral origin of the familiar Pauli-matrix exponential. If , then and simply .
Continuous Spectra and Spectral Integrals
Section titled “Continuous Spectra and Spectral Integrals”For a self-adjoint operator with projection-valued measure , the general definition is
This includes discrete, continuous, and mixed spectra in one expression. A bounded Borel function gives a bounded normal operator on all of . If is real-valued, is self-adjoint; if , it is positive.
The construction and the projection-valued measure are developed from the mathematical side in Spectral Theorem, Practical Version.
Natural Domain of an Unbounded Function
Section titled “Natural Domain of an Unbounded Function”For , define its scalar spectral measure by
If is unbounded, a vector belongs to exactly when
On this domain,
This formula explains exactly why rapid spectral growth shrinks the domain. It also shows why a bounded phase such as is harmless even when the generator is unbounded.
Position as a Multiplication Operator
Section titled “Position as a Multiplication Operator”On , the position operator acts as
Functional calculus acts pointwise in this particular representation:
with domain
For example,
Thus is strictly smaller than . Writing an extra power of an unbounded operator is not merely an algebraic change; it imposes a stronger condition on the state.
Commutation with Other Operators
Section titled “Commutation with Other Operators”In finite dimensions, implies
for every . For an unbounded self-adjoint , the reliable hypothesis is that bounded commutes with all spectral projectors of . Then bounded commutes with , while an unbounded also requires preservation of its domain.
For two unbounded self-adjoint operators, vanishing of a formal commutator on a small common domain is not enough. Strong commutation means that their spectral measures commute. Under that condition, bounded functions of the two operators commute as expected.
The familiar identity
is therefore valid for bounded commuting operators, and has an appropriate strong-commutation version for self-adjoint generators. It is generally false for noncommuting operators. The missing corrections are organized by product formulas or the Baker–Campbell–Hausdorff expansion, not by scalar algebra.
Positivity Does Not Make Every Function Operator Monotone
Section titled “Positivity Does Not Make Every Function Operator Monotone”For one fixed self-adjoint , the implication
is valid. A different statement compares two operators. From and an ordinary increasing scalar function , it does not generally follow that . Functions with that stronger property are called operator monotone, and they form a restricted class.
This distinction prevents scalar intuition from being applied to operators that do not share a spectral basis.
Branches and Singularities
Section titled “Branches and Singularities”Before applying a function, inspect it on the actual spectrum.
- The positive square root is canonical for a positive operator, but a square root of a general operator can depend on a branch and need not be unique.
- The logarithm requires a branch choice unless the spectral location supplies a canonical one. Zero is singular for .
- The reciprocal is bounded only when the spectrum stays a positive distance from zero.
- Characteristic functions are discontinuous but still define spectral projectors through the Borel functional calculus.
- Two scalar formulas that agree on define the same operator, even if they differ everywhere else.
Practical Workflow
Section titled “Practical Workflow”When an expression appears:
- Verify what operator is, including its domain and self-adjointness when the Hilbert space is infinite-dimensional.
- Identify the relevant spectrum or spectral projectors.
- Inspect on that spectrum: Is it real, bounded, singular, injective, or many-to-one?
- In finite dimensions, use or diagonalize once and transform back.
- For unbounded , state before manipulating products or sums.
- Interpret the spectral projectors of , especially any outcomes that have merged.
- Check algebraic limits such as , , or a short-time expansion when appropriate.
For large sparse matrices, explicit diagonalization may be the wrong numerical strategy. Krylov, polynomial, rational, and splitting methods are collected in Matrix Exponentials Numerically.
Common Mistakes
Section titled “Common Mistakes”- Applying entry by entry to an arbitrary matrix representation.
- Forgetting that degeneracy is carried by projectors onto whole eigenspaces.
- Assuming that a noninjective preserves all outcome information.
- Treating a Taylor series as the definition even when it does not converge on the spectrum.
- Writing merely because zero is not an eigenvalue; zero may still lie in the continuous spectrum.
- Calling every square root of a positive operator the positive square root.
- Ignoring the domain of , , or another unbounded function.
- Assuming without a commutation hypothesis.
- Assuming every scalar increasing function preserves operator order.
- Inferring that every operator commuting with a degenerate must equal .
- Using spectral-mapping formulas for discontinuous Borel functions without accounting for essential range.
- Forgetting that complex-valued generally makes normal rather than self-adjoint.
Scope and Canonical Boundaries
Section titled “Scope and Canonical Boundaries”This page is the canonical Core Formalism home for the physical meaning and working rules of .
- Spectral Decomposition constructs the projectors and proves the finite decomposition.
- Projectors develops projection geometry and sharp yes/no questions.
- Matrix Functions and Exponentials treats power series, Jordan blocks, and general finite matrices.
- Spectral Theorem, Practical Version develops projection-valued measures and the infinite-dimensional theorem.
- Hermitian vs Self-Adjoint Operators explains why self-adjointness, not formal Hermiticity alone, supports this calculus for observables.
- Unitary Time Evolution develops the dynamics generated by .
- Operator Representations compares abstract, matrix, and differential forms of the same operator.
Summary
Section titled “Summary”- Functional calculus acts on spectral values and preserves spectral subspaces.
- In finite dimensions, and every such function is a polynomial in on its finite spectrum.
- A noninjective function merges spectral sectors and coarse-grains the observable.
- Outcome probabilities transform by pushforward under .
- Positive square roots, unitary exponentials, reciprocals, projectors, and resolvents are all spectral functions.
- For unbounded , the integral of against the state’s spectral measure determines the operator domain.
- Scalar identities involving order, exponentials, inverses, or branches need operator-specific hypotheses.
References
Section titled “References”- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013, Chapters 7–11.
- G. Teschl, Mathematical Methods in Quantum Mechanics, 2nd ed., American Mathematical Society, 2014, Chapters 3–5; see the author-hosted online edition.
- M. Reed and B. Simon, Methods of Modern Mathematical Physics, Volume I: Functional Analysis, revised and enlarged ed., Academic Press, 1980, Chapters VII–VIII.
- N. J. Higham, Functions of Matrices: Theory and Computation, Society for Industrial and Applied Mathematics, 2008.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
Exercises
Section titled “Exercises”Exercise 1: Algebra of the spectral calculus
Section titled “Exercise 1: Algebra of the spectral calculus”Let . Prove directly that
Use the second identity to show that real-valued gives a self-adjoint operator.
Solution
Orthogonality gives
Because every spectral projector is self-adjoint,
If is real for every , then on the spectrum, so .
Exercise 2: Exponential of a projector
Section titled “Exercise 2: Exponential of a projector”For an orthogonal projector , derive and find its inverse. For which complex is the exponential unitary?
Solution
The eigenvalue-zero projector is , while the eigenvalue-one projector is . Therefore
Its inverse is
The operator is unitary exactly when , or .
Exercise 3: Coarse graining spin one
Section titled “Exercise 3: Coarse graining spin one”A normalized spin-one state has amplitudes , , and in the basis. Determine the spectral projectors and probabilities for . What information from a measurement has been lost?
Solution
The square maps and to , while it maps zero to zero. Hence
The probabilities are
The sign of the nonzero magnetic quantum number has been lost. No outcome of distinguishes from .
Exercise 4: Qubit functional formula
Section titled “Exercise 4: Qubit functional formula”Let with . Show that
Use the result to compute .
Solution
The projectors of are
and the eigenvalues of are . Therefore
For , , and , the two spectral values are equal:
Exercise 5: Interpolating an inverse
Section titled “Exercise 5: Interpolating an inverse”Suppose has distinct eigenvalues , , and . Find a polynomial of degree at most two that equals when evaluated at .
Solution
Seek satisfying
Solving gives
Thus
The equality is exact because the two scalar functions agree at every point of .
Exercise 6: A strict domain inclusion
Section titled “Exercise 6: A strict domain inclusion”On , let be multiplication by . Show that
can be normalized and belongs to but not to .
Solution
At large ,
so the normalization integral converges. For the tail of the norm integrand is
which is integrable. For , it is
which is not integrable. Therefore but .
Exercise 7: Reciprocal at continuous spectrum
Section titled “Exercise 7: Reciprocal at continuous spectrum”Let be multiplication by on . Explain why has no zero eigenvector but still has no bounded inverse. State the domain and action of its densely defined reciprocal.
Solution
A vector satisfying almost everywhere must vanish except possibly at the measure-zero point , so it represents the zero vector in . Thus .
Nevertheless, values of approach zero on sets of positive measure, so the reciprocal multiplier is unbounded and . Functional calculus gives
on the dense set of vectors satisfying
This domain is dense but is not the whole Hilbert space.
Exercise 8: Scalar monotonicity is not enough
Section titled “Exercise 8: Scalar monotonicity is not enough”Consider
Show that but . What does this say about the scalar function ?
Solution
Both and are positive. Moreover,
is positive semidefinite, so . But
Its determinant is , so it has one negative eigenvalue and is not positive. Therefore .
Although is increasing on , it is not operator monotone on that interval.