How many functions are there which are differentiable on $(0,\infty)$ and that satisfy the relation $f^{1}=f'$?

13$\begingroup$ What is the motivation for this question? $\endgroup$ – JBL Jul 31 '10 at 20:07

20$\begingroup$ If $f^{1}$ means $1/f$, then yes, it is an easy differential equations question. On the other hand if $f^{1}$ is the functional inverse of $f$, then it looks pretty hard. $\endgroup$ – Robin Chapman Jul 31 '10 at 21:18

2$\begingroup$ It seems that this was a "piece of cake" question for John Conway, RIP. scottaaronson.com/blog/?p=4732#comment1836703 $\endgroup$ – pisoir Apr 13 '20 at 7:48

1$\begingroup$ @pisoir Thanks for sharing :) $\endgroup$ – crskhr Apr 13 '20 at 8:54
Let $a=1+p>1$ be given. We shall construct a function $f$ of the required kind with $f(a)=a$ by means of an auxiliary function $h$, defined in the neighborhood of $t=0$ and coupled to $f$ via $x=h(t)$, $f(x)=h(a t)$, $f^{1}(x)=h(t/a)$. The condition $f'=f^{1}$ implies that $h$ satisfies the functional equation $$(*)\quad h(t/a) h'(t)=a h'(at).$$ Writing $h(t)=a+\sum_{k \ge 1} c_k t^k$ we obtain from $(*)$ a recursion formula for the $c_k$, and one can show that $0< c_r<1/p^{r1}$ for all $r\ge 1$. This means that $h$ is in fact analytic for $t< p$, satisfies $(*)$ and possesses an inverse $h^{1}$ in the neighborhood of $t=0$. It follows that the function $f(x):=h(ah^{1}(x))$ has the required properties.

$\begingroup$ I know little about analysis, so my apologies if this is a silly question. Are you solving a version of the problem where the function f is not necessarily defined on (0,∞) but is defined on some interval (0,b) (which is also an interesting problem)? $\endgroup$ – Tsuyoshi Ito Aug 1 '10 at 14:16

$\begingroup$ The function $f$ constructed here is a priori only defined in a neighborhood of the point $a$. $\endgroup$ – Christian Blatter Aug 1 '10 at 14:57

$\begingroup$ Just a naive question: I don't see the definition of the constant $p$ anywhere. Do you mean that the inequalities $0<c_r<p^{1r}$, $r\geq 1$ hold for some $p>0$? $\endgroup$ – Pedro Lauridsen Ribeiro Dec 13 '16 at 23:50

$\begingroup$ @PedroLauridsenRibeiro: The function so constructed is defined in the neighborhood of the point $a$, where it is assumed that $a>1$. Given $a$ the quantity $p>0$ is defined by $a=1+p$ in the first sentence of the answer. $\endgroup$ – Christian Blatter Dec 16 '16 at 9:37

$\begingroup$ Oh, right, my bad. Sorry for that, thanks! (nice answer, by the way) $\endgroup$ – Pedro Lauridsen Ribeiro Dec 16 '16 at 15:34
Seems like we have here yet another vindication of Léo Sauvé's famed dictum...
I am going to try to sketch below the aweinspiring solution to this problem with which A. C. Hindmarsh came up and which was showcased on page 696 of the sixth issue of volume 76 (1969) of the American Mathematical Monthly. As far as I know, the problem was originally proposed by H. L. Nelson and appeared on page 779 of volume 75 (1968) of the Monthly: oddly enough, it would make its way to the problem & solutions column of the Monthly once again in 1976 (vol. 83, no. 4, p. 293); however, on that occasion it would be attributed to a Nathaniel Grossman from UCLA.
Solution. We wish to determine all functions $f \colon [0,\infty) \to [0,\infty)$ such that $f(0)=0$ and $f^{\prime}(x) = f^{1}(x)$ for every $x \in I:=(0,\infty)$. We shall prove that, apart from the function mentioned by Tsuyoshi Ito in his reply, there is no other function $f$ which satisfies all the constraints under consideration.
First off, we notice that if $f$ is a function that does the job, then $f$ must be $\mathcal{C}^{1}$ and strictly increasing in $(0,\infty)$. Then, differentiating the identity $$f(f^{\prime}(x))=x$$ repeatedly, we obtain that $f$ is a function of class $\mathcal{C}^{\infty}$. What is more, we obtain that $f^{\prime \prime}>0$, $f^{\prime \prime \prime} < 0, \ldots, (1)^{k}f^{(k)}>0$; it follows from Bernstein's theorem on regularly monotonic functions that $f$ is a realanalytic function on $(0,\infty)$.
Now, from the identity
$$\frac{d}{dx} f(f(x)) = f^{\prime}(f(x))f^{\prime}(x) = xf^{\prime}(x)$$
we get that
$$f(f(x)) = \int_{0}^{x} y \, f^{\prime}(y) \, dy$$ for every $x \in I$. This allows us to ascertain that $f$ has a fixed point $a \in I$: if this were not the case, the function $F \colon I \to \mathbb{R}$, defined for every $x \in I$ as $F(x)= f(x)x$, would be of fixed sign. We claim that such a thing is not possible: indeed, if $f(x)>x$ for every $x \in I$, then $y = f^{\prime}(f(y)) > f^{\prime}(y)$ for every $y \in (0,x)$ and whence
$$ x < f(f(x)) = \int_{0}^{x} y \, f^{\prime}(y) \, dy < \int_{0}^{x} y^{2} \, dy = \frac{x^{3}}{3},$$
which doesn't necessarily hold when $x$ is sufficiently small; since the assumption that the inequality $f(x)<x$ holds for every $x \in I$ allows us to derive a similar contradiction, we conclude that any solution $f$ to the functionaldifferential in question does have a fixed point $a\in I$. Further, the strict convexity of $F$ implies that $F$ has at most two zeros, counting the one it has at $x=0$. Thus, $f$ has exactly one fixed point $a\in I$, with $f(x)<x$ in $(0,a)$, $f(x)>x$ in $(a,\infty)$, $f^{\prime}(x)>x$ in $(0,a)$, and $f^{\prime}(x)<x$ in $(a,\infty)$.
The uniqueness of the solution to the problem is established by means of the fixed point whose existence has just been proven. Let us suppose that $f_{1}$ and $f_{2}$ are two functions satisfying all the constraints under consideration and let $g:=f_{1}f_{2}$. Moreover, let us denote with $a_{i}$ the unique fixed point of $f_{i}$ in the interval $I$. Without loss of generality, we can suppose that $a_{1} \geq a_{2}$.
The possibility that $a_{1}>a_{2}$ leads us to a contradiction. (I am not adding all the details behind the corresponding analysis for the moment. I consider this is the least transparent part of Mr. Hindmarsh's argument. Can any of you, fellow MOers, provide a more limpid justification of this part of the solution?)
If $a_{1}=a_{2}=a$, then it is not difficult to convince oneself that $0=g(a)=g^{\prime}(a) = g^{\prime \prime}(a) =\ldots$; being $g$ a realanalytic function in $I$, the latter equalities implies that $g$ vanishes identically and we are done.
QED.
Wow. I remember that I thought exactly the same problem out of curiosity as a high school student but did not reach an answer. In fact, I was thinking about posting this problem on MathOverflow!
At least it is easy to construct one solution: f(x)=x^{φ}/φ^{φ−1}, where φ=(1+√5)/2 is the golden ratio.
Edit: Corrected the calculation. Thanks to Aaron Meyerowitz for spotting the error!

$\begingroup$ Which does not answer the question, as far as I can tell. $\endgroup$ – Did Nov 18 '12 at 12:53

$\begingroup$ @Didier Piau: It clearly does not. In case anyone is wondering, the asker posted the answer shortly after Christian Blatter posted his related analysis, and deleted it after I asked him if he had posted the question knowing the answer. $\endgroup$ – Tsuyoshi Ito Nov 20 '12 at 1:04
This question is more complicated than it seems
If $f^{1}(x)=f'(x)$ then $f(f^{1}(x))=f(f'(x))$ or $x=f(f'(x))$
First derivative is giving
$\displaystyle 1=f'(f'(x))f''(x)$
Now replace $y=f'(x)$
$\displaystyle y(y(x))y'(x)=1$
Instead of the above we will solve a more general:
$\displaystyle g(y(x))y'(x)=1$
This one has a solution expressed as
$\displaystyle \int_{1}^{y(x)}g(r) \mathrm{d} r = x+c$
Now since we want $y(x)=g(x)$ we have
$\displaystyle \int_{1}^{y(x)}y(r) \mathrm{d} r = x+c$
$\int_{1}^{y(x)}y(r) \mathrm{d} r$ is actually a curious operator which we will represent as $\mathfrak{R}(y(x))_{1}$
Now this operator has its inverse and this is what we are looking for. For a function $h(x)$ we want to know $s(x)$ so that
$\displaystyle \mathfrak{R}(s(x))=h(x)$
We will call $\mathfrak{R}^{1}()$ the integral root.
As a new operator we need to examine it a little bit. We can create a table for some known functions first
$\begin{matrix} h(x) & \mathfrak{R}^{1}(h(x))_{1} \\ & \\ \frac{1}{2}(x^21) & x\\ \frac{1}{3}(x^61) & x^2\\ 1  \ln(x)(1  \ln(\ln(x))) & \ln(x)\\ e^{e^x}e & e^x\\ \ln(x) & \frac{1}{x}\\ \cos(1)\cos(\sin(x)) & \sin(x)\\ \frac{2}{3}(x^{\frac{3}{4}}1) & \sqrt{x} \end{matrix}$
We do not ignore constant term since integral root is very sensitive operator and we define in general integral root with base $b$ as:
$\mathfrak{R}(h(x))_{b}=\int_{b}^{f(x)}f(r) \mathrm{d} r$
We will return to the importance of base later but for now we say that the function does not have to be defined everywhere and base can help about it. So, all we need to find the integral root of $h(x)=x$.
The operator resembles a normal derivative/integration except that it is extending it all, it is giving sort of a faster result.
It is a deep question if this operator has unique values. (We will hint something into that direction but overall this is a very good subject for some semester work.)
Notice that the operator is very sensitive to the constant value and this one cannot be ignored.
Since powers of $x$ appears from the powers of $x$, we could try the solution in the most general form as $g(x)=ax^b+f(x)$ however this will convince us very quickly that for any solution defined everywhere $f(x)=0$, since such solutions are very restrictive and it is not possible to drive constants the way we would like to, even adding $ax^b+c$ would create a solution that is useless. The way of dealing with constant term is by changing the base in general.
So, if we restrict ourselves to global world we have
$\displaystyle \mathfrak{R}(ax^b)_{1}=\frac{a^{b+2}x^{b(b+1)}}{b+1}\frac{a}{b+1}$
Since we want
$\displaystyle \mathfrak{R}(ax^b)_{1}= x+c$
that requires $b(b+1)=1$ making the result
$ba^{b+2}xab$
This requires $ba^{b+2}=1$ as well which makes $a=(b+1)^{\frac{1}{b+2}}$
(Notice that these are not two different integral roots of the same function.)
Now our solution is $y(x)=f'(x)$ so we have it back as
$\displaystyle f(x)=\frac{a}{b+1}x^{b+1}=(b+1)^{\frac{1}{b+1}}x^{b+1}$
where as we have mentioned $b(b+1)=1$
The reason we opt for this operator is that the function in question has derivative thus it is assumed that it is a nicely behaving function.
Let us prove that these two are the solutions
Derivative
$\displaystyle f'(x)=(b+1)^{\frac{1}{b+1}}(b+1)x^{b}$
$\displaystyle f'(x)=(b+1)^{\frac{1}{b+1}+1}x^{b}$
$\displaystyle f'(x)=(b+1)^{\frac{b+11}{b+1}}x^{b}$
$\displaystyle f'(x)=(b+1)^{\frac{b}{b+1}}x^{b}$
Inverse
$\displaystyle x=(b+1)^{\frac{1}{b+1}}h(x)^{b+1}$
$\displaystyle (b+1)^{\frac{1}{b+1}}x=h(x)^{b+1}$
$\displaystyle (b+1)^{\frac{1}{(b+1)(b+1)}}x^{\frac{1}{b+1}}=h(x)$
$\displaystyle f^{1}=h(x)=(b+1)^{\frac{b}{b+1}}x^{b}$
Finally let us use golden ratio to find what the solutions we are talking about
$\displaystyle b_{1}=\phi$,$ b_{2}=\phi1$
making the first solution actually complex and the second real:
$\displaystyle (\phi+1)^{\frac{1}{\phi+1}}x^{\phi+1}=(\phi)^{\phi}x^{\frac{1}{\phi}}$
$\displaystyle \phi^{\frac{1}{\phi}}x^{\phi}$
The two solutions we have are driven by differing a constant only, otherwise the integral root has the unique solution just like normal root has. It is possible that there are solutions that are not analytical or defined everywhere, otherwise the two given solutions are the only nice global solutions.
Apart from these global solutions that do not change if we change the integral root base, there is an option of having a local solution. For this we extend the function analytically at some point $x_{0}$ and ask that the function behaves as $x$ regarding the integral root at that point.
Then near $x_{0}$ that function will behave as required.
$\displaystyle f(x)=\sum\limits_{n=0}^{+\infty}c_{n}(xx_{0})^n $
Basically we are asking
$\displaystyle \mathfrak{R}(\sum\limits_{n=0}^{+\infty}c_{n}(xx_{0})^n)_{x_{0}} = x+c$
Notice that the change of base is very important, albeit purely technical for this particular task, as we have assumed that we know this function only around $x_{0}$
Then we need to have:
$\displaystyle \sum\limits_{n=0}^{+\infty}\frac{c_{n}}{n+1}(\sum\limits_{m=0}^{+\infty}c_{m}(xx_{0})^mx_{0})^{n+1}=x+f(x_{0})+c$
Obviously we can match all coefficients since the final coefficient by $x$ should be $1$ and all higher powers $0$. Solving all coefficient for $c_{k}$ will give local solutions for each $x_{0}$. We already have one such non trivial solution, but there could be more than that global one.
However, notice that the integral root base does not affect the answer, since the base deals with constant term only, and constant term is arbitrary. Instead of $1$ for our function we could take any constant.
This is to say that our local solution again has the same resolution which we have found when we started from $1$.
Unless there is some curious and undiscovered way the integral root can have more than two given solutions, one real and another complex, each local solution is equal to either of the two found global solutions.