MathPath
Grades 1–13 Math Hub
Grades 11–12 · Algebra II & Precalculus · Formula Deep Dive

Logarithm Laws: Derivation, Graph & Examples

A logarithm answers the question: 'What exponent do I need on base $b$ to get $x$?' Because logarithms are the inverse of exponentials, every logarithm law mirrors an exponent law.

$$\log_b(xy) = \log_b x + \log_b y, \quad \log_b\!\left(\frac{x}{y}\right) = \log_b x - \log_b y, \quad \log_b(x^k) = k\log_b x$$

Variables: Base $b > 0, b \neq 1$; arguments $x, y > 0$. Change of base: $\log_b x = \frac{\ln x}{\ln b}$.

When to use: Solving exponential equations and compressing/expanding logarithmic expressions.

Graph of $y = \ln(x)$ (Natural Logarithm)

xy-1123456-3-2-1123(1,0)(e,1)

Every log curve $y = \log_b(x)$ ($b > 1$) is defined only for $x > 0$, passes through $(1, 0)$ since $b^0 = 1$, and passes through $(b, 1)$.

Deriving the Logarithm Laws from Exponent Rules

Let $u = \log_b x$ and $v = \log_b y$. By definition of a logarithm, this means $b^u = x$ and $b^v = y$.

  1. Product Law: Multiply $x \cdot y = b^u \cdot b^v = b^{u+v}$. Taking $\log_b$ of both sides gives $\log_b(xy) = u + v = \log_b x + \log_b y$.
  2. Quotient Law: Divide $\frac{x}{y} = \frac{b^u}{b^v} = b^{u-v}$, so $\log_b\!\left(\frac{x}{y}\right) = \log_b x - \log_b y$.
  3. Power Law: Raise $x^k = (b^u)^k = b^{ku}$, so $\log_b(x^k) = k\log_b x$.
  4. Change of Base: If $y = \log_b x$, then $b^y = x$. Take $\ln$ of both sides: $y\ln b = \ln x \Rightarrow \log_b x = \frac{\ln x}{\ln b}$.

Essential Logarithm Identities & Domain

Domain Restriction

Arguments must be strictly positive ($x > 0$). $\log_b(0)$ and $\log_b(-5)$ are undefined in real numbers.

Identity Values

$\log_b(1) = 0$ and $\log_b(b) = 1$ for every valid base $b > 0, b \neq 1$.

Inverse Cancellation

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

Common vs. Natural Log

$\log x$ usually means $\log_{10} x$; $\ln x$ always means $\log_e x$ ($e \approx 2.71828$).

Step-by-Step Worked Examples

Example 1: Expanding a Logarithm Expression

Problem: Expand $\log_2\!\left(\frac{8x^3}{y}\right)$ into simpler logarithms.
  1. Apply the Quotient Law: $\log_2(8x^3) - \log_2(y)$.
  2. Apply the Product Law to the first term: $\log_2(8) + \log_2(x^3) - \log_2(y)$.
  3. Evaluate $\log_2(8) = 3$ (since $2^3 = 8$) and bring down the exponent $3$: $3 + 3\log_2 x - \log_2 y$.

Example 2: Solving an Exponential Equation with Logarithms

Problem: Solve $5^x = 20$ to two decimal places.
  1. Take $\ln$ of both sides: $\ln(5^x) = \ln(20)$.
  2. Use the Power Law to bring $x$ in front: $x\ln(5) = \ln(20)$.
  3. Divide by $\ln(5)$: $x = \frac{\ln 20}{\ln 5} \approx \frac{2.9957}{1.6094} \approx 1.86$.

Common Mistakes to Avoid

Mistake 1: Splitting a Sum Inside a Logarithm

✗ Wrong: Writing $\log(x + y) = \log x + \log y$.
✓ Correct: Multiplication inside becomes addition outside: $\log(xy) = \log x + \log y$. $\log(x + y)$ CANNOT be split.

Why: Check with numbers: $\log_{10}(10 + 10) = \log_{10}(20) \approx 1.30$, whereas $\log_{10}(10) + \log_{10}(10) = 2$.

Mistake 2: Dividing Logarithms Instead of Subtracting

✗ Wrong: Rewriting $\log(x) - \log(y)$ as $\frac{\log x}{\log y}$.
✓ Correct: $\log x - \log y = \log\!\left(\frac{x}{y}\right)$ (one log of a quotient, not a quotient of two logs).

Why: The quotient belongs inside a single logarithm.

Frequently Asked Questions

Why can't you take the logarithm of zero or a negative number?

Because a positive base $b$ raised to any real exponent $y$ ($b^y$) is always strictly greater than $0$—it can never equal $0$ or a negative number.

How do I evaluate $\log_3(15)$ on a standard calculator?

Use the Change of Base formula: $\log_3(15) = \frac{\ln 15}{\ln 3}$ or $\frac{\log 15}{\log 3} \approx 2.465$.

How do I check a logarithmic equation solution?

Substitute your answer back into the original equation and verify that every logarithm argument is strictly positive (reject extraneous roots!).

Practice & Related Resources

Apply Logarithm Laws on interactive problems, printable PDF worksheets, and calculators.

Exponent Laws →Grade 11 Logarithms & Exponentials Quiz →Printable Logarithm Worksheets →Scientific Calculator → ← Back to Algebra Formulas Cheat Sheet