Graphs of exponential and logarithmic functions

Graphs of Exponential and Logarithmic Functions

Graphs of exponential functions and logarithmic functions provide a visual insight into their properties, such as growth, decay, and the inverse relationship between them. Graphs of exponential functions allow us to examine the distinctive curve of exponential growth and decay, while graphs of logarithmic functions facilitate analysis of the inverse of exponentials.


Use this page to revise the following concepts of graphing exponential and logarithmic functions:


Graphs of Exponential Functions

An exponential function is a mathematical function in the form of \( f(x) = a^x \) where \(x\) is an exponent and \(a\) is a constant (also known as the base) and where \( a \in \mathbb{R}^+ \setminus \{ 1 \}\). The most commonly used base is the Euler’s number, \(e\), which is approximately equal to \(2.71828\).

Generally, there are two scenarios of exponential functions, exponential growth and exponential decay. Each scenario is modelled by a specific graph.

Graphs of Logarithmic Functions

The logarithmic function is the inverse function to the exponential function. The logarithmic function is defined as \(f(x) = \log_a(x)\) where \(x \in \mathbb{R}^+\) and \(a \in \mathbb{R} \setminus \{ 1\}\). The base of the logarithm is \(a\), this can be read as "\(\log\) base \(a\) of \(x\)". The most two common bases used in logarithmic functions are base 10 and base \(e\).

The logarithmic function with base \(10\) is called the common logarithmic function and it is denoted by \(f(x) = \log_{10}(x)\).

The logarithmic function with base \(e\) is called the natural logarithmic function and it is denoted by \(f(x) = \log_e(x)\) or \(f(x) = \ln(x)\).

Generally, there are two types of graphs of logarithmic functions of the form \(f(x) = \log_a(x)\), depending on the value of \(a\).

  • If \(a > 1\), the graph is going up and passing through \((1,0)\)
  • If \(0 < a < 1\), the graph is going down and passing through \((1,0)\)

This behaviour can be changed by transformations, which are discussed later.

Transformations of graphs of exponential and logarithmic functions

Transformations of exponential and logarithmic function graphs involve dilating (also known as stretching or compressing), reflecting, and translating (also known as shifting or moving) to create new versions of the original graphs.

Generally, there are three types of transformations that could be applied to each function.

  • Dilations – stretches or compresses
  • Reflections – flip the graph
  • Translations – shifts or movements

For example:

  • Horizontal and vertical shifts move the graph left, right, up or down
  • Stretching or compressing alters the steepness or width of a graph
  • Reflections flip the graph across an axis, changing its orientation

Graph transformations of exponential functions

Transformations of exponential graphs behave similarly to those of other functions.

Three types of transformations can be applied to the original exponential function given by \(f(x) = \log_a(x)\) where \( a \in \mathbb{R}^+ \setminus \{ 1 \}\).

  • Shifts – horizontal and vertical
  • Reflections – in the \(x\)-axis and \(y\)-axis
  • Stretches/compressions – horizontal and vertical

Graph transformations of logarithmic functions

Transformations of logarithmic graphs behave similarly to those of other functions.

Three types of transformations can be applied to the original logarithmic function given by \(f(x) = a^x\) where \(a \in \mathbb{R}^+\) and \(a \neq 1\).

  • Shifts – horizontal and vertical
  • Reflections – in the \(x\)-axis and \(y\)-axis
  • Stretches/compressions – horizontal and vertical

Inverse relationship between exponential and logarithmic functions

The exponential function and the logarithmic function are inverses of each other, meaning they ‘undo’ each other’s operations.

If the exponential function is given by \(f(x) = a^x\) where \( a \in \mathbb{R}^+ \setminus \{1\} \), then its inverse is the logarithmic function \(g(x) = \log_{a}(x)\) where  \( a \in \mathbb{R}^+ \setminus \{ 1 \}\). This relationship implies that applying the logarithmic function to the result of an exponential function returns the original input, and vice versa.

For example, if \(y = a^x\), then taking \(\log_{a}(y)\) yields \(x\), because \(\log_{a}(a^x) = x\). Similarly, if \(y = \log_{a}(x)\), then \( a^y = a^{\log_{a}(x)} = x \).

This inverse relationship is a fundamental property that links these two functions and forms the basis for solving equations involving exponential growth or decay and their corresponding logarithmic expressions.

Properties of inverses

Explanation using graph Summary of properties

Graphs of y=x (red), f(x)=2^x (blue) and g(x)=og_2(x) (green),

  • The blue curve represents an exponential function which is given by the rule of  \(f\left(x\right) = 2^x\)
  • The green curve represents a logarithmic function which is given by the rule of \(g\left(x\right) = \log_2{(x)}\)
  • The red straight line represents a linear function which is given by the rule of \(y = x\)
  1. \(x\) values and \(y\) values are swapped if two functions have inverse relationship. For example, the point \((1,2)\) lying on \(f(x)\) is now swapped to \((2,1)\) on \(g(x)\).
  2. The domain of the original function is the range of the inverse. For example, the domain of exponential functions is \(\mathbb{R}\), and the range of logarithmic functions is \(\mathbb{R}\).
  3. The range of the original function is the domain of the inverse. For example, the range of \(f\left(x\right) = 2^x\) is \(\left(0,\infty\right)\), and the domain of \(g\left(x\right) = \log_2{(x)}\) is also \(\left(0,\infty\right)\).
  4. The graph of an inverse function is a reflection of the original function in the line \(y = x\).