The exponential function is f(x)=ax; the basea must be a positive real number but the exponentx can be any real number. The precise definition doesn’t come up often, but here it is in case you ever need it (defining all these cases is necessary in order to ensure that the resulting function is continuous:
If x is a positive integer n, then an=a⋅a⋯a(n times)
If x=0, then a0=1
If x is a negative integer, then a−n=an1
If x is a rational number p/q, with q>0, then ap/q=qap
If x is an irrational number, then it’s defined as the limit of ar, where r is a sequence of rational numbers whose limit is x.
Note that we would run into trouble at step 4 if we tried to allow negative bases.
Note that the last two results use the logarithmic function, which we haven’t actually introduced yet (see below).
Logarithm definition
The logarithmic function with base a is defined as the function satisfying
logax=y⟺ay=x
If we leave off the base, it is assumed to be base e, the “natural logarithm”:
logx=logex
in other words,
logx=y⟺ey=x;
the notation lnx can also be used for this. In some disciplines, when we leave off the base, one assumes the base is 10; statistics is not one of those disciplines. Note that