So our teacher doesnt use the same demonstration as most other sites use for proving that gamma of a half is the square root of pi. I dont understand the demonstration from the first step because he uses the Wallis product but first he represents $Γ(1/2)$ as :
$$Γ(n + 1/2) = 2^{-n}Γ(1/2)\prod_{k=1..n}(2k-1)$$
This is just the first step and i dont undderstand how they get that.. I understand the gamme function and that when you integrate it you get $Γ(x+1) = xΓ(x)$ and i know i need to somehow use this identity but i dunno how.
From the Legendre duplication formula; \begin{equation} \Gamma(z) \; \Gamma\left(z + \frac{1}{2}\right) = 2^{1-2z} \; \sqrt{\pi} \; \Gamma(2z). \end{equation} We can re-arrange by dividing by $\Gamma(z)$ and considering the quotient \begin{eqnarray} \frac{\Gamma(2n)}{\Gamma(n)} &=& \frac{1}{\Gamma(n)} \left(2n(2n-1)(2n-2)(2n-3)(2n-4)(2n-5)\ldots\right)\\ &=& \frac{1}{\Gamma(n)} \left(2^{n+1}n(2n-1)(n-1)(2n-3)(n-2)(2n-5)(n-3)\ldots\right)\\ &=& \frac{1}{\Gamma(n)} \left(2^{n+1}n! \prod_{k=1}^{n}(2n-(2k+1))\right)\\ &=& 2^{n+1} \prod_{k=1}^{n}(2n-(2k+1)) \end{eqnarray} Which means that \begin{eqnarray} \Gamma\left(z + \frac{1}{2}\right)&=& 2^{1-2n} \sqrt{\pi} 2^{n+1} \prod_{k=1}^{n}(2n-(2k+1)) \\ &=& \sqrt{\pi} 2^{-n} \prod_{k=1}^{n}(2n-(2k+1)) \end{eqnarray} In general for non-integer $n$,
\begin{eqnarray} \Gamma\left(\frac{1}{2}+n\right) &=& {(2n)! \over 4^n n!} \sqrt{\pi} \\ &=& \frac{(2n-1)!!}{2^n} \sqrt{\pi} \\ &=& \sqrt{\pi} \left[ {n-\frac{1}{2}\choose n} n! \right] \end{eqnarray}