(We use here the "alternative origin" rather having the box centered on the origin.) As before we have the "boundary" condition that be zero in the infinitely disallowed region outside the box. Inside the box, where the potential is zero, we have the Schrödinger's equation:

Since the Hamiltonian is the sum of three terms with totally separate variables, we try a product wavefunction:

=*X(x)*·*Y(y)*·*Z(z)*

As usual with separation of variables, the Schrödinger's equation
separates into three terms, one only in *x*, the next only in
*y*, the last only in *z*:

These familiar differential equations have the usual solution:

Now we apply our boundary conditions

The resulting normalized wavefunctions are:

It is difficult to plot of the probability density in 3-d. Consider a typical
wavefunction: *n*_{x}=2, *n*_{y}=1, *n*_{z}=3,
in a box where (*L*_{x},*L*_{y},*L*_{z}) =
(3,1,2).
The probability density would be "diced" by nodal planes (i.e., planes on which
the probability density is zero). In between the nodal planes, there would
be local maxima for probability density. There would be one nodal plane
parallel to the *yz* plane dividing the box along the *x* axis
into two regions (*n*_{x}=2). There would be no nodal planes
parallel to the *xz* plane dividing the box along the *y* axis
as *n*_{y}=1. There would be two nodal plane
parallel to the *yz* plane dividing the box along the *z* axis
into three regions (*n*_{z}=3).
Click here for a virtual reality
tour of such nodal planes in such a transparent box.

It is often convenient to describe wavefunctions in terms
of "*k*-space" or "*n*-space", that is we label
wavefunctions by **k**=(*k*_{x},*k*_{y},*k*_{x})
vector or by **n**=(*n*_{x},*n*_{y},*n*_{z}).
In either case there is a lattice of points in the plane each one of which
represents a possible wavefunctions. In the case of *n*-space,
the lattice consists of those points with whole number
*x,y,z* values. In the case of *k*-space, the
lattice points are spaced by /*L*_{x},
/*L*_{y},/*L*_{z}.
(*k*-space goes by many different names.
The momentum **p**=**k** is closely
related to *k*, hence "momentum space". *k* is also
closed related to "reciprocal lattice space". Since
*k*=2/,
*k* is often called a "wave number" [danger: the same
thing without the 2 is also called
wave number].) The main idea for us is that
*E* |**k**|^{2}

Here is an energy level diagram showing the relationship
between **n**=(*n*_{x},*n*_{y},*n*_{z})
and the energy for a cube (*L*_{x}=*L*_{y}=*L*_{z})
square well.

Click here for a (fairly gratuitous) virtual reality
tour of the **n**-space lattice.

The red state (1,1,1) has the lowest energy followed by three sets of triplely degenerate states: orange (2,1,1), (1,2,1), (1,1,2); green (1,2,2), (2,1,2), (2,2,1); blue-green (3,1,1), (1,3,1), (1,1,3); a singlet: blue (2,2,2) and six degenerate violet states of the general form: (1,2,3). Note that higher energy states are further away from the origin.