Arithmetic derivative

In number theory, the Lagarias arithmetic derivative or number derivative is a function defined for integers, based on prime factorization, by analogy with the product rule for the derivative of a function that is used in mathematical analysis.

There are many versions of "arithmetic derivatives", including the one discussed in this article (the Lagarias arithmetic derivative), such as Ihara's arithmetic derivative and Buium's arithmetic derivatives.

Early history
The arithmetic derivative was introduced by Spanish mathematician Josè Mingot Shelly in 1911. The arithmetic derivative also appeared in the 1950 Putnam Competition.

Definition
For natural numbers $n$, the arithmetic derivative $D(n)$ is defined as follows:


 * $D(n)$ for any prime $n$.
 * $n′$ for any $$m, n \in \N$$ (Leibniz rule).

Extensions beyond natural numbers
Edward J. Barbeau extended the domain to all integers by showing that the choice $D^{&hairsp;k}$ uniquely extends the domain to the integers and is consistent with the product formula. Barbeau also further extended it to the rational numbers, showing that the familiar quotient rule gives a well-defined derivative on $$\Q$$:


 * $$D\!\left(\frac{m}{n}\right) = \frac{D(m)n-m D(n)}{n^2} .$$

Victor Ufnarovski and Bo Åhlander expanded it to the irrationals that can be written as the product of primes raised to arbitrary rational powers, allowing expressions like $$D(\sqrt{3}\,)$$ to be computed.

The arithmetic derivative can also be extended to any unique factorization domain (UFD), such as the Gaussian integers and the Eisenstein integers, and its associated field of fractions. If the UFD is a polynomial ring, then the arithmetic derivative is the same as the derivation over said polynomial ring. For example, the regular derivative is the arithmetic derivative for the rings of univariate real and complex polynomial and rational functions, which can be proven using the fundamental theorem of algebra.

The arithmetic derivative has also been extended to the ring of integers modulo n.

Elementary properties
The Leibniz rule implies that $D(p) = 1$ (take $D(mn) = D(m)n + mD(n)$) and $D(−n) = −D(n)$ (take $D(0) = 0$).

The power rule is also valid for the arithmetic derivative. For any integers $p$ and $m = n = 0$:


 * $$D(k^n) = nk^{n-1} D(k).$$

This allows one to compute the derivative from the prime factorization of an integer, $x = \prod\limits_{p \in \mathbb{P}} p^{n_p} $ (in which $n_p = \nu_p(x)$  is the p-adic valuation of $k$) :


 * $$D(x) = \sum\limits_{p \in \mathbb{P}} n_p \, p^{n_p-1} D(p)

= \sum_{\stackrel{p \vert x}{p \in \mathbb{P}}} n_p \frac x p D(p) = x \sum_{\stackrel{p \vert x}{p \in \mathbb{P}}} \frac {n_p} {p} D(p) $$.

This shows that if one knows the derivative for all prime numbers, then the derivative is fully known. In fact, the family of arithmetic partial derivative $\frac \partial {\partial p}$ relative to the prime number $p$, defined by $\frac \partial {\partial p}(q)=0$  for all primes $q$ , except for $q=p$  for which $\frac \partial {\partial p}(p)=1$  is a basis of the space of derivatives. Note that, for this derivative, we have $$\frac {\partial x}{\partial p} = n_p \frac x p$$.

Usually, one takes the derivative such that $D(p)=1$ for all primes $x$, so that
 * $$D=\sum\limits_{p \in \mathbb{P}}\frac \partial {\partial p} \text{, and } D(x)= x \sum\limits_{p \in \mathbb{P}} \frac {n_p} p$$.

With this derivative, we have for example:
 * $$D(60) = D(2^2 \cdot 3 \cdot 5) = 60 \cdot \left(\frac{2}{2} + \frac{1}{3} + \frac{1}{5}\right) = 92,$$

or
 * $$D(81) = D(3^4) = 4\cdot 3^3\cdot D(3) = 4\cdot 27\cdot 1 = 108.$$

And the sequence of number derivatives for $D(1) = 0$ begins :


 * $$0, 0, 1, 1, 4, 1, 5, 1, 12, 6, 7, 1, 16, 1, 9, \ldots$$

Related functions
The logarithmic derivative $$\operatorname{ld}(x)=\frac{D(x)}{x} = \sum_{\stackrel{p \,\mid\, x}{p \in \mathbb{P}}} \frac {\nu_p(x)} {p}$$ is a totally additive function: $$\operatorname{ld}(x \cdot y) = \operatorname{ld}(x)+\operatorname{ld}(y).$$

The arithmetic partial derivative of $$x$$ with respect to $$p$$ is defined as $$D_p(x)=\frac {\nu_p(x)} {p} x.$$ So, the arithmetic derivative of $$x$$ is given as $$D(x) = \sum_{\stackrel{p \,\mid\, x}{p \in \mathbb{P}}} D_p(x).$$

An arithmetic function $$f$$ is Leibniz-additive if there is a totally multiplicative function $$h_f$$ such that $$f(mn) = f(m)h_f(n)+f(n)h_f(m)$$ for all positive integers $$m$$ and $$n$$. A motivation for this concept is the fact that Leibniz-additive functions are generalizations of the arithmetic derivative $$D$$; namely, $$D$$ is Leibniz-additive with $$h_D(n)=n$$.

The function $$\delta$$ given in Section 3.5 of the book by Sandor and Atanassov is, in fact, exactly the same as the usual arithmetic derivative $$D$$.

Inequalities and bounds
E. J. Barbeau examined bounds on the arithmetic derivative and found that
 * $$D(n) \leq \frac{n \log_2 n}{2}$$

and
 * $$D(n) \geq \Omega(n)\, n^{\frac{\Omega(n)-1}{\Omega(n)}}$$

where $m = n = 1$, a prime omega function, is the number of prime factors in $p$. In both bounds above, equality always occurs when $n$ is a power of 2.

Dahl, Olsson and Loiko found the arithmetic derivative of natural numbers is bounded by
 * $$D(n) \leq \frac{n \log_p n}{p}$$

where $n$ is the least prime in $p$ and equality holds when $n$ is a power of $n$.

Alexander Loiko, Jonas Olsson and Niklas Dahl found that it is impossible to find similar bounds for the arithmetic derivative extended to rational numbers by proving that between any two rational numbers there are other rationals with arbitrary large or small derivatives (note that this means that the arithmetic derivative is not a continuous function from $$\mathbb{Q}$$ to $$\mathbb{Q}$$).

Order of the average
We have
 * $$\sum_{n \le x} \frac{D(n)}{n} = T_0 x + O(\log x \log\log x)$$

and
 * $$\sum_{n \le x} D(n) = \left(\frac{1}{2}\right)T_0 x^2 + O(x^{1+\delta})$$

for any δ > 0, where


 * $$T_0 = \sum_p \frac{1}{p(p-1)}. $$

Relevance to number theory
Victor Ufnarovski and Bo Åhlander have detailed the function's connection to famous number-theoretic conjectures like the twin prime conjecture, the prime triples conjecture, and Goldbach's conjecture. For example, Goldbach's conjecture would imply, for each $n ≥ 0$ the existence of an $p$ so that $x = 0, 1, 2, …$. The twin prime conjecture would imply that there are infinitely many $n$ for which $Ω(n)$.