I'm stuck in the following problem, which I tried to outline in the title.
For starting, consider a spherical cavity with its oscillation modes (Spherical Bessel functions and Spherical Harmonics). Let's suppose that this cavity can communicate with a square cavity, with its proper oscillation modes (plane waves). It's axiomatic within quantum statistics that a wavefunction with defined energy corresponds to a single state (apart from spin-degeneracy considerations).However, it's not clear (for me), how this counting is maintained when a particle passes from a system to another. In other words, if we take somehow a boson from the Cartesian Box and throw it in the Spherical Box, could it be that the boson "pulverizes" into X bosons, X being different from 1? The problem should be possible to solve, because Spherical Waves and Plane Waves are both complete basis for functions over $R^3$. However, things seem not to be so straightforward, since Spherical Waves can be adequately normalized, while Plane Waves gives infinity after a volume integration.
Looking at the development of a spherical wave [Stratton, p. 417] :
$$\begin{equation} \label{eq:1} J_l (kr) Y_l^m (\theta,\phi) = \frac{{( -i)}^l}{(4\pi)} \int\limits_0^{2\pi} \int\limits_0^\pi e^{ikr\cos(\gamma)} Y_l^m (\alpha,\beta)\sin(\alpha)d\alpha d\beta \end{equation}$$
Being $\gamma$ the angle between the direction $(\theta,\phi)$ and the direction $(\alpha,\beta)$ , such that: $$ \cos(\gamma) = \sin(\theta)\sin(\alpha)\cos(\phi - \beta) + \cos(\theta)\cos(\alpha) $$
My idea was: multiply the first eq. for its complex conjugate, change the integration order, isolate the term which gives the modulus of the exponential, and take the rest, after integration over $\theta, \phi$ (not shown) as the measure of X:
$$ J_l (kr) J_l (kr) Y_l^m (\theta,\phi) \overline{{Y_l^m}}(\theta,\phi) = \frac{{( - 1)}^l}{(16 \pi^2 )} \int\limits_0^{\pi} \int\limits_0^{2\pi} \int\limits_0^{\pi} \int\limits_0^{2\pi} e^{ikr\cos(\gamma)} e^{ikr\cos(\gamma')} Y_l^m (\alpha,\beta) \overline{{Y_l^m}}(\alpha',\beta')\sin(\alpha')d\alpha'd\beta'\sin(\alpha) d\alpha d\beta $$
In order to do this, the angles $\gamma$ and $\gamma'$ (or their cosines) have to be equal (describing in fact a cone of axis ($\theta, \phi$)). This is equivalent to say that the four integration angles $\alpha, \beta, \alpha', \beta'$ are not independent, and one of them ($\beta$ seems the best choice) can be eliminated using the relation $\cos(\gamma)=\cos(\gamma')$. The calculations, unluckily, are quite cumbersome, with a plethora of trig and inverse functions nested together, so I was wondering if someone can see a better way, maybe by an appropriate change of variables. Thank you in advance.
Update: It could be that complicate angles formulas can be avoided with the following reasoning: the angles $\gamma$ and $\gamma'$ must be equal in order to "kill" the oscillations of the exponential term, but also the angles $\beta$ and $\beta'$ have to be equal for the same schema applied to the exponentials in ${Y_l^m}(\alpha,\beta)\overline{{Y_l^m}}(\alpha',\beta')$, so that at the end $\alpha=\alpha'$ and $\beta=\beta'$, and the integral reduces to: $$ J_l (kr) J_l (kr) Y_l^m (\theta,\phi) \overline{{Y_l^m}}(\theta,\phi) = \frac{{( - 1)}^l}{(16 \pi^2 )} \int\limits_0^{\pi} P_l^m (\cos({\alpha}))^2 \sin(\alpha) d\alpha $$ This object can be taken as a constant approximation of $J_l (kr) J_l (kr) Y_l^m (\theta,\phi) \overline{{Y_l^m}}(\theta,\phi)$ on $R^3$, being the identity of the two objects non rigorously shown.
Update: About the proposal given in answer n°1, that is , to use formula
$$ e^{ikr\cos(\theta)}=\sum\limits_{l=1}^\infty{(2l+1)(-i)^lJ_l(kr)P_l(\cos(\theta))} $$ Once taken the complex conjugate and multiplied, one gets: $$ 1 = \sum\limits_{l=1}^\infty{(2l+1)^2 J_l(kr)^2 P_l(\cos(\theta))^2} $$ Where I made use of the orthogonality relation for Bessel functions to reduce the double sum. Now, once integrated over $R^3$, but in practice one ends with $\infty= \infty$, which is surely correct, but not very useful.
@Emilio
) for me to get notified. This site isn't really a good fit for that sort of idle speculation - instead, pick a specific situation, do your best to analyze it, and then ask for help. $\endgroup$