The orthogonality for Bessel functions is given by $\int_0 ^1 rJ_n(k_1r)J_n(k_2r) dr=0,\ (k_1 \neq k_2)\\ \neq 0, (k_1=k_2,\ J_n(k_1)=J_n(k_2)=0\ \mbox{or}\ J'_n(k_1)=J'_n(k_2)=0)$
This suggests a particular condition at the boundary $r=1$ for this orthogonality to hold. In case we have a different boundary condition for which $J_n(k_1,k_2) \neq 0\ \mbox{and}\ J_n'(k_1,k_2) \neq 0$, how do we establish an orthogonality condition for this case? How can we approach this problem?