The Product Rule

LESSON 10 OF 15See the unit map ↗

Combine sums of logarithms using the product rule.

Builds on The Natural Logarithm

The bigger question: How long does repeated growth take?

On this page

Idea

Two logarithms with the same base can be added by multiplying their arguments.

The reason is that logarithms are exponents, and exponents add when powers multiply. The product rule is that fact wearing different clothes.

Rule

log⁡ax+log⁡ay=log⁡a(xy)\log_a x + \log_a y = \log_a(xy)

log⁡a(xy)=log⁡ax+log⁡ay\log_a(xy) = \log_a x + \log_a y

How it is used

1. Where it comes from

Write each logarithm as an exponent and multiply the powers.

log⁡ax=m  ⇒  am=x,\log_a x = m \;\Rightarrow\; a^m = x, log⁡ay=n  ⇒  an=y\log_a y = n \;\Rightarrow\; a^n = y
xy=am⋅an=am+n  ⇒  log⁡a(xy)=m+nxy = a^m \cdot a^n = a^{m+n} \;\Rightarrow\; \log_a(xy) = m + n

And m+nm + n is exactly log⁡ax+log⁡ay\log_a x + \log_a y.

2. Adding to get a value you can read

Separately the two terms are awkward. Together they collapse.

log⁡24+log⁡28=log⁡232=5\log_2 4 + \log_2 8 = \log_2 32 = 5 log⁡25+log⁡4=log⁡100=2\log 25 + \log 4 = \log 100 = 2 log⁡36+log⁡34.5=log⁡327=3\log_3 6 + \log_3 4.5 = \log_3 27 = 3

Neither log⁡36\log_3 6 nor log⁡34.5\log_3 4.5 is a nice number on its own. The product is.

3. Splitting in the other direction

The rule runs both ways. Break an argument into factors when one of them is a power of the base.

log⁡240=log⁡2(8⋅5)=3+log⁡25\log_2 40 = \log_2(8 \cdot 5) = 3 + \log_2 5

Choose the factors so that one becomes a whole number.

Exponential and logarithm

Try this. Compare bases 2 and 0.5: growth becomes decay. Move the input to 1; the logarithm is zero for either base.

Exponential and logarithm-6-6-4-4-2-2224466xy
Base 2 · Blue: y = 2ˣ · Green: y = log_b(x) · Dashed: y = x. At x = 0.5, y = -1.

4. The bases must match

ExpressionCombines?
log⁡53+log⁡57\log_5 3 + \log_5 7yes, into log⁡521\log_5 21
log⁡53+log⁡27\log_5 3 + \log_2 7no, different bases
log⁡4+log⁡25\log 4 + \log 25yes, both are base 1010
ln⁡2+ln⁡6\ln 2 + \ln 6yes, both are base ee

Two things the rule does not say:

log⁡ax+log⁡ay≠log⁡a(x+y),\log_a x + \log_a y \ne \log_a(x + y), log⁡ax⋅log⁡ay≠log⁡a(xy)\log_a x \cdot \log_a y \ne \log_a(xy)

Worked example

Evaluate log⁡64+log⁡69+log⁡240−log⁡25\log_6 4 + \log_6 9 + \log_2 40 - \log_2 5.

Remember

log⁡ax+log⁡ay=log⁡a(xy)\log_a x + \log_a y = \log_a(xy), same base only log⁡aan=n\log_a a^n = n, so write the argument as a power of the base work base by base, then add the values

  1. The first two share base 66. Multiply their arguments.
log⁡64+log⁡69=log⁡636=2\log_6 4 + \log_6 9 = \log_6 36 = 2
  1. The last two share base 22. Split 4040 so that a power of 22 appears.
log⁡240=log⁡2(8⋅5)=3+log⁡25\log_2 40 = \log_2(8 \cdot 5) = 3 + \log_2 5
  1. Now the stray log⁡25\log_2 5 cancels against the term that follows it.
3+log⁡25−log⁡25=33 + \log_2 5 - \log_2 5 = 3
  1. Add the two finished values.
2+3=52 + 3 = 5
PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

For x > 0 and y > 0, which expression equals ln x + ln y?

Hint 1 · Find a starting point

Adding logarithms combines positive arguments by multiplication.

Hint 2 · Take the next step

Use log(ab) = log a + log b.

Show the reasoning

Answer: ln⁡(xy)\ln(xy)

The product rule gives ln x + ln y = ln(xy), not ln(x+y).

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Explore

Drag the probe along the green curve and watch the height at two different values of xx.

Read the height at x=2x = 2, then at x=4x = 4. With the base at 22 those heights are 11 and 22. Now find x=8x = 8, the product of the two: its height is 33, the sum of the other two. That is the product rule seen as an addition of heights. Multiplying along the bottom adds along the side, which is the whole reason logarithms were invented.

Exponential and logarithm

Try this. Compare bases 2 and 0.5: growth becomes decay. Move the input to 1; the logarithm is zero for either base.

Exponential and logarithm-6-6-4-4-2-2224466xy
Base 2 · Blue: y = 2ˣ · Green: y = log_b(x) · Dashed: y = x. At x = 0.5, y = -1.
MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →