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)=a bx,a≠0,b>0,b≠1.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 b−x=(1/b)xb^{-x}=(1/b)^{x}.

Each step of 11 in xx multiplies the output by the same factor bb, which is what makes growth exponential rather than linear. Because a positive number raised to any power stays positive, the graph never touches the xx-axis; for b>1b>1, large negative xx means dividing by bb over and over, driving the output toward 00, the horizontal asymptote.

Example
Transformations of f(x)=2xf(x)=2^{x}
xy−3−2−11234246810y = 3
g(x)=2x−1+3g(x)=2^{x-1}+3 (solid) is 2x2^x (dashed) moved right 11 and up 33; the asymptote rises to y=3y=3.

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

  • x−1x-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)=2−1+3=12+3=72g(0)=2^{-1}+3=\tfrac12+3=\tfrac72, so (0,72)\left(0,\tfrac72\right). Range: (3,∞)(3,\infty).

Side note
Where it goes wrong

Solving 2x=102^x = 10 by "dividing by 22". The unknown is an exponent; take a logarithm of both sides: x=log⁡210=ln⁡10ln⁡2x = \log_2 10 = \tfrac{\ln10}{\ln2}.

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.

Try it
Quick check

For f(x)=−3x+2f(x)=-3^x+2, give the horizontal asymptote, the range, and the yy-intercept.

Show the answer

Answer: asymptote y=2y=2; range (−∞,2)(-\infty,2); yy-intercept (0,1)(0,1). Reflecting 3x3^x puts it below the xx-axis, and +2+2 lifts the asymptote to y=2y=2. f(0)=−1+2=1f(0)=-1+2=1.

The Natural Base ee

Concept
The number ee

The natural base is the irrational constant

e=lim⁡n→∞(1+1n)n≈2.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(ln⁡b)x.\;b^{x}=e^{(\ln b)x}.

Example
Rewriting a base with ee

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

2x=e(ln⁡2)x ⇒ f(x)=5 e(ln⁡2)x≈5 e0.693x.2^{x}=e^{(\ln 2)x}\ \Rightarrow\ f(x)=5\,e^{(\ln 2)x}\approx 5\,e^{0.693x}.

Because ln⁡2>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.

Try it
Quick check

Write A(t)=100(0.8)tA(t)=100(0.8)^t in the form aektae^{kt}. Is it growth or decay?

Show the answer

Answer: A(t)=100e(ln⁡0.8)t≈100e−0.2231tA(t)=100e^{(\ln0.8)t}\approx100e^{-0.2231t}; decay. 0.8=eln⁡0.80.8=e^{\ln0.8} and ln⁡0.8≈−0.2231<0\ln0.8\approx-0.2231<0.

Logarithmic Functions and Their Graphs

Concept
Definition, common and natural logs

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

y=log⁡bx  ⟺  by=x.y=\log_b x \iff b^{y}=x .
  • Common log: log⁡x=log⁡10x\log x=\log_{10}x.   Natural log: ln⁡x=log⁡ex\ln x=\log_{e}x.
  • Domain of log⁡bx\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: blog⁡bx=xb^{\log_b x}=x and log⁡bbx=x\log_b b^{x}=x.

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

A logarithm answers the question what exponent?: log⁡bx\log_b x is the power of bb that gives xx. So the log graph is the exponential graph with inputs and outputs swapped, reflected in y=xy=x. The exponential's horizontal asymptote y=0y=0 becomes the log's vertical asymptote x=0x=0, and since byb^y is always positive, only positive numbers have logarithms.

Example
Forms and domain
xy12345678−3−2−112
y=ln⁡(2x−6)y=\ln(2x-6) lives only to the right of its asymptote x=3x=3 and crosses the axis at x=3.5x=3.5.

(a) Convert log⁡232=5\log_2 32=5 to exponential form: 25=322^{5}=32. (b) Convert 34=813^{4}=81 to log form: log⁡381=4\log_3 81=4. (c) Domain of f(x)=ln⁡(2x−6)f(x)=\ln(2x-6): require 2x−6>0⇒x>32x-6>0\Rightarrow x>3, so (3,∞)(3,\infty); asymptote x=3x=3. (d) Evaluate log⁡218=log⁡22−3=−3\log_2 \tfrac18=\log_2 2^{-3}=-3 and ln⁡e5=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).

Try it
Quick check

Give the domain and vertical asymptote of f(x)=log⁡3(5−x)f(x)=\log_3(5-x), and evaluate f(2)f(2).

Show the answer

Answer: domain (−∞,5)(-\infty,5); asymptote x=5x=5; f(2)=1f(2)=1. The argument must be positive: 5−x>05-x>0. Then f(2)=log⁡33=1f(2)=\log_33=1.

Properties of Logarithms and Change of Base

Concept
Log laws (all bases b>0, b≠1b>0,\ b\neq1; M,N>0M,N>0)
log⁡b(MN)=log⁡bM+log⁡bNlog⁡b ⁣(MN)=log⁡bM−log⁡bN\log_b(MN)=\log_b M+\log_b N \qquad \log_b\!\left(\tfrac{M}{N}\right)=\log_b M-\log_b N
log⁡b(Mp)=plog⁡bMlog⁡b1=0log⁡bb=1\log_b(M^{p})=p\log_b M \qquad \log_b 1=0 \qquad \log_b b=1

Change of base: \( _b M=log⁡Mlog⁡b\frac{\log M}{\log b}=ln⁡Mln⁡b\frac{\ln M}{\ln b}.\)

Every log law is an exponent law read backwards. If M=bmM=b^m and N=bnN=b^n, then MN=bm+nMN=b^{m+n}, so log⁡b(MN)=m+n=log⁡bM+log⁡bN\log_b(MN)=m+n=\log_bM+\log_bN; similarly division subtracts exponents and a power multiplies them. Change of base follows by taking log⁡a\log_a of both sides of blog⁡bx=xb^{\log_bx}=x.

Example
Expanding a logarithm

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

log⁡28x3y=log⁡2(8x3)−log⁡2y1/2quotient rule=log⁡28+log⁡2x3−12log⁡2yproduct + power=3+3log⁡2x−12log⁡2y.log⁡28=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)′=nxn−1,(fg)′=f′g+fg′,(fg)′=f′g−fg′g2,(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   3ln⁡x−12ln⁡y+ln⁡z\;3\ln x-\tfrac12\ln y+\ln z.

3ln⁡x−12ln⁡y+ln⁡z=ln⁡x3−ln⁡y1/2+ln⁡zpower 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 log⁡b(M+N)\log_b(M+N) or log⁡bM⋅log⁡bN\log_b M\cdot\log_b N. The laws only convert products, quotients, and powers inside a single log into sums, differences, and coefficients.

Try it
Quick check

(a) Condense 2log⁡x+log⁡(x+1)−log⁡32\log x+\log(x+1)-\log3. (b) Evaluate log⁡420\log_420 to three decimal places.

Show the answer

(a) log⁡x2(x+1)3\log\dfrac{x^2(x+1)}{3}: power rule first, then product and quotient. (b) ≈2.161\approx 2.161: ln⁡20ln⁡4≈2.99571.3863\dfrac{\ln20}{\ln4}\approx\dfrac{2.9957}{1.3863}.

Exponential and Logarithmic Equations

Concept
Solving strategy
  • Exponential: isolate the power, then take a log of both sides (use ln⁡\ln, or log⁡b\log_b directly).   bx=c⇒x=log⁡bc=ln⁡cln⁡b.\;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 3 x+1=173^{\,x+1}=17.

ln⁡3 x+1=ln⁡17(x+1)ln⁡3=ln⁡17x+1=ln⁡17ln⁡3x=ln⁡17ln⁡3−1≈2.579−1=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 log⁡3x+log⁡3(x−6)=3\log_3 x+\log_3(x-6)=3.

log⁡3(x(x−6))=3product rulex(x−6)=33=27exponential formx2−6x−27=0 ⇒ (x−9)(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.

Try it
Quick check

Solve (a) 52x=405^{2x}=40 to three decimals; (b) log⁡2(x+3)+log⁡2(x−3)=4\log_2(x+3)+\log_2(x-3)=4.

Show the answer

(a) x≈1.146x\approx1.146. 2xln⁡5=ln⁡402x\ln5=\ln40, so x=ln⁡402ln⁡5x=\dfrac{\ln40}{2\ln5}. (b) x=5x=5. Combine: log⁡2(x2−9)=4\log_2(x^2-9)=4, so x2−9=16x^2-9=16 and x=±5x=\pm5. Only x=5x=5 keeps both arguments positive; x=−5x=-5 is extraneous.

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+ae−bt(limit c)Newton cooling: T=Ts+(T0−Ts)e−kt\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=3000 e(0.045)(6)=3000 e0.27≈$3929.89.Quarterly: A=3000(1+0.0454)4⋅6=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
tA1224361020304050(30, 8.84)
Every 1212 years the amount halves: 50→25→12.550\to25\to12.5, and 8.848.84 g at t=30t=30.

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.5≈8.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.

Try it
Quick check

How long does money take to double at 6%6\% compounded continuously?

Show the answer

Answer: about 11.5511.55 years. 2P=Pe0.06t2P=Pe^{0.06t}, so e0.06t=2e^{0.06t}=2 and t=ln⁡20.06≈11.55t=\dfrac{\ln2}{0.06}\approx11.55. The principal cancels: doubling time does not depend on the amount invested.

Going Deeper: Advanced Exponential & Log Ideas

Concept
Change-of-base chains and telescoping products

Change of base can be strung into a chain. Because

log⁡bM=ln⁡Mln⁡b,\log_b M=\frac{\ln M}{\ln b},

a product of logs whose bases and arguments interlock telescopes:

log⁡ab⋅log⁡bc⋅log⁡cd=ln⁡bln⁡a⋅ln⁡cln⁡b⋅ln⁡dln⁡c=ln⁡dln⁡a=log⁡ad.\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: log⁡ab=1log⁡ba\log_a b=\dfrac{1}{\log_b a}, since log⁡ab⋅log⁡ba=1\log_a b\cdot\log_b a=1.
  • Swap-the-power rule: alog⁡bc=clog⁡baa^{\log_b c}=c^{\log_b a} (take ln⁡\ln of both sides to verify).
Example
Telescoping a product of logarithms

Evaluate log⁡23⋅log⁡34⋅log⁡45⋅log⁡56⋅log⁡67⋅log⁡78\displaystyle \log_2 3\cdot\log_3 4\cdot\log_4 5\cdot\log_5 6\cdot\log_6 7\cdot\log_7 8.

∏=ln⁡3ln⁡2⋅ln⁡4ln⁡3⋅ln⁡5ln⁡4⋅ln⁡6ln⁡5⋅ln⁡7ln⁡6⋅ln⁡8ln⁡7change each to ln⁡=ln⁡8ln⁡2=log⁡28=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=2nlog⁡k(k+1)\sum_{k=2}^{n}\log_k(k+1)-style product into log⁡2(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=1nlog⁡b ⁣k+1k=log⁡b ⁣(21⋅32⋯n+1n)=log⁡b(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=2nlog⁡b ⁣(1−1k2)=log⁡b ⁣n+12n\displaystyle\sum_{k=2}^{n}\log_b\!\Big(1-\tfrac1{k^2}\Big)=\log_b\!\frac{n+1}{2n}, because 1−1k2=(k−1)(k+1)k⋅k1-\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., log⁡23=a\log_2 3=a and log⁡25=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.
  • log⁡22=1\log_2 2=1 supplies any factor of 22 for free.

For a different base, e.g. log⁡5(⋅)\log_5(\cdot), first change to base 22: log⁡5x=log⁡2xlog⁡25=log⁡2xb\log_5 x=\dfrac{\log_2 x}{\log_2 5}=\dfrac{\log_2 x}{b}.

Example
“log⁡23=a, log⁡25=b\log_2 3=a,\ \log_2 5=b — express log⁡27.5\log_2 7.5 and log⁡620\log_6 20”

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

log⁡27.5=log⁡23+log⁡25−log⁡22=a+b−1.\log_2 7.5=\log_2 3+\log_2 5-\log_2 2=a+b-1 .

(b) log⁡620=log⁡220log⁡26\log_6 20=\dfrac{\log_2 20}{\log_2 6}. Now 20=22⋅520=2^2\cdot 5 and 6=2⋅36=2\cdot 3:

log⁡220=2log⁡22+log⁡25=2+b,log⁡26=log⁡22+log⁡23=1+a,⇒log⁡620=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,b−x=1u.b^{2x}=\left(b^{x}\right)^{2}=u^{2},\qquad b^{-x}=\frac1u .

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

Example
Reducing an exponential equation to a quadratic

Solve e2x−5ex+6=0e^{2x}-5e^{x}+6=0.

u=ex (u>0):u2−5u+6=0substitute(u−2)(u−3)=0 ⇒ u=2 or u=3both positive, keepex=2 ⇒ x=ln⁡2,ex=3 ⇒ x=ln⁡3.\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 ex−6+8e−x=0e^{x}-6+8e^{-x}=0: multiply by exe^{x} to get u2−6u+8=0u^{2}-6u+8=0, giving u=2,4u=2,4, so x=ln⁡2, ln⁡4x=\ln 2,\ \ln 4.

Example
The xlog⁡xx^{\log x} type: take logs twice in spirit

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

log⁡ ⁣(xlog⁡x)=log⁡ ⁣(1000 x2)take log⁡10(log⁡x)(log⁡x)=3+2log⁡xlog⁡xp=plog⁡xt2−2t−3=0,t=log⁡xlet t=log⁡x(t−3)(t+1)=0 ⇒ t=3 or t=−1log⁡x=3 ⇒ x=1000,log⁡x=−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 log⁡x\log x as the variable.

Concept
Systems of logarithmic equations

Treat the logs as unknowns. A system such as

log⁡2x+log⁡2y=5,log⁡2x−log⁡2y=1\log_2 x+\log_2 y=5,\qquad \log_2 x-\log_2 y=1

is linear in u=log⁡2xu=\log_2 x and v=log⁡2yv=\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   x−y=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+15y−100=0(y+20)(y−5)=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, log⁡20+log⁡5=log⁡100=2\log 20+\log 5=\log 100=2.  x=20, y=5\boxed{x=20,\ y=5}

Concept
Logarithmic and exponential inequalities

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

  • log⁡b\log_b with b>1b>1 is increasing: log⁡bu<log⁡bv  ⟺  0<u<v\log_b u<\log_b v\iff 0<u<v. Never forget u>0u>0.
  • log⁡b\log_b with 0<b<10<b<1 is decreasing: the inequality flips.
  • bx<cb^{x}<c with b>1b>1: take log⁡b\log_b to get x<log⁡bcx<\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 log⁡bu≤k\log_b u\le k rewrite k=log⁡bbkk=\log_b b^{k} so both sides are logs, then compare arguments and impose u>0u>0. Example: log⁡2(x−1)≤3  ⟺  0<x−1≤23  ⟺  1<x≤9\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+ae−bt(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 t→∞t\to\infty. Growth is nearly exponential while P≪cP\ll c, fastest at P=c2P=\tfrac{c}{2} (the inflection point), then levels off. To fit or solve, isolate the exponential:

e−bt=c−PaP ⇒ t=−1bln⁡ ⁣c−PaP.e^{-bt}=\frac{c-P}{aP}\ \Rightarrow\ t=-\frac1b\ln\!\frac{c-P}{aP}.
Example
Reading a logistic model
tP5101520250500750capacity 1000
Slow start, steepest at P=500P=500 (about day 9.79.7), then leveling off at 10001000.

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

P(0)=10001+49=20initial spreaderslim⁡t→∞P(t)=1000carrying capacity cP(t)=500:  1+49e−0.4t=2 ⇒ e−0.4t=149t=ln⁡490.4≈9.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+ae−bt\dfrac{c}{1+ae^{-bt}}. In the logistic, cc is the horizontal asymptote and c1+a\tfrac{c}{1+a} is the yy-intercept.

Try it
Quick check

Solve 4x−3⋅2x−4=04^x-3\cdot2^x-4=0.

Show the answer

Answer: x=2x=2. With u=2x>0u=2^x>0, 4x=u24^x=u^2: u2−3u−4=(u−4)(u+1)=0u^2-3u-4=(u-4)(u+1)=0. Reject u=−1u=-1 since 2x>02^x>0; then 2x=42^x=4 gives x=2x=2.

Why It Works

Where does ee come from? Compounding 100%100\% interest nn times a year multiplies by (1+1n)n(1 + \tfrac1n)^n: 22, 2.252.25, 2.372.37, 2.442.44, …, approaching 2.71828…=e2.71828\ldots = e as n→∞n \to \infty. Continuous compounding gives A=PertA = Pe^{rt}. The number ee is special because y=exy = e^x is its own derivative — the growth rate equals the amount — which is why it appears wherever a quantity grows in proportion to itself.

Tip
Reading a proof

Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.

Formulas, Proofs & Tips

Tip
Logarithm rules
log⁡b(xy)=log⁡bx+log⁡by,log⁡b ⁣xy=log⁡bx−log⁡by,log⁡b(xn)=nlog⁡bx\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. log⁡240−log⁡25=log⁡2405=log⁡28=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 log⁡bx=m\log_b x=m and log⁡by=n\log_b y=n. Then xy=bmbn=bm+nxy=b^{m}b^{n}=b^{m+n}, whose logarithm is m+nm+n — exactly log⁡bx+log⁡by\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
log⁡bx=log⁡kxlog⁡kb\log_b x = \frac{\log_k x}{\log_k b}

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

Example. log⁡210=log⁡10log⁡2≈10.301≈3.32\log_2 10=\dfrac{\log 10}{\log 2}\approx\dfrac{1}{0.301}\approx 3.32.

Why it works. Let y=log⁡bxy=\log_b x, so by=xb^{y}=x. Take log⁡k\log_k of both sides: ylog⁡kb=log⁡kxy\log_k b=\log_k x, then divide.

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