In this case the solution is
There are two sub cases that show up when roots differ by integer. First sub case is when the second solution \(y_{2}\) is obtained similar to how \(y_{1}\) is obtained. i.e. using standard Frobenius series but with the second root. The second sub case is the harder one, this is when \(y_{2}\) fails to be obtained using the standard method due to \(b_{N}\) being undefined where \(N\) is the difference between the roots. In this sub case we need to use a modified Frobenius series method where, which is explained more using examples below. Therefore for sub case one (called the good case) we have
Where \(C\) above come out to be zero (good case). Hence the above simplifies to
For the second subcase (called the bad case), \(C\) above is not zero. To determine if \(C=0\) or not, we first find all the \(a_{n}\), including \(a_{N}\) where \(N\) is difference between the roots. Then evaluate
And if this exists, then \(C=0\). In the above we have to keep \(a_{n}\left ( r\right ) \) as function of \(r\) in symbolic form to do this.