[Home](https://learningfolio.de5.net/) / [Math](https://learningfolio.de5.net/math/) / [Math glossary](https://learningfolio.de5.net/math/glossary/) / Log Rules: Product, Quotient, Power, and Change of Base

[Math glossary](https://learningfolio.de5.net/math/glossary/)

# Log Rules: Product, Quotient, Power, and Change of Base

Learn the log rules, why they work, and how to expand, condense, and solve logarithmic expressions with six examples and domain checks.

Written by **Learningfolio Team**

We’re subject-matter experts in math, science, parent support, and education, with 100 years of combined experience. We believe in learning, experimenting, and growing, and we review one another’s work.

## On this page

* [TL;DR](https://learningfolio.de5.net/math/log-rules/#tldr)
* [Key Points](https://learningfolio.de5.net/math/log-rules/#key-points)
* [What is a logarithm?](https://learningfolio.de5.net/math/log-rules/#what-is-a-logarithm)
* [Which log rules should you use?](https://learningfolio.de5.net/math/log-rules/#which-log-rules-should-you-use)
* [Why do the log rules work?](https://learningfolio.de5.net/math/log-rules/#why-do-the-log-rules-work)
* [How do you expand or condense logarithms?](https://learningfolio.de5.net/math/log-rules/#how-do-you-expand-or-condense-logarithms)
* [When do the natural logarithm rules matter in practice?](https://learningfolio.de5.net/math/log-rules/#when-do-the-natural-logarithm-rules-matter-in-practice)
* [Examples of Log Rules](https://learningfolio.de5.net/math/log-rules/#examples-of-log-rules)
* [What mistakes are common with log rules?](https://learningfolio.de5.net/math/log-rules/#what-mistakes-are-common-with-log-rules)
* [Try It Yourself](https://learningfolio.de5.net/math/log-rules/#try-it-yourself)
* [Questions About Log Rules](https://learningfolio.de5.net/math/log-rules/#questions-about-log-rules)
* [Conclusion](https://learningfolio.de5.net/math/log-rules/#conclusion)
* [Read More](https://learningfolio.de5.net/math/log-rules/#read-more)
* [Research Behind This Article](https://learningfolio.de5.net/math/log-rules/#research-behind-this-article)

## TL;DR

**Log rules turn multiplication inside a logarithm into addition, division into subtraction, and powers into multipliers.** Use the same base throughout, and check that every original logarithm has a positive argument before accepting an answer.

## Key Points

* A real logarithm requires a positive argument and a positive base other than 1.
* Only multiplication, division, and powers inside a logarithm trigger the three main rules.
* The natural logarithm uses base e and follows the same rules as other valid bases.
* Combining logarithms can hide a restriction from the original expression, so check the original domain.

## What is a logarithm?

A **logarithm** answers an exponent question. If $b>0$, $b\ne1$, and $x>0$, then $\log_b x=y$ means that raising $b$ to the power $y$ gives $x$.

$$
\log_b x=y \iff b^y=x.
$$

For example, $\log_2 8=3$ because $2^3=8$. The number $8$ is the argument, and $2$ is the base. The base and argument have different restrictions. NIST’s Digital Library of Mathematical Functions describes the natural logarithm and how it gives logarithms in other bases. If the subscript is absent, check your course’s convention. A scientific calculator typically uses $\log$ for base 10 and $\ln$ for base $e$.

![Graph of base-two logarithms at one, two, four, and eight showing that doubling the input adds one](https://learningfolio.de5.net/assets/versioned/log-rules-powers-of-two.72221c6d33bc.webp)


On the graph of $\log_2 x$, each doubling of the argument raises the output by 1. This illustrates the product rule with one factor equal to 2.

## Which log rules should you use?

Choose the rule by looking at the outermost operation **inside** a single argument. Use the same base $b>0$, $b\ne1$, and positive arguments $u$ and $v$ in the table. The change-of-base rule also requires $c>0$ and $c\ne1$.

| Rule | Formula | When it helps |
| --- | --- | --- |
| Product | $\log_b(uv)=\log_b u+\log_b v$ | Expand factors or combine two added logarithms. |
| Quotient | $\log_b(u/v)=\log_b u-\log_b v$ | Separate a numerator and denominator or combine a difference. |
| Power | $\log_b(u^k)=k\log_b u$ | Bring a real exponent $k$ outside or move a coefficient inside. |
| Change of base | $\log_b u=\frac{\log_c u}{\log_c b}$ | Evaluate an unfamiliar base with natural or common logs. |
| Log of one | $\log_b 1=0$ | Any valid base raised to zero equals 1. |
| Log of its own base | $\log_b b=1$ | Any valid base raised to the first power equals itself. |
| Reciprocal | $\log_b(1/u)=-\log_b u$ | Take the logarithm of a reciprocal using the power $-1$. |
| Inverse properties | $\log_b(b^t)=t$, $b^{\log_b u}=u$ | Undo an exponential or logarithm in the same base. |

OpenStax’s logarithmic properties chapter uses the product, quotient, power, and change-of-base rules to evaluate, expand, and condense expressions. A quick decision check is to mark the sign between terms in the argument. A multiplication sign can split into two added logarithms. A plus sign inside a logarithm stays inside unless you can first simplify or factor the expression.

## Why do the log rules work?

Let $p=\log_b u$ and $q=\log_b v$. Then $u=b^p$ and $v=b^q$. Multiplying powers of the same base adds their exponents, so

$$
uv=b^p b^q=b^{p+q}
\quad\Longrightarrow\quad
\log_b(uv)=p+q=\log_b u+\log_b v.
$$

For the quotient, the exponent law $b^p/b^q=b^{p-q}$ accounts for subtraction. For the power rule, $(b^p)^k=b^{pk}$ makes $k$ a multiplier. The guide to math operations and inverses can help you see why reversing exponentiation preserves these relationships.

To derive change of base, start with $y=\log_b u$, so $b^y=u$. Taking $\log_c$ gives $y\log_c b=\log_c u$. Divide by $\log_c b$, which is nonzero because $b\ne1$. Either $\ln$ or $\log_{10}$ gives the same ratio, provided the numerator and denominator use the same base.

## How do you expand or condense logarithms?

To **expand**, split a product or quotient, then bring each power down as a coefficient. To **condense**, put coefficients back into powers, then combine additions as products and subtractions as quotients. University of Maryland practice problems use both directions. Write any domain restrictions beside the expression before starting.

| Starting point | Useful first action |
| --- | --- |
| $\log_3\big((5x^2)/y\big)$, with $x,y>0$ | Use the quotient rule to separate $5x^2$ from $y$. |
| $2\ln x-\ln 7$, with $x>0$ | Move the 2 inside as an exponent on $x$. |
| $\log_2(1+x)$, with $x>-1$ | Keep $1+x$ together. There is no general rule for log of a sum. |

An especially useful check is $\ln(x^2)=2\ln|x|$ for $x\ne0$, since $x^2=|x|^2$. Writing $2\ln x$ would lose the negative inputs where the original $\ln(x^2)$ is defined. A similar restriction applies when you condense a difference.

$$
\log_b(x-1)-\log_b(x+1)
=\log_b\left(\frac{x-1}{x+1}\right)
$$

Keep the original condition $x>1$, even though the quotient on the right is also positive for $x<-1$.

## When do the natural logarithm rules matter in practice?

The base of $\ln$ is [Euler’s number $e$](https://learningfolio.de5.net/math/eulers-number-e/). The same three operations apply. In particular, $\ln(e^t)=t$ for every real $t$ and $e^{\ln x}=x$ for $x>0$.

For a continuous growth model $A(t)=Pe^{rt}$ with $P>0$, the product rule and inverse property give

$$
\ln A(t)=\ln P+rt.
$$

A plot of $\ln A(t)$ against $t$ has slope $r$ when this model holds. The same algebra explains why people take logarithms to solve for time or estimate a constant proportional rate. The [types of functions guide](https://learningfolio.de5.net/math/types-of-functions/) compares exponential rules with their logarithmic inverses.

If you are using logarithms in calculus, the natural logarithm has derivative $1/x$ on $x>0$. Changing the base gives $(d/dx)\log_b x=1/(x\ln b)$. For integration, $\int\ln x\,dx=x\ln x-x+C$ on the positive domain. Differentiate the right side using the product rule to check it. OpenStax’s chapter on exponential and logarithmic derivatives develops the derivative formulas.

## Examples of Log Rules

### Example 1

Evaluate $\log_5 10+\log_5(5/2)$ without a calculator.

1. The two logarithms share base 5, so combine using the product rule.
2. Multiply $10\cdot(5/2)=25$.
3. Then $\log_5 25=2$ because $5^2=25$.

### Example 2

Expand $\ln(7x^4/y^3)$, assuming $x,y>0$.

1. Separate the ratio into $\ln(7x^4)-\ln(y^3)$.
2. Split $\ln(7x^4)$ into $\ln7+\ln(x^4)$.
3. Apply the power rule. The result is $\ln7+4\ln x-3\ln y$.

### Example 3

Condense $3\log_4 x-\frac12\log_4 y$, assuming $x,y>0$.

1. Move the coefficients into the arguments as powers, giving $\log_4(x^3)-\log_4(y^{1/2})$.
2. Use the quotient rule.
3. The result is $\log_4\big(x^3/\sqrt y\big)$, with the original conditions on $x$ and $y$.

### Example 4

Approximate $\log_7 20$ on a calculator with a natural-log key.

1. Apply change of base to get $(\ln 20)/(\ln 7)$.
2. Evaluate the ratio and round to four decimal places to get $1.5395$.
3. Check the range. Since $7^1=7$ and $7^2=49$, the exact logarithm lies between 1 and 2.

### Example 5

Solve $\log_2(x-1)+\log_2(x-3)=3$.

1. Require $x-1>0$ and $x-3>0$, so $x>3$. OpenStax’s logarithmic equations chapter uses this domain check to exclude extraneous roots.
2. Condense the left side and convert from logarithmic form to exponential form. This gives $(x-1)(x-3)=2^3=8$.
3. Rearrange to $x^2-4x-5=0$, or $(x-5)(x+1)=0$.
4. The algebra gives 5 and $-1$. Only $5$ lies in the original domain. Substituting gives $\log_2 4+\log_2 2=2+1=3$.

### Example 6

Solve $6e^{0.4t}=15$.

1. Divide both sides by 6 to get $e^{0.4t}=2.5$.
2. Take the natural logarithm on both sides. Then $0.4t=\ln 2.5$.
3. Divide by $0.4$. The result is $t=\frac52\ln 2.5\approx2.2907$.

## What mistakes are common with log rules?

### Mistake 1: Splitting a sum into two logs

For base 2, $\log_2(2+2)=\log_2 4=2$. That particular sum coincidentally equals $\log_2 2+\log_2 2$, which can make a bad rule look plausible. Try a different input. $\log_2(4+4)=\log_2 8=3$, while $\log_2 4+\log_2 4=4$. The product rule applies to a product, so it gives $\log_2(4\cdot4)=4$.

### Mistake 2: Combining mixed bases

You cannot combine $\log_2 8+\log_4 16$ by putting the product $8\cdot16$ into just one of those bases. Evaluate the terms separately, giving $3+2=5$, or use change of base before attempting a same-base identity.

### Mistake 3: Discarding the original domain

A product of two negative numbers can be positive while the logarithm of either factor is undefined over the reals. In Example 5 the input $-1$ makes $(x-1)(x-3)=8$, but each original logarithm receives a negative argument. Check the original equation before writing the answer set.

## Try It Yourself

1. Evaluate $\log_3 18-\log_3 2$ exactly.
2. Expand $\log_5(x^2/4)$ on its full real domain.
3. Solve $\log_3(x+1)=2$.

### Answers and Reasoning

1. The quotient is $18/2=9$. Thus $\log_3 9=2$.
2. The original argument is positive for $x\ne0$. The result is $2\log_5|x|-\log_5 4$, with $x\ne0$.
3. The domain requires $x>-1$. The equation gives $x+1=3^2=9$, so $x=8$ is valid.

## Questions About Log Rules

### What is the difference between $\ln$ and $\log$?

$\ln$ always means a logarithm to base $e$. The notation $\log$ without a subscript depends on the context. On most scientific calculators it means base 10. Some higher-math texts use it for the natural logarithm.

### Is the logarithm of 0 defined?

Over the reals, a logarithm needs a positive argument. No positive base raised to a finite real exponent equals zero, so $\log_b 0$ is undefined. The identity $\log_b 1=0$ says something different. Its argument is 1 and its output is 0.

### Can a logarithm have a negative answer?

Yes. For example, $\log_2(1/8)=-3$ since $2^{-3}=1/8$. The argument is positive even though the output is negative. With a base greater than 1, arguments between 0 and 1 give negative outputs.

### Can the base be between 0 and 1?

Yes. For instance, $\log_{1/2} 8=-3$, since $(1/2)^{-3}=8$. The same algebraic rules apply, but the graph of $\log_{1/2} x$ decreases as $x$ increases.

## Conclusion

* Use the product, quotient, and power rules to track the operation inside the logarithm.
* Use change of base when a calculator lacks the desired base.
* Keep the original argument restrictions and substitute every candidate answer back into the starting equation.

## Read More

* [How to identify a function’s domain and range](https://learningfolio.de5.net/math/functions-domain-range-and-input-output/)

## Research Behind This Article

1. NIST, *Digital Library of Mathematical Functions, Logarithm, Exponential and Power Definitions*. [DLMF](https://dlmf.nist.gov/4.2)
2. OpenStax, *Algebra and Trigonometry 2e: Logarithmic Properties*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry-2e/pages/6-5-logarithmic-properties)
3. University of Maryland, *MATH 115: Logarithm Practice and Worked Solutions*. [University of Maryland](https://www.math.umd.edu/~immortal/MATH115/sect4.3_ln.pdf)
4. OpenStax, *Calculus Volume 1: Derivatives of Exponential and Logarithmic Functions*. [OpenStax](https://openstax.org/books/calculus-volume-1/pages/3-9-derivatives-of-exponential-and-logarithmic-functions)
5. OpenStax, *Algebra and Trigonometry 2e: Exponential and Logarithmic Equations*. [OpenStax](https://openstax.org/books/algebra-and-trigonometry-2e/pages/6-6-exponential-and-logarithmic-equations)
