I have two functions $y_+,y_-$. The former is defined on $[L,\infty)$, the latter is defined on $[0,L]$, where $L>0$. I want them to both satisfy the following differential equation on their separate domains:
$$y''+\frac{1}{x}y'-y=0$$
I then want them to satisfy the system of boundary conditions:
$$\lim_{x \to \infty} y_+(x)=0 \\ y_+(L)=y_-(L) \\ y_+'(L)=y_+(L)-y_0 \\ y_-'(L)=y_0-y_-(L).$$
where $y_0$ is a parameter of indefinite sign. When I do this, $y_+$ is a multiple of the modified Bessel function of the second kind with imaginary argument $K_0$, while $y_-$ is a linear combination of $K_0$ and the modified Bessel function of the first kind with imaginary argument $I_0$. The first of these is fine; this happens in a nicer boundary condition that I've already handled as well.
My problem is the second one: the $K_0$ term in $y_-$ will have a logarithmic divergence at zero, which should not occur in my problem for physical reasons. The $I_0$ term, being bounded at zero, does not help us to remove it. Any idea how to fix this? If need be I can show my working, but it is mostly just awkward symbolic linear algebra for the system of boundary conditions, initially assuming $y_-$ and $y_+$ are combinations of $I_0$ and $K_0$.
If you want a linear combination of $I_0(x)$ and $K_0(x)$ to not have a singularity at $x=0$, the coefficient of $K_0(x)$ must be $0$. So $y_-(x) = c I_0(x)$, and the boundary condition at $x=L$ must have $y_-(L)/I_0(L) = {y'}_-(L)/I_0'(L)$.
EDIT:
Since $y_-(L) = y_+(L)$, your conditions on the derivatives become
$${y_-}'(L) = -{y_+}'(L) = y_-(L) - y_0$$
In particular, if $c \ne 0$ you need $$ \dfrac{K_0'(L)}{K_0(L)} = - \dfrac{I_0'(L)}{I_0(L)} $$ i.e. $$ \dfrac{K_1(L)}{K_0(L)} = \dfrac{I_1(L)}{I_0(L)} $$
Unfortunately, this seems to be impossible: $K_1(L) I_0(L) - K_0(L) I_1(L) > 0 $ for real $L$. The conclusion is that the only solution is the trivial one: $y_-(x) = 0$, $y_+(x) = 0$, $y_0 = 0$.