I am working on the $p$-adic integration and I am trying to find how to integrate
$$\int_{\mathbb{Z}_p^2}||x,y||_p^sd\mu (x,y),$$ where $d\mu$ is the haar measure and $||x,y||_p^s=\sup\{|x|_p^s,|y|_p^s\}$. I believe it should be done by performing a change of variables according to whether $|x|_p^s\leq |y|_p^s$ or $|x|_p^s>|y|_p^s$.
The method I used was changing variables. $$\int_{\mathbb{Z}_p^2} ||x,y||_p^sd\mu(x,y)=\int_A |x|_p^sd\mu(x,y)+\int_B|y|_p^sd\mu(x,y),$$ where $A=\{(x,y)\in\mathbb{Z}_p^2:|x|_p^s>|y|_p^s\}$ and $B=\{(x,y)\in\mathbb{Z}_p^2:|x|_p^s\leq|y|_p^s\}$. Now consider two bianalytic functions $g_1:(x,y)\to(x,xy)$ and $g_2:(x,y)\to(xy,y)$. Then
$$\int_{g_1(A)}|f(g_1)|_p^s\cdot|\det(\partial g_1)|_pd\mu(x,y)+\int_{g_2(B)}|f(g_2)|_p^s\cdot|\det(\partial g_2)|_pd\mu(x,y)\\ =\int_{p\mathbb{Z}_p}\int_{\mathbb{Z}_p}|x|_p^{s+1}dxdy+\int_{\mathbb{Z}_p}\int_{\mathbb{Z}_p}|y|_p^{s+1}dydx \\ = p^{-1}\int_{\mathbb{Z}_p}|x|_p^{s+1}dx+\int_{\mathbb{Z}_p}|y|_p^{s+1}dy\\ =\frac{1-p^{-1}}{1-p^{-s-2}}+\frac{p^{-1}-p^{-2}}{1-p^{-s-2}}=\frac{1-p^{-2}}{1-p^{-s-2}}.$$
For the other problem $$\int_{\mathbb{Z}_p^2}|y|^{a_0}||x,y||^{a_1}d\mu(x,y)$$ I used same method and same bianalytic functions and I obtained $$\int_{\mathbb{Z}_p}|x|^{a_0+a_1+1}dx\int_{p\mathbb{Z}_p}|y|^{a_0}dy+\int_{\mathbb{Z}_p}\int_{\mathbb{Z}_p}|y|^{a_0+a_1+1}dydx\\ = \frac{1-p^{-1}}{1-p^{-a_0-a_1-2}}(\frac{p^{-a_0-1}-p^{-a_0-2}}{1-p^{-a_0-1}}+1) = \frac{1-p^{-1}}{1-p^{-a_0-a_1-2}}\frac{1-p^{-a_0-2}}{1-p^{-a_0-1}}.$$