audio read-through Introduction to Logarithmic Functions

Before doing this exercise, you may want to review basic properties of logarithms:

In this section we continue to explore logarithms, but now with an emphasis on the family of logarithmic functions.

DEFINITION logarithmic function

A logarithmic function is a function of the form $\,y=\log_b\,x\,,$ where $\,b\,$ is a positive number not equal to $\,1\,,$ and $\,x\gt 0\,.$

The number $\,b\,$ is called the base of the logarithm.

When the base is $\,\text{e}\,,$ the function is called the natural logarithm, and can be written as $\,y=\ln\,x\,.$

(Note: $\,\text{e}\approx 2.71828\,$)

When the base is $\,10\,,$ the function is called the common logarithm, and can be written as $\,y=\log\,x\,.$

Be Alert to Differences in Notation

Some academic disciplines use the natural log a lot, but the common log not so much. These disciplines often use $\,\log\,$ to mean log base e, instead of log base ten. Be sure to check what notation is being used whenever you start communicating with someone new.

Furthermore, some mathematicians (this author included) tend to call more general functions where a logarithm is acting on variable input a logarithmic function: say, $\,y=\ln (2x-3)\,$ or $\,y=-7\log(5-x)\,.$ For the purposes of this section, however, the phrase logarithmic function refers only to functions of the form $\,y=\log_b\,x\,.$

There are two basic shapes to the graphs of logarithmic functions, depending on whether the base is greater than $\,1\,,$ or between $\,0\,$ and $\,1\,$:

$\,y=\log_b\,x\,$  for  $\,b\gt 1\,$

increasing logarithmic functions

increasing functions

$\,y=\log_b\,x\,$  for  $\,0\lt b\lt 1\,$

decreasing logarithmic functions

decreasing functions

Properties of the Graph for $\,b\gt 1$

An increasing function has the following property: as you walk along the graph, going from left to right, you are always going uphill.

The following are equivalent for a function $\,f(x)=\log_b\,x\,$:

For increasing logarithmic functions:

For additional practice with sentences like  ‘as $\,x\rightarrow\infty\,,$ $\,y\rightarrow\infty\,$’  and  ‘as $\,x\rightarrow 0^+\,,$ $\,y\rightarrow -\infty\,$’,   you may want to review Basic Models You Must Know.

an increasing logarithmic function

$y = \log_b\,x\,$  for  $\,b\gt 1$
increasing functions
as $\,x\rightarrow\infty\,,$ $\,y\rightarrow\infty\,$
as $\,x\rightarrow 0^+\,,$ $\,y\rightarrow -\infty\,$

Properties of the Graph for $\,0 \lt b\lt 1$

A decreasing function has the following property: as you walk along the graph, going from left to right, you are always going downhill.

The following are equivalent for a function $\,f(x)=\log_b\,x\,$:

For decreasing logarithmic functions:

a decreasing logarithmic function

$y = \log_b\,x\,$  for  $\,0 \lt b\lt 1$
decreasing functions
as $\,x\rightarrow\infty\,,$ $\,y\rightarrow -\infty\,$
as $\,x\rightarrow 0^+\,,$ $\,y\rightarrow \infty\,$

Read-Through, Part 2

Properties that All Logarithmic Functions Share

Let $\,f(x)=\log_b\,x\,,$ where $\,b\,$ is a positive number not equal to $\,1\,,$ and $\,x\gt 0\,.$

For all (allowable) bases $\,b\,,$ logarithmic functions share the following properties:

The Domain is the Set of Positive Numbers:  $\text{dom}(f) = (0,\infty)$

If the graph of a logarithmic function is ‘collapsed’ into the $x$-axis, sending each point on the graph to its $x$-value, then all positive $x$-values will be hit.

domain of logarithmic functions
domain of logarithmic functions

Logarithms only know how to act on positive inputs.

For basic information on the domain and range of a function, you may want to review: Domain and Range of a Function

Having trouble understanding the expression ‘$\,(0,\infty)\,$’? Then, you may want to review Interval and List Notation.

The Range is the Set of All Real Numbers:  $\text{ran}(f)=\mathbb{R}$

If the graph of a logarithmic function is ‘collapsed’ into the $y$-axis, sending each point on the graph to its $y$-value, then all $y$-values will be hit.

the range of logarithmic functions
the range of logarithmic functions

In particular, even though increasing logarithm curves rise very slowly for large inputs, they will eventually reach any desired output, no matter how big (and positive) it may be!

And, even though decreasing logarithm curves fall very slowly for large inputs, they will eventually reach any desired output, no matter how big (and negative) it may be!

Indeed, the fact that logarithmic functions increase/decrease very slowly for large inputs is an important feature of their graphs, which makes them particularly valuable in modeling slowly-changing behavior.

The Graph Crosses the $x$-axis at $\,x=1$

For allowable values of $\,b\,$:

$$ \cssId{sb34}{\log_b\,1 \overset{\text{always}}{\ \ \ =\ \ \ } 0\ ,} \ \ \ \cssId{sb35}{\text{ since }\ \ \ b^0 \overset{\text{always}}{\ \ \ =\ \ \ } 1} $$

So, when the input is $\,1\,$ to the function $\,\log_b\,,$ the output is $\,0\,.$

Thus, the point $\,(1,0)\,$ lies on the graph of every logarithmic function.

x-intercept for logarithmic functions
x-intercept for logarithmic functions

The Graph Passes Both the Vertical and Horizontal Line Test

Vertical Line Test:   Imagine a vertical line sweeping through a graph, checking each allowable $x$-value. If it never hits the graph at more than one point, then the graph is said to pass the vertical line test.

All functions pass the vertical line test, since the function property is that each input has exactly one output.

passes the vertical line test:
each $x$-value has only one $y$-value

passes the vertical line test

all functions
pass the vertical line test

fails the vertical line test:
there exists an $x$-value
that has more than one $y$-value

fails the vertical line test

Horizontal Line Test:   Imagine a horizontal line sweeping through a graph, checking each allowable $y$-value. If it never hits the graph at more than one point, then the graph is said to pass the horizontal line test. Some functions pass the horizontal line test, and some do not.

passes the horizontal line test:
each $y$-value has only one $x$-value

passes the horizontal line test

all logarithmic functions
pass the horizontal line test

fails the horizontal line test:
there exists a $y$-value
that has more than one $x$-value

fails the horizontal line test

some functions
fail the horizontal line test

Thus, logarithmic functions have a wonderful property: each input has exactly one output (passes the vertical line test), and each output has exactly one input (passes the horizontal line test).

For such functions, you can think of the inputs/outputs as being connected with strings: pick up any input, and follow its ‘string’ to the unique corresponding output; pick up any output, and follow its ’string’ to the unique corresponding input. That is, there is a one-to-one correspondence between the inputs and outputs. Functions with this property are called one-to-one functions.

Concept Practice