Back to homeMathematics · High School Year 2 · Physics-Math · Change subject
Start for free
Prep 2 Tech · Mathematics
Functions · Common types of functions

Logarithmic Function

Before you start, make sure you know: Logarithms (High School Year 1 (semesters 1 and 2))
Before you start, make sure you know: Exponential functions (High School Year 1 (semesters 1 and 2))

The September 2017 earthquake in Mexico had a magnitude of $7.1$. Does it release twice as much energy as one of magnitude $5.1$? No: it releases a thousand times more.

The Richter scale, pH, and decibels squeeze enormous numbers into a manageable scale thanks to a single tool: the logarithm.

You already know how to calculate $\log_a x$; now we study it as a function, with its domain, its graph, and the equations it lets us solve.

Domain, range, and vertical asymptote

Graph of the logarithmic function with its vertical asymptote at x = 0, intercept (1, 0) on the X-axis, and the domain (0, +∞) highlighted on the horizontal axis. x = 0 (1, 0) Dom = (0, +∞)
Practice★☆☆Not started
Determine the domain of definition of the logarithmic function $f(x) = \log_3(2x - 8)$.

Determine the domain of definition of the logarithmic function $f(x) = \log_3(2x - 8)$.

Solve
Practice★★☆Not started
Determine the domain of definition of the function $f(x) = \ln(x^2 - 4x - 5)$. Express the result using interval notation.

Determine the domain of definition of the function $f(x) = \ln(x^2 - 4x - 5)$. Express the result using interval notation.

Solve
Practice★★★Not started
Determine the domain of definition of the function $f(x) = \log_{10} \left( \frac{x+3}{|x-2|} \right)$. Pay special attention to the points that make the numerator, the…

Determine the domain of definition of the function $f(x) = \log_{10} \left( \frac{x+3}{|x-2|} \right)$. Pay special attention to the points that make the numerator, the denominator and the argument of the logarithm equal to zero.

Solve

Properties of logarithms

Notice that the graph of $\log(2x)$ is the graph of $\log x$ shifted up $\log 2\approx 0.3$ units: this is the product property, $\log(2x)=\log 2+\log x$.

Practice★☆☆Not started
Using the laws of logarithms, expand the following expression to write it as the sum and difference of simpler logarithms: $\log_5 \left( \frac{25x^3}{y} \right)$

Using the laws of logarithms, expand the following expression to write it as the sum and difference of simpler logarithms:

$\log_5 \left( \frac{25x^3}{y} \right)$

Solve

Monotonicity, intercepts, and translations

Comparison of logarithmic graphs: the one with base greater than 1 rises (increasing) and the one with base between 0 and 1 falls (decreasing); they share the vertical asymptote x = 0 and the point (1, 0). a > 1 (increasing) 0 < a < 1 (decreasing) (1, 0)
Practice★☆☆Not started
Find the axis intercepts (x-axis and y-axis, if they exist) of the function $g(x) = \ln(x - 2)$.

Find the axis intercepts (x-axis and y-axis, if they exist) of the function $g(x) = \ln(x - 2)$.

Solve
Practice★☆☆Not started
Given the function $h(x) = \log_{0,5}(x)$, state with reasoning whether it is an increasing or decreasing function across its entire domain, and calculate the exact…

Given the function $h(x) = \log_{0,5}(x)$, state with reasoning whether it is an increasing or decreasing function across its entire domain, and calculate the exact value of $h(1)$ and $h(4)$.

Solve
Practice★☆☆Not started
Describe precisely what geometric transformations (translations) must be applied to the graph of the basic function $f(x) = \ln(x)$ to obtain the graph of the function…

Describe precisely what geometric transformations (translations) must be applied to the graph of the basic function $f(x) = \ln(x)$ to obtain the graph of the function $g(x) = \ln(x+2) - 3$.

Solve

Composition of functions

Composing two functions means using the output of one as the input of the other.

Inverse function of the exponential

Graphs of y = aˣ and y = logₐ x, symmetric about the diagonal y = x, with the points (0, 1) and (1, 0). y = x y = aˣ y = logₐ x (0, 1) (1, 0)
Practice★☆☆Not started
Write the algebraic expression for the inverse function $f^{-1}(x)$ of the exponential function $f(x) = 10^{x+2} - 5$.

Write the algebraic expression for the inverse function $f^{-1}(x)$ of the exponential function $f(x) = 10^{x+2} - 5$.

Solve
Practice★★☆Not started
From the following graphical representation of the function $f(x) = \log_2(x+2) - 1$, determine analytically its domain, its range, the equation of its vertical…

From the following graphical representation of the function $f(x) = \log_2(x+2) - 1$, determine analytically its domain, its range, the equation of its vertical asymptote and the exact coordinates of its x- and y-intercepts.

X Y x = −2 f(x)
Solve
Practice★★☆Not started
The book value of a high-capacity computer server depreciates over time according to the exponential function $V(t) = 90\,000 \times e^{-0.25t}$, where $V$ is the value…

The book value of a high-capacity computer server depreciates over time according to the exponential function $V(t) = 90\,000 \times e^{-0.25t}$, where $V$ is the value in pesos and $t$ is the time elapsed in years since its purchase. Find the algebraic expression for the inverse function $t(V)$ and briefly explain what quantity this new function allows us to calculate.

Solve
Practice★★★Not started
Analyse the symmetry relationship between the functions $f(x) = e^{x-1}$ and $g(x) = \ln(x) + 1$. Observe the attached graph showing both curves and the line y = x (the…

Analyse the symmetry relationship between the functions $f(x) = e^{x-1}$ and $g(x) = \ln(x) + 1$. Observe the attached graph showing both curves and the line y = x (the bisector of the first quadrant). Prove analytically that they are inverse functions by calculating the compositions $(f \circ g)(x)$ and $(g \circ f)(x)$.

X Y y = x f(x) g(x)
Solve

Logarithmic equations and systems

Systems with logarithms

When one equation is linear and the other is logarithmic, the methods are combined: substitution (solving for one unknown in the linear equation) and reduction to a single logarithm in the other.

If the resulting quadratic doesn't factor, use the quadratic formula and discard any roots that violate the domain.

Practice★☆☆Not started
Solve the following logarithmic equation by applying the definition of a logarithm: $\log_2(3x + 1) = 4$

Solve the following logarithmic equation by applying the definition of a logarithm:

$\log_2(3x + 1) = 4$

Solve
Practice★★☆Not started
Solve the following logarithmic equation, checking the validity of the solutions obtained: $\log(x + 2) + \log(x - 1) = 1$

Solve the following logarithmic equation, checking the validity of the solutions obtained:

$\log(x + 2) + \log(x - 1) = 1$

Solve
Practice★★☆Not started
Find the values of $x$ and $y$ that satisfy the following system of non-linear equations: $\begin{cases} x - y = 9 \\ \log_3(x) + \log_3(y) = 3 \end{cases}$

Find the values of $x$ and $y$ that satisfy the following system of non-linear equations:

$\begin{cases} x - y = 9 \\ \log_3(x) + \log_3(y) = 3 \end{cases}$

Solve
Practice★★★Not started
Solve the following logarithmic equation. Make sure to check possible solutions in the original equation to rule out extraneous roots: $2\log_2(x) - \log_2(x-1) = 3$

Solve the following logarithmic equation. Make sure to check possible solutions in the original equation to rule out extraneous roots:

$2\log_2(x) - \log_2(x-1) = 3$

Solve
Practice★★★Not started
Determine the numerical values of the parameters $a$ and $b$ so that the logarithmic function $f(x) = \ln(ax + b)$ simultaneously satisfies two conditions: having a…

Determine the numerical values of the parameters $a$ and $b$ so that the logarithmic function $f(x) = \ln(ax + b)$ simultaneously satisfies two conditions: having a vertical asymptote at the line with equation $x = -3$ and passing through the point with coordinates $(2, 0)$.

Solve
Practice★★★Not started
Solve the following system combining exponential and logarithmic equations, finding the values of $x$ and $y$:…

Solve the following system combining exponential and logarithmic equations, finding the values of $x$ and $y$:

$\begin{cases} 2^x \times 4^y = 64 \\ \ln(x) - \ln(y) = \ln(2) \end{cases}$

Solve

Continuous functions with logarithms

A piecewise function is continuous at a point if the left-hand and right-hand limits exist and equal the value of the function. The logarithm is continuous on its entire domain, so the possible problem is at the point where the formula changes.

Practice★★☆Not started
Study the continuity of the following piecewise function at the point $x = 1$. If any discontinuity exists, classify it by stating its type.…

Study the continuity of the following piecewise function at the point $x = 1$. If any discontinuity exists, classify it by stating its type.

$f(x) = \begin{cases} x^2 - 1 & \text{if } x < 1 \\ \ln(x) & \text{if } x \ge 1 \end{cases}$

Solve

Logarithmic scales and models of change

Axis marked in powers of ten: equal-length segments represent multiplying by one thousand. 10⁰ 10³ 10⁶ 10⁹ 10¹² each equal segment = multiply ×1000

When the unknown is in an exponent, the logarithm "brings it down." In decay or cooling, $e^{-kt}$ appears: isolate the exponential and apply $\ln$ to both sides.

Practice★☆☆Not started
In chemistry, the pH of a solution is defined by the expression $pH = -\log[H^+]$, where $[H^+]$ represents the hydrogen ion concentration in moles per liter. Calculate…

In chemistry, the pH of a solution is defined by the expression $pH = -\log[H^+]$, where $[H^+]$ represents the hydrogen ion concentration in moles per liter. Calculate the pH of an orange juice whose hydrogen ion concentration is $[H^+] = 10^{-3.2}$.

Solve
Practice★★☆Not started
The sound intensity level $\beta$, measured in decibels (dB), is calculated using the acoustic formula $\beta = 10 \log \left( \frac{I}{I_0} \right)$, where $I$ is the…

The sound intensity level $\beta$, measured in decibels (dB), is calculated using the acoustic formula $\beta = 10 \log \left( \frac{I}{I_0} \right)$, where $I$ is the sound intensity in $\text{W/m}^2$ and $I_0 = 10^{-12} \text{ W/m}^2$ is the standard threshold of hearing. If the take-off of a jet aircraft generates a noise level of $140 \text{ dB}$, what is the intensity $I$ of that sound in $\text{W/m}^2$?

Solve
Practice★★☆Not started
On the Richter magnitude scale, the magnitude $M$ of an earthquake is related to the energy released $E$ (in ergs) by the empirical equation $\log(E) = 11.8 + 1.5M$.…

On the Richter magnitude scale, the magnitude $M$ of an earthquake is related to the energy released $E$ (in ergs) by the empirical equation $\log(E) = 11.8 + 1.5M$. Calculate how many times greater the energy released by an earthquake of magnitude $7.0$ is compared to the energy released by one of magnitude $5.0$.

Solve
Practice★★★Not started
The radioactive decay law of Carbon-14 is given by the function $N(t) = N_0 \times e^{-\lambda t}$, where $N_0$ is the initial amount of isotope, $N(t)$ is the remaining…

The radioactive decay law of Carbon-14 is given by the function $N(t) = N_0 \times e^{-\lambda t}$, where $N_0$ is the initial amount of isotope, $N(t)$ is the remaining amount at time $t$ (in years) and $\lambda$ is the decay constant. Knowing that the half-life (time required for the initial amount to be reduced to exactly half) is $5730$ years, calculate the exact value of the constant $\lambda$. Subsequently, determine the approximate age of a bone fossil that retains only $15\%$ of its original Carbon-14.

Solve
Practice★★★Not started
According to Newton's law of cooling, the temperature $T$ of a body at time $t$ (in minutes) is given by the expression $T(t) = T_a + (T_0 - T_a)e^{-kt}$, where $T_a$ is…

According to Newton's law of cooling, the temperature $T$ of a body at time $t$ (in minutes) is given by the expression $T(t) = T_a + (T_0 - T_a)e^{-kt}$, where $T_a$ is the constant ambient temperature and $T_0$ is the initial temperature of the body. A cup of tea at $90^\circ\text{C}$ is left to cool in a room whose temperature is $20^\circ\text{C}$. If after $10$ minutes the temperature of the tea has dropped to $60^\circ\text{C}$, find the exact value of the cooling constant $k$. Next, calculate the total time that must elapse from the start for the temperature to drop to $35^\circ\text{C}$.

Solve
Practice★★★Not started
Given the function $f(x) = \ln \left( \frac{1+x}{1-x} \right)$ whose domain is the interval $x \in (-1, 1)$, prove analytically, using the laws of logarithms, that the…

Given the function $f(x) = \ln \left( \frac{1+x}{1-x} \right)$ whose domain is the interval $x \in (-1, 1)$, prove analytically, using the laws of logarithms, that the identity $f(a) + f(b) = f\left( \frac{a+b}{1+ab} \right)$ holds for any values $a$ and $b$ belonging to the domain that make the expression meaningful.

Solve

Back to the beginning: on the Richter scale, $\log E = 11.8 + 1.5M$, so the energy grows like $10^{1.5M}$. A difference of $2$ units of magnitude multiplies the energy by $10^{1.5\times 2}=10^3=1{,}000$.

Summary

See all the exercises in this section