Maths Mutt HOME

Graphs of Exponential and Logarithmic Functions

Exponential Functions

An exponential function has the form \(y = a^x\).

An ordinary exponential function always passes through:

\[ (0,1),\quad (1,a),\quad (-1,\tfrac{1}{a}) \]

since \(a^0 = 1\), \(a^1 = a\), and \(a^{-1} = \frac{1}{a}\).

The x‑axis is an asymptote. The graph never crosses the x‑axis.

When the base is greater than 1:

Exponential graph with base greater than 1

When the base is between 0 and 1:

Exponential graph with base between 0 and 1
Example
Example exponential graph

To calculate values of \(y\), raise the base to the power \(x\).

For \(y = 2^x\):

Table of values

xy
-20.25
-10.5
01
12
24

Logarithmic Functions

A logarithmic function always passes through:

\[ (1,0),\quad (a,1) \]

since \(\log_a 1 = 0\) and \(\log_a a = 1\).

The y‑axis is an asymptote. The graph never crosses the y‑axis.

Logarithmic graph base a
Logarithmic graph example
Example

Sketch the graph of \(y=\log_{6}x\)

To calculate values of \(y\):

\[ y = a^x \quad\Longleftrightarrow\quad x = \log_a y \]

Table of values for \(y=\log_{6}x\)

x y
0.2 -1.113
0.5 -0.386
1 0
2 0.386
3 0.613
4 0.773
6 1
10 1.285
20 1.773
36 2
Logarithmic example graph

Shifting Log Graphs Left and Right

Consider the graph \(y = \log x\):

Graph of y = log x

The base is 10. Look for the points \((1,0)\) and \((10,1)\).

Now compare \(y = \log(x+2)\) and \(y = \log(x-2)\):

Graphs of log(x+2) and log(x-2)

Note how they shift the opposite way!

Opposite shifting of log graphs

Shifting Up and Down

Graph of y = log x

The base is 10. Look for the points \((1,0)\) and \((10,1)\).

Shift upwards

Graph shifted upwards

\((1,0)\) moves to \((1,2)\) and \((10,1)\) moves to \((10,3)\).

Shift downwards

Graph shifted downwards

\((1,0)\) moves to \((1,-2)\) and \((10,1)\) moves to \((10,-1)\).

Bringing It All Together

Example

The graph below has equation \(y = \log(x+a) + b\). Find the integers \(a\) and \(b\).

Shifted logarithmic graph

There is an asymptote at \(x = -3\). The graph has shifted left by 3 units.

So:

\[ y = \log(x+3) + b \]

The base is 10. Normally the point \((10,1)\) exists.

Shift left 3 units → expect \((7,1)\).

But on the graph, when \(x = 7\), \(y = -1\). So the graph has moved down 2 units.

Thus:

\[ a = 3,\qquad b = -2 \]
\[ y = \log(x+3) - 2 \]
Maths Mutt logo © Alexander Forrest