WolframAlpha says that $\zeta(0) = - \frac{1}{2}$ but I can't seem to get that result.
I found that for $\Re(s) < 1 $, \begin{equation}\label{1} \zeta(s) = 2^s \pi^{s-1}\sin\Bigl(\frac{s\pi}{2}\Bigr)\Biggl[\int_{0}^\infty e^{-y}y^{-s}\,\, dy \Biggr]\zeta(1-s),\tag{1} \end{equation}
And for $\Re(s) > 0 $, $$\zeta(s) = \frac{1}{1-2^{1-s}} \cdot \sum_{n=1}^\infty \frac{(-1)^{n-1}}{n^s}.\tag{2} $$
If I want to calculate $\zeta(0)$, using (1), then on the RHS I get $\zeta(1)$ which is undefined.
So how would I calculate $\zeta(0)$?
Use $$\Gamma(s)\zeta(s)=\int_0^\infty\frac{x^{s-1}}{e^x-1}\,dx.$$ Now $$\frac1{e^x-1}=\frac1x-\frac12+f(x)$$ where $f(x)=O(x)$ as $x\to0^+$. Then $$\Gamma(s)\zeta(s)=\frac1{s-1}-\frac1{2s}+\int_0^\infty x^{s-1}f(x)\,dx.$$ As $f(x)=O(x)$ near zero, this last integral is holomorphic for $\text{Re }s>-1$. Now consider the residue at the pole at zero.