DoAssignment.ca

A2.2 · Relate exponential and logarithmic functions as inverses

Learn to relate exponential and logarithmic functions as inverses through clear examples and targeted practice.

Ontario Grade 12 Mathematics

Exponential and Logarithmic Functions

Understanding how powers and logarithms undo each other

An exponential function answers a question about powers. A logarithmic function answers the matching question in reverse. For example, if a power of 33 gives 8181, a logarithm tells us which exponent was used. This lesson connects these functions as inverses. It uses tables, symbols, and one guided example to show how their inputs and outputs switch places.

What you will learn

1. Prerequisite bridge: inputs, outputs, and powers

A function is a rule that assigns one output to each allowed input. You can think of it as a machine: you choose an input, apply the rule, and get an output. For instance, the rule f(x)=3xf(x)=3^x gives the output 99 when the input is 22, because 32=93^2=9.
An exponent tells how many times the base is used as a factor. In 323^2, the base is 33 and the exponent is 22. An exponential function has its variable in the exponent, as in 3x3^x. A logarithm names the exponent needed to produce a given positive value.
32=93^2=9

2. Plain-language relationship: each function undoes the other

Two functions are inverses when each one undoes the action of the other. The exponential function f(x)=3xf(x)=3^x asks, “What power of 33 is this input?” The matching logarithmic function asks, “What exponent on 33 gives this input?”
The notation is not needed to understand the relationship: if 32=93^2=9, then would be the exponent that makes 33 become 99. Written correctly, that exponent is . These paired statements show the same fact in two forms: a power statement and a logarithm statement.
More generally, for a base aa with a>0a>0 and a≠1a\ne1, the exponential function axa^x has inverse function log⁡ax\log_a x. The symbol log⁡ax\log_a x means the exponent that aa must have to produce xx. The input of a logarithm must be positive, because a positive base raised to a real exponent does not produce zero or a negative number.
An inverse reverses input and output. If the exponential function takes 22 to 99, its inverse takes 99 back to 22. This reversal is the key idea behind both the table and the graph.
ax=y  ⟺  log⁡ay=xa^x=y\iff\log_a y=x

3. Multiple representations: pairs, symbols, and graphs

A table makes the reversal visible. For f(x)=3xf(x)=3^x, an input of 22 gives an output of 99. The inverse relation therefore has input 99 and output 22. Every ordered pair (x,y)(x,y) for the exponential function becomes (y,x)(y,x) for its inverse.
This coordinate switch also describes the graph. The graphs of inverse functions are mirror images across the line y=xy=x. Reflecting a point (x,y)(x,y) across that line gives the point (y,x)(y,x). The exponential graph passes through (0,1)(0,1) because a0=1a^0=1. Its logarithmic inverse passes through (1,0)(1,0) because log⁡a1=0\log_a 1=0.
The same relationship can be checked using composition. Composition means applying one function and then applying another to its output. If f(x)=axf(x)=a^x and g(x)=log⁡axg(x)=\log_a x, applying gg after ff returns the starting input. Applying ff after gg also returns the starting input, as long as the input to the logarithm is positive.
f(g(x))=x,g(f(x))=xf(g(x))=x,\quad g(f(x))=x

4. Applying the relationship

To move between exponential and logarithmic forms, identify the base, the output, and the exponent. In the statement ax=ya^x=y, the logarithmic form is log⁡ay=x\log_a y=x. The base stays the same. The power's result becomes the logarithm's input, and the exponent becomes the logarithm's value.
To identify an inverse function, reverse the input-output roles. Then check that the resulting rule undoes the original. For exponential and logarithmic functions with the same valid base, this gives log⁡a(ax)=x\log_a(a^x)=x and alog⁡ax=xa^{\log_a x}=x for positive xx.
This relationship is useful whenever an unknown appears as an exponent. A logarithm expresses that unknown as a value. The important point here is not a new calculation method; it is recognizing that the logarithmic function reverses the exponential function.
log⁡a(ax)=x,alog⁡ax=x\log_a(a^x)=x,\quad a^{\log_a x}=x

Input-output pairs for a function and its inverse

Exponential inputExponential outputInverse inputInverse output
0110
1331
2992

Worked example

Finding and checking the inverse of an exponential function

Let f(x)=3xf(x)=3^x. State its inverse, use input-output pairs to show the reversal, and check the relationship in both orders.
  1. Identify the base and output
    The function has base 33. A useful pair comes from choosing x=2x=2: the exponential rule gives an output of 99.
    f(2)=32=9f(2)=3^2=9
  2. Reverse the pair
    An inverse switches the input and output. Since the original function takes 22 to 99, its inverse must take 99 to 22. The logarithm names the exponent needed to produce 99 from base 33.
    (2,9)⟷(9,2),log⁡39=2(2,9)\longleftrightarrow(9,2),\quad\log_3 9=2
  3. Write the inverse rule
    Replace the exponential relationship with its logarithmic form. The base remains 33, and the input and exponent roles are exchanged. Thus the inverse function is f−1(x)=log⁡3xf^{-1}(x)=\log_3 x, defined for positive xx.
    f−1(x)=log⁡3xf^{-1}(x)=\log_3 x
  4. Check both orders
    Applying the logarithm to an exponential output recovers the original exponent. Applying the exponential to a logarithm input recovers that positive input. These checks confirm that the rules undo each other.
    log⁡3(3x)=x,3log⁡3x=x (x>0)\log_3(3^x)=x,\quad 3^{\log_3 x}=x\ (x>0)
Answer: The inverse of f(x)=3xf(x)=3^x is f−1(x)=log⁡3xf^{-1}(x)=\log_3 x. The pair (2,9)(2,9) becomes (9,2)(9,2), and the two composition checks return the starting input.
Check: The exponential function accepts any real input and produces a positive output. The inverse therefore accepts positive inputs and produces real outputs, matching the logarithm's required input.

Common mistakes and how to avoid them

Treating log⁡ay\log_a y as multiplication by aa.
Correction: A logarithm is an exponent. The expression log⁡ay\log_a y asks which exponent on aa produces yy.
Changing the base when switching between exponential and logarithmic forms.
Correction: Keep the same base. In ax=ya^x=y, the equivalent logarithmic form is log⁡ay=x\log_a y=x.
Reversing the base and exponent instead of reversing the input and output.
Correction: Keep the base fixed and exchange the exponent with the resulting value. For example, 32=93^2=9 corresponds to log⁡39=2\log_3 9=2.
Allowing zero or a negative number as the input to a real logarithm.
Correction: The input of log⁡ax\log_a x must be positive. The matching exponential function produces positive outputs only.

Lesson summary

Check your understanding

Question 1

Which logarithmic statement is equivalent to 53=1255^3=125?
  1. log⁡5125=3\log_5 125=3
  2. log⁡1255=3\log_{125} 5=3
  3. log⁡3125=5\log_3 125=5
  4. correctIndex': 0,
Show answer and explanation
log⁡5125=3\log_5 125=3
The base remains 55, the result becomes the logarithm's input, and the exponent becomes its value.

Question 2

If an exponential function has the point (1,4)(1,4), which point belongs to its inverse?
  1. (1,4)(1,4)
  2. (4,1)(4,1)
  3. (4,4)(4,4)
  4. correctIndex': 1,
Show answer and explanation
(4,1)(4,1)
An inverse switches the coordinates, so the point (1,4)(1,4) becomes (4,1)(4,1).

Question 3

What is the domain of the inverse of f(x)=2xf(x)=2^x?
  1. All real numbers
  2. Positive real numbers
  3. Non-negative real numbers
  4. correctIndex': 1,
Show answer and explanation
Positive real numbers
The range of 2x2^x is the positive real numbers, and the inverse uses that range as its domain.

Key terms

Function
A rule that assigns one output to each allowed input.
Exponential function
A function in which the variable appears as an exponent, such as axa^x.
Logarithm
The exponent that a specified base must have to produce a given positive number.
Inverse functions
Two functions that undo each other by reversing input and output.
Composition
Applying one function and then applying another function to the result.
Domain
The set of allowed input values for a function.
Range
The set of output values a function can produce.

Continue through MHF4U

View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation A2.2. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question