The potential is given by:
$$V = \sum_{n=0}^{\infty} \left[a_n r^n +b_nr^{-(n+1)}\right] P_n(cos \theta) $$
I want to find potential for $r \geq a$ using th definition $I_n = \int_0^1 P_n(x) \space dx$.
The boundary conditions are:
- $V\rightarrow 0$ as $r\rightarrow \infty$
This is easy, it simply means $a_n = 0$, so $V = \sum_{n=0}^{\infty} b_nr^{-(n+1)} P_n(cos \theta)$
2 . At r = a, for $ 0 \leq \theta \leq \frac{\pi}{2} $, $V=1$ and for $ \frac{\pi}{2} < \theta \leq \pi $, $V=0$.
How do I even proceed?
The 2nd boundary condition specifies the potential distribution on the surface r = a. This distribution of two constant values in two halves could simply be described by a step function of the angle. Then you have for this an expression to solve.