Skip to main content
Mathovia

Algebra / Exponential & Logarithmic Functions

Exponential vs Logarithmic Functions

An exponential function and a logarithmic function describe the same relationship from opposite ends. The exponential takes a time or a count and tells you the amount; the logarithm takes the amount and tells you the time or count. Knowing which question you are asking tells you which function to use.

Practice Problems
Written by
MPhil in Mathematics, Founder of Mathovia
Published

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

Exponential and logarithmic functions are introduced separately, but they are really one relationship written two ways: and say exactly the same thing. What changes is which quantity you know and which you want. This lesson puts the two functions side by side — their formulas, graphs, growth and uses — so the logarithmic vs exponential question stops being confusing and becomes a matter of reading the problem.

y = b to the x and x = log base b of y describe the same relationship
The same relationship, solved for different variables

Exponential vs Logarithmic: Side by Side

Exponential functionLogarithmic function
Form
Inputan exponent (any real number)a positive number
Outputa positive numberan exponent (any real number)
Domain
Range
Key point
Asymptotehorizontal, vertical,
Growth for faster and fasterslower and slower
Each step in multiplies by multiplying by adds to

The last row is the whole difference in one line. An exponential turns adding in the input into multiplying in the output; a logarithm turns multiplying in the input into adding in the output.

They Undo Each Other

The two functions are inverse functions, so applying one after the other returns what you started with:

This is why a logarithm is the tool for solving an exponential equation, and an exponential is the tool for solving a logarithmic one. Graphically, the curves are mirror images across the line — the logarithms lesson shows the reflection, and the graphing logarithmic functions lesson lists the features that swap.

Comparing Growth

For a base above , both functions increase — but at wildly different rates. Compare , and :

By , the exponential is in the billions while the logarithm has reached . This is a general fact: an exponential with eventually outgrows every polynomial, and a logarithm eventually falls behind every positive power of , even .

y = 2^x shooting upward, the line y = x, and y = log base 2 of x rising slowly, on the same axes
Exponential growth, linear growth and logarithmic growth on one set of axes

When to Use Each One

Ask what you know and what you want.

You knowYou wantUse
time, number of periods, or number of stepsthe resulting amountexponential,
the resulting amountthe time or number of stepslogarithm,
a quantity spanning many powers of tena manageable scalelogarithm (pH, decibels, Richter)

Real examples of each:

  • Exponential: a balance after years of compound interest, a bacteria count after hours, the amount of a drug left after half-lives — see the growth and decay lesson.
  • Logarithmic: how long until a balance doubles, how many half-lives until a sample is below a safe level, the loudness in decibels of a sound of a given intensity.

Properties of Exponents and Logarithms

The algebraic rules mirror each other in the same way the functions do:

Exponent ruleLogarithm rule

The logarithm rules lesson shows how each log rule is derived from the exponent rule beside it.

Example 1: Is the Data Exponential or Logarithmic?

DataPatternFunction
: ; : adds , multiplies by , exponential
: ; : multiplies by , adds , logarithmic
: ; : multiplies by , adds , logarithmic
: ; : adds , multiplies by , exponential

The test is which variable is being multiplied. If the outputs multiply while the inputs add, the data is exponential; if the inputs multiply while the outputs add, it is logarithmic.

Worked Example

A bacteria culture follows , where is in hours. Find (a) the population after hours and (b) the time when the population reaches .

Step 1 — part (a) gives the time and asks for the amount, so evaluate the exponential:

Step 2 — part (b) gives the amount and asks for the time, so set up the equation:

Step 3 — convert to logarithmic form:

Step 4 — evaluate with the change of base formula:

Step 5 — solve for :

The same model answered both questions: the exponential form for “how many,” the logarithmic form for “how long.”

Common Mistakes to Avoid

  • Confusing the inverse function with the reciprocal. The inverse of is , not .
  • Giving a logarithmic graph a horizontal asymptote. The log curve keeps rising; its only asymptote is vertical. It is the exponential that has the horizontal one.
  • Assuming logarithmic growth stops. grows without bound, just slowly. It passes any height you name, eventually.
  • Swapping domain and range the wrong way. The logarithm needs positive inputs; the exponential produces positive outputs.

Practice Problems

Work each one before opening the answer.

Problem 1. For large , which is larger: or ? Check at .

Show answer

Step 1 — evaluate the exponential:

Step 2 — evaluate the logarithmic expression:

Answer: is larger — any exponential with base above eventually beats any multiple of a logarithm

Problem 2. Identify the function: : ; : .

Show answer

Step 1 — the inputs multiply by while the outputs add , so the data is logarithmic with base .

Step 2 — check a point: .

Answer:

Problem 3. Identify the function: : ; : .

Show answer

Step 1 — the inputs add while the outputs multiply by , so the data is exponential.

Step 2 — the value at is :

Answer:

Problem 4. Find the inverse of .

Show answer

Step 1 — write and swap and :

Step 2 — isolate the power:

Step 3 — convert to logarithmic form:

Answer: , defined for

Problem 5. Find the inverse of .

Show answer

Step 1 — swap the variables:

Step 2 — convert to exponential form with base :

Step 3 — solve for :

Answer:

Problem 6. Sound level in decibels is . Find for a sound times as intense as the reference .

Show answer

Step 1 — substitute the ratio:

Step 2 — :

Answer: decibels

The worked example needed one algebraic move to get from an exponential equation to an answer. The solving exponential equations lesson makes that move systematic, for every kind of exponential equation you will meet.

Frequently Asked Questions

What is the difference between logarithmic and exponential functions?+

They are inverses. An exponential function has the variable in the exponent and outputs a power; a logarithmic function takes that power back and outputs the exponent. Their graphs are reflections across , and their domains and ranges are swapped.

Which grows faster, an exponential or a logarithmic function?+

An exponential with base greater than grows faster than any polynomial, and a logarithm grows slower than any positive power of . Even eventually passes : at the first is about and the second is .

Are logarithmic scales like pH and decibels exponential or logarithmic?+

Both, depending on which way you read them. The scale value is a logarithm of the physical quantity, so each step up the scale multiplies the quantity by a fixed factor — an exponential relationship. A sound decibels louder carries times the energy; a pH one lower is times as acidic.

Related lessons