---
title: "Logarithmic Function Manipulation | FiveStudy"
description: "Product, quotient, power and change of base properties of logarithms, expanding and condensing, their meaning on graphs, ln, and domain cautions."
url: https://fivestudy.com/guides/ap-precalculus-2-12-logarithmic-function-manipulation
---

[AP Precalculus](https://fivestudy.com/ap-precalculus) · Study guide

# Logarithmic Function Manipulation

[Figure: FiveStudy]

FiveStudy

AP® Precalculus · Unit 2 · Exponential and Logarithmic Functions

AP® Precalculus · Unit 2 · Exponential and Logarithmic Functions

# Rewriting *Logarithmic* Expressions

The rules for logarithms come straight from the rules for exponents, because a logarithm is an exponent. This guide covers the product, quotient, power and change of base properties, what each one does to a graph, and the natural log.

1. The properties 2. Expanding and condensing 3. What the properties do to graphs 4. Change of base and ln 5. Domain cautions

The idea in one paragraph

Multiplying numbers adds their exponents, so the log of a product is the sum of the logs: \(\log_b(xy) = \log_b x + \log_b y\). In the same way, the log of a quotient is a difference and the log of a power is a multiple: \(\log_b x^n = n\log_b x\). Graphically, \(\log_b(kx) = \log_b k + \log_b x\) turns a horizontal dilation into a vertical shift, and \(\log_b x^k = k\log_b x\) is a vertical dilation. The **change of base property** \(\log_b x = \frac{\log_a x}{\log_a b}\) shows every log function is a vertical dilation of every other. The **natural log** is \(\ln x = \log_e x\).

## 1 The properties

| Property | Rule | Graph meaning |
| --- | --- | --- |
| Product | \(\log_b(xy) = \log_b x + \log_b y\) | \(\log_b(kx) = \log_b k + \log_b x\): horizontal dilation = vertical shift |
| Quotient | \(\log_b\dfrac{x}{y} = \log_b x - \log_b y\) |  |
| Power | \(\log_b x^n = n\log_b x\) | \(\log_b x^k = k\log_b x\): raising the input to a power = vertical dilation |
| Change of base | \(\log_b x = \dfrac{\log_a x}{\log_a b}\) | Every log function is a vertical dilation of every other |

## 2 Expanding and condensing

Expanding breaks one log into simpler pieces; condensing combines pieces into one log. Condense when you need a single log to solve an equation; expand when you want to see how each factor contributes.

Worked Example 1 Expanding

### Write \(\log_2\dfrac{8x^3}{y}\) as a sum and difference of simple logs (\(x, y \gt 0\)).

1. 1

   Quotient: \(\log_2(8x^3) - \log_2 y\).

2. 2

   Product: \(\log_2 8 + \log_2 x^3 - \log_2 y\).

3. 3

   Power and a known value: \(3 + 3\log_2 x - \log_2 y\).

**Answer:** \(3 + 3\log_2 x - \log_2 y\)

Worked Example 2 Condensing

### Write \(2\ln x + \ln 5 - \ln(x + 1)\) as a single logarithm.

1. 1

   Power first: \(2\ln x = \ln x^2\).

2. 2

   Product, then quotient: \(\ln x^2 + \ln 5 - \ln(x + 1) = \ln\dfrac{5x^2}{x + 1}\).

**Answer:** \(\ln\dfrac{5x^2}{x + 1}\)

Worked Example 3 Values without a calculator

### Evaluate \(\log_6 4 + \log_6 9\) and \(\log 5 + \log 20\).

1. 1

   \(\log_6 4 + \log_6 9 = \log_6 36 = 2\), since \(6^2 = 36\).

2. 2

   \(\log 5 + \log 20 = \log 100 = 2\).

**Answer:** 2 and 2.

Common Mistake 1 · Splitting the log of a sum

\(\log(x + y)\) does not simplify. \(\log(1 + 10) = \log 11 \approx 1.041\), but \(\log 1 + \log 10 = 1\). The product property is about products only.

Common Mistake 2 · Moving a power that is outside the log

\(\log x^2 = 2\log x\), but \((\log x)^2\) is the log squared, a different thing. Only an exponent on the input comes down in front.

## 3 What the properties do to graphs

**Figure 1.** The product property turns a horizontal dilation of a logarithm into a vertical translation: every point moves up log₃ 9 = 2.

Worked Example 4 A shift from a stretch

### Show that the graph of \(y = \log_3(9x)\) is the graph of \(y = \log_3 x\) moved up 2.

1. 1

   Product property: \(\log_3(9x) = \log_3 9 + \log_3 x = 2 + \log_3 x\).

2. 2

   Adding 2 to every output is a vertical translation by 2 (Figure 1).

**Answer:** \(\log_3(9x) = \log_3 x + 2\)

Write it like this

“By the product property, \(\log_3(9x) = 2 + \log_3 x\), so the graph of \(y = \log_3(9x)\) is a vertical translation of \(y = \log_3 x\) by 2 units.”

## 4 Change of base and ln

Calculators have keys for base 10 and base \(e\). Any other base goes through the change of base property. Because \(\log_b x\) is \(\ln x\) times the constant \(\frac{1}{\ln b}\), the graphs of all log functions are vertical stretches of one another and all pass through \((1, 0)\).

**Figure 2.** The change of base property says log_b x = (ln x)/(ln b), a constant times ln x. So switching bases only stretches the graph vertically.

Worked Example 5 Change of base

### Find \(\log_5 40\) with a calculator, and describe \(\log_2 x\) as a stretch of \(\log x\).

1. 1

   \(\log_5 40 = \dfrac{\ln 40}{\ln 5} \approx \dfrac{3.6889}{1.6094} \approx 2.292\). (Check: \(5^2 = 25\) and \(5^3 = 125\), so a value between 2 and 3 makes sense.)

2. 2

   \(\log_2 x = \dfrac{\log x}{\log 2} \approx 3.3219\log x\): a vertical dilation of \(\log x\) by about 3.32.

**Answer:** \(\log_5 40 \approx 2.292\); \(\log_2 x \approx 3.32\log x\).

Common Mistake 3 · Dividing inside the log

\(\dfrac{\ln 40}{\ln 5}\) is not \(\ln\dfrac{40}{5} = \ln 8\). Change of base divides two separate logarithms.

## 5 Domain cautions

The properties hold when every log in them is defined. Rewriting can change the domain without any warning, so check it, especially with even powers.

Worked Example 6 The power property and the domain

### Are \(f(x) = \log(x^2)\) and \(g(x) = 2\log x\) the same function?

1. 1

   For \(x \gt 0\) they agree, by the power property.

2. 2

   But \(f(-3) = \log 9\) exists, while \(g(-3) = 2\log(-3)\) does not. \(f\) has domain \(x \ne 0\); \(g\) has domain \(x \gt 0\).

**Answer:** No. They match only for \(x \gt 0\); for \(x \lt 0\), \(\log(x^2) = 2\log|x|\).

### Quick reference

| Rewrite | Result |
| --- | --- |
| \(\log_b(xy)\) | \(\log_b x + \log_b y\) |
| \(\log_b \frac xy\) | \(\log_b x - \log_b y\) |
| \(\log_b x^n\) | \(n\log_b x\) (for \(x \gt 0\)) |
| \(\log_b x\) | \(\frac{\ln x}{\ln b} = \frac{\log x}{\log b}\) |
| \(\log_b(kx)\) | Vertical shift by \(\log_b k\) |
| \(\ln x\) | \(\log_e x\), \(e \approx 2.718\) |

FiveStudy AP® Precalculus · Logarithmic function manipulation
