I saw an integral in a paper and tried computing something similar, can anyone confirm the answer?
Let $\nu$ be the valuation on $\mathbb{Q}_p$, $\mu$ the Haar measure on $\mathbb{Z}_p^{\times}$ and $\alpha \in \mathbb{Z}_p$ The integral I tried to compute and my obtained answer is $$-\int_{\mathbb{Z}_p^{\times}}\nu(x-\alpha)d\mu = \begin{cases} 0 & |\alpha|_p<1\\ -\frac{p}{(p-1)^2} & |\alpha|_p=1\\ -\nu(\alpha) & |\alpha|_p >1 \end{cases}$$
Here is a link to my work if you want to see it: my attempt
For $a\in \mathbb{Z}_p^{\times}$ $$\int_{\mathbb{Z}_p^{\times}}v(x-a)dx=\int_{\mathbb{Z}_p^{\times}-a+p\mathbb{Z}_p}v(x-a)dx+\sum_{k\ge 1}\int_{a+p^k \mathbb{Z}_p-a+p^{k+1} \mathbb{Z}_p}v(x-a)dx$$ $$ = 0(1-\frac{1}{p-1})+\sum_{k\ge 1}k\frac{p^{1-k}-p^{-k}}{p-1}$$ For $a\in p\mathbb{Z}_p$, $$\int_{\mathbb{Z}_p^{\times}}v(x-a)dx=0$$ For $a\in \mathbb{Q}_p-\mathbb{Z}_p$, $$\int_{\mathbb{Z}_p^{\times}}v(x-a)dx=v(a)$$ Also usually we look at $$\int_{\mathbb{Z}_p^{\times}}|x-a|dx$$ not $\int_{\mathbb{Z}_p^{\times}}v(x-a)dx$