Growth
Math
The plot above compares a number of well known growth functions. There are various ways to grow and the differences can be quite dramatic and not always intuitive. For instance, given only say 20 COVID-19 cases in January one might only expect linear growth, 40 in february, 80 in march, what we had was exponential growth, which grows as: 10, 100, 1,000, ... , 1,000,000, ....
Logarithmic scale
One can plot log, linear or quadratic curves quite since they do not grow so quickely. However the others grow so fast, that even for very small values of x, the corresponding y value is off the graph. A logarithmic_scale on the y-axis is used compresses the range to y so they can be seen.
With a logarithmic scale one can see that factorial growth has ultimately the highest growth rate followed by exponential.
The plot above is a semi-log plot, the x-axis in linear and the y-axis is logarithmic (on a log-log plot both axes are logarithmic). The exponential curve is a straight line on a semi-log plot because the exponential is the inverse function of the logarithm.
Logarithm
Decimal numbers are an example of logarithmic growth, a billion is just six more zeroes than a thousand. Logarithmic growth grows forever but very slowly. 1000 is 900 more than 100 but only adds a single zero, one million is 900, 000 times more than 100,000 but again we just add another zero.
Polynomial
Linear, quadratic and cubic growth are examples of polynomial growth. This is related to a fundamental problem in computer science, NP-completeness, Problems P can be solved in polynomial time, which means they only grow at the rate of a polynomial function. Problems that can be verified (not necessarily solved) in polynomial time are refered to as nondeterministic polynomial (NP) problems. The question (P=NP?) is, can all NP problems also be solved in polynomial time?
Fibonacci growth
Fibonacci is described in detail below.
Exponential growth
Exponential:\(y={constant}^x\).
Cumulative interest is an example of exponential growth, where one gets interest on the interest. Half-lives of radio active decay are examples of exponential decay.
The story goes that a king asked what reward a person required, to which he asked for rice, a grain of rice on the first square of a chess board, two on the second, four on the next and so on to the laughter of the court. It's just that would imply 264 grains on the last square.
One grain of rice: $0.029 grams: $$0.029 * 2^{64} = 534,955,578,138\ \text{tonnes}$$
Exponential growth gets big quick.
Factorial
There are n factorial ways of arranging n distinct objects, the growth rate is dramatic, ten factorial is over ten million: $$2!=2 \implies { ab, ba }$$ $$3!=6 \implies { abc, bac, acb, cab, cba, bca }$$ $$...$$ $$10! = 3628800$$ $$14! = 87178291200$$ The factorial is a function of discrete natural numbers, the gamma function is an extension of the factorial for continuous real numbers. $$\Gamma(n) = (n-1)!$$
O notation
The order of a function is it's growth rate. Big-O notation characterizes or classifies functions accordingly.
$$O(log(n)) \lt O(n) \lt O(n^2) \lt O(n^3) \lt O(e^n) \lt O(n!)$$
\(f \in O(g)\) means f grows the same as or slower (no faster) than g whereas \(f \in o(g)\) means f grows strictly slower than g. So big-O is like ≤ and little-o is like <.
$$\lim_{x\to a} \frac{f(x)}{g(x)} = 0 \implies f(n)\in o(g(n))$$