Exponential and Logarithmic Functions

Exponential Functions

  • Definition of Exponential Function: The exponential function with base aa is defined for all real numbers xx by:

f(x)=axf(x) = a^x

  where a>0a > 0 and a1a \neq 1.

  • Characteristics and Rate of Growth: Exponential functions feature an independent variable in the exponent. To illustrate how rapidly these function values increase, consider f(x)=2xf(x) = 2^x:

    • f(3)=23=8f(3) = 2^3 = 8
    • f(10)=210=1024f(10) = 2^{10} = 1024
    • f(30)=230=1,073,741,824f(30) = 2^{30} = 1,073,741,824
  • Irrational Exponents: To define axa^x when xx is an irrational number, xx is approximated by rational numbers.

    • For example, since 31.73205\sqrt{3} \approx 1.73205\dots is an irrational number, a3a^{\sqrt{3}} is successively approximated using rational powers:

a1.7,a1.73,a1.732,a1.7320,a1.73205,a^{1.7}, a^{1.73}, a^{1.732}, a^{1.7320}, a^{1.73205}, \dots

  • Evaluating 535^{\sqrt{3}} using calculator approximations:

5351.73216.24115^{\sqrt{3}} \approx 5^{1.732} \approx 16.2411\dots

  • Using more decimal places of 3\sqrt{3} yields a more precise approximation of 535^{\sqrt{3}}.

    • Evaluating Exponential Functions:
  • For f(x)=3xf(x) = 3^x, specific function evaluations yield:

    • f(5)=35=243f(5) = 3^5 = 243 (Calculator keystrokes: 3 ^ 5 ENTER ; Output: 243)

    • f(23)=32/30.4807f\left(-\frac{2}{3}\right) = 3^{-2/3} \approx 0.4807 (Calculator keystrokes: 3 ^ ( (-) 2 ÷ 3 ) ENTER ; Output: 0.4807498)

    • f(π)=3π31.544f(\pi) = 3^{\pi} \approx 31.544 (Calculator keystrokes: 3 ^ π ENTER ; Output: 31.5442807)

    • f(2)=324.7288f(\sqrt{2}) = 3^{\sqrt{2}} \approx 4.7288 (Calculator keystrokes: 3 ^ √ 2 ENTER ; Output: 4.7288043)

    • Graphs of Exponential Functions:

  • Graphing f(x)=3xf(x) = 3^x and g(x)=(13)xg(x) = \left(\frac{1}{3}\right)^x by plotting points:

  | xx | f(x)=3xf(x) = 3^x | g(x)=(13)xg(x) = \left(\frac{1}{3}\right)^x |   | :---: | :---: | :---: |   | 3-3 | 127\frac{1}{27} | 2727 |   | 2-2 | 19\frac{1}{9} | 99 |   | 1-1 | 13\frac{1}{3} | 33 |   | 00 | 11 | 11 |   | 11 | 33 | 13\frac{1}{3} |   | 22 | 99 | 19\frac{1}{9} |   | 33 | 2727 | 127\frac{1}{27} |

Graph of exponential functions

Compound Interest

  • Derivation of the Compound Interest Formula:
    • If an amount of money PP (the principal) is invested at an interest rate ii per time period, the interest after one time period is PiPi, and the total amount AA is:

A=P+Pi=P(1+i)A = P + Pi = P(1 + i)

  • If the interest is reinvested, the new principal is P(1+i)P(1 + i). The amount after a second time period is:

A=P(1+i)(1+i)=P(1+i)2A = P(1 + i)(1 + i) = P(1 + i)^2

  • After a third time period, the amount is:

A=P(1+i)3A = P(1 + i)^3

  • In general, after kk time periods, the amount is:

A=P(1+i)kA = P(1 + i)^k

    This represents an exponential function with base (1+i)(1 + i).

  • General Compound Interest Formula:
    • If the annual interest rate is rr and interest is compounded nn times per year, the rate per time period is i=rni = \frac{r}{n}, and the number of periods in tt years is ntnt:

A(t)=P(1+rn)ntA(t) = P\left(1 + \frac{r}{n}\right)^{nt}

  • Parameters:

    • A(t)A(t) = amount after tt years

    • PP = principal

    • rr = annual interest rate per year

    • nn = number of times interest is compounded per year

    • tt = number of years

    • Example Comparison of Compounding Frequencies:

  • Sum invested: P=$1000P = \$1000, annual interest rate: r=0.12r = 0.12 (12%12\%), time period: t=3t = 3 years.

  | Compounding | nn | Amount after 3 years |   | :--- | :---: | :--- |   | Annual | 11 | 1000(1+0.121)1(3)=$1404.931000\left(1 + \frac{0.12}{1}\right)^{1(3)} = \$1404.93 |   | Semiannual | 22 | 1000(1+0.122)2(3)=$1418.521000\left(1 + \frac{0.12}{2}\right)^{2(3)} = \$1418.52 |   | Quarterly | 44 | 1000(1+0.124)4(3)=$1425.761000\left(1 + \frac{0.12}{4}\right)^{4(3)} = \$1425.76 |   | Monthly | 1212 | 1000(1+0.1212)12(3)=$1430.771000\left(1 + \frac{0.12}{12}\right)^{12(3)} = \$1430.77 |   | Daily | 365365 | 1000(1+0.12365)365(3)=$1433.241000\left(1 + \frac{0.12}{365}\right)^{365(3)} = \$1433.24 |

The Natural Exponential Function

  • Definition of the Number ee:
    • The number ee is defined as the limiting value that the expression (1+1n)n\left(1 + \frac{1}{n}\right)^n approaches as nn becomes arbitrarily large.

  | nn | (1+1n)n\left(1 + \frac{1}{n}\right)^n |   | :---: | :---: |   | 11 | 2.000002.00000 |   | 55 | 2.488322.48832 |   | 1010 | 2.593742.59374 |   | 100100 | 2.704812.70481 |   | 10001000 | 2.716922.71692 |   | 10,00010,000 | 2.718152.71815 |   | 100,000100,000 | 2.718272.71827 |   | 1,000,0001,000,000 | 2.718282.71828 |

  • Rounded to 5 decimal places: e2.71828e \approx 2.71828.

  • Rounded to 20 decimal places: e2.71828182845904523536e \approx 2.71828182845904523536.

  • The number ee is an irrational number; its exact value cannot be written in decimal form.

    • The Natural Exponential Function:
  • Defined as the exponential function with base ee:

f(x)=exf(x) = e^x

  • Since 2<e<32 < e < 3, the graph of y=exy = e^x lies strictly between the graphs of y=2xy = 2^x and y=3xy = 3^x

Graph of the natural exponential function

  • Exponential Model for the Spread of a Virus:
    • In a city of population 10,00010,000, the number of infected people after tt days is modeled by:

v(t)=10,0005+1245e0.97tv(t) = \frac{10,000}{5 + 1245e^{-0.97t}}

  • Initial infected count (t=0t = 0):

v(0)=10,0005+1245e0=10,0001250=8 peoplev(0) = \frac{10,000}{5 + 1245e^0} = \frac{10,000}{1250} = 8\text{ people}

  • Infections over time:
    • After 1 day (t=1t = 1): 21 people21\text{ people}
    • After 2 days (t=2t = 2): 54 people54\text{ people}
    • After 5 days (t=5t = 5): 678 people678\text{ people}
  • Graphical behavior: The number of infected individuals rises slowly initially, increases rapidly between Day 3 and Day 8, and then levels off near 2000 people2000\text{ people}.

Model for the spread of a virus

  • Continuously Compounded Interest:
    • As the compounding frequency nn \to \infty, let m=nrm = \frac{n}{r}. The compound interest formula transforms as follows:

A(t)=P(1+rn)nt=P[(1+rn)n/r]rt=P[(1+1m)m]rtA(t) = P\left(1 + \frac{r}{n}\right)^{nt} = P\left[\left(1 + \frac{r}{n}\right)^{n/r}\right]^{rt} = P\left[\left(1 + \frac{1}{m}\right)^m\right]^{rt}

  • Since (1+1m)me\left(1 + \frac{1}{m}\right)^m \to e as mm \to \infty, the amount compounded at "every instant" is given by:

A(t)=PertA(t) = Pe^{rt}

  • Example: For P=$1000P = \$1000, r=0.12r = 0.12 (12%12\%), and t=3t = 3 years compounded continuously:

A(3)=1000e(0.12)(3)=1000e0.36$1433.33A(3) = 1000e^{(0.12)(3)} = 1000e^{0.36} \approx \$1433.33

Logarithmic Functions

  • Definition of Logarithmic Functions:
    • Every exponential function f(x)=axf(x) = a^x (a>0,a1a > 0, a \neq 1) passes the Horizontal Line Test and is one-to-one, possessing an inverse function f1f^{-1}.
    • The inverse function f1f^{-1} is the logarithmic function with base aa, denoted loga\log_a:

f1(x)=y    f(y)=xf^{-1}(x) = y \iff f(y) = x

logax=y    ay=x\log_a x = y \iff a^y = x

  • logax\log_a x is the exponent to which the base aa must be raised to produce xx.

    • Equivalence of Forms:
  • Logarithmic form: logax=y\log_a x = y

  • Exponential form: ay=xa^y = x

  • Both forms share the exact same base aa.

  | Logarithmic Form | Exponential Form |   | :--- | :--- |   | log10100,000=5\log_{10} 100,000 = 5 | 105=100,00010^5 = 100,000 |   | log28=3\log_2 8 = 3 | 23=82^3 = 8 |   | log2(18)=3\log_2\left(\frac{1}{8}\right) = -3 | 23=182^{-3} = \frac{1}{8} |   | log5s=r\log_5 s = r | 5r=s5^r = s |

  • Evaluating Logarithms Examples:

    • log101000=3\log_{10} 1000 = 3 because 103=100010^3 = 1000
    • log232=5\log_2 32 = 5 because 25=322^5 = 32
    • log100.1=1\log_{10} 0.1 = -1 because 101=0.110^{-1} = 0.1
    • log164=12\log_{16} 4 = \frac{1}{2} because 161/2=416^{1/2} = 4
  • Properties of Logarithms:

    1. loga1=0\log_a 1 = 0 (Reason: a0=1a^0 = 1)
    2. logaa=1\log_a a = 1 (Reason: a1=aa^1 = a)
    3. loga(ax)=x\log_a(a^x) = x for all xRx \in \mathbb{R} (Reason: aa must be raised to power xx to get axa^x)
    4. alogax=xa^{\log_a x} = x for all x>0x > 0 (Reason: logax\log_a x is the power to which aa must be raised to get xx)
  • Graphs, Domain, and Range of Logarithmic Functions:

    • For f(x)=axf(x) = a^x (a>1a > 1), Domain = R\mathbb{R} and Range = (0,)(0, \infty).
    • For f1(x)=logaxf^{-1}(x) = \log_a x, Domain = (0,)(0, \infty) and Range = R\mathbb{R}.
    • The graph of y=logaxy = \log_a x is obtained by reflecting y=axy = a^x across the line y=xy = x.
    • The xx-intercept is 11 (since loga1=0\log_a 1 = 0).
    • The yy-axis (x=0x = 0) is a vertical asymptote because logax\log_a x \to -\infty as x0+x \to 0^+.

Graph of the logarithmic function

  • Common Logarithms:
    • The logarithm with base 1010 is called the common logarithm and is denoted by omitting the base:

logx=log10x\log x = \log_{10} x

  • Key values: log10=1\log 10 = 1, log100=2\log 100 = 2.

  • Approximating log50\log 50: Since 101=1010^1 = 10 and 102=10010^2 = 100, 1<log50<21 < \log 50 < 2.

    • Logarithmic Scales Application (Sound Loudness):
  • Loudness BB in decibels (dB) of a sound with physical intensity II (in W/m2\text{W/m}^2) is modeled by:

B=10log(II0)B = 10\log\left(\frac{I}{I_0}\right)

    where I0I_0 is the intensity of a barely audible sound.

  • Decibel level for a sound with intensity I=100I0I = 100I_0:

B=10log(100I0I0)=10log(100)=10×2=20 dBB = 10\log\left(\frac{100I_0}{I_0}\right) = 10\log(100) = 10 \times 2 = 20\text{ dB}

  • Natural Logarithms:
    • Logarithm with base ee is called the natural logarithm and is denoted by ln\ln:

lnx=logex\ln x = \log_e x

  • Inverse relationship:

lnx=y    ey=x\ln x = y \iff e^y = x

  • Properties of Natural Logarithms:
    1. ln1=0\ln 1 = 0
    2. lne=1\ln e = 1
    3. lnex=x\ln e^x = x
    4. elnx=xe^{\ln x} = x

Graph of natural logarithmic function

  • Finding the Domain of a Logarithmic Function Example:
    • Find the domain of f(x)=ln(4x2)f(x) = \ln(4 - x^2).
    • Solution: lnx\ln x is defined only when its input is strictly positive:

{x4x2>0}={xx2<4}={xx<2}={x2<x<2}=(2,2)\{x \mid 4 - x^2 > 0\} = \{x \mid x^2 < 4\} = \{x \mid |x| < 2\} = \{x \mid -2 < x < 2\} = (-2, 2)

Laws of Logarithms

  • Laws of Logarithms:

    • Let a>0,a1a > 0, a \neq 1, and let A>0,B>0A > 0, B > 0.
    1. Product Law: loga(AB)=logaA+logaB\log_a(AB) = \log_a A + \log_a B
    • Description: The logarithm of a product is the sum of the logarithms of the factors.
    1. Quotient Law: loga(AB)=logaAlogaB\log_a\left(\frac{A}{B}\right) = \log_a A - \log_a B
    • Description: The logarithm of a quotient is the difference of the logarithms of the numerator and denominator.
    1. Power Law: loga(AC)=ClogaA\log_a(A^C) = C\log_a A
    • Description: The logarithm of a power of a number is the exponent times the logarithm of the number.
  • Proofs of the Laws of Logarithms:

    • Proof of Law 1: Let u=logaAu = \log_a A and v=logaBv = \log_a B. In exponential form, au=Aa^u = A and av=Ba^v = B. Thus:

loga(AB)=loga(auav)=loga(au+v)=u+v=logaA+logaB\log_a(AB) = \log_a(a^u a^v) = \log_a(a^{u+v}) = u + v = \log_a A + \log_a B

  • Proof of Law 2: Using Law 1:

logaA=loga[(AB)B]=loga(AB)+logaB\log_a A = \log_a\left[\left(\frac{A}{B}\right)B\right] = \log_a\left(\frac{A}{B}\right) + \log_a B

loga(AB)=logaAlogaB\log_a\left(\frac{A}{B}\right) = \log_a A - \log_a B

  • Proof of Law 3: Let u=logaAu = \log_a A, so au=Aa^u = A. Thus:

loga(AC)=loga((au)C)=loga(auC)=uC=ClogaA\log_a(A^C) = \log_a\left((a^u)^C\right) = \log_a(a^{uC}) = uC = C\log_a A

  • Evaluating Expressions Using Laws of Logarithms Examples:

    • log42+log432=log4(232)=log464=3\log_4 2 + \log_4 32 = \log_4(2 \cdot 32) = \log_4 64 = 3 (since 43=644^3 = 64)
    • log280log25=log2(805)=log216=4\log_2 80 - \log_2 5 = \log_2\left(\frac{80}{5}\right) = \log_2 16 = 4 (since 24=162^4 = 16)
    • 13log8=log(81/3)=log(12)0.301-\frac{1}{3}\log 8 = \log(8^{-1/3}) = \log\left(\frac{1}{2}\right) \approx -0.301
  • Expanding Logarithmic Expressions Examples:

    • log2(6x)=log26+log2x\log_2(6x) = \log_2 6 + \log_2 x
    • log5(x3y6)=log5x3+log5y6=3log5x+6log5y\log_5(x^3 y^6) = \log_5 x^3 + \log_5 y^6 = 3\log_5 x + 6\log_5 y
    • ln(abc3)=ln(ab)lnc3=lna+lnbln(c1/3)=lna+lnb13lnc\ln\left(\frac{ab}{\sqrt[3]{c}}\right) = \ln(ab) - \ln \sqrt[3]{c} = \ln a + \ln b - \ln(c^{1/3}) = \ln a + \ln b - \frac{1}{3}\ln c
  • Psychological Application (The Law of Forgetting):

    • Formulated by Hermann Ebbinghaus (1850–1909):

logP=logP0clog(t+1)\log P = \log P_0 - c\log(t + 1)

    where P0P_0 is the initial performance score, PP is the retained performance level after tt months, and cc is a task-dependent constant.

  • Solving for PP algebraically:

logP=logP0log(t+1)c\log P = \log P_0 - \log(t + 1)^c

logP=log(P0(t+1)c)\log P = \log\left(\frac{P_0}{(t + 1)^c}\right)

P=P0(t+1)cP = \frac{P_0}{(t + 1)^c}

  • Calculations for P0=90P_0 = 90 and c=0.2c = 0.2:
    • After 2 months (t=2t = 2):

P=90(2+1)0.2=9030.272P = \frac{90}{(2 + 1)^{0.2}} = \frac{90}{3^{0.2}} \approx 72

- After 1 year (t=12t = 12):

P=90(12+1)0.2=90130.254P = \frac{90}{(12 + 1)^{0.2}} = \frac{90}{13^{0.2}} \approx 54

  • Change of Base Formula:
    • Derivation: To convert logbx\log_b x to base aa, let y=logbxy = \log_b x. Express in exponential form by=xb^y = x, take loga\log_a of both sides, apply Law 3, and solve for yy:

loga(by)=logax\log_a(b^y) = \log_a x

ylogab=logaxy\log_a b = \log_a x

y=logaxlogaby = \frac{\log_a x}{\log_a b}

  • Formula:

logbx=logaxlogab\log_b x = \frac{\log_a x}{\log_a b}

  • Special Case (x=ax = a):

logba=1logab\log_b a = \frac{1}{\log_a b}

  • Change of Base Examples:
    • Evaluate log85\log_8 5 using common logarithms (a=10a = 10):

log85=log105log1080.77398\log_8 5 = \frac{\log_{10} 5}{\log_{10} 8} \approx 0.77398

- Evaluate log920\log_9 20 using natural logarithms (a=ea = e):

log920=ln20ln91.36342\log_9 20 = \frac{\ln 20}{\ln 9} \approx 1.36342

Exponential and Logarithmic Equations

  • Solving Exponential Equations Using the One-to-One Property:
    • Since f(x)=axf(x) = a^x is one-to-one, ax=ay    x=ya^x = a^y \iff x = y
    • Example 1(a): Solve 5x=1255^x = 125

5x=53    x=35^x = 5^3 \implies x = 3

  • Example 1(b): Solve 52x=5x+15^{2x} = 5^{x+1}

2x=x+1    x=12x = x + 1 \implies x = 1

  • Guidelines for Solving Exponential Equations:

    1. Isolate the exponential expression on one side of the equation.
    2. Take the logarithm of each side, then use the Laws of Logarithms to "bring down the exponent."
    3. Solve for the variable.
  • Solving Exponential Equations Examples:

    • Example 2: Solve 3x+2=73^{x+2} = 7
    • Taking common logarithm of both sides:

log(3x+2)=log7\log(3^{x+2}) = \log 7

(x+2)log3=log7(x + 2)\log 3 = \log 7

x+2=log7log3x + 2 = \frac{\log 7}{\log 3}

x=log7log32(Exact solution)x = \frac{\log 7}{\log 3} - 2 \quad (\text{Exact solution})

- Calculator approximation: x0.228756x \approx -0.228756
  • Example 3: Solve 8e2x=208e^{2x} = 20
    • Isolate exponential term by dividing by 8:

e2x=208=2.5e^{2x} = \frac{20}{8} = 2.5

ln(e2x)=ln2.5\ln(e^{2x}) = \ln 2.5

2x=ln2.52x = \ln 2.5

x=ln2.520.458x = \frac{\ln 2.5}{2} \approx 0.458

  • Example 4: Solve e32x=4e^{3-2x} = 4
    • Algebraic Solution:

ln(e32x)=ln4\ln(e^{3-2x}) = \ln 4

32x=ln43 - 2x = \ln 4

2x=3+ln4-2x = -3 + \ln 4

x=12(3ln4)0.807x = \frac{1}{2}(3 - \ln 4) \approx 0.807

- Graphical Solution: Graph y=e32xy = e^{3-2x} and y=4y = 4. The intersection point gives x0.81x \approx 0.81.

Graphical solution of exponential equation

  • Example 5 (Quadratic Type): Solve e2xex6=0e^{2x} - e^x - 6 = 0
    • Rewrite and factor quadratic in exe^x:

(ex)2ex6=0(e^x)^2 - e^x - 6 = 0

(ex3)(ex+2)=0(e^x - 3)(e^x + 2) = 0

- Zero-Product Property:

ex3=0    ex=3    x=ln31.0986e^x - 3 = 0 \implies e^x = 3 \implies x = \ln 3 \approx 1.0986

ex+2=0    ex=2(No solution because ex>0 for all x)e^x + 2 = 0 \implies e^x = -2 \quad (\text{No solution because } e^x > 0 \text{ for all } x)

- The only valid solution is x=ln31.0986x = \ln 3 \approx 1.0986
  • Example 6 (Factoring Common Terms): Solve 3xex+x2ex=03xe^x + x^2e^x = 0
    • Factor out common terms:

x(3+x)ex=0x(3 + x)e^x = 0

- Divide by exe^x (since ex0e^x \neq 0 for all real xx):

x(3+x)=0x(3 + x) = 0

- Solutions: x=0x = 0 and x=3x = -3
  • Solving Logarithmic Equations:
    • Logarithmic functions are one-to-one:

logax=logay    x=y\log_a x = \log_a y \implies x = y

  • Example 7: Solve log5(x2+1)=log5(x2)+log5(x+3)\log_5(x^2 + 1) = \log_5(x - 2) + \log_5(x + 3)
    • Combine right-hand side using Law 1:

log5(x2+1)=log5[(x2)(x+3)]\log_5(x^2 + 1) = \log_5[(x - 2)(x + 3)]

log5(x2+1)=log5(x2+x6)\log_5(x^2 + 1) = \log_5(x^2 + x - 6)

- Apply one-to-one property:

x2+1=x2+x6x^2 + 1 = x^2 + x - 6

1=x6    x=71 = x - 6 \implies x = 7

  • Example 8(a): Solve lnx=8\ln x = 8

    • Convert directly to exponential form: x=e82981x = e^8 \approx 2981
    • Alternatively, raise ee to both sides: elnx=e8    x=e8e^{\ln x} = e^8 \implies x = e^8
  • Example 8(b): Solve log2(25x)=3\log_2(25 - x) = 3

    • Rewrite in exponential form:

25x=2325 - x = 2^3

25x=825 - x = 8

x=258=17x = 25 - 8 = 17

  • Example 9: Solve 4+3log(2x)=164 + 3\log(2x) = 16
    • Isolate logarithmic expression:

3log(2x)=123\log(2x) = 12

log(2x)=4\log(2x) = 4

- Convert to exponential form:

2x=1042x = 10^4

2x=10,0002x = 10,000

x=5000x = 5000