In quantum physics, when working with a box potential, you can make things simpler by assuming that the box is actually a cube. In other words, L = L* _{x}* = L

*= L*

_{y}*. When the box is a cube, the equation for the energy becomes*

_{z}So, for example, the energy of the ground state, where *n** _{x}* =

*n*

*=*

_{y}*n*

*= 1, is given by the following, where E*

_{z}_{111}is the ground state:

Note that there's some degeneracy in the energies; for example, note that

So E_{211} = E_{121} = E_{112}, which means that the first excited state is threefold degenerate, matching the threefold equivalence in dimensions.

In general, when you have symmetry built into the physical layout (as you do when L = L* _{x}* = L

*= L*

_{y}*), you have degeneracy.*

_{z}The wave function for a cubic potential is also easier to manage than the wave function for a general box potential (where the sides aren't of the same length). Here's the wave function for a cubic potential:

So, for example, here's the wave function for the ground state