Let the function $\operatorname{hsin}(x)$ be defined as a continuous function with the property $$\operatorname{hsin}(\operatorname{hsin}(x))=\sin x$$ and let other half-trig functions be defined analogously, so that $$\operatorname{hcos}(\operatorname{hcos}(x))=\cos x$$ $$\operatorname{htan}(\operatorname{htan}(x))=\tan x$$ $$\operatorname{hsec}(\operatorname{hsec}(x))=\sec x$$ $$\operatorname{hcsc}(\operatorname{hcsc}(x))=\csc x$$ $$\operatorname{hcot}(\operatorname{hcot}(x))=\cot x$$ There are a vast multitude of identities involving trig functions, like $$\sin^2x+\cos^2x=1$$ and $$\tan x=\frac{\sin x}{\cos x}$$ to name just a few. Can anybody find any interesting identities that can be determined about the half-trig functions, without just taking normal trig identities and substituting in the definitions?
For example, can we find a way to express $\operatorname{htan}(x)$ in terms of $\operatorname{hsin}(x)$ and $\operatorname{hcos}(x)$? Or, in other words, can we find a function $f$ such that $$\operatorname{htan}(x)=f(\operatorname{hsin}(x),\operatorname{hcos}(x))$$
For invertible functions without constant term one can use a "q&d"-method to compute/approximate the half-iteratives: the adaption of the iterative Newton-method to find square-roots.
In Pari/GP this is especially convenient, because you can work with formal powerseries as variables and their inversion.
The following method approximates the powerseries for the halfiterative of the $\sin()$-function
I implemented this in the following way and show a small example-value $x_0=0.2$
hsin()
Similarly with the $\tan()$-function:
htan()
hcos(): Unfortunately, the $\cos()$-function has a constant term and is thus not simply invertible. The assumption, that
hsin(x)/htan(x) = hcos(x)however, can be checked (and fails!), so this is not a way to compute the half-iterate for the $\cos()$:Didn't check the other possible functions.
Important remarks: Note that the powerseries of the half-iterates have terms whose absolute value diverges strongly, so strictly spoken we could not evaluate the powerseries for the half-iterates. But the divergence of the coefficients begins only after a handful of leading terms, so using a powerseries "precision"
\ps 32should not be extended much or might even better be slightly reduced to get more accurate approximations. (We have so called "asymptotic series" which when appropriately truncated give more-or-less rough estimates to some dozen decimal digits)