I'll start at the beginning. Initially, this sort of began as just what is $\frac{d}{dx}$[$x^x$] the answer being $x^x$+ln(x)$x^x$. This wasn't difficult to achieve, just some chain rule and product rule. I then took $\frac{d}{dx}$[$x^{x^x}$], this took some more chain and product rule but one should end up with an answer of ($x^{x^x}$$x^x$$)\frac{1}{x}$+$x^{x^x}$$x^x$ln$(x)$+$x^{x^x}$$x^x$ln$^2(x)$.
Evidently, I now could just take the $\frac{d}{dx}$[$x^{x^{x^x}}$], but I saw the pattern with the other derivatives and thought that there might be a general formula or rule for the derivatives of tetration. After a search online, and on the exchange, it led to no nothing. So I decided to differentiate the 4th tetration of x, which is $x^{x^{x^x}}$.
For future reference the 4 tetration of x, I'll call $x^{x|4}$. Additionally, I'll call $x^{x^{x^x}}$*$x^{x^x}$ -> $x^{x|4,3}$ just to make my life easier typing this.
The $\frac{d}{dx}$[$x^{x|4}$], is equal to ($x^{x|4,3}$+$x^{x|4,2}$ln$(x)$)$\frac{1}{x}$+$x^{x|4,2}$*ln$^2(x)$+$x^{x|4,2}$*ln$^3(x)$
From here I noticed a pattern, to where I could accurately predict the $\frac{d}{dx}$[$x^{x|n}$] (The derivative of the nth tetration of x)
The general pattern is:
$\frac{d}{dx}$[$x^{x|2}$] = $x^{x|2}$+$x^{x|2}$ln$(x)$
$\frac{d}{dx}$[$x^{x|3}$] = $\frac{x^{x|3,2}}{x}$+ $x^{x|3,2}$ln$(x)$+$x^{x|3,2}$ln$^2(x)$
$\frac{d}{dx}$[$x^{x|4}$] = $\frac{x^{x|4,3}}{x}$+ $\frac{x^{x|4,2}ln(x)}{x}$+$x^{x|4,2}ln^2(x)$+$x^{x|4,2}$ln$^3(x)$
Some rules of the pattern are as follows:
All terms except for the last two will be over x.
The maxima, which is the highest tetration, will always be the number of tetrations in the original tetration that is being differentiated.
The minima, the lowest tetration, will be the maxima-1 then count down to 2, where it will remain until the addition ends.
The exponent on the logarithm starts at zero and counts up until it reaches the maxima-1.
Note: Maxima and minima aren’t accepted terms so use your own as you wish.
For example:
The first segment of the $\frac{d}{dx}$[$x^{x|4}$]. $\frac{x^{x|4,3}}{x}$ notice how it is over x, the maxima is 4, the minima is 4-1, and there is no logarithm because ln$^0(x)$=1. Then one would add, $\frac{x^{x|4,2}ln(x)}{x}$ this segment is also over x and has a maxima of 4 and a minima of one less than the previous. Additionally, this segment has an ln$(x)$, this is because ln$^1(x)$ = ln$(1)$, no surprises.
This pattern continues bound by these rules, so now the $\frac{d}{dx}$[$x^{x|10}$]. However, I wasn’t satisfied with this answer; because I wanted a general formula.
I had my friend, who’s a lot better at math than me, assist me in finding a general formula.
He eventually devised $\frac{d}{dx}[x^{x|n}]$:
$$\sum_{k=0}^{n-2}\frac{x^{x|n,n-k}ln^{k-1}(x)}{x}+x^{x|2}ln^{n-2}+x^{x|2}ln^{n-1}, (n\ge2)$$
We've gone through the mathematical rigor, and so far this formula has seemed to uphold. The main reason I’m writing this is that I have a few questions about this formula and the general idea of there being a general formula.
Can this formula be disproved?
Is there a nicer-looking formula?
Is there a formula with proper notation, not my made-up one?
Can a formula be made so that n is a fraction or even a complex number?