Skip to content

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

A=∑jajPj,A=\sum_j a_jP_j,

the defining rule is

f(A)=∑jf(aj)Pj.f(A)=\sum_j f(a_j)P_j.

This one construction gives precise meanings to A2A^2, A\sqrt A, A−1A^{-1}, e−iHt/ℏe^{-iHt/\hbar}, spectral projectors, and many other expressions used throughout quantum mechanics. When ff is real-valued, it also has a direct physical interpretation: measuring f(A)f(A) amounts to measuring AA and reporting the transformed outcome f(a)f(a).

The main object on this page is a self-adjoint operator AA. 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:

  • σ(A)\sigma(A) denotes the spectrum of AA.
  • A scalar function only needs to be specified on σ(A)\sigma(A); changing it away from the spectrum does not change f(A)f(A).
  • When ff is unbounded, the domain D(f(A))D(f(A)) 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.

Let A=A†A=A^\dagger act on a finite-dimensional Hilbert space. Write its spectral decomposition using the distinct eigenvalues a1,…,ara_1,\ldots,a_r:

A=∑j=1rajPj,PjPk=δjkPj,∑j=1rPj=I.\begin{aligned} A&=\sum_{j=1}^{r}a_jP_j,\\ P_jP_k&=\delta_{jk}P_j,\\ \sum_{j=1}^{r}P_j&=I. \end{aligned}

For any function ff defined on the finite set σ(A)\sigma(A), define

f(A)=∑j=1rf(aj)Pj.f(A)=\sum_{j=1}^{r}f(a_j)P_j.

If ∣aj,α⟩\lvert a_j,\alpha\rangle belongs to the eigenspace PjHP_j\mathcal H, then

f(A)∣aj,α⟩=f(aj)∣aj,α⟩.f(A)\lvert a_j,\alpha\rangle = f(a_j)\lvert a_j,\alpha\rangle.

The degeneracy label α\alpha is untouched. Functional calculus changes the spectral value attached to an eigenspace, not the vectors inside that eigenspace.

Distinct spectral sectors of an operator relabeled and merged by a function

Functional calculus retains each subspace PjHP_j\mathcal H while replacing aja_j by f(aj)f(a_j). If several values have the same image bb, the corresponding spectral projector of f(A)f(A) is their sum, such as Q1=P1+P2Q_1=P_1+P_2.

Suppose AA is diagonalized as

A=UDU†,D=diag⁡(a1,…,an).A=UDU^\dagger, \qquad D=\operatorname{diag}(a_1,\ldots,a_n).

Then

f(A)=Uf(D)U†,f(A)=Uf(D)U^\dagger,

where

f(D)=diag⁡(f(a1),…,f(an)).f(D)=\operatorname{diag} \bigl(f(a_1),\ldots,f(a_n)\bigr).

More generally, under a unitary change of representation,

A′=VAV†⟹f(A′)=Vf(A)V†.A'=VAV^\dagger \quad\Longrightarrow\quad f(A')=Vf(A)V^\dagger.

This covariance is the test that an operator construction is independent of a chosen basis.

Consider

A=(1111).A= \begin{pmatrix} 1&1\\ 1&1 \end{pmatrix}.

Applying x↦x2x\mapsto x^2 to each entry leaves this matrix unchanged. The operator square instead means composition:

A2=AA=(2222).A^2=AA = \begin{pmatrix} 2&2\\ 2&2 \end{pmatrix}.

Entrywise substitution depends on the displayed basis and usually does not represent any intrinsic function of the operator.

For finite-dimensional AA, or for bounded functions in the general spectral calculus, the map f↦f(A)f\mapsto f(A) preserves the ordinary algebra of scalar functions. For scalars α,β\alpha,\beta,

1(A)=I,id⁡(A)=A,(αf+βg)(A)=αf(A)+βg(A),(fg)(A)=f(A)g(A),f‾(A)=f(A)†,(g∘f)(A)=g(f(A)).\begin{aligned} 1(A)&=I,\\ \operatorname{id}(A)&=A,\\ (\alpha f+\beta g)(A) &=\alpha f(A)+\beta g(A),\\ (fg)(A)&=f(A)g(A),\\ \overline f(A)&=f(A)^\dagger,\\ (g\circ f)(A)&=g\bigl(f(A)\bigr). \end{aligned}

The product law follows immediately from orthogonality of the spectral projectors:

f(A)g(A)=∑j,kf(aj)g(ak)PjPk=∑jf(aj)g(aj)Pj=(fg)(A).\begin{aligned} f(A)g(A) &= \sum_{j,k}f(a_j)g(a_k)P_jP_k\\ &= \sum_j f(a_j)g(a_j)P_j\\ &=(fg)(A). \end{aligned}

Several useful tests follow:

  • If ff is real-valued on σ(A)\sigma(A), then f(A)f(A) is self-adjoint.
  • If f(a)≥0f(a)\geq0 on σ(A)\sigma(A), then f(A)f(A) is positive.
  • If ∣f(a)∣=1\lvert f(a)\rvert=1 on σ(A)\sigma(A), then f(A)f(A) is unitary.
  • Every f(A)f(A) commutes with AA and with every spectral projector PjP_j.

For unbounded ff and gg, these formulas acquire domain qualifications. One must not replace operator inclusions by equalities without checking the domains of the sums and products.

In finite dimensions, the spectral mapping rule is exact:

σ(f(A))=f(σ(A)).\sigma\bigl(f(A)\bigr)=f\bigl(\sigma(A)\bigr).

Repeated values are listed only once in the set on the right. The operator norm and kernel are

∥f(A)∥=max⁡a∈σ(A)∣f(a)∣,\lVert f(A)\rVert = \max_{a\in\sigma(A)}\lvert f(a)\rvert,

and

ker⁡f(A)=⨁a: f(a)=0PaH.\ker f(A) = \bigoplus_{a:\,f(a)=0}P_a\mathcal H.

For a bounded self-adjoint operator and continuous ff, 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.

Let bb be a distinct value of ff on σ(A)\sigma(A). The spectral projector of f(A)f(A) associated with bb is

Qb=∑a: f(a)=bPa.Q_b = \sum_{a:\,f(a)=b}P_a.

There are two qualitatively different cases.

Injective functions preserve all spectral labels

Section titled “Injective functions preserve all spectral labels”

If ff is one-to-one on σ(A)\sigma(A), every aa can be recovered from b=f(a)b=f(a). The observables AA and f(A)f(A) have the same spectral projectors, and there is a function hh on f(σ(A))f(\sigma(A)) such that

h(f(A))=A.h\bigl(f(A)\bigr)=A.

Thus f(A)f(A) contains exactly the same sharp spectral information as AA.

If f(aj)=f(ak)f(a_j)=f(a_k) for distinct eigenvalues, f(A)f(A) 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 AA.

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.

In this section, let ff be real-valued on σ(A)\sigma(A), so f(A)f(A) is again a self-adjoint observable. Let PA(Δ)P^A(\Delta) be the spectral projector of AA for a Borel set Δ⊆R\Delta\subseteq\mathbb R. The projection-valued measure of f(A)f(A) obeys

Pf(A)(Δ)=PA(f−1(Δ)).P^{f(A)}(\Delta) = P^A\bigl(f^{-1}(\Delta)\bigr).

For a state ρ\rho, define the outcome measure

μρA(Δ)=Tr⁡ ⁣[ρPA(Δ)].\mu_\rho^A(\Delta) = \operatorname{Tr}\!\left[ \rho P^A(\Delta) \right].

Then

μρf(A)(Δ)=μρA(f−1(Δ)).\mu_\rho^{f(A)}(\Delta) = \mu_\rho^A\bigl(f^{-1}(\Delta)\bigr).

In probability language, the distribution of f(A)f(A) is the pushforward of the distribution of AA under ff. In the finite discrete case,

Pr⁡(f(A)=b)=∑a: f(a)=bPr⁡(A=a).\Pr\bigl(f(A)=b\bigr) = \sum_{a:\,f(a)=b}\Pr(A=a).

Whenever the expectation is defined,

⟨f(A)⟩ρ=∫σ(A)f(λ) dμρA(λ).\langle f(A)\rangle_\rho = \int_{\sigma(A)}f(\lambda) \,d\mu_\rho^A(\lambda).

Powers give moments, so ⟨A2⟩\langle A^2\rangle and the variance are special cases of this rule. Their statistical interpretation is developed in Variance and Standard Deviation.

Every f(A)f(A) commutes with AA, but the converse depends on degeneracy.

If AA has a nondegenerate finite spectrum, every operator BB satisfying [A,B]=0[A,B]=0 is diagonal in the eigenbasis of AA. Assigning the corresponding diagonal value of BB to each eigenvalue of AA defines a function ff such that

B=f(A).B=f(A).

If AA has degenerate eigenspaces, an operator commuting with AA may act nontrivially inside each eigenspace. A function f(A)f(A) cannot do that: it is a scalar multiple of the identity on every PaHP_a\mathcal H. Therefore

{f(A)}⊊{B:[A,B]=0}\bigl\{f(A)\bigr\} \subsetneq \bigl\{B:[A,B]=0\bigr\}

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 ff may be nonanalytic or even discontinuous away from the spectrum, its values on a finite spectrum can always be interpolated by a polynomial. Define

ℓj(x)=∏k≠jx−akaj−ak.\ell_j(x) = \prod_{k\ne j} \frac{x-a_k}{a_j-a_k}.

These polynomials satisfy ℓj(ak)=δjk\ell_j(a_k)=\delta_{jk} and

Pj=ℓj(A).P_j=\ell_j(A).

Consequently,

f(A)=∑j=1rf(aj)ℓj(A).f(A) = \sum_{j=1}^{r}f(a_j)\ell_j(A).

Thus every function of a finite-dimensional self-adjoint operator equals a polynomial in that operator of degree at most r−1r-1. This statement concerns agreement on the finite spectral set; it does not claim that the original scalar function is globally polynomial.

For a polynomial

p(x)=∑n=0Ncnxn,p(x)=\sum_{n=0}^{N}c_nx^n,

the spectral definition agrees with ordinary operator algebra:

p(A)=∑n=0NcnAn.p(A)=\sum_{n=0}^{N}c_nA^n.

If a power series for ff converges uniformly on the spectrum, then the same series may be applied to AA:

f(A)=∑n=0∞cnAn.f(A)=\sum_{n=0}^{\infty}c_nA^n.

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.

Let BB be a positive self-adjoint operator. Since its spectrum is contained in [0,∞)[0,\infty), the nonnegative square-root function defines

B1/2=∫σ(B)λ dPB(λ).B^{1/2} = \int_{\sigma(B)}\sqrt{\lambda} \,dP^B(\lambda).

In finite dimensions this is

B1/2=∑jbj Pj.B^{1/2}=\sum_j\sqrt{b_j}\,P_j.

It is the unique positive self-adjoint operator satisfying

(B1/2)2=B.\bigl(B^{1/2}\bigr)^2=B.

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 AA, its absolute value is

∣A∣=(A2)1/2=∫σ(A)∣λ∣ dPA(λ).\lvert A\rvert = \bigl(A^2\bigr)^{1/2} = \int_{\sigma(A)}\lvert\lambda\rvert \,dP^A(\lambda).

Defining sgn⁡(0)=0\operatorname{sgn}(0)=0 gives the bounded sign operator and the factorization

A=sgn⁡(A)∣A∣A=\operatorname{sgn}(A)\lvert A\rvert

on D(A)D(A). This is the self-adjoint case of polar decomposition.

For a finite-dimensional operator,

A−1=∑j1ajPjA^{-1} = \sum_j\frac{1}{a_j}P_j

exists exactly when no eigenvalue is zero. For a general self-adjoint operator, the bounded everywhere-defined inverse exists exactly when

0∉σ(A).0\notin\sigma(A).

The distinction between spectrum and point spectrum now matters. It is possible that 0∈σ(A)0\in\sigma(A) even though 00 is not an eigenvalue. In that case the reciprocal function may define a densely defined, unbounded inverse:

A−1=∫σ(A)1λ dPA(λ),A^{-1} = \int_{\sigma(A)}\frac{1}{\lambda} \,dP^A(\lambda),

with a proper domain determined by square integrability near λ=0\lambda=0. The scalar function may be assigned any finite value at λ=0\lambda=0 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

f(λ)={1/λ,λ≠0,0,λ=0.f(\lambda) = \begin{cases} 1/\lambda,&\lambda\ne0,\\ 0,&\lambda=0. \end{cases}

It annihilates the kernel. In infinite dimensions it can still be unbounded if nonzero spectral values accumulate at zero.

For self-adjoint AA and real ss, the function e−isλe^{-is\lambda} has unit modulus. Therefore

e−isA=∫σ(A)e−isλ dPA(λ)e^{-isA} = \int_{\sigma(A)}e^{-is\lambda} \,dP^A(\lambda)

is a bounded unitary operator on the whole Hilbert space, even when AA itself is unbounded. It satisfies

e−isAe−itA=e−i(s+t)A,(e−isA)†=eisA.\begin{aligned} e^{-isA}e^{-itA}&=e^{-i(s+t)A},\\ \bigl(e^{-isA}\bigr)^\dagger&=e^{isA}. \end{aligned}

For a time-independent self-adjoint Hamiltonian,

U(t)=e−iHt/ℏ.U(t)=e^{-iHt/\hbar}.

Each energy sector acquires the phase e−iEt/ℏe^{-iEt/\hbar}. The dynamical meaning, continuity in tt, and generator relation belong to Unitary Time Evolution.

By contrast, esAe^{sA} for real ss need not be bounded when AA is unbounded. Its domain must then be determined from the spectral growth of esλe^{s\lambda}.

An orthogonal projector PP has spectrum contained in {0,1}\{0,1\}. Hence

f(P)=f(0)(I−P)+f(1)P.f(P)=f(0)(I-P)+f(1)P.

For the exponential,

eαP=I+(eα−1)P.e^{\alpha P} = I+\bigl(e^\alpha-1\bigr)P.

This identity is often faster than expanding the series. It follows equally from Pn=PP^n=P for every n≥1n\geq1.

For z∉σ(A)z\notin\sigma(A), the scalar function

fz(λ)=1z−λf_z(\lambda)=\frac{1}{z-\lambda}

is bounded on the spectrum. It defines the resolvent

RA(z)=(zI−A)−1=∫σ(A)1z−λ dPA(λ).\begin{aligned} R_A(z)&=(zI-A)^{-1}\\ &=\int_{\sigma(A)} \frac{1}{z-\lambda} \,dP^A(\lambda). \end{aligned}

For self-adjoint AA,

∥RA(z)∥=1dist⁡(z,σ(A)).\lVert R_A(z)\rVert = \frac{1}{\operatorname{dist} \bigl(z,\sigma(A)\bigr)}.

The resolvent packages spectral and dynamical information, but its analytic structure and boundary values have their canonical treatment in Resolvent Operator.

Let JzJ_z act in the spin-one space, with projectors P+P_+, P0P_0, and P−P_-:

Jz=ℏP+−ℏP−.J_z = \hbar P_+-\hbar P_-.

Applying f(mℏ)=m2ℏ2f(m\hbar)=m^2\hbar^2 gives

Jz2=ℏ2(P++P−).J_z^2 = \hbar^2(P_++P_-).

The outcomes of Jz2J_z^2 are 00 and ℏ2\hbar^2. For

∣ψ⟩=c+∣+1⟩+c0∣0⟩+c−∣−1⟩,\lvert\psi\rangle = c_+\lvert+1\rangle +c_0\lvert0\rangle +c_-\lvert-1\rangle,

their probabilities are

Pr⁡(Jz2=0)=∣c0∣2,Pr⁡(Jz2=ℏ2)=∣c+∣2+∣c−∣2.\begin{aligned} \Pr(J_z^2=0)&=\lvert c_0\rvert^2,\\ \Pr(J_z^2=\hbar^2) &=\lvert c_+\rvert^2+\lvert c_-\rvert^2. \end{aligned}

Squaring has merged the m=+1m=+1 and m=−1m=-1 sectors. Measuring Jz2J_z^2 cannot recover the sign of the original JzJ_z 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

A=a0I+a⋅σ.A=a_0I+\mathbf a\cdot\boldsymbol\sigma.

For r=∥a∥>0r=\lVert\mathbf a\rVert>0, define

N=a^⋅σ,N2=I.N=\widehat{\mathbf a}\cdot\boldsymbol\sigma, \qquad N^2=I.

The two eigenvalues and projectors are

a±=a0±r,P±=I±N2.a_\pm=a_0\pm r, \qquad P_\pm=\frac{I\pm N}{2}.

Therefore every function of AA reduces to

f(A)=f(a+)P++f(a−)P−=f(a+)+f(a−)2I+f(a+)−f(a−)2N.\begin{aligned} f(A) &=f(a_+)P_++f(a_-)P_-\\ &= \frac{f(a_+)+f(a_-)}{2}I\\ &\quad+ \frac{f(a_+)-f(a_-)}{2}N. \end{aligned}

Choosing f(x)=e−isxf(x)=e^{-isx} yields

e−isA=e−isa0[cos⁡(sr)I−isin⁡(sr)N].e^{-isA} = e^{-isa_0} \left[ \cos(sr)I-i\sin(sr)N \right].

This is the spectral origin of the familiar Pauli-matrix exponential. If r=0r=0, then A=a0IA=a_0I and simply f(A)=f(a0)If(A)=f(a_0)I.

For a self-adjoint operator with projection-valued measure PAP^A, the general definition is

f(A)=∫σ(A)f(λ) dPA(λ).f(A) = \int_{\sigma(A)}f(\lambda) \,dP^A(\lambda).

This includes discrete, continuous, and mixed spectra in one expression. A bounded Borel function gives a bounded normal operator on all of H\mathcal H. If ff is real-valued, f(A)f(A) is self-adjoint; if f≥0f\geq0, it is positive.

The construction and the projection-valued measure are developed from the mathematical side in Spectral Theorem, Practical Version.

For ∣ψ⟩∈H\lvert\psi\rangle\in\mathcal H, define its scalar spectral measure by

μψA(Δ)=⟨ψ∣PA(Δ)∣ψ⟩.\mu_\psi^A(\Delta) = \langle\psi\rvert P^A(\Delta) \lvert\psi\rangle.

If ff is unbounded, a vector ψ\psi belongs to D(f(A))D(f(A)) exactly when

∫σ(A)∣f(λ)∣2 dμψA(λ)<∞.\int_{\sigma(A)} \lvert f(\lambda)\rvert^2 \,d\mu_\psi^A(\lambda)<\infty.

On this domain,

∥f(A)ψ∥2=∫σ(A)∣f(λ)∣2 dμψA(λ).\lVert f(A)\psi\rVert^2 = \int_{\sigma(A)} \lvert f(\lambda)\rvert^2 \,d\mu_\psi^A(\lambda).

This formula explains exactly why rapid spectral growth shrinks the domain. It also shows why a bounded phase such as e−itλe^{-it\lambda} is harmless even when the generator AA is unbounded.

On L2(R)L^2(\mathbb R), the position operator acts as

(Qψ)(x)=xψ(x).(Q\psi)(x)=x\psi(x).

Functional calculus acts pointwise in this particular representation:

(f(Q)ψ)(x)=f(x)ψ(x),\bigl(f(Q)\psi\bigr)(x)=f(x)\psi(x),

with domain

D(f(Q))={ψ∈L2(R):fψ∈L2(R)}.D\bigl(f(Q)\bigr) = \left\{ \psi\in L^2(\mathbb R): f\psi\in L^2(\mathbb R) \right\}.

For example,

D(Q)={ψ:∫Rx2∣ψ(x)∣2dx<∞},D(Q2)={ψ:∫Rx4∣ψ(x)∣2dx<∞}.\begin{aligned} D(Q)&= \left\{\psi: \int_{\mathbb R}x^2\lvert\psi(x)\rvert^2dx<\infty \right\},\\ D(Q^2)&= \left\{\psi: \int_{\mathbb R}x^4\lvert\psi(x)\rvert^2dx<\infty \right\}. \end{aligned}

Thus D(Q2)D(Q^2) is strictly smaller than D(Q)D(Q). Writing an extra power of an unbounded operator is not merely an algebraic change; it imposes a stronger condition on the state.

In finite dimensions, [A,B]=0[A,B]=0 implies

[f(A),B]=0[f(A),B]=0

for every ff. For an unbounded self-adjoint AA, the reliable hypothesis is that bounded BB commutes with all spectral projectors of AA. Then bounded f(A)f(A) commutes with BB, while an unbounded f(A)f(A) 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

eA+B=eAeBe^{A+B}=e^Ae^B

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 AA, the implication

f(λ)≥0 on σ(A)⟹f(A)≥0f(\lambda)\geq0 \text{ on }\sigma(A) \quad\Longrightarrow\quad f(A)\geq0

is valid. A different statement compares two operators. From A≤BA\leq B and an ordinary increasing scalar function ff, it does not generally follow that f(A)≤f(B)f(A)\leq f(B). 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.

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 log⁡λ\log\lambda.
  • 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 σ(A)\sigma(A) define the same operator, even if they differ everywhere else.

When an expression f(A)f(A) appears:

  1. Verify what operator AA is, including its domain and self-adjointness when the Hilbert space is infinite-dimensional.
  2. Identify the relevant spectrum or spectral projectors.
  3. Inspect ff on that spectrum: Is it real, bounded, singular, injective, or many-to-one?
  4. In finite dimensions, use f(A)=∑af(a)Paf(A)=\sum_a f(a)P_a or diagonalize once and transform back.
  5. For unbounded ff, state D(f(A))D(f(A)) before manipulating products or sums.
  6. Interpret the spectral projectors of f(A)f(A), especially any outcomes that have merged.
  7. Check algebraic limits such as f(x)=xf(x)=x, f(x)=1f(x)=1, 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.

  • Applying ff entry by entry to an arbitrary matrix representation.
  • Forgetting that degeneracy is carried by projectors onto whole eigenspaces.
  • Assuming that a noninjective ff preserves all outcome information.
  • Treating a Taylor series as the definition even when it does not converge on the spectrum.
  • Writing A−1A^{-1} 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 A2A^2, esAe^{sA}, or another unbounded function.
  • Assuming eA+B=eAeBe^{A+B}=e^Ae^B without a commutation hypothesis.
  • Assuming every scalar increasing function preserves operator order.
  • Inferring that every operator commuting with a degenerate AA must equal f(A)f(A).
  • Using spectral-mapping formulas for discontinuous Borel functions without accounting for essential range.
  • Forgetting that complex-valued ff generally makes f(A)f(A) normal rather than self-adjoint.

This page is the canonical Core Formalism home for the physical meaning and working rules of f(A)f(A).

  • Functional calculus acts on spectral values and preserves spectral subspaces.
  • In finite dimensions, f(A)=∑af(a)Paf(A)=\sum_a f(a)P_a and every such function is a polynomial in AA on its finite spectrum.
  • A noninjective function merges spectral sectors and coarse-grains the observable.
  • Outcome probabilities transform by pushforward under ff.
  • Positive square roots, unitary exponentials, reciprocals, projectors, and resolvents are all spectral functions.
  • For unbounded ff, the integral of ∣f∣2\lvert f\rvert^2 against the state’s spectral measure determines the operator domain.
  • Scalar identities involving order, exponentials, inverses, or branches need operator-specific hypotheses.
  • 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.

Exercise 1: Algebra of the spectral calculus

Section titled “Exercise 1: Algebra of the spectral calculus”

Let A=∑jajPjA=\sum_j a_jP_j. Prove directly that

f(A)g(A)=(fg)(A),f(A)†=f‾(A).f(A)g(A)=(fg)(A), \qquad f(A)^\dagger=\overline f(A).

Use the second identity to show that real-valued ff gives a self-adjoint operator.

Solution

Orthogonality gives

f(A)g(A)=∑j,kf(aj)g(ak)PjPk=∑jf(aj)g(aj)Pj=(fg)(A).\begin{aligned} f(A)g(A) &=\sum_{j,k}f(a_j)g(a_k)P_jP_k\\ &=\sum_jf(a_j)g(a_j)P_j\\ &=(fg)(A). \end{aligned}

Because every spectral projector is self-adjoint,

f(A)†=∑jf(aj)‾Pj=f‾(A).f(A)^\dagger = \sum_j\overline{f(a_j)}P_j = \overline f(A).

If f(aj)f(a_j) is real for every jj, then f‾=f\overline f=f on the spectrum, so f(A)†=f(A)f(A)^\dagger=f(A).

For an orthogonal projector PP, derive eαPe^{\alpha P} and find its inverse. For which complex α\alpha is the exponential unitary?

Solution

The eigenvalue-zero projector is I−PI-P, while the eigenvalue-one projector is PP. Therefore

eαP=(I−P)+eαP=I+(eα−1)P.e^{\alpha P} =(I-P)+e^\alpha P =I+(e^\alpha-1)P.

Its inverse is

e−αP=I+(e−α−1)P.e^{-\alpha P} =I+(e^{-\alpha}-1)P.

The operator is unitary exactly when ∣eα∣=1\lvert e^\alpha\rvert=1, or Re⁡α=0\operatorname{Re}\alpha=0.

A normalized spin-one state has amplitudes c+c_+, c0c_0, and c−c_- in the JzJ_z basis. Determine the spectral projectors and probabilities for Jz2J_z^2. What information from a JzJ_z measurement has been lost?

Solution

The square maps +ℏ+\hbar and −ℏ-\hbar to ℏ2\hbar^2, while it maps zero to zero. Hence

Qℏ2=P++P−,Q0=P0.Q_{\hbar^2}=P_++P_-, \qquad Q_0=P_0.

The probabilities are

p(ℏ2)=∣c+∣2+∣c−∣2,p(0)=∣c0∣2.\begin{aligned} p(\hbar^2)&=\lvert c_+\rvert^2+\lvert c_-\rvert^2,\\ p(0)&=\lvert c_0\rvert^2. \end{aligned}

The sign of the nonzero magnetic quantum number has been lost. No outcome of Jz2J_z^2 distinguishes m=+1m=+1 from m=−1m=-1.

Let N=n^⋅σN=\widehat{\mathbf n}\cdot\boldsymbol\sigma with N2=IN^2=I. Show that

f(aI+rN)=f(a+r)+f(a−r)2I+f(a+r)−f(a−r)2N.\begin{aligned} f(aI+rN) &= \frac{f(a+r)+f(a-r)}{2}I\\ &\quad+ \frac{f(a+r)-f(a-r)}{2}N. \end{aligned}

Use the result to compute cos⁡(θN)\cos(\theta N).

Solution

The projectors of NN are

P±=I±N2,P_\pm=\frac{I\pm N}{2},

and the eigenvalues of aI+rNaI+rN are a±ra\pm r. Therefore

f+=f(a+r),f−=f(a−r),f_+=f(a+r), \qquad f_-=f(a-r), f(aI+rN)=f+P++f−P−=f++f−2I+f+−f−2N.\begin{aligned} f(aI+rN) &=f_+P_++f_-P_-\\ &= \frac{f_++f_-}{2}I\\ &\quad+ \frac{f_+-f_-}{2}N. \end{aligned}

For f(x)=cos⁡(θx)f(x)=\cos(\theta x), a=0a=0, and r=1r=1, the two spectral values are equal:

cos⁡(θN)=cos⁡θ I.\cos(\theta N)=\cos\theta\,I.

Suppose AA has distinct eigenvalues 11, 22, and 44. Find a polynomial of degree at most two that equals A−1A^{-1} when evaluated at AA.

Solution

Seek q(x)=ax2+bx+cq(x)=ax^2+bx+c satisfying

q(1)=1,q(2)=12,q(4)=14.q(1)=1, \qquad q(2)=\frac12, \qquad q(4)=\frac14.

Solving gives

a=18,b=−78,c=74.a=\frac18, \qquad b=-\frac78, \qquad c=\frac74.

Thus

A−1=q(A)=A2−7A+14I8.A^{-1} = q(A) = \frac{A^2-7A+14I}{8}.

The equality is exact because the two scalar functions agree at every point of σ(A)\sigma(A).

On L2(R)L^2(\mathbb R), let QQ be multiplication by xx. Show that

ψ(x)=C(1+∣x∣)2\psi(x)=\frac{C}{(1+\lvert x\rvert)^2}

can be normalized and belongs to D(Q)D(Q) but not to D(Q2)D(Q^2).

Solution

At large ∣x∣\lvert x\rvert,

∣ψ(x)∣2∼∣x∣−4,\lvert\psi(x)\rvert^2\sim\lvert x\rvert^{-4},

so the normalization integral converges. For QψQ\psi the tail of the norm integrand is

x2∣ψ(x)∣2∼∣x∣−2,x^2\lvert\psi(x)\rvert^2 \sim \lvert x\rvert^{-2},

which is integrable. For Q2ψQ^2\psi, it is

x4∣ψ(x)∣2∼1,x^4\lvert\psi(x)\rvert^2 \sim1,

which is not integrable. Therefore ψ∈D(Q)\psi\in D(Q) but ψ∉D(Q2)\psi\notin D(Q^2).

Exercise 7: Reciprocal at continuous spectrum

Section titled “Exercise 7: Reciprocal at continuous spectrum”

Let AA be multiplication by xx on L2([−1,1])L^2([-1,1]). Explain why AA has no zero eigenvector but still has no bounded inverse. State the domain and action of its densely defined reciprocal.

Solution

A vector satisfying xψ(x)=0x\psi(x)=0 almost everywhere must vanish except possibly at the measure-zero point x=0x=0, so it represents the zero vector in L2([−1,1])L^2([-1,1]). Thus ker⁡A={0}\ker A=\{0\}.

Nevertheless, values of xx approach zero on sets of positive measure, so the reciprocal multiplier is unbounded and 0∈σ(A)0\in\sigma(A). Functional calculus gives

(A−1ψ)(x)=ψ(x)x,\bigl(A^{-1}\psi\bigr)(x) = \frac{\psi(x)}{x},

on the dense set of vectors satisfying

∫−11∣ψ(x)∣2x2 dx<∞.\int_{-1}^{1} \frac{\lvert\psi(x)\rvert^2}{x^2} \,dx<\infty.

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

A=(1000),B=(2111).A= \begin{pmatrix} 1&0\\ 0&0 \end{pmatrix}, \qquad B= \begin{pmatrix} 2&1\\ 1&1 \end{pmatrix}.

Show that 0≤A≤B0\leq A\leq B but A2≰B2A^2\nleq B^2. What does this say about the scalar function f(x)=x2f(x)=x^2?

Solution

Both AA and BB are positive. Moreover,

B−A=(1111)B-A = \begin{pmatrix} 1&1\\ 1&1 \end{pmatrix}

is positive semidefinite, so A≤BA\leq B. But

B2−A2=(4332).B^2-A^2 = \begin{pmatrix} 4&3\\ 3&2 \end{pmatrix}.

Its determinant is 8−9=−18-9=-1, so it has one negative eigenvalue and is not positive. Therefore A2≰B2A^2\nleq B^2.

Although x2x^2 is increasing on [0,∞)[0,\infty), it is not operator monotone on that interval.