$$f(a,b) = a^b$$
Where $0\le a \le1$ and $0\le b \le1$ and either $a\ne0$ or $b\ne0$
How can I calculate the median value of $f$ ?
I can estimate it to be about 0.76536 by taking values along the interval. This of course is not a mathematical answer, however. I'd like to know if you can calculate this algebraically.


For a continuous random variable $X$, the median is sometimes defined as the value $x$ such that $\Pr[X \le x] = \Pr[X > x]= \dfrac{1}{2}$.
So, if we assume that $A,B$ are i.i.d. $\text{Uniform}[0,1]$, and we let $X = A^B$, then the median $x$ satisfies:
$\dfrac{1}{2} = \Pr[X \ge x] = \Pr[A^B \ge x] = \Pr[B \le \dfrac{\ln x}{\ln A}] = \displaystyle\int_{0}^{1}\int_{0}^{\min\{1,\frac{\ln x}{\ln a}\}}\,db\,da$ $= \displaystyle\int_{0}^{1}\min\{1,\dfrac{\ln x}{\ln a}\}\,da = \int_{0}^{x}\dfrac{\ln x}{\ln a}\,da + \int_{x}^{1}1\,da = \text{Li}(x)\ln x + (1-x)$,
where $\text{Li}(x) = \displaystyle\int_{0}^{x}\dfrac{\,dt}{\ln t}$ denotes the Logarithmic Integral.
We can solve the equation $\text{Li}(x)\ln x + (1-x) = \dfrac{1}{2}$ numerically, which yields a median value of $x \approx 0.765352996676930...$. This is fairly close to what you got by discretizing the problem.