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

Unlike functions covered up to this point, exponential and logarithmic functions lack symmetry in that with and without vertical reflection and with and without horizontal reflection results in four different shapes. xx2x\mapsto x^2, for instance, appears the same whether there is a horizontal reflection. And applying either horizontal reflection or vertical reflection on xxx\mapsto x produces the same effect.

The following discusses this in more depth, and links to desmos interactive graphs that you can use to explore the 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.

Monotonicity

All exponential and logarithmic are either strictly increasing or strictly decreasing.

For a strictly increasing function, eg f(x)=lnxf(x) = \ln x, we have

a>b    f(a)>f(b)a > b \iff f(a) > f(b)

and for a strictly decreasing function, eg g(x)=lnxg(x) = -\ln x, we have

a>b    f(a)<f(b)a > b \iff f(a) < f(b)

assuming that a,ba, b are both in the domain of the particular function.