# Ordinary Differential Equations/Frobenius Solution to the Hypergeometric Equation

In the following we solve the second-order differential equation called the hypergeometric differential equation using Frobenius method, named after Ferdinand Georg Frobenius. This is a method that uses the series solution for a differential equation, where we assume the solution takes the form of a series. This is usually the method we use for complicated ordinary differential equations.

The solution of the hypergeometric differential equation is very important. For instance, Legendre's differential equation can be shown to be a special case of the hypergeometric differential equation. Hence, by solving the hypergeometric differential equation, one may directly compare its solutions to get the solutions of Legendre's differential equation, after making the necessary substitutions. For more details, please check the hypergeometric differential equation.

We shall prove that this equation has three singularities, namely at x = 0, x = 1 and around x = infinity. However, as these will turn out to be regular singular points, we will be able to assume a solution on the form of a series. Since this is a second-order differential equation, we must have two linearly independent solutions.

The problem however will be that our assumed solutions may or not be independent, or worse, may not even be defined (depending on the value of the parameters of the equation). This is why we shall study the different cases for the parameters and modify our assumed solution accordingly.

## The equation

Solve the hypergeometric equation around all singularities:

${\displaystyle x(1-x)y''+\left\{\gamma -(1+\alpha +\beta )x\right\}y'-\alpha \beta y=0}$

## Solution around x = 0

Let

{\displaystyle {\begin{aligned}P_{0}(x)&=-\alpha \beta ,\\P_{1}(x)&=\gamma -(1+\alpha +\beta )x,\\P_{2}(x)&=x(1-x)\end{aligned}}}

Then

${\displaystyle P_{2}(0)=P_{2}(1)=0.}$

Hence, x = 0 and x = 1 are singular points. Let's start with x = 0. To see if it is regular, we study the following limits:

{\displaystyle {\begin{aligned}\lim _{x\to a}{\frac {(x-a)P_{1}(x)}{P_{2}(x)}}&=\lim _{x\to 0}{\frac {(x-0)(\gamma -(1+\alpha +\beta )x)}{x(1-x)}}=\lim _{x\to 0}{\frac {x(\gamma -(1+\alpha +\beta )x)}{x(1-x)}}=\gamma \\\lim _{x\to a}{\frac {(x-a)^{2}P_{0}(x)}{P_{2}(x)}}&=\lim _{x\to 0}{\frac {(x-0)^{2}(-\alpha \beta )}{x(1-x)}}=\lim _{x\to 0}{\frac {x^{2}(-\alpha \beta )}{x(1-x)}}=0\end{aligned}}}

Hence, both limits exist and x = 0 is a regular singular point. Therefore, we assume the solution takes the form

${\displaystyle y=\sum _{r=0}^{\infty }a_{r}x^{r+c}}$

with a0 ≠ 0. Hence,

{\displaystyle {\begin{aligned}y'&=\sum _{r=0}^{\infty }a_{r}(r+c)x^{r+c-1}\\y''&=\sum _{r=0}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c-2}.\end{aligned}}}

Substituting these into the hypergeometric equation, we get

${\displaystyle x\sum _{r=0}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c-2}-x^{2}\sum _{r=0}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c-2}+\gamma \sum _{r=0}^{\infty }a_{r}(r+c)x^{r+c-1}-(1+\alpha +\beta )x\sum _{r=0}^{\infty }a_{r}(r+c)x^{r+c-1}-\alpha \beta \sum _{r=0}^{\infty }a_{r}x^{r+c}=0}$

That is,

${\displaystyle \sum _{r=0}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c-1}-\sum _{r=0}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c}+\gamma \sum _{r=0}^{\infty }a_{r}(r+c)x^{r+c-1}-(1+\alpha +\beta )\sum _{r=0}^{\infty }a_{r}(r+c)x^{r+c}-\alpha \beta \sum _{r=0}^{\infty }a_{r}x^{r+c}=0}$

In order to simplify this equation, we need all powers to be the same, equal to r + c − 1, the smallest power. Hence, we switch the indices as follows:

{\displaystyle {\begin{aligned}&\sum _{r=0}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c-1}-\sum _{r=1}^{\infty }a_{r-1}(r+c-1)(r+c-2)x^{r+c-1}+\gamma \sum _{r=0}^{\infty }a_{r}(r+c)x^{r+c-1}\\&\qquad -(1+\alpha +\beta )\sum _{r=1}^{\infty }a_{r-1}(r+c-1)x^{r+c-1}-\alpha \beta \sum _{r=1}^{\infty }a_{r-1}x^{r+c-1}=0\end{aligned}}}

Thus, isolating the first term of the sums starting from 0 we get

{\displaystyle {\begin{aligned}&a_{0}(c(c-1)+\gamma c)x^{c-1}+\sum _{r=1}^{\infty }a_{r}(r+c)(r+c-1)x^{r+c-1}-\sum _{r=1}^{\infty }a_{r-1}(r+c-1)(r+c-2)x^{r+c-1}\\&\qquad +\gamma \sum _{r=1}^{\infty }a_{r}(r+c)x^{r+c-1}-(1+\alpha +\beta )\sum _{r=1}^{\infty }a_{r-1}(r+c-1)x^{r+c-1}-\alpha \beta \sum _{r=1}^{\infty }a_{r-1}x^{r+c-1}=0\end{aligned}}}

Now, from the linear independence of all powers of x, that is, of the functions 1, x, x2, etc., the coefficients of xk vanish for all k. Hence, from the first term, we have

${\displaystyle a_{0}(c(c-1)+\gamma c)=0}$

which is the indicial equation. Since a0 ≠ 0, we have

${\displaystyle c(c-1+\gamma )=0.}$

Hence,

${\displaystyle c_{1}=0,c_{2}=1-\gamma }$

Also, from the rest of the terms, we have

${\displaystyle ((r+c)(r+c-1)+\gamma (r+c))a_{r}+(-(r+c-1)(r+c-2)-(1+\alpha +\beta )(r+c-1)-\alpha \beta )a_{r-1}=0}$

Hence,

{\displaystyle {\begin{aligned}a_{r}&={\frac {(r+c-1)(r+c-2)+(1+\alpha +\beta )(r+c-1)+\alpha \beta }{(r+c)(r+c-1)+\gamma (r+c)}}a_{r-1}\\&={\frac {(r+c-1)(r+c+\alpha +\beta -1)+\alpha \beta }{(r+c)(r+c+\gamma -1)}}a_{r-1}\end{aligned}}}

But

{\displaystyle {\begin{aligned}(r+c-1)(r+c+\alpha +\beta -1)+\alpha \beta &=(r+c-1)(r+c+\alpha -1)+(r+c-1)\beta +\alpha \beta \\&=(r+c-1)(r+c+\alpha -1)+\beta (r+c+\alpha -1)\end{aligned}}}

Hence, we get the recurrence relation

${\displaystyle a_{r}={\frac {(r+c+\alpha -1)(r+c+\beta -1)}{(r+c)(r+c+\gamma -1)}}a_{r-1},{\text{ for }}r\geq 1.}$

Let's now simplify this relation by giving ar in terms of a0 instead of ar−1. From the recurrence relation (note: below, expressions of the form (u)r refer to the Pochhammer symbol).

{\displaystyle {\begin{aligned}a_{1}&={\frac {(c+\alpha )(c+\beta )}{(c+1)(c+\gamma )}}a_{0}\\a_{2}&={\frac {(c+\alpha +1)(c+\beta +1)}{(c+2)(c+\gamma +1)}}a_{1}={\frac {(c+\alpha +1)(c+\alpha )(c+\beta )(c+\beta +1)}{(c+2)(c+1)(c+\gamma )(c+\gamma +1)}}a_{0}={\frac {(c+\alpha )_{2}(c+\beta )_{2}}{(c+1)_{2}(c+\gamma )_{2}}}a_{0}\\a_{3}&={\frac {(c+\alpha +2)(c+\beta +2)}{(c+3)(c+\gamma +2)}}a_{2}={\frac {(c+\alpha )_{2}(c+\alpha +2)(c+\beta )_{2}(c+\beta +2)}{(c+1)_{2}(c+3)(c+\gamma )_{2}(c+\gamma +2)}}a_{0}={\frac {(c+\alpha )_{3}(c+\beta )_{3}}{(c+1)_{3}(c+\gamma )_{3}}}a_{0}\end{aligned}}}

As we can see,

${\displaystyle a_{r}={\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}(c+\gamma )_{r}}}a_{0},{\text{ for }}r\geq 0}$

Hence, our assumed solution takes the form

${\displaystyle y=a_{0}\sum _{r=0}^{\infty }{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}(c+\gamma )_{r}}}x^{r+c}.}$

We are now ready to study the solutions corresponding to the different cases for c1 − c2 = γ − 1 (this reduces to studying the nature of the parameter γ: whether it is an integer or not).

## Analysis of the solution in terms of the difference γ − 1 of the two roots

### γ not an integer

Then y1 = y|c = 0 and y2 = y|c = 1 − γ. Since

${\displaystyle y=a_{0}\sum _{r=0}^{\infty }{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}(c+\gamma )_{r}}}x^{r+c},}$

we have

{\displaystyle {\begin{aligned}y_{1}&=a_{0}\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(1)_{r}(\gamma )_{r}}}x^{r}=a_{0}\cdot {{}_{2}F_{1}}(\alpha ,\beta ;\gamma ;x)\\y_{2}&=a_{0}\sum _{r=0}^{\infty }{\frac {(\alpha +1-\gamma )_{r}(\beta +1-\gamma )_{r}}{(1-\gamma +1)_{r}(1-\gamma +\gamma )_{r}}}x^{r+1-\gamma }\\&=a_{0}x^{1-\gamma }\sum _{r=0}^{\infty }{\frac {(\alpha +1-\gamma )_{r}(\beta +1-\gamma )_{r}}{(1)_{r}(2-\gamma )_{r}}}x^{r}\\&=a_{0}x^{1-\gamma }{{}_{2}F_{1}}(\alpha -\gamma +1,\beta -\gamma +1;2-\gamma ;x)\end{aligned}}}

Hence, ${\displaystyle y=A'y_{1}+B'y_{2}.}$ Let A′ a0 = a and Ba0 = B. Then

${\displaystyle y=A{{}_{2}F_{1}}(\alpha ,\beta ;\gamma ;x)+Bx^{1-\gamma }{{}_{2}F_{1}}(\alpha -\gamma +1,\beta -\gamma +1;2-\gamma ;x)\,}$

### γ = 1

Then y1 = y|c = 0. Since γ = 1, we have

${\displaystyle y=a_{0}\sum _{r=0}^{\infty }{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}x^{r+c}.}$

Hence,

{\displaystyle {\begin{aligned}y_{1}&=a_{0}\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(1)_{r}(1)_{r}}}x^{r}=a_{0}{{}_{2}F_{1}}(\alpha ,\beta ;1;x)\\y_{2}&=\left.{\frac {\partial y}{\partial c}}\right|_{c=0}.\end{aligned}}}

To calculate this derivative, let

${\displaystyle M_{r}={\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}.}$

Then

${\displaystyle \ln(M_{r})=\ln \left({\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}\right)=\ln(c+\alpha )_{r}+\ln(c+\beta )_{r}-2\ln(c+1)_{r}}$

But

${\displaystyle \ln(c+\alpha )_{r}=\ln \left((c+\alpha )(c+\alpha +1)\cdots (c+\alpha +r-1)\right)=\sum _{k=0}^{r-1}\ln(c+\alpha +k).}$

Hence,

{\displaystyle {\begin{aligned}\ln(M_{r})&=\sum _{k=0}^{r-1}\ln(c+\alpha +k)+\sum _{k=0}^{r-1}\ln(c+\beta +k)-2\sum _{k=0}^{r-1}\ln(c+1+k)\\&=\sum _{k=0}^{r-1}\left(\ln(c+\alpha +k)+\ln(c+\beta +k)-2\ln(c+1+k)\right)\end{aligned}}}

Differentiating both sides of the equation with respect to c, we get:

${\displaystyle {\frac {1}{M_{r}}}{\frac {\partial M_{r}}{\partial c}}=\sum _{k=0}^{r-1}\left({\frac {1}{c+\alpha +k}}+{\frac {1}{c+\beta +k}}-{\frac {2}{c+1+k}}\right).}$

Hence,

${\displaystyle {\frac {\partial M_{r}}{\partial c}}={\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}\sum _{k=0}^{r-1}\left({\frac {1}{c+\alpha +k}}+{\frac {1}{c+\beta +k}}-{\frac {2}{c+1+k}}\right).}$

Now,

${\displaystyle y=a_{0}x^{c}\sum _{r=0}^{\infty }{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}x^{r}=a_{0}x^{c}\sum _{r=0}^{\infty }M_{r}x^{r}.}$

Hence,

{\displaystyle {\begin{aligned}{\frac {\partial y}{\partial c}}&=a_{0}x^{c}\ln(x)\sum _{r=0}^{\infty }{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}x^{r}+a_{0}x^{c}\sum _{r=0}^{\infty }\left({\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r}^{2}}}\left\{\sum _{k=0}^{r-1}\left({\frac {1}{c+\alpha +k}}+{\frac {1}{c+\beta +k}}-{\frac {2}{c+1+k}}\right)\right\}\right)x^{r}\\&=a_{0}x^{c}\sum _{r=0}^{\infty }{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r})^{2}}}\left(\ln x+\sum _{k=0}^{r-1}\left({\frac {1}{c+\alpha +k}}+{\frac {1}{c+\beta +k}}-{\frac {2}{c+1+k}}\right)\right)x^{r}.\end{aligned}}}

For c = 0, we get

${\displaystyle y_{2}=a_{0}\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(1)_{r}^{2}}}\left(\ln x+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\beta +k}}-{\frac {2}{1+k}}\right)\right)x^{r}.}$

Hence, y = Cy1 + Dy2. Let Ca0 = C and Da0 = D. Then

${\displaystyle y=C{{}_{2}F_{1}}(\alpha ,\beta ;1;x)+D\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(1)_{r}^{2}}}\left(\ln(x)+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\beta +k}}-{\frac {2}{1+k}}\right)\right)x^{r}}$

### γ an integer and γ ≠ 1

#### γ ≤ 0

The value of ${\displaystyle \gamma }$ is ${\displaystyle \gamma =0,-1,-2,\cdots }$. To begin with, we shall simplify matters by concentrating a particular value of ${\displaystyle \gamma }$ and generalise the result at a later stage. We shall use the value ${\displaystyle \gamma =-2}$. The indicial equation has a root at ${\displaystyle c=0}$, and we see from the recurrence relation

${\displaystyle a_{r}={\frac {(r+c+\alpha -1)(r+c+\beta -1)}{(r+c)(r+c-3)}}a_{r-1},}$

that when ${\displaystyle r=3}$ that that denominator has a factor ${\displaystyle c}$ which vanishes when ${\displaystyle c=0}$. In this case, a solution can be obtained by putting ${\displaystyle a_{0}=b_{0}c}$ where ${\displaystyle b_{0}}$ is a constant.

With this substitution, the coefficients of ${\displaystyle x^{r}}$ vanish when ${\displaystyle c=0}$ and ${\displaystyle r<3}$. The factor of ${\displaystyle c}$ in the denominator of the recurrence relation cancels with that of the numerator when ${\displaystyle r\geq 3}$. Hence, our solution takes the form

${\displaystyle y_{1}={\frac {b_{0}}{(-2)\times (-1)}}\left({\frac {(\alpha )_{3}(\beta )_{3}}{(3!0!}}x^{3}+{\frac {(\alpha )_{4}(\beta )_{4}}{4!1!}}x^{4}+{\frac {(\alpha )_{5}(\beta )_{5}}{5!2!}}x^{5}+\cdots \right)}$

${\displaystyle ={\frac {b_{0}}{(-2)_{2}}}\sum _{r=3}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{r!(r-3)!}}x^{r}={\frac {b_{0}}{(-2)_{2}}}{\frac {(\alpha )_{3}(\beta )_{3}}{3!}}\sum _{r=3}^{\infty }{\frac {(\alpha +3)_{r-3}(\beta +3)_{r-3}}{(1+3)_{r-3}(r-3)!}}x^{r}.}$

If we start the summation at ${\displaystyle r=0}$ rather than ${\displaystyle r=3}$ we see that

${\displaystyle y_{1}=b_{0}{\frac {(\alpha )_{3}(\beta )_{3}}{(-2)_{2}\times 3!}}x^{3}{_{2}F_{1}}(\alpha +3,\beta +3;(1+3);x).}$

The result (as we have written it) generalises easily. For ${\displaystyle \gamma =1+m}$, with ${\displaystyle m=1,2,3,\cdots }$ then

${\displaystyle y_{1}=b_{0}{\frac {(\alpha )_{m}(\beta )_{m}}{(1-m)_{m-1}\times m!}}x^{m}{_{2}F_{1}}(\alpha +m,\beta +m;(1+m);x).}$

Obviously, if ${\displaystyle \gamma =-2}$, then ${\displaystyle m=3}$. The expression for ${\displaystyle y_{1}(x)}$ we have just given looks a little inelegant since we have a multiplicative constant apart from the usual arbitrary multiplicative constant ${\displaystyle b_{0}}$. Later, we shall see that we can recast things in such a way that this extra constant never appears

The other root to the indicial equation is ${\displaystyle c=1-\gamma =3}$, but this gives us (apart from a multiplicative constant) the same result as found using ${\displaystyle c=0}$. This means we must take the partial derivative (w.r.t. ${\displaystyle c}$) of the usual trial solution in order to find a second independent solution. If we define the linear operator ${\displaystyle L}$ as

${\displaystyle L=x(1-x){\frac {d^{2}}{dx^{2}}}-(\alpha +\beta +1)x{\frac {d}{dx}}+\gamma {\frac {d}{dx}}-\alpha \beta ,}$

then since ${\displaystyle \gamma =-2}$ in our case,

${\displaystyle Lc\sum _{r=0}^{\infty }b_{r}(c)x^{r}=b_{0}c^{2}(c-3).}$

(We insist that ${\displaystyle b_{0}\neq 0}$.) Taking the partial derivative w.r.t ${\displaystyle c}$,

${\displaystyle L{\frac {\partial }{\partial c}}c\sum _{r=0}^{\infty }b_{r}(c)x^{r+c}=b_{0}(3c^{2}-6c).}$

Note that we must evaluate the partial derivative at ${\displaystyle c=0}$ (and not at the other root ${\displaystyle c=3}$). Otherwise the right hand side is non-zero in the above, and we do not have a solution of ${\displaystyle Ly(x)=0}$. The factor ${\displaystyle c}$ is not cancelled for ${\displaystyle r=0,1}$ and ${\displaystyle r=2}$. This part of the second independent solution is

${\displaystyle {\bigg [}{\frac {\partial }{\partial c}}b_{0}{\bigg (}c+c{\frac {(c+\alpha )(c+\beta )}{(c+1)(c-2)}}x+c{\frac {(c+\alpha )(c+\alpha +1)(c+\beta )(c+\beta +1)}{(c+1)(c+2)(c-2)(c-1)}}x^{2}{\bigg )}{\bigg ]}{\bigg \vert }_{c=0}.}$ ${\displaystyle =b_{0}\left(1+{\frac {\alpha \beta }{1!\times (-2)}}x+{\frac {\alpha (\alpha +1)\beta (\beta +1)}{2!\times (-2)\times (-1)}}x^{2}\right)=b_{0}\sum _{r=0}^{3-1}{\frac {(\alpha )_{r}(\beta )_{r}}{r!(1-3)_{r}}}x^{r}.}$

Now we can turn our attention to the terms where the factor ${\displaystyle c}$ cancels. First

${\displaystyle cb_{3}={\frac {b_{0}}{(c-1)(c-2)}}{\cancel {c}}{\frac {(c+\alpha )(c+\alpha +1)(c+\alpha +2)(c+\beta )(c+\beta +1)(c+\beta +2)}{{\cancel {c}}(c+1)(c+2)(c+3)}}.}$

After this, the recurrence relations give us

${\displaystyle cb_{4}=cb_{3}(c){\frac {(c+\alpha +3)(c+\beta +3)}{(c+1)(c+4))}}.}$

${\displaystyle cb_{5}=cb_{3}(c){\frac {(c+\alpha +3)(c+\alpha +4)(c+\beta +3)(c+\beta +4))}{(c+2)(c+1)(c+5)(c+4)}}.}$

So, if ${\displaystyle r\geq 3}$ we have

${\displaystyle cb_{r}={\frac {b_{0}}{(c-1)(c-2)}}{\frac {(c+\alpha )_{r}(c+\beta )_{r}}{(c+1)_{r-3}(c+1)_{r}}}.}$

We need the partial derivatives

${\displaystyle {\frac {\partial cb_{3}(c)}{\partial c}}{\bigg \vert }_{c=0}={\frac {b_{0}}{(1-3)_{3-1}}}{\frac {(\alpha )_{3}(\beta )_{3}}{0!3!}}{\bigg [}{\frac {1}{1}}+{\frac {1}{2}}+{\frac {1}{\alpha }}+{\frac {1}{\alpha +1}}+{\frac {1}{\alpha +2}}}$ ${\displaystyle +{\frac {1}{\beta }}+{\frac {1}{\beta +1}}+{\frac {1}{\beta +2}}-{\frac {1}{1}}-{\frac {1}{2}}-{\frac {1}{3}}{\bigg ]}.}$

Similarly, we can write

${\displaystyle {\frac {\partial cb_{4}(c)}{\partial c}}{\bigg \vert }_{c=0}={\frac {b_{0}}{(1-3)_{3-1}}}{\frac {(\alpha )_{4}(\beta )_{4}}{1!4!}}{\bigg [}{\frac {1}{1}}+{\frac {1}{2}}}$ ${\displaystyle +\sum _{k=0}^{k=3}{\frac {1}{\alpha +k}}+\sum _{k=0}^{k=3}{\frac {1}{\beta +k}}-{\frac {1}{1}}-{\frac {1}{2}}-{\frac {1}{3}}-{\frac {1}{4}}-{\frac {1}{1}}{\bigg ]},}$

and

${\displaystyle {\frac {\partial cb_{5}(c)}{\partial c}}{\bigg \vert }_{c=0}={\frac {b_{0}}{(1-3)_{3-1}}}{\frac {(\alpha )_{5}(\beta )_{5}}{2!5!}}{\bigg [}{\frac {1}{1}}+{\frac {1}{2}}}$ ${\displaystyle +\sum _{k=0}^{k=4}{\frac {1}{\alpha +k}}+\sum _{k=0}^{k=4}{\frac {1}{\beta +k}}-{\frac {1}{1}}-{\frac {1}{2}}-{\frac {1}{3}}-{\frac {1}{4}}-{\frac {1}{5}}-{\frac {1}{1}}-{\frac {1}{2}}{\bigg ]}.}$

It becomes clear that for ${\displaystyle r\geq 3}$

${\displaystyle {\frac {\partial cb_{r}(c)}{\partial c}}{\bigg \vert }_{c=0}={\frac {b_{0}}{(1-3)_{3-1}}}{\frac {(\alpha )_{r}(\beta )_{r}}{(r-3)!r!}}{\bigg [}H_{2}+\sum _{k=0}^{k=r-1}{\frac {1}{\alpha +k}}+\sum _{k=0}^{k=r-1}{\frac {1}{\beta +k}}-H_{r}-H_{r-3}{\bigg ]}.}$

Here, ${\displaystyle H_{k}}$ is the ${\displaystyle k}$th partial sum of the harmonic series, and by definition ${\displaystyle H_{0}=0}$ and ${\displaystyle H_{1}=1}$.

Putting these together, for the case ${\displaystyle \gamma =-2}$ we have a second solution

${\displaystyle y_{2}(x)=\log x\times {\frac {b_{0}}{(-2)_{2}}}\sum _{r=3}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{r!(r-3)!}}x^{r}+b_{0}\sum _{r=0}^{3-1}{\frac {(\alpha )_{r}(\beta )_{r}}{r!(1-3)_{r}}}x^{r}}$

${\displaystyle +{\frac {b_{0}}{(-2)_{2}}}\sum _{r=3}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(r-3)!r!}}{\bigg [}H_{2}+\sum _{k=0}^{k=r-1}{\frac {1}{\alpha +k}}+\sum _{k=0}^{k=r-1}{\frac {1}{\beta +k}}-H_{r}-H_{r-3}{{\bigg ]}x^{r}}.}$

The two independent solutions for ${\displaystyle \gamma =1-m}$ (where ${\displaystyle m}$ is a positive integer) are then

${\displaystyle y_{1}(x)={\frac {1}{(1-m)_{m-1}}}\sum _{r=m}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{r!(r-m)!}}x^{r}}$

and

${\displaystyle y_{2}(x)=\log x\times y_{1}(x)+\sum _{r=0}^{m-1}{\frac {(\alpha )_{r}(\beta )_{r}}{r!(1-m)_{r}}}x^{r}}$

${\displaystyle +{\frac {1}{(1-m)_{m-1}}}\sum _{r=m}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(r-m)!r!}}{\bigg [}H_{m-1}+\sum _{k=0}^{k=r-1}{\frac {1}{\alpha +k}}+\sum _{k=0}^{k=r-1}{\frac {1}{\beta +k}}-H_{r}-H_{r-m}{\bigg ]}x^{r}.}$

The general solution is as usual ${\displaystyle y(x)=Ay_{1}(x)+By_{2}(x)}$ where ${\displaystyle A}$ and ${\displaystyle B}$ are arbitrary constants. Now, if the reader consults a standard solution" for this case, such as given by Abramowitz and Stegun [1] in §15.5.21 (which we shall write down at the end of the next section) it shall be found that the ${\displaystyle y_{2}}$ solution we have found looks somewhat different from the standard solution. In our solution for ${\displaystyle y_{2}}$, the first term in the infinite series part of ${\displaystyle y_{2}}$ is a term in ${\displaystyle x^{m}}$. The first term in the corresponding infinite series in the standard solution is a term in ${\displaystyle x^{m+1}}$. The ${\displaystyle x^{m}}$ term is missing from the standard solution. Nonetheless, the two solutions are entirely equivalent.

#### the standard form of the solution where γ ≤ 0

The reason for the apparent discrepancy between the solution given above and the standard solution in Abramowitz and Stegun [1] §15.5.21 is that there are an infinite number of ways in which to represent the two independent solutions of the hypergeometric ODE. In the last section, for instance, we replaced ${\displaystyle a_{0}}$ with ${\displaystyle b_{0}c}$. Suppose though, we are given some function ${\displaystyle h(c)}$ which is continuous and finite everywhere in an arbitrarily small interval about ${\displaystyle c=0}$. Suppose we are also given

${\displaystyle h(c)\vert _{c=0}\neq 0,}$ and ${\displaystyle {\frac {dh}{dc}}{\bigg \vert }_{c=0}\neq 0.}$

Then, if instead of replacing ${\displaystyle a_{0}}$ with ${\displaystyle b_{0}c}$ we replace ${\displaystyle a_{0}}$ with ${\displaystyle b_{0}h(c)c}$, we still find we have a valid solution of the hypergeometric equation. Clearly, we have an infinity of possibilities for ${\displaystyle h(c)}$. There is however a natural choice" for ${\displaystyle h(c)}$. Suppose that ${\displaystyle cb_{N}(c)=b_{0}f(c)}$ is the first non zero term in the first ${\displaystyle y_{1}(x)}$ solution with ${\displaystyle c=0}$. If we make ${\displaystyle h(c)}$ the reciprocal of ${\displaystyle f(c)}$, then we won't have a multiplicative constant involved in ${\displaystyle y_{1}(x)}$ as we did in the previous section. From another point of veiw, we get the same result if we insist" that ${\displaystyle a_{N}}$ is independent of ${\displaystyle c}$, and find ${\displaystyle a_{0}(c)}$ by using the recurrence relations backwards.

For the first ${\displaystyle (c=0)}$ solution, the function ${\displaystyle h(c)}$ gives us (apart from multiplicative constant) the same ${\displaystyle y_{1}(x)}$ as we would have obtained using ${\displaystyle h(c)=1}$. Suppose that using ${\displaystyle h(c)=1}$ gives rise to two independent solutions ${\displaystyle y_{1}(x)}$ and ${\displaystyle y_{2}(x)}$. In the following we shall denote the solutions arrived at given some ${\displaystyle h(c)\neq 1}$ as ${\displaystyle {\tilde {y}}_{1}(x)}$ and ${\displaystyle {\tilde {y}}_{2}(x)}$.

The second solution requires us to take the partial derivative w.r.t ${\displaystyle c}$, and substituting the usual trial solution gives us

${\displaystyle L{\frac {\partial }{\partial c}}\sum _{r=0}^{\infty }ch(c)b_{r}x^{r+c}=b_{0}\left({\frac {dh}{dc}}c^{2}(c-1)+2ch(c)(c-1)+h(c)c^{2}\right).}$

The operator ${\displaystyle L}$ is the same linear operator discussed in the previous section. That is to say, the hypergeometric ODE is represented as ${\displaystyle Ly(x)=0}$.

Evaluating the left hand side at ${\displaystyle c=0}$ will give us a second independent solution. Note that this second solution ${\displaystyle {{\tilde {y}}_{2}}}$ is in fact a linear combination of ${\displaystyle y_{1}(x)}$ and ${\displaystyle y_{2}(x)}$. Any two independent linear combinations (${\displaystyle {\tilde {y}}_{1}}$ and ${\displaystyle {\tilde {y}}_{2}}$) of ${\displaystyle y_{1}}$ and ${\displaystyle y_{2}}$ are independent solutions of ${\displaystyle Ly=0}$. The general solution can be written as a linear combination of ${\displaystyle {\tilde {y}}_{1}}$ and ${\displaystyle {\tilde {y}}_{2}}$ just as well as linear combinations of ${\displaystyle y_{1}}$ and ${\displaystyle y_{2}}$. We shall review the special case where ${\displaystyle \gamma =1-3=-2}$ that was considered in the last section. If we insist" ${\displaystyle a_{3}(c)=const.}$, then the recurrence relations yield

${\displaystyle a_{2}=a_{3}{\frac {c(3+c)}{(2+\alpha +c)(2+\beta +c)}},}$ ${\displaystyle a_{1}=a_{3}{\frac {c(2+c)(3+c)(c-1)}{(1+\alpha +c)(2+\alpha +c)(1+\beta +c)(2+\beta +c)}},}$

and

${\displaystyle a_{0}=a_{3}{\frac {c(1+c)(2+c)(3+c)(c-1)(c-2)}{(\alpha +c)_{3}(\beta +c)_{3}}}=b_{0}ch(c).}$

These three coefficients are all zero at ${\displaystyle c=0}$ as expected. We have three terms involved in ${\displaystyle y_{2}(x)}$ by taking the partiial derivative w.r.t ${\displaystyle c}$, we denote the sum of the three terms involving these coefficients as ${\displaystyle S_{3}}$ where

${\displaystyle S_{3}=\left[{\frac {\partial }{\partial c}}\left(a_{0}(c)x^{c}+a_{1}(c)x^{c+1}+a_{2}(c)x^{c+2}\right)\right]_{c=0},}$ ${\displaystyle =a_{3}\left[{\frac {3\times 2\times 1(-2)\times (-1)}{(\alpha )_{3}(\beta )_{3}}}x^{3-3}+{\frac {3\times 2\times (-1)}{(\alpha +1)(\alpha +2)(\beta +1)(\beta +2)}}x^{3-2}+{\frac {3}{(\alpha +2)(\beta +2)_{1}}}x^{3-1}\right].}$

The reader may confirm that we can tidy this up and make it easy to generalise by putting

${\displaystyle S_{3}=-a_{3}\sum _{r=1}^{3}{\frac {(-3)_{r}(r-1)!}{(1-\alpha -3)_{r}(1-\beta -3)_{r}}}x^{3-r}.}$

Next we can turn to the other coefficients, the recurrence relations yield

${\displaystyle a_{4}=a_{3}{\frac {(3+c+\alpha )(3+c+\beta )}{(4+c)(1+c)}}}$ ${\displaystyle a_{5}=a_{3}{\frac {(4+c+\alpha )(3+c+\alpha )(4+c+\beta )(3+c+\alpha }{(5+c)(4+c)(1+c)(2+c)}}}$

Setting ${\displaystyle c=0}$ gives us

${\displaystyle {\tilde {y}}_{1}(x)=a_{3}x^{3}\sum _{r=0}^{\infty }{\frac {(\alpha +3)_{r}(\beta +3)_{r}}{(3+1)_{r}r!}}x^{r}=a_{3}x^{3}{_{2}F_{1}}(\alpha +3,\beta +3;(1+3);z).}$

This is (apart from the multiplicative constant${\displaystyle (a)_{3}(b)_{3}/2}$) the same as ${\displaystyle y_{1}(x)}$. Now, to find ${\displaystyle {\tilde {y}}_{2}}$ we need partial derivatives

${\displaystyle {\frac {\partial a_{4}}{\partial c}}{\bigg \vert }_{c=0}=a_{3}{\bigg [}{\frac {(3+c+\alpha )(3+c+\beta )}{(4+c)(1+c)}}{\bigg (}{\frac {1}{\alpha +3+c}}+{\frac {1}{\beta +3+c}}-{\frac {1}{4+c}}-{\frac {1}{1+c}}{\bigg )}{\bigg ]}_{c=0}}$

${\displaystyle =a_{3}{\frac {(3+\alpha )_{1}(3+\beta )_{1}}{(1+3)_{1}\times 1}}{\bigg (}{\frac {1}{\alpha +3}}+{\frac {1}{\beta +3}}-{\frac {1}{4}}-{\frac {1}{1}}{\bigg )}.}$

Then

${\displaystyle {\frac {\partial a_{5}}{\partial c}}{\bigg \vert }_{c=0}=a_{3}{\frac {(3+\alpha )_{2}(3+\beta )_{2}}{(1+3)_{2}\times 1\times 2}}{\bigg (}{\frac {1}{\alpha +3}}+{\frac {1}{\alpha +4}}+{\frac {1}{\beta +3}}+{\frac {1}{\beta +4}}-{\frac {1}{4}}-{\frac {1}{5}}-{\frac {1}{1}}-{\frac {1}{2}}{\bigg )}.}$

we can re-write this as

${\displaystyle {\frac {\partial a_{5}}{\partial c}}{\bigg \vert }_{c=0}=a_{3}{\frac {(3+\alpha )_{2}(3+\beta )_{2}}{(1+3)_{2}\times 2!}}{\bigg [}\sum _{k=0}^{1}\left({\frac {1}{\alpha +3+k}}+{\frac {1}{\beta +3+k}}\right)+\sum _{k=1}^{3}{\frac {1}{k}}-\sum _{k=1}^{5}{\frac {1}{k}}-{\frac {1}{1}}-{\frac {1}{2}}{\bigg ]}.}$

The pattern soon becomes clear, and for ${\displaystyle r=1,2,3,\cdots }$

${\displaystyle {\frac {\partial a_{r+3}}{\partial c}}{\bigg \vert }_{c=0}=a_{3}{\frac {(3+\alpha )_{r}(3+\beta )_{r}}{(1+3)_{r}\times r!}}{\bigg [}\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +3+k}}+{\frac {1}{\beta +3+k}}\right)+\sum _{k=1}^{3}{\frac {1}{k}}-\sum _{k=1}^{r+3}{\frac {1}{k}}-\sum _{k=1}^{r}{\frac {1}{k}}{\bigg ]}.}$

Clearly, for ${\displaystyle r=0}$,

${\displaystyle {\frac {\partial a_{3}}{\partial c}}{\bigg \vert }_{c=0}=0.}$

The infinite series part of ${\displaystyle {\tilde {y}}_{2}}$ is ${\displaystyle S_{\infty }}$, where

${\displaystyle S_{\infty }=x^{3}\sum _{r=1}^{\infty }{\frac {\partial a_{r+3}}{\partial c}}{\bigg \vert }_{c=0}x^{r}.}$

Now we can write (disregarding the arbitrary constant) for${\displaystyle \gamma =1-m}$

${\displaystyle {\tilde {y}}_{1}(x)=x^{3}{_{2}F_{1}}(\alpha +m,\beta +m;1+m;z)}$

${\displaystyle {\tilde {y}}_{2}(x)={\tilde {y}}_{1}(x)\log x-\sum _{r=1}^{m}{\frac {(-m)_{r}(r-1)!}{(1-\alpha -m)_{r}(1-\beta -m)_{r}}}x^{m-r}.}$ ${\displaystyle +x^{3}\sum _{r=0}^{\infty }{\frac {(\alpha +m)_{r}(\beta +m)_{r}}{(1+m)_{r}\times r!}}{\bigg [}\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +m+k}}+{\frac {1}{\beta +m+k}}\right)+\sum _{k=1}^{3}{\frac {1}{k}}-\sum _{k=1}^{r+3}{\frac {1}{k}}-\sum _{k=1}^{r}{\frac {1}{k}}{{\bigg ]}x^{r}}.}$

Some authors prefer to express the finite sums in this last result using the digamma function ${\displaystyle \psi (x)}$. In particular, the following results are used

${\displaystyle H_{n}=\psi (n+1)+\gamma _{em}.}$

Here, ${\displaystyle \gamma _{em}=0.5772156649=\psi (1)}$ is the Euler-Mascheroni constant. Also

${\displaystyle \sum _{k=0}^{n-1}{\frac {1}{z+k}}=\psi (z+n)-\psi (z).}$

With these results we obtain the form given in Abramamowitz and Stegun §15.5.21, namely

${\displaystyle {\tilde {y}}_{2}(x)={\tilde {y}}_{1}(x)\log x-\sum _{r=1}^{m}{\frac {(-m)_{r}(r-1)!}{(1-\alpha -m)_{r}(1-\beta -m)_{r}}}x^{m-r}.}$ ${\displaystyle +x^{3}\sum _{r=0}^{\infty }{\frac {(\alpha +m)_{r}(\beta +m)_{r}}{(1+m)_{r}\times r!}}{\bigg [}\psi (\alpha +r+m)-\psi (\alpha +m)+\psi (\beta +r+m)-\psi (\beta +m)}$ ${\displaystyle -\psi (r+1+m)-\psi (r+1)+\psi (1+m)+\psi (1){{\bigg ]}x^{r}}.}$

#### The Standard" Form of the Solution γ > 1

In this section, we shall concentrate on the standard solution", and we shall not replace ${\displaystyle a_{0}}$ with ${\displaystyle b_{0}(c-1+\gamma )}$. We shall put ${\displaystyle \gamma =1+m}$ where ${\displaystyle m=1,2,3,\cdots }$. For the root ${\displaystyle c=1-\gamma }$ of the indicial eqauation we had

${\displaystyle A_{r}=\left[A_{r-1}{\frac {(r+\alpha -1+c)(r+\beta -1+c)}{(r+c)(r+c+\gamma -1)}}\right]_{c=1-\gamma }=A_{r-1}{\frac {(r+\alpha -\gamma )(r+\beta -\gamma )}{(r+1-\gamma )(r)}},}$

where ${\displaystyle r\geq 1}$ in which case we are in trouble if ${\displaystyle r=\gamma -1=m}$. For instance, if ${\displaystyle \gamma =4}$, the denominator in the recurrence relations vanishes for ${\displaystyle r=3}$. We can use exactly the same methods that we have just used for the standard solution in the last section. We shall not (in the instance where ${\displaystyle \gamma =4}$) replace ${\displaystyle a_{0}}$ with ${\displaystyle b_{0}(c+3)}$ as this will not give us the standard form of solution that we are after. Rather, we shall insist" that ${\displaystyle A_{3}=const.}$ as we did in the standard solution for ${\displaystyle \gamma =-2}$ in the last section. (Recall that this defined the function ${\displaystyle h(c)}$ and that ${\displaystyle a_{0}}$ will now be replaced with ${\displaystyle b_{0}(c+3)h(c)}$.) Then we may work out the coefficients of ${\displaystyle x^{0}}$ to ${\displaystyle x^{2}}$ as functions of ${\displaystyle c}$ using the recurrence relations backwards. There is nothing new to add here, and the reader may use the same methods as used in the last section to find the results of [1]§15.5.18 and §15.5.19, these are

${\displaystyle y_{1}={_{2}F_{1}}(\alpha ,\beta ;1+m;x),}$

and

${\displaystyle y_{2}={_{2}F_{1}}(\alpha ,\beta ;1+m;x)\log x+z^{m}\sum _{r=1}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{r!(1+m)_{r}}}[\psi (\alpha +r)-\psi (\alpha )+\psi (\beta +k)-\psi (\beta )}$ ${\displaystyle -\psi (m+1+r)+\psi (m+1)-\psi (r+1)+\psi (1)]z^{r}-\sum _{k=1}^{m}{\frac {(k-1)!(-m)_{k}}{(1-\alpha )_{k}(1-\beta )_{k}}}z^{-r}.}$

Note that the powers of ${\displaystyle z}$ in the finite sum part of ${\displaystyle y_{2}(x)}$ are now negative so that this sum diverges as ${\displaystyle z\rightarrow 0\}$

## Solution around x = 1

Let us now study the singular point x = 1. To see if it is regular,

{\displaystyle {\begin{aligned}\lim _{x\to a}{\frac {(x-a)P_{1}(x)}{P_{2}(x)}}&=\lim _{x\to 1}{\frac {(x-1)(\gamma -(1+\alpha +\beta )x)}{x(1-x)}}=\lim _{x\to 1}{\frac {-(\gamma -(1+\alpha +\beta )x)}{x}}=1+\alpha +\beta -\gamma \\\lim _{x\to a}{\frac {(x-a)^{2}P_{0}(x)}{P_{2}(x)}}&=\lim _{x\to 1}{\frac {(x-1)^{2}(-\alpha \beta )}{x(1-x)}}=\lim _{x\to 1}{\frac {(x-1)\alpha \beta }{x}}=0\end{aligned}}}

Hence, both limits exist and x = 1 is a regular singular point. Now, instead of assuming a solution on the form

${\displaystyle y=\sum _{r=0}^{\infty }a_{r}(x-1)^{r+c},}$

we will try to express the solutions of this case in terms of the solutions for the point x = 0. We proceed as follows: we had the hypergeometric equation

${\displaystyle x(1-x)y''+(\gamma -(1+\alpha +\beta )x)y'-\alpha \beta y=0.}$

Let z = 1 − x. Then

{\displaystyle {\begin{aligned}{\frac {dy}{dx}}&={\frac {dy}{dz}}\times {\frac {dz}{dx}}=-{\frac {dy}{dz}}=-y'\\{\frac {d^{2}y}{dx^{2}}}&={\frac {d}{dx}}\left({\frac {dy}{dx}}\right)={\frac {d}{dx}}\left(-{\frac {dy}{dz}}\right)={\frac {d}{dz}}\left(-{\frac {dy}{dz}}\right)\times {\frac {dz}{dx}}={\frac {d^{2}y}{dz^{2}}}=y''\end{aligned}}}

Hence, the equation takes the form

${\displaystyle z(1-z)y''+(\alpha +\beta -\gamma +1-(1+\alpha +\beta )z)y'-\alpha \beta y=0.}$

Since z = 1 − x, the solution of the hypergeometric equation at x = 1 is the same as the solution for this equation at z = 0. But the solution at z = 0 is identical to the solution we obtained for the point x = 0, if we replace each γ by α + β − γ + 1. Hence, to get the solutions, we just make this substitution in the previous results. Note also that for x = 0, c1 = 0 and c2 = 1 − γ. Hence, in our case, c1 = 0 while c2 = γ − α − β. Let us now write the solutions. In the following we replaced each z by 1 - x.

## Analysis of the solution in terms of the difference γ − α − β of the two roots

To simplify notation from now on denote γ − α − β by Δ, therefore γ = Δ + α + β.

### Δ not an integer

${\displaystyle y=A\left\{{{}_{2}F_{1}}(\alpha ,\beta ;-\Delta +1;1-x)\right\}+B\left\{(1-x)^{\Delta }{{}_{2}F_{1}}(\Delta +\beta ,\Delta +\alpha ;\Delta +1;1-x)\right\}}$

### Δ = 0

${\displaystyle y=C\left\{{{}_{2}F_{1}}(\alpha ,\beta ;1;1-x)\right\}+D\left\{\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(1)_{r}^{2}}}\left(\ln(1-x)+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\beta +k}}-{\frac {2}{1+k}}\right)\right)(1-x)^{r}\right\}}$

### Δ is a non-zero integer

#### Δ > 0

{\displaystyle {\begin{aligned}y&=E\left\{{\frac {1}{(-\Delta +1)_{\Delta -1}}}\ \sum _{r=1-\Delta -\alpha -\beta }^{\infty }{\frac {(\alpha )_{r}(\beta )_{r}}{(1)_{r}(1)_{r-\Delta }}}(1-x)^{r}\right\}+\\&\quad +F\left\{(1-x)^{\Delta }\ \sum _{r=0}^{\infty }{\frac {(\Delta )(\Delta +\alpha )_{r}(\Delta +\beta )_{r}}{(\Delta +1)_{r}(1)_{r}}}\left(\ln(1-x)+{\frac {1}{\Delta }}+\sum _{k=0}^{r-1}\left({\frac {1}{\Delta +\alpha +k}}+{\frac {1}{\Delta +\beta +k}}-{\frac {1}{\Delta +1+k}}-{\frac {1}{1+k}}\right)\right)(1-x)^{r}\right\}\end{aligned}}}

#### Δ < 0

{\displaystyle {\begin{aligned}y&=G\left\{{\frac {(1-x)^{\Delta }}{(\Delta +1)_{-\Delta -1}}}\ \sum _{r=-\Delta }^{\infty }{\frac {(\Delta +\alpha )_{r}(\Delta +\beta )_{r}}{(1)_{r}(1)_{r+\Delta }}}(1-x)^{r}\right\}+\\&\quad +H\left\{\sum _{r=0}^{\infty }{\frac {(\Delta )(\Delta +\alpha )_{r}(\Delta +\beta )_{r}}{(\Delta +1)_{r}(1)_{r}}}\left(\ln(1-x)-{\frac {1}{\Delta }}+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\beta +k}}-{\frac {1}{-\Delta +1+k}}-{\frac {1}{1+k}}\right)\right)(1-x)^{r}\right\}\end{aligned}}}

## Solution around infinity

Finally, we study the singularity as x → ∞. Since we can't study this directly, we let x = s−1. Then the solution of the equation as x → ∞ is identical to the solution of the modified equation when s = 0. We had

{\displaystyle {\begin{aligned}&x(1-x)y''+\left(\gamma -(1+\alpha +\beta )x\right)y'-\alpha \beta y=0\\&{\frac {dy}{dx}}={\frac {dy}{ds}}\times {\frac {ds}{dx}}=-s^{2}\times {\frac {dy}{ds}}=-s^{2}y'\\&{\frac {d^{2}y}{dx^{2}}}={\frac {d}{dx}}\left({\frac {dy}{dx}}\right)={\frac {d}{dx}}\left(-s^{2}\times {\frac {dy}{ds}}\right)={\frac {d}{ds}}\left(-s^{2}\times {\frac {dy}{ds}}\right)\times {\frac {ds}{dx}}=\left((-2s)\times {\frac {dy}{ds}}+(-s^{2}){\frac {d^{2}y}{ds^{2}}}\right)\times (-s^{2})=2s^{3}y'+s^{4}y''\end{aligned}}}

Hence, the equation takes the new form

${\displaystyle {\frac {1}{s}}\left(1-{\frac {1}{s}}\right)\left(2s^{3}y'+s^{4}y''\right)+\left(\gamma -(1+\alpha +\beta ){\frac {1}{s}}\right)(-s^{2}y')-\alpha \beta y=0}$

which reduces to

${\displaystyle \left(s^{3}-s^{2}\right)y''+\left((2-\gamma )s^{2}+(\alpha +\beta -1)s\right)y'-\alpha \beta y=0.}$

Let

{\displaystyle {\begin{aligned}P_{0}(s)&=-\alpha \beta ,\\P_{1}(s)&=(2-\gamma )s^{2}+(\alpha +\beta -1)s,\\P_{2}(s)&=s^{3}-s^{2}.\end{aligned}}}

As we said, we shall only study the solution when s = 0. As we can see, this is a singular point since P2(0) = 0. To see if it is regular,

{\displaystyle {\begin{aligned}\lim _{s\to a}{\frac {(s-a)P_{1}(s)}{P_{2}(s)}}&=\lim _{s\to 0}{\frac {(s-0)((2-\gamma )s^{2}+(\alpha +\beta -1)s)}{s^{3}-s^{2}}}\\&=\lim _{s\to 0}{\frac {(2-\gamma )s^{2}+(\alpha +\beta -1)s}{s^{2}-s}}\\&=\lim _{s\to 0}{\frac {(2-\gamma )s+(\alpha +\beta -1)}{s-1}}=1-\alpha -\beta .\\\lim _{s\to a}{\frac {(s-a)^{2}P_{0}(s)}{P_{2}(s)}}&=\lim _{s\to 0}{\frac {(s-0)^{2}(-\alpha \beta )}{s^{3}-s^{2}}}=\lim _{s\to 0}{\frac {(-\alpha \beta )}{s-1}}=\alpha \beta .\end{aligned}}}

Hence, both limits exist and s = 0 is a regular singular point. Therefore, we assume the solution takes the form

${\displaystyle y=\sum _{r=0}^{\infty }{a_{r}s^{r+c}}}$

with a0 ≠ 0. Hence,

{\displaystyle {\begin{aligned}y'&=\sum \limits _{r=0}^{\infty }{a_{r}(r+c)s^{r+c-1}}\\y''&=\sum \limits _{r=0}^{\infty }{a_{r}(r+c)(r+c-1)s^{r+c-2}}\end{aligned}}}

Substituting in the modified hypergeometric equation we get

${\displaystyle \left(s^{3}-s^{2}\right)y''+\left((2-\gamma )s^{2}+(\alpha +\beta -1)s\right)y'-(\alpha \beta )y=0}$

And therefore:

${\displaystyle \left(s^{3}-s^{2}\right)\sum _{r=0}^{\infty }{a_{r}(r+c)(r+c-1)s^{r+c-2}}+\left((2-\gamma )s^{2}+(\alpha +\beta -1)s\right)\sum _{r=0}^{\infty }{a_{r}(r+c)s^{r+c-1}}-(\alpha \beta )\sum _{r=0}^{\infty }{a_{r}s^{r+c}}=0}$

i.e.,

${\displaystyle \sum _{r=0}^{\infty }{a_{r}(r+c)(r+c-1)s^{r+c+1}}-\sum _{r=0}^{\infty }{a_{r}(r+c)(r+c-1)x^{r+c}}+(2-\gamma )\sum _{r=0}^{\infty }{a_{r}(r+c)s^{r+c+1}}+(\alpha +\beta -1)\sum _{r=0}^{\infty }{a_{r}(r+c)s^{r+c}}-\alpha \beta \sum _{r=0}^{\infty }{a_{r}s^{r+c}}=0.}$

In order to simplify this equation, we need all powers to be the same, equal to r + c, the smallest power. Hence, we switch the indices as follows

{\displaystyle {\begin{aligned}&\sum _{r=1}^{\infty }{a_{r-1}(r+c-1)(r+c-2)s^{r+c}}-\sum _{r=0}^{\infty }{a_{r}(r+c)(r+c-1)s^{r+c}}+(2-\gamma )\sum _{r=1}^{\infty }{a_{r-1}(r+c-1)s^{r+c}}+\\&\qquad \qquad +(\alpha +\beta -1)\sum _{r=0}^{\infty }{a_{r}(r+c)s^{r+c}}-\alpha \beta \sum _{r=0}^{\infty }{a_{r}s^{r+c}}=0\end{aligned}}}

Thus, isolating the first term of the sums starting from 0 we get

{\displaystyle {\begin{aligned}&a_{0}\left(-(c)(c-1)+(\alpha +\beta -1)(c)-\alpha \beta \right)s^{c}+\sum _{r=1}^{\infty }{a_{r-1}(r+c-1)(r+c-2)s^{r+c}}-\sum _{r=1}^{\infty }{a_{r}(r+c)(r+c-1)x^{r+c}}+\\&\qquad \qquad +(2-\gamma )\sum _{r=1}^{\infty }{a_{r-1}(r+c-1)s^{r+c}}+(\alpha +\beta -1)\sum _{r=1}^{\infty }{a_{r}(r+c)s^{r+c}}-\alpha \beta \sum _{r=1}^{\infty }{a_{r}s^{r+c}}=0\end{aligned}}}

Now, from the linear independence of all powers of s (i.e., of the functions 1, s, s2, ...), the coefficients of sk vanish for all k. Hence, from the first term we have

${\displaystyle a_{0}\left(-(c)(c-1)+(\alpha +\beta -1)(c)-\alpha \beta \right)=0}$

which is the indicial equation. Since a0 ≠ 0, we have

${\displaystyle (c)(-c+1+\alpha +\beta -1)-\alpha \beta )=0.}$

Hence, c1 = α and c2 = β.

Also, from the rest of the terms we have

${\displaystyle \left((r+c-1)(r+c-2)+(2-\gamma )(r+c-1)\right)a_{r-1}+\left(-(r+c)(r+c-1)+(\alpha +\beta -1)(r+c)-\alpha \beta \right)a_{r}=0}$

Hence,

${\displaystyle a_{r}=-{\frac {\left((r+c-1)(r+c-2)+(2-\gamma )(r+c-1)\right)}{\left(-(r+c)(r+c-1)+(\alpha +\beta -1)(r+c)-\alpha \beta \right)}}a_{r-1}={\frac {\left((r+c-1)(r+c-\gamma )\right)}{\left((r+c)(r+c-\alpha -\beta )+\alpha \beta \right)}}a_{r-1}}$

But

{\displaystyle {\begin{aligned}(r+c)(r+c-\alpha -\beta )+\alpha \beta &=(r+c-\alpha )(r+c)-\beta (r+c)+\alpha \beta \\&=(r+c-\alpha )(r+c)-\beta (r+c-\alpha ).\end{aligned}}}

Hence, we get the recurrence relation

${\displaystyle a_{r}={\frac {(r+c-1)(r+c-\gamma )}{(r+c-\alpha )(r+c-\beta )}}a_{r-1},\quad \forall r\geq 1}$

Let's now simplify this relation by giving ar in terms of a0 instead of ar−1. From the recurrence relation,

{\displaystyle {\begin{aligned}a_{1}&={\frac {(c)(c+1-\gamma )}{(c+1-\alpha )(c+1-\beta )}}a_{0}\\a_{2}&={\frac {(c+1)(c+2-\gamma )}{(c+2-\alpha )(c+2-\beta )}}a_{1}={\frac {(c+1)(c)(c+2-\gamma )(c+1-\gamma )}{(c+2-\alpha )(c+1-\alpha )(c+2-\beta )(c+1-\beta )}}a_{0}={\frac {(c)_{2}(c+1-\gamma )_{2}}{(c+1-\alpha )_{2}(c+1-\beta )_{2}}}a_{0}\end{aligned}}}

As we can see,

${\displaystyle a_{r}={\frac {(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}a_{0}\quad \forall r\geq 0}$

Hence, our assumed solution takes the form

${\displaystyle y=a_{0}\sum _{r=0}^{\infty }{\frac {(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}s^{r+c}}$

We are now ready to study the solutions corresponding to the different cases for c1 − c2 = α − β.

## Analysis of the solution in terms of the difference α − β of the two roots

### α − β not an integer

Then y1 = y|c = α and y2 = y|c = β. Since

${\displaystyle y=a_{0}\sum _{r=0}^{\infty }{\frac {(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}s^{r+c},}$

we have

{\displaystyle {\begin{aligned}y_{1}&=a_{0}\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\alpha +1-\gamma )_{r}}{(1)_{r}(\alpha +1-\beta )_{r}}}s^{r+\alpha }=a_{0}s^{\alpha }\ {}_{2}F_{1}(\alpha ,\alpha +1-\gamma ;\alpha +1-\beta ;s)\\y_{2}&=a_{0}\sum _{r=0}^{\infty }{\frac {(\beta )_{r}(\beta +1-\gamma )_{r}}{(\beta +1-\alpha )_{r}(1)_{r}}}s^{r+\beta }=a_{0}s^{\beta }\ {}_{2}F_{1}(\beta ,\beta +1-\gamma ;\beta +1-\alpha ;s)\end{aligned}}}

Hence, y = Ay1 + By2. Let Aa0 = A and Ba0 = B. Then, noting that s = x−1,

${\displaystyle y=A\left\{x^{-\alpha }\ {}_{2}F_{1}\left(\alpha ,\alpha +1-\gamma ;\alpha +1-\beta ;x^{-1}\right)\right\}+B\left\{x^{-\beta }\ {}_{2}F_{1}\left(\beta ,\beta +1-\gamma ;\beta +1-\alpha ;x^{-1}\right)\right\}}$

### α − β = 0

Then y1 = y|c = α. Since α = β, we have

${\displaystyle y=a_{0}\sum _{r=0}^{\infty }{{\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}s^{r+c}}}$

Hence,

{\displaystyle {\begin{aligned}y_{1}&=a_{0}\sum _{r=0}^{\infty }{{\frac {(\alpha )_{r}(\alpha +1-\gamma )_{r}}{(1)_{r}(1)_{r}}}s^{r+\alpha }}=a_{0}s^{\alpha }\ {}_{2}F_{1}(\alpha ,\alpha +1-\gamma ;1;s)\\y_{2}&=\left.{\frac {\partial y}{\partial c}}\right|_{c=\alpha }\end{aligned}}}

To calculate this derivative, let

${\displaystyle M_{r}={\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}}$

Then using the method in the case γ = 1 above, we get

${\displaystyle {\frac {\partial M_{r}}{\partial c}}={\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}\sum _{k=0}^{r-1}\left({\frac {1}{c+k}}+{\frac {1}{c+1-\gamma +k}}-{\frac {2}{c+1-\alpha +k}}\right)}$

Now,

{\displaystyle {\begin{aligned}y&=a_{0}s^{c}\sum _{r=0}^{\infty }{\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}s^{r}\\&=a_{0}s^{c}\sum _{r=0}^{\infty }{M_{r}s^{r}}\\&=a_{0}s^{c}\left(\ln(s)\sum _{r=0}^{\infty }{\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}s^{r}+\sum _{r=0}^{\infty }{\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}\left\{\sum _{k=0}^{r-1}{\left({\frac {1}{c+k}}+{\frac {1}{c+1-\gamma +k}}-{\frac {2}{c+1-\alpha +k}}\right)}\right\}s^{r}\right)\end{aligned}}}

Hence,

${\displaystyle {\frac {\partial y}{\partial c}}=a_{0}s^{c}\sum _{r=0}^{\infty }{\frac {(c)_{r}(c+1-\gamma )_{r}}{\left((c+1-\alpha )_{r}\right)^{2}}}\left(\ln(s)+\sum _{k=0}^{r-1}{\left({\frac {1}{c+k}}+{\frac {1}{c+1-\gamma +k}}-{\frac {2}{c+1-\alpha +k}}\right)}\right)s^{r}}$

Therefore:

${\displaystyle y_{2}=\left.{\frac {\partial y}{\partial c}}\right|_{c=\alpha }=a_{0}s^{\alpha }\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\alpha +1-\gamma )_{r}}{(1)_{r}(1)_{r}}}\left(\ln(s)+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\alpha +1-\gamma +k}}-{\frac {2}{1+k}}\right)\right)s^{r}}$

Hence, y = C′y1 + D′y2. Let C′a0 = C and D′a0 = D. Noting that s = x−1,

${\displaystyle y=C\left\{x^{-\alpha }{}_{2}F_{1}\left(\alpha ,\alpha +1-\gamma ;1;x^{-1}\right)\right\}+D\left\{x^{-\alpha }\sum _{r=0}^{\infty }{\frac {(\alpha )_{r}(\alpha +1-\gamma )_{r}}{(1)_{r}(1)_{r}}}\left(\ln \left(x^{-1}\right)+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\alpha +1-\gamma +k}}-{\frac {2}{1+k}}\right)\right)x^{-r}\right\}}$

### α − β an integer and α − β ≠ 0

#### α − β > 0

From the recurrence relation

${\displaystyle a_{r}={\frac {(r+c-1)(r+c-\gamma )}{(r+c-\alpha )(r+c-\beta )}}a_{r-1}}$

we see that when c = β (the smaller root), aα−β → ∞. Hence, we must make the substitution a0 = b0(cci), where ci is the root for which our solution is infinite. Hence, we take a0 = b0(c − β) and our assumed solution takes the new form

${\displaystyle y_{b}=b_{0}\sum _{r=0}^{\infty }{\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}s^{r+c}}$

Then y1 = yb|c = β. As we can see, all terms before

${\displaystyle {\frac {(c-\beta )(c)_{\alpha -\beta }(c+1-\gamma )_{\alpha -\beta }}{(c+1-\alpha )_{\alpha -\beta }(c+1-\beta )_{\alpha -\beta }}}s^{\alpha -\beta }}$

vanish because of the c − β in the numerator.

But starting from this term, the c − β in the numerator vanishes. To see this, note that

${\displaystyle (c+1-\alpha )_{\alpha -\beta }=(c+1-\alpha )(c+2-\alpha )\cdots (c-\beta ).}$

Hence, our solution takes the form

{\displaystyle {\begin{aligned}y_{1}&=b_{0}\left({\frac {(\beta )_{\alpha -\beta }(\beta +1-\gamma )_{\alpha -\beta }}{(\beta +1-\alpha )_{\alpha -\beta -1}(1)_{\alpha -\beta }}}s^{\alpha -\beta }+{\frac {(\beta )_{\alpha -\beta +1}(\beta +1-\gamma )_{\alpha -\beta +1}}{(\beta +1-\alpha )_{\alpha -\beta -1}(1)(1)_{\alpha -\beta +1}}}s^{\alpha -\beta +1}+\cdots \right)\\&={\frac {b_{0}}{(\beta +1-\alpha )_{\alpha -\beta -1}}}\sum _{r=\alpha -\beta }^{\infty }{\frac {(\beta )_{r}(\beta +1-\gamma )_{r}}{(1)_{r}(1)_{r+\beta -\alpha }}}s^{r}\end{aligned}}}

Now,

${\displaystyle y_{2}=\left.{\frac {\partial y_{b}}{\partial c}}\right|_{c=\alpha }.}$

To calculate this derivative, let

${\displaystyle M_{r}={\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}.}$

Then using the method in the case γ = 1 above we get

${\displaystyle {\frac {\partial M_{r}}{\partial c}}={\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}\left({\frac {1}{c-\beta }}+\sum _{k=0}^{r-1}\left({\frac {1}{c+k}}+{\frac {1}{c+1-\gamma +k}}-{\frac {1}{c+1-\alpha +k}}-{\frac {1}{c+1-\beta +k}}\right)\right)}$

Now,

${\displaystyle y_{b}=b_{0}\sum _{r=0}^{\infty }{\left({\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}s^{r+c}\right)}=b_{0}s^{c}\sum _{r=0}^{\infty }{M_{r}s^{r}}}$

Hence,

{\displaystyle {\begin{aligned}{\frac {\partial y}{\partial c}}&=b_{0}s^{c}\ln(s)\sum _{r=0}^{\infty }{\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}s^{r}\\&\quad +b_{0}s^{c}\sum _{r=0}^{\infty }{\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}\left({\frac {1}{c-\beta }}+\sum _{k=0}^{r-1}\left({\frac {1}{c+k}}+{\frac {1}{c+1-\gamma +k}}-{\frac {1}{c+1-\alpha +k}}-{\frac {1}{c+1-\beta +k}}\right)\right)s^{r}\end{aligned}}}

Hence,

${\displaystyle {\frac {\partial y}{\partial c}}=b_{0}s^{c}\sum _{r=0}^{\infty }{\frac {(c-\beta )(c)_{r}(c+1-\gamma )_{r}}{(c+1-\alpha )_{r}(c+1-\beta )_{r}}}\left(\ln(s)+{\frac {1}{c-\beta }}+\sum _{k=0}^{r-1}\left({\frac {1}{c+k}}+{\frac {1}{c+1-\gamma +k}}-{\frac {1}{c+1-\alpha +k}}-{\frac {1}{c+1-\beta +k}}\right)\right)s^{r}}$

At c = α we get y2. Hence, y = Ey1 + Fy2. Let Eb0 = E and Fb0 = F. Noting that s = x−1 we get

{\displaystyle {\begin{aligned}y&=E\left\{{\frac {1}{(\beta +1-\alpha )_{\alpha -\beta -1}}}\sum _{r=\alpha -\beta }^{\infty }{\frac {(\beta )_{r}(\beta +1-\gamma )_{r}}{(1)_{r}(1)_{r+\beta -\alpha }}}x^{-r}\right\}+\\&\quad +F\left\{x^{-\alpha }\sum _{r=0}^{\infty }{\frac {(\alpha -\beta )(\alpha )_{r}(\alpha +1-\gamma )_{r}}{(1)_{r}(\alpha +1-\beta )_{r}}}\left(\ln \left(x^{-1}\right)+{\frac {1}{\alpha -\beta }}+\sum _{k=0}^{r-1}\left({\frac {1}{\alpha +k}}+{\frac {1}{\alpha +1+k-\gamma }}-{\frac {1}{1+k}}-{\frac {1}{\alpha +1+k-\beta }}\right)\right)x^{-r}\right\}\end{aligned}}}

#### α − β < 0

From the symmetry of the situation here, we see that

{\displaystyle {\begin{aligned}y&=G\left\{{\frac {1}{(\alpha +1-\beta )_{\beta -\alpha -1}}}\sum _{r=\beta -\alpha }^{\infty }{\frac {(\alpha )_{r}(\alpha +1-\gamma )_{r}}{(1)_{r}(1)_{r+\alpha -\beta }}}x^{-r}\right\}+\\&\quad +H\left\{x^{-\beta }\sum _{r=0}^{\infty }{\frac {(\beta -\alpha )(\beta )_{r}(\beta +1-\gamma )_{r}}{(1)_{r}(\beta +1-\alpha )_{r}}}\left(\ln \left(x^{-1}\right)+{\frac {1}{\beta -\alpha }}+\sum _{k=0}^{r-1}\left({\frac {1}{\beta +k}}+{\frac {1}{\beta +1+k-\gamma }}-{\frac {1}{1+k}}-{\frac {1}{\beta +1+k-\alpha }}\right)\right)x^{-r}\right\}\end{aligned}}}

## References

• Ian Sneddon (1966). Special functions of mathematical physics and chemistry. OLIVER B. ISBN 978-0-05-001334-2.

Abramowitz, Milton; Stegun, Irene A. (1964). Handbook of Mathematical Functions. New York: Dover. ISBN 978-0486612720.

1. a b c Abramowitz and Stegun Invalid <ref> tag; name "AbSteg" defined multiple times with different content Invalid <ref> tag; name "AbSteg" defined multiple times with different content