I have a problem to resolve with the Finite Difference method in $[a,b]$: $$-\frac{d}{dx}(\alpha(x)\frac{du}{dx})= g(x),$$ with $\alpha(x) \in L^{\infty}$ continuous in $]a,c[$ and $]c,b[$ and discontinuous at $c$, $\alpha_{*}< \alpha(x)<\alpha_{**}$, $g \in L^2$, and $u \in C^4([a,b])$.
I want to resolve it with the FDM, I obtain a scheme on $]a,c[$ and $]c,b[$ but I don't know how to deal with the discontinuity at $c$. I take for my discretization $hc_{-}=\frac{c-a}{M+1}$ and $hc_{+}=\frac{b-c}{N+1}$ with $x_{i}^{-} = a+ihc_{-}$ and $x_{j}^{+}=c+jhc_{+}$. So I have for $1< i < M-1$ :$-\frac{\alpha_{i+1}(u_{i+1}-u_{i})}{hc_{-}^2}$ $\frac{-\alpha_{i-1}(u_{i}-u_{i-1})}{hc_{-}^2}$ for $]a,c[$ and for $M+1<i<N+M$: $-\frac{\alpha_{i+1}(u_{i+1}-u_{i})}{hc_{+}^2}$ $\frac{-\alpha_{i-1}(u_{i}-u_{i-1})}{hc_{+}^2}$ for $]c,b[$.
But i have no idea how to do for $x_M$, the point of discontinuity of the function $a$... Can you help me please ?