Exponential and Logarithmic Functions

Study Sheet

Exponential and Logarithmic Functions

Graphs, properties, equations, and modeling --- everything on one reference

Exponential Functions and Their Graphs

Concept
Definition and key features

An exponential function has the form

f(x)=abx,a0,b>0,b1.f(x)=a\,b^{x},\qquad a\neq 0,\quad b>0,\quad b\neq 1 .

The number bb is the base. For the parent function f(x)=bxf(x)=b^{x}:

  • Domain: all real numbers, (,)(-\infty,\infty).   Range: (0,)(0,\infty).
  • Horizontal asymptote y=0y=0 (the xx-axis).
  • yy-intercept (0,1)(0,1), since b0=1b^{0}=1; no xx-intercept.
  • If b>1b>1 the graph grows; if 0<b<10<b<1 it decays. Note bx=(1/b)xb^{-x}=(1/b)^{x}.
Example
Transformations of f(x)=2xf(x)=2^{x}

Describe g(x)=2x1+3g(x)=2^{\,x-1}+3 and give its asymptote.

  • x1x-1: shift the graph of 2x2^{x} right 11.
  • +3+3: shift up 33, which lifts the asymptote from y=0y=0 to y=3\boxed{y=3}.

yy-intercept: g(0)=21+3=12+3=72g(0)=2^{-1}+3=\tfrac12+3=\tfrac72, so (0,72)\left(0,\tfrac72\right). Range: (3,)(3,\infty).

Tip

Tip. Read a transformation from the outside in: horizontal shifts/reflections act on xx inside the exponent; vertical shifts/reflections and the asymptote come from what happens outside.

The Natural Base ee

Concept
The number ee

The natural base is the irrational constant

e=limn(1+1n)n2.71828.e=\lim_{n\to\infty}\left(1+\tfrac1n\right)^{n}\approx 2.71828 .

The natural exponential function is f(x)=exf(x)=e^{x}; it behaves like any base b>1b>1 (asymptote y=0y=0, intercept (0,1)(0,1)) and is the base used for continuous growth and decay. Any base can be rewritten with ee:   bx=e(lnb)x.\;b^{x}=e^{(\ln b)x}.

Example
Rewriting a base with ee

Write f(x)=52xf(x)=5\cdot 2^{x} in the form aekxa\,e^{kx}.

2x=e(ln2)x  f(x)=5e(ln2)x5e0.693x.2^{x}=e^{(\ln 2)x}\ \Rightarrow\ f(x)=5\,e^{(\ln 2)x}\approx 5\,e^{0.693x}.

Because ln2>0\ln 2>0, this confirms ff is a growth function.

Tip

Tip. ee is just a specific base between 22 and 33, so y=exy=e^{x} sits between y=2xy=2^{x} and y=3xy=3^{x}. Reach for ee whenever growth or decay is continuous.

Logarithmic Functions and Their Graphs

Concept
Definition, common and natural logs

For b>0, b1b>0,\ b\neq 1, the logarithm is the inverse of the exponential:

y=logbx    by=x.y=\log_b x \iff b^{y}=x .
  • Common log: logx=log10x\log x=\log_{10}x.   Natural log: lnx=logex\ln x=\log_{e}x.
  • Domain of logbx\log_b x is (0,)(0,\infty): you may only take a log of a positive number.
  • Range: (,)(-\infty,\infty). Vertical asymptote x=0x=0; xx-intercept (1,0)(1,0).
  • Inverse identities: blogbx=xb^{\log_b x}=x and logbbx=x\log_b b^{x}=x.

For a shifted log logb(xh)\log_b(x-h), the domain is x>hx>h and the asymptote moves to x=hx=h.

Example
Forms and domain

(a) Convert log232=5\log_2 32=5 to exponential form: 25=322^{5}=32. (b) Convert 34=813^{4}=81 to log form: log381=4\log_3 81=4. (c) Domain of f(x)=ln(2x6)f(x)=\ln(2x-6): require 2x6>0x>32x-6>0\Rightarrow x>3, so (3,)(3,\infty); asymptote x=3x=3. (d) Evaluate log218=log223=3\log_2 \tfrac18=\log_2 2^{-3}=-3 and lne5=5\ln e^{5}=5.

Tip

Tip. A log graph is the reflection of the matching exponential graph across y=xy=x: the exponential's asymptote y=0y=0 and intercept (0,1)(0,1) become the log's asymptote x=0x=0 and intercept (1,0)(1,0).

Properties of Logarithms and Change of Base

Concept
Log laws (all bases b>0, b1b>0,\ b\neq1; M,N>0M,N>0)
logb(MN)=logbM+logbNlogb ⁣(MN)=logbMlogbN\log_b(MN)=\log_b M+\log_b N \qquad \log_b\!\left(\tfrac{M}{N}\right)=\log_b M-\log_b N
logb(Mp)=plogbMlogb1=0logbb=1\log_b(M^{p})=p\log_b M \qquad \log_b 1=0 \qquad \log_b b=1

Change of base: \( _b M=logMlogb\frac{\log M}{\log b}=lnMlnb\frac{\ln M}{\ln b}.\)

Example
Expanding a logarithm

Expand log2 ⁣8x3y\displaystyle \log_2\!\frac{8x^{3}}{\sqrt{y}} completely.

log28x3y=log2(8x3)log2y1/2quotient rule=log28+log2x312log2yproduct + power=3+3log2x12log2y.log28=3\begin{aligned} \log_2\frac{8x^{3}}{\sqrt{y}} &=\log_2(8x^{3})-\log_2 y^{1/2} &&\text{quotient rule}\\ &=\log_2 8+\log_2 x^{3}-\tfrac12\log_2 y &&\text{product + power}\\ &=3+3\log_2 x-\tfrac12\log_2 y. &&\log_2 8=3 \end{aligned}
Reminder — The differentiation rules:(xn)=nxn1,(fg)=fg+fg,(fg)=fgfgg2,(f(g(x)))=f(g(x))g(x)(x^{n})'=nx^{n-1},\quad (fg)'=f'g+fg',\quad \left(\tfrac{f}{g}\right)'=\frac{f'g-fg'}{g^{2}},\quad \big(f(g(x))\big)'=f'(g(x))g'(x)
Example
Condensing to a single logarithm

Condense   3lnx12lny+lnz\;3\ln x-\tfrac12\ln y+\ln z.

3lnx12lny+lnz=lnx3lny1/2+lnzpower rule=ln ⁣x3zy.combine products/quotients\begin{aligned} 3\ln x-\tfrac12\ln y+\ln z &=\ln x^{3}-\ln y^{1/2}+\ln z &&\text{power rule}\\ &=\ln\!\frac{x^{3}z}{\sqrt{y}}. &&\text{combine products/quotients} \end{aligned}
Tip

Tip. There is no rule for logb(M+N)\log_b(M+N) or logbMlogbN\log_b M\cdot\log_b N. The laws only convert products, quotients, and powers inside a single log into sums, differences, and coefficients.

Exponential and Logarithmic Equations

Concept
Solving strategy
  • Exponential: isolate the power, then take a log of both sides (use ln\ln, or logb\log_b directly).   bx=cx=logbc=lnclnb.\;b^{x}=c\Rightarrow x=\log_b c=\dfrac{\ln c}{\ln b}.
  • Logarithmic: condense to one log, rewrite in exponential form, then solve.
  • Always check the domain: any solution making an argument 0\le 0 inside a log is extraneous and must be rejected.
  • Give an exact answer (logs) and, if asked, an approximate decimal.
Example
Exponential equation (exact and approximate)

Solve 3x+1=173^{\,x+1}=17.

ln3x+1=ln17(x+1)ln3=ln17x+1=ln17ln3x=ln17ln312.5791=1.579.\begin{aligned} \ln 3^{\,x+1}&=\ln 17\\ (x+1)\ln 3&=\ln 17\\ x+1&=\frac{\ln 17}{\ln 3}\\ x&=\frac{\ln 17}{\ln 3}-1\approx 2.579-1=\mathbf{1.579}. \end{aligned}
Example
Logarithmic equation with an extraneous solution

Solve log3x+log3(x6)=3\log_3 x+\log_3(x-6)=3.

log3(x(x6))=3product rulex(x6)=33=27exponential formx26x27=0  (x9)(x+3)=0x=9orx=3.\begin{aligned} \log_3\big(x(x-6)\big)&=3 &&\text{product rule}\\ x(x-6)&=3^{3}=27 &&\text{exponential form}\\ x^{2}-6x-27&=0 \ \Rightarrow\ (x-9)(x+3)=0\\ x&=9 \quad\text{or}\quad x=-3 . \end{aligned}

Domain needs x>6x>6, so x=3x=-3 is extraneous. Solution: x=9\boxed{x=9}.

Tip

Tip. A negative answer is not automatically extraneous --- test it in the original equation. Only reject values that make some log's argument zero or negative.

Modeling with Exponential and Logarithmic Functions

Concept
Standard models
Growth/decay: A=A0ekt (k>0 grows, k<0 decays)Half-life: A=A0(12)t/h\textbf{Growth/decay: } A=A_0 e^{kt}\ (k>0\text{ grows},\ k<0\text{ decays})\qquad \textbf{Half-life: } A=A_0\left(\tfrac12\right)^{t/h}
Compound: A=P(1+rn)ntContinuous: A=Pert\textbf{Compound: } A=P\left(1+\tfrac{r}{n}\right)^{nt}\qquad \textbf{Continuous: } A=Pe^{rt}
Logistic: P(t)=c1+aebt(limit c)Newton cooling: T=Ts+(T0Ts)ekt\textbf{Logistic: } P(t)=\frac{c}{1+ae^{-bt}}\quad(\text{limit }c)\qquad \textbf{Newton cooling: } T=T_s+(T_0-T_s)e^{-kt}
Richter: M=log ⁣II0pH: pH=log[H+]\textbf{Richter: } M=\log\!\frac{I}{I_0}\qquad \textbf{pH: } \mathrm{pH}=-\log[\mathrm{H}^{+}]
Example
Compound vs. continuous interest

Invest $3000 at 4.5%4.5\% for 66 years.

Continuous: A=3000e(0.045)(6)=3000e0.27$3929.89.Quarterly: A=3000(1+0.0454)46=3000(1.01125)24$3924.01.\begin{aligned} \text{Continuous: } A&=3000\,e^{(0.045)(6)}=3000\,e^{0.27}\approx \mathbf{\$3929.89}.\\ \text{Quarterly: } A&=3000\left(1+\tfrac{0.045}{4}\right)^{4\cdot 6}=3000(1.01125)^{24}\approx \$3924.01. \end{aligned}

Continuous compounding earns slightly more.

Example
Half-life

An isotope has half-life 1212 years; a sample starts at 5050 g.

A=50(12)t/12.A=50\left(\tfrac12\right)^{t/12}.

After 3030 years: A=50(12)30/12=50(12)2.58.84 g.A=50\left(\tfrac12\right)^{30/12}=50\left(\tfrac12\right)^{2.5}\approx \mathbf{8.84\text{ g}}.

Tip

Tip. The Richter and pH scales are logarithmic: each whole-number step is a factor of 1010. Two quakes differing by 22 magnitudes differ in intensity by 102=10010^{2}=100 times.

Going Deeper: Advanced Exponential & Log Ideas

Concept
Change-of-base chains and telescoping products

Change of base can be strung into a chain. Because

logbM=lnMlnb,\log_b M=\frac{\ln M}{\ln b},

a product of logs whose bases and arguments interlock telescopes:

logablogbclogcd=lnblnalnclnblndlnc=lndlna=logad.\log_a b\cdot\log_b c\cdot\log_c d =\frac{\ln b}{\ln a}\cdot\frac{\ln c}{\ln b}\cdot\frac{\ln d}{\ln c} =\frac{\ln d}{\ln a}=\log_a d .

Two consequences worth memorizing:

  • Reciprocal rule: logab=1logba\log_a b=\dfrac{1}{\log_b a}, since logablogba=1\log_a b\cdot\log_b a=1.
  • Swap-the-power rule: alogbc=clogbaa^{\log_b c}=c^{\log_b a} (take ln\ln of both sides to verify).
Example
Telescoping a product of logarithms

Evaluate log23log34log45log56log67log78\displaystyle \log_2 3\cdot\log_3 4\cdot\log_4 5\cdot\log_5 6\cdot\log_6 7\cdot\log_7 8.

=ln3ln2ln4ln3ln5ln4ln6ln5ln7ln6ln8ln7change each to ln=ln8ln2=log28=3.everything cancels\begin{aligned} \prod &=\frac{\ln 3}{\ln 2}\cdot\frac{\ln 4}{\ln 3}\cdot\frac{\ln 5}{\ln 4}\cdot\frac{\ln 6}{\ln 5}\cdot\frac{\ln 7}{\ln 6}\cdot\frac{\ln 8}{\ln 7} &&\text{change each to }\ln\\ &=\frac{\ln 8}{\ln 2}=\log_2 8=3. &&\text{everything cancels} \end{aligned}

The same collapse turns any sum k=2nlogk(k+1)\sum_{k=2}^{n}\log_k(k+1)-style product into log2(n+1)\log_{2}(n+1) when written multiplicatively.

Concept
Telescoping sums of logs

A sum of logs telescopes through the quotient rule rather than change of base:

k=1nlogb ⁣k+1k=logb ⁣(2132n+1n)=logb(n+1).\sum_{k=1}^{n}\log_b\!\frac{k+1}{k} =\log_b\!\left(\frac{2}{1}\cdot\frac{3}{2}\cdots\frac{n+1}{n}\right) =\log_b(n+1).

Likewise k=2nlogb ⁣(11k2)=logb ⁣n+12n\displaystyle\sum_{k=2}^{n}\log_b\!\Big(1-\tfrac1{k^2}\Big)=\log_b\!\frac{n+1}{2n}, because 11k2=(k1)(k+1)kk1-\tfrac1{k^2}=\tfrac{(k-1)(k+1)}{k\cdot k} collapses as a product. The trick: turn each term into a ratio, multiply, and watch the middle die.

Concept
Expressing logs in terms of given letters

If you are told, e.g., log23=a\log_2 3=a and log25=b\log_2 5=b, then every log whose argument factors over {2,3,5}\{2,3,5\} can be written in a,ba,b using the log laws --- and change of base for a different outer base.

  • Factor the argument into powers of the “known” primes.
  • Apply product/quotient/power rules to split it.
  • log22=1\log_2 2=1 supplies any factor of 22 for free.

For a different base, e.g. log5()\log_5(\cdot), first change to base 22: log5x=log2xlog25=log2xb\log_5 x=\dfrac{\log_2 x}{\log_2 5}=\dfrac{\log_2 x}{b}.

Example
log23=a, log25=b\log_2 3=a,\ \log_2 5=b --- express log27.5\log_2 7.5 and log620\log_6 20

(a) 7.5=152=3527.5=\tfrac{15}{2}=\tfrac{3\cdot 5}{2}, so

log27.5=log23+log25log22=a+b1.\log_2 7.5=\log_2 3+\log_2 5-\log_2 2=a+b-1 .

(b) log620=log220log26\log_6 20=\dfrac{\log_2 20}{\log_2 6}. Now 20=22520=2^2\cdot 5 and 6=236=2\cdot 3:

log220=2log22+log25=2+b,log26=log22+log23=1+a,log620=2+b1+a.\begin{aligned} \log_2 20&=2\log_2 2+\log_2 5=2+b,\\ \log_2 6&=\log_2 2+\log_2 3=1+a,\\ \Rightarrow\quad \log_6 20&=\frac{2+b}{1+a}. \end{aligned}
Concept
Exponential equations that hide a quadratic

When an equation contains a base raised to xx and to 2x2x (or x-x), substitute u=bxu=b^{x} (with u>0u>0) to expose a quadratic:

b2x=(bx)2=u2,bx=1u.b^{2x}=\left(b^{x}\right)^{2}=u^{2},\qquad b^{-x}=\frac1u .

Solve for uu, discard any u0u\le 0 (an exponential is never negative), then recover x=logbux=\log_b u. Equations mixing exe^{x} and exe^{-x} clear to a quadratic after multiplying through by exe^{x}.

Example
Reducing an exponential equation to a quadratic

Solve e2x5ex+6=0e^{2x}-5e^{x}+6=0.

u=ex (u>0):u25u+6=0substitute(u2)(u3)=0  u=2 or u=3both positive, keepex=2  x=ln2,ex=3  x=ln3.\begin{aligned} u&=e^{x}\ (u>0):\quad u^{2}-5u+6=0 &&\text{substitute}\\ (u-2)(u-3)&=0\ \Rightarrow\ u=2\ \text{or}\ u=3 &&\text{both positive, keep}\\ e^{x}=2\ \Rightarrow\ x&=\ln 2,\qquad e^{x}=3\ \Rightarrow\ x=\ln 3. \end{aligned}

Contrast ex6+8ex=0e^{x}-6+8e^{-x}=0: multiply by exe^{x} to get u26u+8=0u^{2}-6u+8=0, giving u=2,4u=2,4, so x=ln2, ln4x=\ln 2,\ \ln 4.

Example
The xlogxx^{\log x} type: take logs twice in spirit

Solve xlog10x=1000x2x^{\log_{10} x}=1000\,x^{2} for x>0x>0.

log ⁣(xlogx)=log ⁣(1000x2)take log10(logx)(logx)=3+2logxlogxp=plogxt22t3=0,t=logxlet t=logx(t3)(t+1)=0  t=3 or t=1logx=3  x=1000,logx=1  x=110.\begin{aligned} \log\!\left(x^{\log x}\right)&=\log\!\left(1000\,x^{2}\right) &&\text{take }\log_{10}\\ (\log x)(\log x)&=3+2\log x &&\log x^{p}=p\log x\\ t^{2}-2t-3&=0,\quad t=\log x &&\text{let }t=\log x\\ (t-3)(t+1)&=0\ \Rightarrow\ t=3\ \text{or}\ t=-1\\ \log x=3\ \Rightarrow\ x&=1000,\qquad \log x=-1\ \Rightarrow\ x=\tfrac1{10}. \end{aligned}

Key move: an unknown appearing in both base and exponent means take a log first, then treat logx\log x as the variable.

Concept
Systems of logarithmic equations

Treat the logs as unknowns. A system such as

log2x+log2y=5,log2xlog2y=1\log_2 x+\log_2 y=5,\qquad \log_2 x-\log_2 y=1

is linear in u=log2xu=\log_2 x and v=log2yv=\log_2 y: add/subtract to get u=3, v=2u=3,\ v=2, hence x=8, y=4x=8,\ y=4. When the equations mix a log-sum with an ordinary equation (e.g. x+y=constx+y=\text{const}), condense the logs into one, convert to exponential form to get a product xyxy, and solve the resulting system by substitution. Always re-check each solution against every domain restriction.

Example
A mixed log system

Solve   log(x)+log(y)=2  \;\log(x)+\log(y)=2\; and   xy=15\;x-y=15 (common logs, so x,y>0x,y>0).

log(xy)=2  xy=102=100condense + exponential formx=y+15from the second equation(y+15)y=100  y2+15y100=0(y+20)(y5)=0  y=5  (reject y=20).\begin{aligned} \log(xy)&=2\ \Rightarrow\ xy=10^{2}=100 &&\text{condense + exponential form}\\ x&=y+15 &&\text{from the second equation}\\ (y+15)y&=100\ \Rightarrow\ y^{2}+15y-100=0\\ (y+20)(y-5)&=0\ \Rightarrow\ y=5\ \ (\text{reject }y=-20). \end{aligned}

Then x=20x=20. Check: both positive, log20+log5=log100=2\log 20+\log 5=\log 100=2. 0MATH2xE0

Concept
Logarithmic and exponential inequalities

Solve the corresponding equation to find boundary points, then respect monotonicity and the domain:

  • logb\log_b with b>1b>1 is increasing: logbu<logbv    0<u<v\log_b u<\log_b v\iff 0<u<v. Never forget u>0u>0.
  • logb\log_b with 0<b<10<b<1 is decreasing: the inequality flips.
  • bx<cb^{x}<c with b>1b>1: take logb\log_b to get x<logbcx<\log_b c (flip if 0<b<10<b<1).

The domain condition is part of the answer --- intersect it with the inequality's solution.

Tip

Tip. For logbuk\log_b u\le k rewrite k=logbbkk=\log_b b^{k} so both sides are logs, then compare arguments and impose u>0u>0. Example: log2(x1)3    0<x123    1<x9\log_2(x-1)\le 3\iff 0<x-1\le 2^{3}\iff 1<x\le 9.

Concept
Continuous growth versus logistic (bounded) growth

Pure continuous growth A=A0ektA=A_0e^{kt} is unbounded, so it only models the early phase of real populations. The logistic model

P(t)=c1+aebt(a,b,c>0)P(t)=\frac{c}{1+ae^{-bt}}\qquad(a,b,c>0)

adds a ceiling: P(0)=c1+aP(0)=\dfrac{c}{1+a}, and P(t)cP(t)\to c (the carrying capacity) as tt\to\infty. Growth is nearly exponential while PcP\ll c, fastest at P=c2P=\tfrac{c}{2} (the inflection point), then levels off. To fit or solve, isolate the exponential:

ebt=cPaP  t=1bln ⁣cPaP.e^{-bt}=\frac{c-P}{aP}\ \Rightarrow\ t=-\frac1b\ln\!\frac{c-P}{aP}.
Example
Reading a logistic model

A rumor spreads as P(t)=10001+49e0.4t\displaystyle P(t)=\frac{1000}{1+49e^{-0.4t}} people after tt days.

P(0)=10001+49=20initial spreaderslimtP(t)=1000carrying capacity cP(t)=500:  1+49e0.4t=2  e0.4t=149t=ln490.49.7 dayshalf-saturation / inflection\begin{aligned} P(0)&=\frac{1000}{1+49}=20 &&\text{initial spreaders}\\ \lim_{t\to\infty}P(t)&=1000 &&\text{carrying capacity }c\\ P(t)=500:\ \ 1+49e^{-0.4t}&=2\ \Rightarrow\ e^{-0.4t}=\tfrac{1}{49}\\ t&=\frac{\ln 49}{0.4}\approx 9.7\ \text{days} &&\text{half-saturation / inflection} \end{aligned}

So the rumor spreads fastest around day 1010, then saturates near 10001000.

Tip

Tip. Spot the model by its ceiling: data that keeps accelerating fits A0ektA_0e^{kt}; data that accelerates then flattens toward a limit fits the logistic c1+aebt\dfrac{c}{1+ae^{-bt}}. In the logistic, cc is the horizontal asymptote and c1+a\tfrac{c}{1+a} is the yy-intercept.

Formulas, Proofs & Tips

Tip
Logarithm rules
logb(xy)=logbx+logby,logb ⁣xy=logbxlogby,logb(xn)=nlogbx\log_b(xy)=\log_b x+\log_b y,\quad \log_b\!\frac{x}{y}=\log_b x-\log_b y,\quad \log_b(x^{n})=n\log_b x

What it means. A logarithm answers "what exponent?", so it turns multiplication into addition.

Example. log240log25=log2405=log28=3\log_2 40-\log_2 5=\log_2\tfrac{40}{5}=\log_2 8=3.

Why it works. Let x=bmx=b^{m} and y=bny=b^{n}, so logbx=m\log_b x=m and logby=n\log_b y=n. Then xy=bmbn=bm+nxy=b^{m}b^{n}=b^{m+n}, whose logarithm is m+nm+n — exactly logbx+logby\log_b x+\log_b y. The other rules follow the same way from the exponent rules.

Tip. log(x+y)\log(x+y) does not simplify. The rules only apply to products, quotients and powers inside the log.

Tip
Change of base
logbx=logkxlogkb\log_b x = \frac{\log_k x}{\log_k b}

What it means. Rewrite any logarithm in a base your calculator knows.

Example. log210=log10log210.3013.32\log_2 10=\dfrac{\log 10}{\log 2}\approx\dfrac{1}{0.301}\approx 3.32.

Why it works. Let y=logbxy=\log_b x, so by=xb^{y}=x. Take logk\log_k of both sides: ylogkb=logkxy\log_k b=\log_k x, then divide.

Tip. Use base 1010 or base ee — both are on every calculator.