01 / 21
log ⇄ exp

Definition of
Logarithms

Understand how logarithms undo exponentiation, master the conversion between exponential and logarithmic forms, and build a foundation for advanced algebra.

College Algebra

What Is a Logarithm?

A logarithm answers one fundamental question: what exponent do I need? When you see \(\log_b(x)\), you are asking: "To what power must I raise \(b\) to get \(x\)?"

Logarithms turn the question of repeated multiplication into a simple, solvable equation. They are one of the most powerful tools in algebra, science, and engineering.

The Three Players

Base \(b\)
The number being raised to a power. Must satisfy \(b > 0\) and \(b \neq 1\).
Exponent \(y\)
The power the base is raised to: the output of the logarithm.
Argument \(x\)
The result of the exponentiation. Must satisfy \(x > 0\).

Why Do Logarithms Matter?

Exponential growth appears everywhere: population dynamics, compound interest, radioactive decay, and the Richter scale. Logarithms let us reverse that growth, turning enormous multiplicative changes into manageable additive ones.

1
Solve exponential equations: find unknown exponents, like how long until an investment doubles.
2
Compress huge scales: the pH scale, decibels, and earthquake magnitude all use logarithms.
3
Foundation for calculus: the natural logarithm \(\ln x\) is central to differentiation and integration.

The Core Definition

Logarithmic Form
\(\log_b(x) = y\)
⇄ Exponential Form
\(b^y = x\)

These two statements say the exact same thing. Converting between them is the single most important skill in this topic.

The Inverse Relationship

The functions \(f(x) = b^x\) and \(g(x) = \log_b(x)\) are inverses: each undoes the other. Their graphs are mirror images across the line \(y = x\).

x y 0 1 2 3 4 5 6 0 1 2 3 -1 -2 -3
\(y=x\)
\(y=2^x\)
\(y=\log_2(x)\)
(1, 0) (0, 1)

Logarithmic vs Exponential Form

Logarithmic Form Exponential Form
Structure \(\log_b(x) = y\) \(b^y = x\)
Solves for The exponent \(y\) The result \(x\)
Example \(\log_3(81) = 4\) \(3^4 = 81\)
Read as "log base 3 of 81 is 4" "3 to the 4th is 81"
Direction Given the result, find the power Given the power, find the result

Special Logarithms

Common Log
\(\log(x) = \log_{10}(x)\)
Base 10 is assumed when no base is written. Used in pH, decibels.
Natural Log
\(\ln(x) = \log_e(x)\)
Base \(e \approx 2.718\). Central to calculus and continuous growth.

Domain Restrictions

Not every input is valid for a logarithm. Two restrictions are baked into the definition:

1
The argument must be positive: \(x > 0\). You cannot take the log of zero or a negative number because no real exponent makes a positive base produce a non-positive result.
2
The base must be positive and not 1: \(b > 0\) and \(b \neq 1\). If \(b = 1\), then \(1^y = 1\) for all \(y\), so the logarithm is undefined for any \(x \neq 1\).

How to Convert Forms

Use this checklist every time you need to switch between logarithmic and exponential form:

1
Identify the base \(b\): In \(\log_b(x) = y\), the subscript is the base. In \(b^y = x\), the base is the number being raised.
2
Identify the exponent \(y\): In log form, it is the number the log equals. In exponential form, it is the superscript.
3
Identify the argument \(x\): In log form, it is inside the parentheses. In exponential form, it is the result on the other side of the equals sign.
4
Reassemble: Place each piece into the target form: \(\log_b(x) = y \longleftrightarrow b^y = x\).

Example 1: Evaluating a Logarithm

Evaluate \(\log_5(125)\).

1
Set up the equation: let \(\log_5(125) = y\).
2
Convert to exponential form: \(5^y = 125\).
3
Recognize: \(5^1 = 5\), \(5^2 = 25\), \(5^3 = 125\). So \(y = 3\).

Example 2: Negative Exponent

Evaluate \(\log_4\!\left(\frac{1}{16}\right)\).

1
Let \(\log_4\!\left(\frac{1}{16}\right) = y\). Convert: \(4^y = \frac{1}{16}\).
2
Rewrite \(\frac{1}{16}\) as a power of 4: \(\frac{1}{16} = \frac{1}{4^2} = 4^{-2}\).
3
Since \(4^y = 4^{-2}\), we have \(y = -2\).

Example 3: Converting to Log Form

Rewrite \(7^2 = 49\) in logarithmic form.

Exponential Form
\(7^2 = 49\)
convert Logarithmic Form
\(\log_7(49) = 2\)
1
Base: \(7\) stays as the base of the log.
2
Result: \(49\) becomes the argument (inside the log).
3
Exponent: \(2\) becomes the output (what the log equals).

Key Values to Memorize

Three results follow directly from the definition and hold for any valid base \(b\):

\(\log_b(1) = 0\)
Because \(b^0 = 1\) for any base \(b\). Raising anything to the zero power gives 1.
\(\log_b(b) = 1\)
Because \(b^1 = b\). A base raised to the first power is itself.
\(\log_b(b^n) = n\)
The log "cancels" the base, leaving the exponent. This is the inverse property.

Common Mistakes

✕ Swapping base and argument
Writing \(\log_8(2) = 3\) when they mean \(\log_2(8) = 3\). The subscript is the base, not the argument.
✕ Logging zero or negatives
Attempting \(\log_3(0)\) or \(\log_5(-25)\). The argument must be strictly positive: \(x > 0\).
✕ Forgetting negative outputs
Thinking logarithms are always positive. When \(0 < x < 1\) (and \(b > 1\)), the log is negative: \(\log_2(0.5) = -1\).

Summary Reference

Concept Formula / Rule Example
Definition \(\log_b(x) = y \Leftrightarrow b^y = x\) \(\log_2(8) = 3 \Leftrightarrow 2^3 = 8\)
Log of 1 \(\log_b(1) = 0\) \(\log_7(1) = 0\)
Log of the base \(\log_b(b) = 1\) \(\log_5(5) = 1\)
Inverse property \(\log_b(b^n) = n\) \(\log_3(3^4) = 4\)
Domain \(b > 0,\; b \neq 1,\; x > 0\) \(\log_1(5)\) is undefined

Question 1 of 5

What is the value of \(\log_3(81)\)?

Question 2 of 5

Rewrite \(10^3 = 1000\) in logarithmic form.

Question 3 of 5

What is the value of \(\log_6(1)\)?

Question 4 of 5

Evaluate \(\log_2\!\left(\frac{1}{8}\right)\).

Question 5 of 5

Which of the following is undefined?