Resources For Teachers For Tutors For Students & Parents Pricing
Pre-Calculus Exponential and logarithmic functions (advanced)

Logarithmic models

20 practice questions 0 video lessons Theory + worked examples

Logarithmic Functions

Texas Precalculus (TEKS) • Standard P.2(N), P.5(H) • Exponential & Logarithmic Functions

Logarithmic Functions is a topic in Exponential & Logarithmic Functions in the Texas Essential Knowledge and Skills (Precalculus, §111.42). It is aligned to Standard P.2(N), P.5(H), which requires students to analyze situations modeled by logarithmic functions and solve logarithmic equations.

A logarithmic function \(\log_b x\) is the inverse of \(b^x\), answering “what exponent gives \(x\)?” and defined only for \(x>0\).

Texas Precalculus (TEKS) › Exponential & Logarithmic Functions › Logarithmic Functions  —  Standard P.2(N), P.5(H)

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A logarithm answers “what exponent?” It is the inverse of an exponential function:

\[\log_b x=y\quad\Longleftrightarrow\quad b^y=x\qquad(b>0,\ b\neq 1).\]

Because it inverts \(b^x\), the log graph is the reflection of the exponential across \(y=x\): its domain is \(x>0\), and it has a vertical asymptote at \(x=0\).

Two logs get special names: the common log \(\log=\log_{10}\) and the natural log \(\ln=\log_e\).

You can only take the log of a positive number. \(\log_b x\) is undefined for \(x\le 0\).
Logarithm as the inverse of an exponential y equals log base 2 of x is the reflection of y equals 2 to the x across the line y equals x. x y y=2ₓ y=log₂x
\(\log_2 x\) is the mirror image of \(2^x\) across \(y=x\).
Definition Definition Definition logᵇ x = y ⇔ bʸ = x domain: x > 0 log = log₁₀, ln = logᵉ
The defining relationship and the two named logs.

The definition and its inverse relationships:

\[\log_b x=y\iff b^y=x,\qquad b^{\log_b x}=x,\qquad \log_b b^x=x\]
log base b of x equals y means b to the y equals x; logs and exponentials undo each other
Undo each other: \(\ln e^x=x\) and \(e^{\ln x}=x\) — the key to solving equations later.

How to work with logarithms

  1. To evaluate: rewrite as “base to what power gives the input?”
  2. To convert: \(\log_b x=y\leftrightarrow b^y=x\).
  3. For the domain: set the inside \(>0\) and solve.
Example 1 — Evaluate a logarithm
Find \(\log_2 32\).
Solution

Ask: 2 to what power is 32?

\(2^5\)\(=\)\(32\)
\(\log_2 32\)\(=\)\(5\)
log base 2 of 32 is 5
Example 2 — Convert between forms
Rewrite \(\log_3 81=4\) in exponential form.
Solution

\(\log_b x=y\) means \(b^y=x\).

\(\log_3 81=4\)\(\Longleftrightarrow\)\(3^4=81\)
log base 3 of 81 equals 4 means 3 to the fourth is 81
Example 3 — A natural log
Evaluate \(\ln e^3\).
Solution

\(\ln\) is \(\log_e\), and logs undo the matching exponential.

\(\ln e^3\)\(=\)\(3\)
natural log of e cubed is 3
Example 4 — Domain of a logarithm
State the domain of \(f(x)=\log(x-5)\).
Solution

The input of a logarithm must be positive.

\(x-5\)\(>\)\(0\)
\(x\)\(>\)\(5\)

Domain: \(x>5\), or \((5,\infty)\).

domain is x greater than 5

Common pitfalls

The input must be positive. \(\log(0)\) and \(\log\) of a negative are undefined.
\(\log\) means base 10; \(\ln\) means base \(e\). Don't mix them up.
A logarithm is an exponent. \(\log_b x\) is the power, so its output can be negative even though \(x\) is positive.

Frequently asked questions

What is a logarithm?

The inverse of an exponential: \(\log_b x=y\) means \(b^y=x\). It returns the exponent needed to reach \(x\).

What is the difference between log and ln?

\(\log\) is base 10 (the common log); \(\ln\) is base \(e\) (the natural log).

What is the domain of a logarithmic function?

Its input must be positive, so the domain of \(\log_b x\) is \(x>0\).

How are logs and exponentials related?

They are inverses: \(\log_b(b^x)=x\) and \(b^{\log_b x}=x\), so each undoes the other.