Exponential and logarithmic functions

Exponential and logarithmic functions are inverses of each other. Therefore, their graphs are reflections of each other across y=xy = x diagonal line.

Contents

e\e

f(x)=exf(x) = \e^x is a special function where the tangent line at (x1,ex1)\left(x_1, \e^{x_1}\right) has a gradient of ex1\e^{x_1}. In calculus lingo,

ddxex=ex\frac{\d }{\d x} \e^x = \e^x

Logarithms with e\e as the base are called the natural logarithm (ln\ln). YouTube: Natural logs were tabulated before the discovery of the number e\e

Properties

See also exponent and log rules

For any arithmetic sequence unu_n, it is known that kunk^{u_n} is a geometric sequence, for any k>0k > 0. See definitions of arithmetic and geometric sequences.

Exponential growth is faster than any polynomial growth for sufficiently large inputs.

Logarithmic growth is slower than any xn\sqrt[n]{x}, for sufficiently large xx.

Shapes

shapes of Exponential functions

f(x)=Abcx+kf(x) = Ab^{cx} + k

Desmos playground for exponential functions 

Compared to exe^x, AA combines the vertical stretch (and/or reflection), and the horizontal shift, while bcb^c collectively controls the horizontal stretch (and/or reflection).

The horizontal asymptote is y=ky=k.

If A>0A > 0, the function is above the asymptote; if A<0A < 0, function is below.

If bc>1b^c > 1, the graph diverges from asymptote on the right side; if bc<1b^c < 1, the graph diverges from asymptote on the left side.

shapes of Logarithmic functions

f(x)=Alogbc(xh)f(x) = A\log_b{c(x - h)}

Desmos playground for logarithmic functions 

Compared to lnx\ln x, cc combines the horizontal stretch (and/or reflection), and the vertical shift, while bAb^A collectively controls the vertical stretch (and/or reflection).

The vertical asymptote is x=hx=h.

If c>0c > 0, the function is to the right of the asymptote; if c<0c < 0, it is to the left.

If bA>1b^A > 1 the graph diverges from asymptote on the top side; if the result is bA<1b^A < 1, the graph diverges from asymptote on the bottom side.