Why is both a number and a wavefunction?
Dìguā’s question
While studying Dirac notation, Dìguā (地瓜) came across
and then the expansion of a quantum state
There are three things here that do not feel entirely natural.
First, looks like an inner product. Should an inner product not be just a real number? Why is it also called a wavefunction?
Second, even if is a number, why does the ket still appear inside the integral? An ordinary integral would seem to integrate numbers or functions, not abstract vectors.
Third, this integral looks very much like a Fourier transform. Is it performing a basis expansion, or is it performing a Fourier transform?
These confusions are not merely matters of notation. Dirac notation compresses the “abstract quantum state,” the “basis,” and the “wavefunction” into very short expressions, while also concealing some of the distributional details involved in a continuous basis.
The shortest answer
For a fixed , is a complex number; as varies continuously, this entire collection of complex numbers forms a complex-valued function .
is a ket in a continuous basis, while is the complex coefficient in front of it. The integral
is the continuous version of a linear combination of vectors, and the result of the integral is still a ket.
This integral is not itself a Fourier transform. A Fourier transform appears only when the coefficients in the position representation are converted into coefficients in the momentum representation.
How can a number also be a function?
First consider a finite-dimensional vector space. Let be an orthonormal basis. Then the th component of the vector is
For a fixed , is only a number; when runs through all possible values, forms a list of coordinates.
The only difference in the position representation is that the discrete index is replaced by the continuous index . Thus,
For a fixed , is a complex number; as varies continuously, the map
is a complex-valued function. This is entirely analogous to how every term in a sequence is a number, while the sequence as a whole is not a single number.
Therefore, the following two statements are both correct:
- For a fixed , ;
- For all , defines the wavefunction .
Why is an inner product not necessarily real?
Only the inner product of a vector with itself,
is guaranteed to be a nonnegative real number. The inner product between two different vectors,
is generally complex. There is therefore no reason for to be real.
Nor is the probability of a position measurement itself. Rather, it is
This represents the probability of finding the particle in the interval . is a probability amplitude, not a probability.
Is a wavefunction?
is not itself any particular wavefunction. It is an abstract position eigenket satisfying
A ket becomes a function in a given representation only after it is projected onto a chosen basis.
To avoid mixing up two different uses of , fix a position . The wavefunction of the position eigenstate in the position representation is
The wavefunction of the same ket in the momentum representation is instead
Thus, the relationship between a ket and a wavefunction is this: the ket is an abstract vector, while the wavefunction is the coordinate representation of that vector in a chosen basis.
Why can a ket appear inside an integral?
A finite-dimensional vector can be written as
Each term is “a complex number multiplied by a basis vector,” so every term is still a vector. Adding together all the vector components recovers the complete vector.
The position basis is labelled by the continuous parameter , so the discrete sum becomes an integral:
Here, is a ket-valued expression. The integral can be understood as a continuous linear combination, or as a vector-valued integral. Its Riemann-sum intuition is to add together many kets with different weights and then take the continuous limit.
Ordinary mathematics also allows vectors to be integrated. For example,
still produces a vector. Integrating kets uses the same idea.
Formally, can be viewed as an infinitesimal ket component contributed to the complete quantum state by the position interval .
How can we confirm that this integral really reconstructs ?
The continuous position basis satisfies the completeness relation
To check this, multiply from the left by an arbitrary position bra :
The ket produced by the integral and the original state have the same component at every element of the position basis, so they are the same state.
Why does this notation still feel slightly “improper”?
There is a mathematical reason for this feeling. Strictly speaking, an exact position eigenstate is not an ordinary, normalisable Hilbert-space vector, because
is a generalised eigenvector with distributional properties. Therefore,
is a generalised completeness relation. A more rigorous treatment requires a rigged Hilbert space or the spectral theorem.
Likewise, the individual is not a well-behaved ordinary operator in the way a projector in a discrete basis is. The proper expression for projection onto a position interval is
Thus, Dìguā’s feeling that “having a ket inside an integral is strange” does not mean that he has failed to understand the notation. Here, Dirac notation really does conceal technical details involving distributions.
Is this integral a Fourier transform?
The expression
is not itself a Fourier transform. It reconstructs the abstract quantum state in the position basis.
If we project from the left onto the momentum basis, we obtain
This is the Fourier transform from the position wavefunction to the momentum wavefunction, with as the transformation kernel.
The distinction between the two operations is therefore:
- reconstructs the abstract ket from its position components;
- converts position components into momentum components.
Wavefunctions under unitary transformations
In Dirac notation, the position wavefunction is written as
If the same unitary transformation acts simultaneously on both the quantum state and its corresponding basis,
then
The point is not that the graph of the wavefunction has not moved, but that a unitary transformation preserves inner products: the probability amplitude is the same at corresponding points before and after the translation.
If the original position basis is held fixed and only the quantum state is translated, then a translation to the right by gives
The following two comparisons are therefore not contradictory:
- compares the same coordinate label ;
- compares corresponding points before and after the translation, where .
The final understanding
Dìguā can compress the whole matter into three sentences:
- For a fixed , is a complex number; as varies, it is the position wavefunction.
- is a continuous-basis ket, and is its complex weight; integrating continuously adds together vector components.
- A ket is an abstract quantum state; a wavefunction is the coordinate representation of that ket in a chosen basis.
Translated from the original with GPT-5 on 06/09/2026. If the versions differ, the original prevails.