Generalization of the results for a two-dimensional square box to a three-dimensional cubic box is straightforward. Since we live in a three-dimensional world, this generalization is an important one, and we need to be able to think about energy levels and wave functions in three dimensions. The potential energy
for the cubic box is defined to be 0 if
,
and
and infinite otherwise. This means that the wave function
must satisfy six boundary conditions
,
,
,
,
and
.
We first note that the classical energy is the sum of three terms
where

,

and

are the three components of the particle's momentum vector

. Thus, we can write the energy as
corresponding to the kinetic energy in the

,

and

directions. Because the energy is a simple sum of energies for the

,

and

directions, the wave function will be a product of wave function forms for the one-dimensional box, and in order to satisfy the first three of the boundary conditions, we can take the

functions:
As in the two-dimensional case, applying second three boundary conditions yields the allowed values of

,

and

, which now require three integers

,

and

:
so that the allowed values of the total energy are
and the wave functions become
The constant

is determined from the normalization condition
Thus, the wave functions are
As with the two-dimensional box, the three integers

,

and

are restricted to the natural numbers 1,2,3,.... Thus, the lowest energy or ground-state energy is
Visualizing the wave functions is tricky because of their high dimensionality. The most common method of visualizing functions of three variables is the use of an isosurface. An isosurface of a function
is the complete set of points
,
, and
for which
, where
is a chosen constant. Hence the name isosurface - the value of the function
is the same at all points on the surface.
For wave functions, where the sign can be positive or negative, it is useful to base the value of
not on the wave function value but rather on the probability density
. The figure below shows two isosurfaces of the wave function
. The first occurs at a probability density value of 0.64 and the other occurs at 0.04. These value then imply that the wave function can have a fixed positive or negative value along the surface. In one case,
, while in the other,
.
Figure: Isosurfaces of
at probability density values of 0.64 and 0.04. Red is positive and blue is negative. |
As in the two-dimensional case, the fact that the wave function
is a product
means that the probabilities can be calculated from products of one-dimensional integrals. The probability that a measurement of a particle's position yields a value
![$x\in[a,b]$](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_tUxk2K2IclUqlyE7EHKfE9KMqYEprgUXP3ro_xPuJqCmimwUfTvzYjtbp13OmB6q1UjT0f3bywaCC6dV5qDnTPj1c32N0HVCiVlJDv5_RZozt-E6Shl54tXbJaME8iNWH-VQzWRrVMjr0C8USlOV7n=s0-d)
,
![$y\in[c,d]$](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_sAvBrBS_CUd6Dh1NalIAHLVy3YtWfy8kbIOEpNCWClCKMvqgGof4KhKNNV9BxZFgyFd_DCtwecS6wZkZ4fyMQNjiCp8FwdAmh05kkEOa0cUWw7MrpL2VAGgL4ofAmjMRU9-3Djk7E9fM1ivsfYPzYQ=s0-d)
and
![$z\in[f,g]$](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_uWDbyYefKrzWyBd80izD0_duUEzEHVt8ouHWoEGC9LYeAmHlfBcBBX64YUtWmUmGlzX0YuiYmSIvIX0JXqIf5_l5VcDcZrROPxvhYzqYt7jwqi-khj2fdaXW7U7AqgXbeDdcifJ_SMSP2Tthc2Nn6v3A=s0-d)
is