$p$-adic differentiation
$p$-adic norm is not obtained via inner product. Is it still possible to differentiate $|x|_p$ with respect to $x\in\mathbf{Q}_p$ by thinking of the norm as a function of $x$?
Solution 1:
As reuns points out, the absolute value function $x \mapsto \lvert x \rvert_p$ is naturally seen as a function with domain $\mathbb Q_p$ and codomain $\mathbb R$, and for such a function it is not at all clear how to even define a derivative.
However, for functions whose domain and codomain are both subsets of one common ultrametric field (like $\mathbb Q_p$), it is quite possible to define a derivative via the differential quotient just like in old school calculus. As M.A. SARKAR alludes to, it turns out very early in this ultrametric analysis though that the so-called notion of "strict differentiability" is much better adapted to this setting than that "naive" differential quotient; that is, at a given non-isolated point $a$ in the domain of $f$ one should better investigate the limit
$$f'(a) := \lim_{(x,y) \to (a,a)} \frac{f(x)-f(y)}{x-y}.$$
(To see why this notion works better, I remember a good explanation in W. Schikhof's book Ultrametric Calculus which is a good resource for all this anyway.)
Be that as it may, let's take a second look at the absolute value function $x \mapsto \lvert x \rvert_p$. It turns out that its image is $p^{\mathbb Z} \cup \lbrace 0 \rbrace \subset \mathbb Q$ and since there is a canonical injection $\mathbb Q \subset \mathbb Q_p$, we can view this as function $f: \mathbb Q_p \rightarrow \mathbb Q_p$ and apply the notions of naive or strict differentiability to it.
However, as reuns also points out, at every $x \in \mathbb Q_p \setminus \lbrace 0 \rbrace$, this function is locally constant. To be precise, given any such $x$, if we choose $0 < r < \lvert x \rvert_p$, then $f(y) = f(x)$ for all $y \in B_r(x) := \lbrace z \in \mathbb Q_p: \lvert x-z\rvert_p < r \rbrace$ by the ultrametric principle. This immediately entails that both the naive differential quotient, and the above limit one looks at for strict differentiability, are just $=0$ for all $a \in \mathbb Q_p \setminus \lbrace 0 \rbrace$.
At the point $x=0$ however, the function is very badly behaved; in fact, it is not even continuous there if we use the $p$-adic topology on both domain and codomain. E.g. for the sequence $a_n := p^n$, we have $\lim_{n\to \infty} a_n=0$ in the $p$-adic topology on the domain, but $f(a_n) = p^{-n}$ is not a convergent sequence, especially not converging to $f(0)=0$, in the $p$-adic topology on the codomain. This entails also that neither the naive nor the strict differentiability limit exist at $x=0$.
So one could say, via this interpretation, that the absolute value function has derivative $0$ at every $x \neq 0$, and is not differentiable at $x=0$. However, it is dubious (as is actually shown by this weird result) whether such an interpretation of the absolute value function as a function from $\mathbb Q_p$ to $\mathbb Q_p$ (and both viewed as metric spaces w.r.t. the $p$-adic metric) is very meaningful. I doubt that for any serious math, it is ever helpful to view the absolute value function as a function whose codomain does not inherit its topology from the real numbers with their standard metric.
Solution 2:
The function $$N:\Bbb{Q}_p^*\to \Bbb{R}, \qquad N(x)= |x|_p$$ is locally constant.
The formula $$N'(x)=\lim_{h\to 0} \frac{N(x+h)-N(x)}{h}$$ doesn't hold/apply because you can't divide real numbers by $p$-adic numbers.
Something weird happens at $x=0$.
As a metric space you can embed $\Bbb{Q}_p$ into $\Bbb{R}$, through $\iota(\sum_n a_n p^n) = \sum_n a_n (p+1)^{-n},a_n\in 0,\ldots p-1$, then $N\circ \iota^{-1}$ is locally constant except at $0$ where it is not differentiable (for $p=3$, $\lim_{n\to \infty} \frac{(p+1)^{-n}}{N(p^{n})}\ne \frac{2(p+1)^{-n}}{N(p^{n})}$)