In quantum physics, you sometimes need to use spherical coordinates instead of rectangular coordinates. For example, say you have a 3D box potential, and suppose that the potential well that the particle is trapped in looks like this, which is suited to working with rectangular coordinates:
![image0.png](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be25_397013.image0.png)
Because you can easily break this potential down in the x, y, and z directions, you can break the wave function down that way, too, as you see here:
![image1.png](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be2e_397014.image1.png)
Solving for the wave function gives you the following normalized result in rectangular coordinates:
![image2.png](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be39_397015.image2.png)
The energy levels also break down into separate contributions from all three rectangular axes:
E = Ex + Ey + Ez
And solving for E gives you this equation:
![image3.png](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be36_397016.image3.png)
But what if the potential well a particle is trapped in has spherical symmetry, not rectangular? For example, what if the potential well were to look like this, where r is the radius of the particle's location with respect to the origin and where a is a constant?
![image4.png](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be43_397017.image4.png)
Clearly, trying to stuff this kind of problem into a rectangular-coordinates kind of solution is only asking for trouble, because although you can do it, it involves lots of sines and cosines and results in a pretty complex solution. A much better tactic is to solve this kind of a problem in the natural coordinate system in which the potential is expressed: spherical coordinates.
The following figure shows the spherical coordinate system along with the corresponding rectangular coordinates, x, y, and z.
![The spherical coordinate system.](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be3f_397018.image5.jpeg)
In the spherical coordinate system, you locate points with a radius vector named r, which has three components:
![image6.png](https://cdn.prod.website-files.com/6634a8f8dd9b2a63c9e6be83/669d4a60f18cae9e27e9be3c_397019.image6.png)