I am a programmer, but grew up with a pretty weak math education. While I can cobble together enough understanding to build something like these charts solo from raw data, my level of true math literacy has always felt very low in my own opinion.
I recently watched a video that was seductively titled, "What is 0 to the power of 0?" on youtube.
In it, an educator demonstrates that going from $0.9^{0.9}, 0.8^{0.8}, 0.7^{0.7} ...0.1^{0.1}$ shows an odd pattern--somewhere between $0.3$ and $0.4$ the numbers stop going down, and start going up, and if you chase this pattern ($0.000001^{0.000001}$, etc.), you continue approaching $1$.
Now, aside from the fact that I wrote a little sieve to go figure out what's the most precise number javascript can show me as to what that 'splitting' number is, where it starts going up instead of down, the weirdness of that behavior made me realize I don't deeply really seem to understand exponents.
As I've always understood them, the exponent was just a counter for how many times to multiply the base within an operation.
Turns out, as I discovered in my attempts to self-educate, $0^0$ looks to be 1 (though some seem to disagree...?), anything to the 0 power is $1$ (that's irritating, and the kind of thing that makes me hate math--where the hell is that coming from?), and fraction exponents...
...what I'm really getting to is, what the hell is a fractional exponent? What does it really mean? When I picture multiplying a whole number like $7$ by a decimal, like $.5$, I picture the $7$ getting counter $.5$ times, or a jar of quantity $7$ filled up halfway.
What am I supposed to imagine for $7^.5$?
I tried working out my thoughts by writing a little javascript function that calculates exponents. It handles 0,1,negative numbers, and regular numbers all reasonably cleanly, but I really couldn't see how to possibly put a decimal into this framework.
My girlfriend is a mathematician, so I asked her. The best answer she was able to give me (it's hard for us to talk about math--it's like asking a native speaker a question about their language, it's just so hard to understand what it's like to experience not being a native) was (as I understand it), a way around the problem:
Just multiply the exponent by a high enough number that the decimal goes away, and then get the corresponding root of the number after you finish.
Basically, recursion.
I implemented that into my code, and it works. I get something that returns the same as the built-in Math.pow()
function in javascript 89% of the time, and disagrees only at extreme precision levels the other 11% of the time.
But I don't feel like I deeply understand what the dance of numbers is that leads $2^{.9}$ to be $1.866[...]$, or, to my original point, what the hell is going on when we move from $0.4^{0.4}$ to $0.3^{0.3}$ (or, more specifically, from $0.367^{0.367}$ to $0.366^{0.366}$, where the downward trend turns upwards mysteriously).
What am I missing about exponents, and why is it so hard to find an explanation in these terms? Is my question just somehow deeply flawed?
Bonus, if it helps, here's my internal thought process for reading an exponent turned into code:
var powerify = function(base, exponent) {
let i = exponent;
let answer = 1;
if (exponent % 1 !== 0) {
answer = powerify(base, exponent*10) ** .1
}
else if (i > 0) {
while (i > 0) {
answer = answer * base;
i = i - 1;
}
}
else if (i < 0) {
while (i < 0) {
answer = answer / base;
i = i + 1;
}
}
return answer;
}