Canadian flagMath101 · Independent Ontario learning libraryCreated and edited by Kamran
AlgebraGrades 9–123 min read

Logarithmic Functions

A logarithm answers an exponent question and forms the inverse of an exponential function.

Cheat sheet
The statement $\log_b x=y$ means exactly that $b^y=x$.

Definition

For $b>0$, $b\ne1$, and $x>0$,

$$ \log_b x=y\quad\Longleftrightarrow\quad b^y=x. $$

A logarithm is an exponent. For example,

$$ \log_2 8=3 $$

because $2^3=8$. Translating between logarithmic and exponential form is the central skill.

Inverse relationship

The functions

$$ f(x)=b^x\qquad\text{and}\qquad f^{-1}(x)=\log_b x $$

undo one another. Their graphs reflect across $y=x$, so exponential domain and range swap for the logarithm.

This gives the inverse identities

$$ \log_b(b^x)=x $$

and

$$ b^{\log_b x}=x\quad(x>0). $$

Graph features

For $y=\log_b x$:

  • domain: $x>0$;
  • range: all real numbers;
  • $x$-intercept: $(1,0)$ because $\log_b1=0$;
  • vertical asymptote: $x=0$;
  • no $y$-intercept.

If $b>1$, the function increases. If $0<b<1$, it decreases.

Key values

Powers of the base become anchor points. For base $3$:

$$ \log_3 1=0,quad \log_3 3=1,quad \log_3 9=2,quad \log_3\left(\frac13\right)=-1. $$

Thus the graph contains $(1,0)$, $(3,1)$, $(9,2)$, and $(1/3,-1)$.

Worked example: evaluate exactly

A negative logarithm output is allowed; only the logarithm's input must be positive.

Logarithm laws

For positive $M,N$:

$$ \log_b(MN)=\log_bM+\log_bN, $$
$$ \log_b\left(\frac MN\right)=\log_bM-\log_bN, $$
$$ \log_b(M^p)=p\log_bM. $$

These follow from exponent laws. There is no corresponding law that splits $\log_b(M+N)$.

Common and natural logarithms

$\log x$ usually means base $10$, while $\ln x$ means base $e$, where $e\approx2.71828$. Calculators often provide dedicated keys for both.

Any positive base other than $1$ can be evaluated using change of base:

$$ \log_b x=\frac{\log x}{\log b}=\frac{\ln x}{\ln b}. $$

Transformations

For

$$ y=a\log_b(k(x-d))+c, $$

the inside restriction $k(x-d)>0$ determines the domain. The parent asymptote $x=0$ transforms to the boundary where $k(x-d)=0$.

Do not state the domain from a memorized shift alone when $k$ is negative; solve the inequality for the logarithm's argument.

Logarithmic scales

Logarithms compress wide ranges. Decibels, pH, earthquake magnitude, and information measures use logarithmic ideas. A one-unit change can represent multiplication by a fixed factor rather than addition of a fixed amount.

Interpret the base and scale definition carefully; different logarithmic scales use different multipliers and reference values.

Common mistakes

Treating a logarithm as division. It is an exponent.

Allowing zero or negative inputs. Real logarithms require positive arguments.

Splitting a logarithm of a sum. $\log(M+N)$ is not $\log M+\log N$.

Confusing the base and argument. In $\log_bx$, $b$ is the base and $x$ is the positive input.

Forgetting that exponential and logarithmic graphs reflect across $y=x$. Their domain, range, and asymptotes correspond by inversion.

Quick self-check

  • Can I rewrite the statement in exponential form?
  • Is the base positive and not equal to $1$?
  • Is every logarithm argument positive?
  • Do graph features match the inverse exponential?
  • Am I using log laws only for products, quotients, and powers?

Explore the idea

Function transformation

Change one quantity at a time and connect what moves to Logarithmic Functions.

Works offline
Interactive function transformation graphThe selected parent function transformed by vertical scale a and shifts h and k.
What the model is showing Static example: y = log₂(x). Changing h moves the reference point horizontally, k vertically, and a changes orientation and vertical scale.Continue in the full Graphing Lab →
Check your understanding

Try it yourself

Hints are part of learning. Open one whenever it makes the next step feel possible.

1 practice question
Question 1Evaluate a logarithm exactly · Gentle

Evaluate log base 4 of 1/64.

End of lesson

Nice work making it this far.

Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.

Lesson complete

That one is yours now.

Logarithmic Functions is saved to My Learning. Take the win—you earned it.

1Your Math101 collectionlesson completed
Search 464 published lessons, 123 answer guides, courses, and learning tools.
Your experience

Settings

Ontario math tutoringWork with KamranBook ↗