Skip to content
Glacius
FoundationsConcept reference

Logarithms of products

For positive factors in one valid logarithm base, the logarithm of a product equals the sum of the factors’ logarithms.

On this page 6 sections
  1. Overview
  2. A logarithm turns multiplication of positive factors into addition
  3. The rule can also collect a sum of logs into one log of a product
  4. Key takeaway
  5. Sources & further reading
  6. Concept connections
Base-two logarithms: log₂4=2 and log₂8=3 concatenate to log₂32=5. The adjacent spans have lengths in the ratio 2:3.Base-two logarithms: log₂4=2 and log₂8=3 concatenate to log₂32=5. The adjacent spans have lengths in the ratio 2:3.
Figure 1Base-two logarithms: log₂4=2 and log₂8=3 concatenate to log₂32=5. The adjacent spans have lengths in the ratio 2:3.
Link to this figure ↗Download SVGDownload PNG

01A logarithm turns multiplication of positive factors into addition#

A logarithm turns multiplication of positive factors into addition. In base 22, 4=224=2^2 and 8=238=2^3.

Multiplying adds their exponents.

48=2223=254\cdot8=2^2\cdot2^3=2^5

The logarithms are log24=2\log_2 4=2 and log28=3\log_2 8=3. Their sum is the logarithm of the product 48=324\cdot8=32.

The product’s logarithm is the sum.

log2(32)=2+3=5\log_2(32)=2+3=5

The same rule works in any one base b>0b>0 with b1b\ne1. Both factors must be positive so that both real logarithms exist.

The product rule.

logb(uv)=logbu+logbv\begin{gathered}\log_b(uv)\\=\log_bu+\log_bv\end{gathered}
Check your reasoning

Given log3u=2\log_3u=2 and log3v=4\log_3v=4 for positive u,vu,v, what is log3(uv)\log_3(uv)?

Show answer and explanation
6

The common base and positive factors allow addition: 2+4=62+4=6.

02The rule can also collect a sum of logs into one log of a product#

The rule can also collect a sum of logs into one log of a product. It does not split a sum inside the argument.

Each log21\log_2 1 is 00, so their sum is 00. But:

log2(1+1)=1\log_2(1+1)=1

A positive product alone is not enough to split it. The product (2)(4)=8(-2)(-4)=8 has a real logarithm, but the individual real logarithms of 2-2 and 4-4 do not exist. The rule needs positive factors individually.

Check your reasoning

For u,v>0u,v>0, combine log10u+log10v\log_{10}u+\log_{10}v.

  1. Alog10(u+v)\log_{10}(u+v)
  2. Blog10(uv)\log_{10}(uv)
  3. Clog10ulog10v\log_{10}u\cdot\log_{10}v
Show answer and explanation
log10(uv)\log_{10}(uv)

Add logs by multiplying their arguments.

Key takeaway

A product inside a logarithm becomes addition outside. Use the same base and positive factors; the rule does not split a sum inside the argument.

  • Rewrite a positive product using logarithms

Sources & further reading

  1. [1]

Reference this concept

Link to this page, a section, or an individual figure.

Glacius. “Logarithms of products.” Math behind ML. /learn/f-log-rules