More precise definition of exponential Show The definition of polynomial is pretty much universal and straightforward so I won't discuss it further. The definition of Big O is also quite universal, you just have to think carefully about the So in this answer I would like to focus on the precise definition of the exponential as it requires a bit more thought/is less well known/is less universal, especially when you start to think about some edge cases. I will then contrast it with polynomials a bit further below
The most common definition of exponential time is:
where
so a polynomial such as this would be good:
Note that the base 2 could be any number > 1 and the definition would still be valid because we can transform the base by multiplying the exponent, e.g.:
and Also note that constant addition does not matter, e.g. Therefore, two possible nice big O equivalent choices for a canonical "smallest exponential" would be for any small positive
for very small The highest order term of the polynomial in the exponent in both cases is Those two choices are equivalent, because as saw earlier, we can transform base changes into an exponent multiplier. Superpolynomial and sub-exponential But note that the above definition excludes some still very big things that show up in practice and that we would be tempted to call "exponential", e.g.:
Those functions are still very large, because they grow faster than any polynomial. But strictly speaking, they are big O smaller than the exponentials in our strict definition of exponential! This motivates the following definitions:
and all the examples given above in this section fall into both of those categories. TODO proof. Keep in mind that if you put something very small on the exponential, it might go back to polynomial of course, e.g.:
And that is also true for anything smaller than
is sub-polynomial. Important superpolynomial and sub-exponential examples
https://math.stackexchange.com/questions/3975382/what-problems-are-known-to-be-require-superpolynomial-time-or-greater-to-solve asks about any interesting algorithms that have been proven superpolynomial (and presumably with proof of optimality, otherwise the general number sieve would be an obvious choice, but we don't 2020-know if it is optimal or not) Proof that exponential is always larger than polynomial at infinity https://math.stackexchange.com/questions/3975382/what-problems-are-known-to-be-require-superpolynomial-time-or-greater-to-solve Discussions of different possible definitions of sub-exponential
How do you know if a function is exponential or not?The function f(x)=3x is an exponential function; the variable is the exponent. If f(x) = ax, then we call a the base of the exponential function. The base must always be positive. In fact, for any real number x, 1x = 1, so f(x)=1x is the same function as the constant function f(x) = 1.
Is n 2 polynomial or exponential?n^2 is polynomial, not exponential.
Is 2 sqrt n exponential?In general I agree with usul's summary: for upper bounds 2√n is certainly at most exponential, and for lower bounds it's more context-dependent and less clear. Let me offer a couple more examples from different contexts, and provide the term "moderately exponential" for your consideration.
What makes an exponential function?An exponential function is defined as a function with a positive constant other than 1 raised to a variable exponent. A function is evaluated by solving at a specific input value. An exponential model can be found when the growth rate and initial value are known.
|