Logarithmic Functions and Models
Practise this section (12)A short video goes viral. It starts with 1 view and the views double every hour: 1, 2, 4, 8, 16, … After 10 hours there are $2^{10}=1{,}024$ views. But when does it hit exactly 1,000 views? No whole number of hours works, because $2^x=1000$ falls between $2^9$ and $2^{10}$. To solve for an exponent we need a new tool: the logarithm.
Logarithms as inverse exponentials
An exponential function like $y=2^x$ takes an exponent and gives back a result. A logarithm runs the machine backward: it takes the result and gives back the exponent.
Read $\log_2 32$ as the question "2 to what power is 32?" The answer is 5, because $2^5=32$.
| Exponential form | Logarithmic form |
|---|---|
| $2^5=32$ | $\log_2 32=5$ |
| $10^{-3}=0.001$ | $\log 0.001=-3$ |
| $e^{0}=1$ | $\ln 1=0$ |
Evaluate without a calculator: $\log_2 32$, $\log_5\tfrac{1}{25}$, and $\log 1000$ (common logarithm, base 10). Briefly explain how the definition of a logarithm as the…
Evaluate without a calculator: $\log_2 32$, $\log_5\tfrac{1}{25}$, and $\log 1000$ (common logarithm, base 10). Briefly explain how the definition of a logarithm as the inverse of an exponential helps you.
Rewrite $2^5=32$ in logarithmic form. Rewrite $\log_7 49=2$ in exponential form. Then rewrite $\ln x=3$ in exponential form.
Rewrite $2^5=32$ in logarithmic form. Rewrite $\log_7 49=2$ in exponential form. Then rewrite $\ln x=3$ in exponential form.
Graphs, domain, and asymptotes
Since $y=\log_b x$ is the inverse of $y=b^x$, its graph is the reflection of the exponential graph over the line $y=x$. Each point $(a,c)$ on $y=2^x$ becomes $(c,a)$ on $y=\log_2 x$. The horizontal asymptote $y=0$ of the exponential becomes a vertical asymptote $x=0$.
Graph of y = log₂ x: it passes through (1, 0), (2, 1), (4, 2), (8, 3), rising ever more slowly (concave down), and approaches the vertical asymptote x = 0 as x → 0⁺ without touching it.Why "slowly"? Because $\log_2 x$ only reaches 10 when $x=2^{10}=1{,}024$. The input has to multiply by 2 just to raise the output by 1.
Transformations
For $g(x)=a\log_b(x-h)+k$:
| Change | Effect on the graph of $y=\log_b x$ |
|---|---|
| $x-h$ | shift right $h$ units (left if $h<0$), so the asymptote becomes $x=h$ and the domain becomes $x>h$ |
| $+k$ | shift up $k$ units |
| $a$ with $\lvert a\rvert>1$ | vertical stretch by a factor of $\lvert a\rvert$ |
| $a<0$ | reflection over the $x$-axis |
Consider $f(x)=\log_3(x-4)$. State the domain of $f$ and the equation of its vertical asymptote, and explain why $f(3)$ is undefined.
Consider $f(x)=\log_3(x-4)$. State the domain of $f$ and the equation of its vertical asymptote, and explain why $f(3)$ is undefined.
Let $g(x)=2\log_3(x+1)-4$. (a) Find the domain and the vertical asymptote. (b) Find the $x$-intercept and the $y$-intercept. (c) Find $g(26)$. (d) Describe how the graph…
Let $g(x)=2\log_3(x+1)-4$.
(a) Find the domain and the vertical asymptote.
(b) Find the $x$-intercept and the $y$-intercept.
(c) Find $g(26)$.
(d) Describe how the graph is obtained from the graph of $y=\log_3 x$ and describe its end behavior as $x\to\infty$.
Properties of logarithms and change of base
Logarithms are exponents, so their rules come straight from the exponent rules. For example, $b^m\cdot b^n=b^{m+n}$ says that multiplying numbers adds exponents. In log language, that is the product property.
The change of base formula lets a calculator, which has only $\log$ and $\ln$ keys, evaluate any base. For instance, $\log_5 40=\dfrac{\ln 40}{\ln 5}\approx\dfrac{3.689}{1.609}\approx 2.292$. Check: $5^{2.292}\approx 40$.
Use properties of logarithms to simplify each to a single number or a single logarithm: $\log_2 40-\log_2 5$, $\log_3 4+\log_3 \tfrac{9}{4}$, and $3\log_5 5^{2}$. State…
Use properties of logarithms to simplify each to a single number or a single logarithm: $\log_2 40-\log_2 5$, $\log_3 4+\log_3 \tfrac{9}{4}$, and $3\log_5 5^{2}$. State which property you use each time.
Solving exponential and logarithmic equations
All of the solving methods come from the fact that $b^x$ and $\log_b x$ undo each other.
Inequalities
An exponential function with base $b>1$ is increasing, and so is its inverse $\log_b$. So taking $\log_b$ of both sides keeps the direction of the inequality. If $0<b<1$, the function is decreasing and the inequality flips.
For example, $2^x\ge 50$ gives $x\ge\log_2 50=\dfrac{\ln 50}{\ln 2}\approx 5.644$, so the solution is $[\log_2 50,\infty)$. Use the slider to see where the curve $y=2^x$ crosses the horizontal line $y=c$. Everything to the right of the crossing satisfies $2^x>c$.
For a log inequality, keep the domain in mind. For $\log_2(x-1)<3$ we need $x-1>0$ and $x-1<2^3=8$. So $1<x<9$.
Some problems may ask for "the exact answer": leave it as a logarithm such as $\log_5 40$, and use change of base only when you need a decimal.
Solve each equation and check your answers: (a) $3^{2x-1}=81$; (b) $\log_2(x+3)=5$; (c) $\ln(2x)=\ln(x+6)$.
Solve each equation and check your answers: (a) $3^{2x-1}=81$; (b) $\log_2(x+3)=5$; (c) $\ln(2x)=\ln(x+6)$.
(Calculator active) Consider the equation $5^x=40$. (a) Write the exact solution using a logarithm. (b) Use the change of base formula to approximate it to three decimal…
(Calculator active) Consider the equation $5^x=40$.
(a) Write the exact solution using a logarithm.
(b) Use the change of base formula to approximate it to three decimal places.
(c) Solve the inequality $5^x>40$ and explain how the base 5 (greater than 1) affects the direction of the inequality.
(a) Solve $\ln x+\ln(x-2)=\ln 15$. Explain why one algebraic solution must be rejected. (b) Solve $e^{2x}-5e^x+6=0$. (Hint: treat $e^x$ as a single quantity.) (c) Solve…
(a) Solve $\ln x+\ln(x-2)=\ln 15$. Explain why one algebraic solution must be rejected.
(b) Solve $e^{2x}-5e^x+6=0$. (Hint: treat $e^x$ as a single quantity.)
(c) Solve $3^x\ge 100$ and give the answer as an interval, using a logarithm.
Logarithmic scales as models
Some quantities range over enormous sizes. The sound of a whisper and a jet engine differ by a factor of a trillion. Writing all those powers of ten is awkward, so scientists measure them with logarithms. On a log scale, equal steps mean equal multiplication.
A line with evenly spaced marks at 1, 10, 100, 1,000 and 10,000, with log = 0, 1, 2, 3, 4. Each +1 step in the logarithm (the same distance) multiplies the quantity by 10 (×10).Three classic models all have the form $\text{scale}=k\log(\text{quantity})+c$:
-
pH: $\mathrm{pH}=-\log[\mathrm{H^+}]$, with $[\mathrm{H^+}]$ in mol/L.
-
Sound level: $L=10\log\!\left(\dfrac{I}{I_0}\right)$ dB, with $I_0=10^{-12}$ W/m².
-
Earthquake energy: $\log E=4.4+1.5M$, with $E$ in joules and $M$ the magnitude.
The pH of a solution is $\mathrm{pH}=-\log[\mathrm{H^+}]$, where $[\mathrm{H^+}]$ is the hydrogen ion concentration in mol/L. (a) Lemon juice has $[\mathrm{H^+}]=0.01$.…
The pH of a solution is $\mathrm{pH}=-\log[\mathrm{H^+}]$, where $[\mathrm{H^+}]$ is the hydrogen ion concentration in mol/L.
(a) Lemon juice has $[\mathrm{H^+}]=0.01$. Find its pH.
(b) Find $[\mathrm{H^+}]$ for a solution with pH 8.3.
(c) How many times greater is $[\mathrm{H^+}]$ at pH 3 than at pH 5? Explain.
Sound level in decibels is $L=10\log\!\left(\tfrac{I}{I_0}\right)$, where $I$ is the intensity in W/m² and $I_0=10^{-12}$ W/m². (a) Find $L$ for an intensity of…
Sound level in decibels is $L=10\log\!\left(\tfrac{I}{I_0}\right)$, where $I$ is the intensity in W/m² and $I_0=10^{-12}$ W/m².
(a) Find $L$ for an intensity of $10^{-6}$ W/m² and for $10^{-1}$ W/m².
(b) How many times more intense is the second sound than the first?
(c) Show that doubling the intensity adds $10\log 2\approx 3$ dB.
(Calculator active) The energy $E$ (in joules) released by an earthquake of Richter-type magnitude $M$ satisfies $\log E=4.4+1.5M$. (a) Find the energy of an earthquake…
(Calculator active) The energy $E$ (in joules) released by an earthquake of Richter-type magnitude $M$ satisfies $\log E=4.4+1.5M$.
(a) Find the energy of an earthquake with $M=7.1$.
(b) How many times more energy does an $M=7.1$ quake release than an $M=5.9$ quake?
(c) Find the magnitude of an earthquake that releases $10^{18}$ joules.
(d) Explain why a difference of one unit in magnitude does not mean one unit of difference in energy.
How long does it take? Doubling and tripling time
Logs are the tool for finding time in an exponential model. If $A(t)=P\,b^t$, then finding when the amount reaches a target means solving for the exponent.
Now we can close the video example from the start. Views double every hour from 1 view, so we need $2^t=1000$. Then $t=\log_2 1000=\dfrac{\ln 1000}{\ln 2}\approx\dfrac{6.908}{0.693}\approx 9.97$ hours. The video hits 1,000 views a little before the 10-hour mark, consistent with $2^9=512<1000<1024=2^{10}$.
(Calculator active) An investment grows as $A(t)=P(1.04)^t$, with $t$ in years. (a) Use logarithms to find the time for the investment to triple. (b) A second account…
(Calculator active) An investment grows as $A(t)=P(1.04)^t$, with $t$ in years.
(a) Use logarithms to find the time for the investment to triple.
(b) A second account grows continuously at 4%, $A(t)=Pe^{0.04t}$. Find its tripling time.
(c) Explain why the continuous account is faster, and give the difference in tripling time to two decimal places.
(d) Show with the properties of logarithms that the doubling time of the first account is independent of $P$.
Summary
-
$\log_b x=y\iff b^y=x$. A logarithm is an exponent, and $\log$ means base 10 and $\ln$ means base $e$.
-
$f(x)=\log_b x$ has domain $(0,\infty)$, a vertical asymptote at $x=0$, an $x$-intercept at $(1,0)$, and for $b>1$ increases slowly. For $a\log_b(x-h)+k$ the asymptote is $x=h$.
-
Product, quotient, and power properties turn multiplication, division, and powers into addition, subtraction, and multiplication. Change of base: $\log_b x=\dfrac{\ln x}{\ln b}$.
-
To solve, match bases or isolate and take logs. For log equations, rewrite in exponential form and reject any answer that makes a log input $\le 0$. For $0<b<1$, the inequality flips.
-
On log scales (pH, decibels, magnitude), a difference on the scale is a ratio of quantities: $10^{\Delta S/k}$.
-
Doubling or tripling time: $t=\dfrac{\ln k}{\ln b}$, independent of the starting amount.
Can't find your problem here?
The AI checks one of your exercises: paste the problem with your answer or take a photo of it.