# Graphing the Logarithm of a Product

## Question

log base 2 of x

The graph of the log function ${\color{Blue}&space;y=\textup{log}_2x}$ is shown. On the same axes, add the graph of ${\color{Blue}&space;y=\textup{log}_2(2x)}$.

## Solution

How will the graph of ${\color{Blue}\textup{&space;log}_2(2x)}$ compare to the graph of ${\color{Blue}\textup{\textup{}&space;log}_2x}$? Will multiplication by 2 make the graph steeper? Higher?

${\color{Blue}\textup{&space;log}_2(2x)}$ is the logarithm of a product: ${\color{Blue}&space;2x}$. Think of the product rule for logarithms:

${\color{Blue}&space;\textup{log}_a(cd)=\textup{log}_ac+\textup{log}_ad}$

This rule applies whether $c$ and $d$ are variables or constants. Then

${\color{Blue}&space;\textup{log}_2(2x)=\textup{log}_22+\textup{log}_2x}$

${\color{Blue}&space;\textup{log}_22=1}$

so

${\color{Blue}&space;\textup{log}_22x=1+\textup{log}_2x}$

Top curve: log base 2 of x
Bottom curve: log base 2 of 2x

Multiplying the argument (that’s x in this case) of a logarithm by a constant increases the value of the logarithm by a fixed amount. That increase is equal to the logarithm of the constant, the number by which you multiply. The two curves have the same shape. The only change is that one is higher than the other.