Unit 5, lesson 41

Using Exponent and Logarithm Laws

How to combine powers of one base and split logarithms into simpler pieces, which conditions each law needs, and how to keep the domain of the original expression while you rewrite.

  • Theory part 81
  • Practice part 82
  • Logarithms

A product like e2x⋅e3−xe^{2x} \cdot e^{3 - x} or a logarithm like ln⁡(x2y)\ln\left(x^2 \sqrt{y}\right) is awkward to work with as written. The exponent and logarithm laws let you turn it into a single power or a sum of simple pieces, and calculus asks for exactly that before it differentiates or integrates. Each law also comes with conditions, and a rewrite that ignores them can quietly change where the expression is defined.

Key terms

Product of powers

Definition For a base a>0a > 0 and any real exponents pp and qq,

ap⋅aq=ap+q.a^p \cdot a^q = a^{p + q}.

When pp and qq are integers the law also holds for any base a≠0a \ne 0, but with real exponents the base must be positive, because powers like a1/2a^{1/2} are not real numbers for a<0a < 0.

In plain words Two powers of the same base multiply by adding their exponents. The base has to be the same on both factors.

Example Suppose you want to combine e2x⋅e3−xe^{2x} \cdot e^{3 - x} into one power. The base ee is positive and both factors share it, so add the exponents.

e2x⋅e3−x=e2x+3−x=ex+3.e^{2x} \cdot e^{3 - x} = e^{2x + 3 - x} = e^{x + 3}.

At x=1x = 1 the left side is e2⋅e2=e4e^2 \cdot e^2 = e^4 and the right side is e4e^4. The rewrite holds for every real xx, so nothing about the domain changed. By contrast 23⋅532^3 \cdot 5^3 has two different bases and is not 10610^6. It equals 1000=1031000 = 10^3.

Quotient of powers

Definition For a base a>0a > 0 and any real exponents pp and qq,

apaq=ap−q.\frac{a^p}{a^q} = a^{p - q}.

The denominator is never zero, since aq>0a^q > 0 for every real qq when a>0a > 0.

In plain words Dividing powers of the same base subtracts the exponent of the bottom from the exponent of the top.

Example Here the variable disappears completely.

3x+23x−1=3(x+2)−(x−1)=33=27.\frac{3^{x + 2}}{3^{x - 1}} = 3^{(x + 2) - (x - 1)} = 3^3 = 27.

So the ratio is the constant 2727 for every real xx. A quick check at x=0x = 0 gives 9÷13=279 \div \frac{1}{3} = 27.

Power of a power

Definition For a base a>0a > 0 and any real exponents pp and qq,

(ap)q=apq.\left(a^p\right)^q = a^{pq}.

The condition a>0a > 0 matters. With a negative base and a fractional exponent the law can fail. For example ((−1)2)1/2=11/2=1\left((-1)^2\right)^{1/2} = 1^{1/2} = 1, while (−1)2⋅12=(−1)1=−1(-1)^{2 \cdot \frac{1}{2}} = (-1)^1 = -1.

In plain words Raising a power to another power multiplies the exponents, as long as the base is positive.

Example Rewriting (2x)3\left(2^x\right)^3 as a single exponential with base 22, and then with exponent xx alone, gives

(2x)3=23x=(23)x=8x.\left(2^x\right)^3 = 2^{3x} = \left(2^3\right)^x = 8^x.

At x=2x = 2 the left side is 43=644^3 = 64 and the right side is 82=648^2 = 64.

Logarithm product law

Definition Let a>0a > 0 with a≠1a \ne 1. For all u>0u > 0 and v>0v > 0,

log⁡a(uv)=log⁡au+log⁡av.\log_a(uv) = \log_a u + \log_a v.

It comes from the product of powers. If u=amu = a^m and v=anv = a^n, then uv=am+nuv = a^{m + n}, so the logarithm of uvuv is m+nm + n.

In plain words The logarithm of a product is the sum of the logarithms, provided each factor is positive.

Example With base 22,

log⁡2(8⋅32)=log⁡2256=8,\log_2(8 \cdot 32) = \log_2 256 = 8,

and on the other side log⁡28+log⁡232=3+5=8\log_2 8 + \log_2 32 = 3 + 5 = 8. With a variable, ln⁡(3x)=ln⁡3+ln⁡x\ln(3x) = \ln 3 + \ln x holds for x>0x > 0, which is exactly the domain of ln⁡(3x)\ln(3x).

Logarithm quotient law

Definition Let a>0a > 0 with a≠1a \ne 1. For all u>0u > 0 and v>0v > 0,

log⁡a(uv)=log⁡au−log⁡av.\log_a\left(\frac{u}{v}\right) = \log_a u - \log_a v.

In plain words The logarithm of a quotient is the logarithm of the top minus the logarithm of the bottom.

Example With base 1010,

log⁡10(10000.1)=log⁡1010000=4,\log_{10}\left(\frac{1000}{0.1}\right) = \log_{10} 10000 = 4,

and log⁡101000−log⁡100.1=3−(−1)=4\log_{10} 1000 - \log_{10} 0.1 = 3 - (-1) = 4. A logarithm can be negative, as log⁡100.1\log_{10} 0.1 is, even though its argument must be positive.

Logarithm power law

Definition Let a>0a > 0 with a≠1a \ne 1. For every u>0u > 0 and every real number pp,

log⁡a(up)=plog⁡au.\log_a\left(u^p\right) = p \log_a u.

The condition u>0u > 0 is what makes log⁡au\log_a u on the right side defined. Dropping it changes the domain. For example ln⁡(x2)\ln\left(x^2\right) is defined for every x≠0x \ne 0, but 2ln⁡x2 \ln x is defined only for x>0x > 0. For x≠0x \ne 0 the correct statement is ln⁡(x2)=2ln⁡∣x∣\ln\left(x^2\right) = 2 \ln \lvert x \rvert.

In plain words An exponent inside a logarithm can come out in front as a factor, provided the quantity being raised is positive.

Example Since 8=238 = 2^3,

log⁡2(85)=5log⁡28=5⋅3=15,\log_2\left(8^5\right) = 5 \log_2 8 = 5 \cdot 3 = 15,

which matches 85=2158^5 = 2^{15}. Roots work too, because a root is a power. For x>0x > 0 you have ln⁡x=12ln⁡x\ln \sqrt{x} = \frac{1}{2} \ln x.

Change of base

Definition Let aa and bb be valid bases, so a>0a > 0, a≠1a \ne 1, b>0b > 0 and b≠1b \ne 1. For every x>0x > 0,

log⁡ax=log⁡bxlog⁡ba.\log_a x = \frac{\log_b x}{\log_b a}.

The denominator is not zero, because log⁡ba=0\log_b a = 0 would mean a=1a = 1.

In plain words Any logarithm can be written with a base you prefer, usually ee or 1010, by dividing two logarithms in that base.

Example A calculator has ln⁡\ln but no base 22 key. To find log⁡210\log_2 10,

log⁡210=ln⁡10ln⁡2≈3.3219.\log_2 10 = \frac{\ln 10}{\ln 2} \approx 3.3219.

The sign ≈\approx marks a rounded value. Sometimes the answer is exact. Using base 22,

log⁡832=log⁡232log⁡28=53.\log_8 32 = \frac{\log_2 32}{\log_2 8} = \frac{5}{3}.

Positive arguments and preserving the domain

Definition Every logarithm law above is an identity only where all the logarithms in it are defined, so every argument must be positive. A rewrite preserves the domain when the new form is defined at exactly the same inputs as the original and has the same value at each of them. If the new form is defined on a smaller or larger set, the two forms are equal only where both are defined, and that set must be stated next to the rewrite. There is no law for the logarithm of a sum. In general

log⁡a(u+v)≠log⁡au+log⁡av.\log_a(u + v) \ne \log_a u + \log_a v.

The correct product law involves log⁡a(uv)\log_a(uv), not log⁡a(u+v)\log_a(u + v).

In plain words Before splitting a logarithm, ask where each piece is defined. If the pieces live on a smaller set than the original, the split is only true on that smaller set, and you should say so.

Example A sum inside a logarithm does not split. With u=v=1u = v = 1 the left side is ln⁡2≈0.693\ln 2 \approx 0.693 and the right side is ln⁡1+ln⁡1=0\ln 1 + \ln 1 = 0.

Domain can shrink too. The expression ln⁡(x(x−1))\ln\left(x(x - 1)\right) is defined when x(x−1)>0x(x - 1) > 0, which means x<0x < 0 or x>1x > 1. The split form ln⁡x+ln⁡(x−1)\ln x + \ln(x - 1) needs x>0x > 0 and x>1x > 1, so it lives only on x>1x > 1. At x=−1x = -1 the original equals ln⁡2\ln 2 while the split form is undefined. So write

ln⁡(x(x−1))=ln⁡x+ln⁡(x−1)for x>1.\begin{gathered} \ln\left(x(x - 1)\right) = \ln x + \ln(x - 1) \\[0.4em] \text{for } x > 1. \end{gathered}

When positivity is assumed from the start, say it first. For x>0x > 0, y>0y > 0 and z>0z > 0,

ln⁡(x2yz3)=2ln⁡x+12ln⁡y−3ln⁡z.\begin{aligned} \ln\left(\frac{x^2 \sqrt{y}}{z^3}\right) &= 2 \ln x + \frac{1}{2} \ln y \\[0.4em] &\quad - 3 \ln z. \end{aligned}

The quotient law split off ln⁡(z3)\ln\left(z^3\right), the product law split ln⁡(x2y)\ln\left(x^2 \sqrt{y}\right), and the power law brought each exponent forward.

Check yourself

  1. Write e3x⋅e−xex+2\dfrac{e^{3x} \cdot e^{-x}}{e^{x + 2}} as a single power of ee.
Show the answer

Add the exponents in the numerator and subtract the exponent of the denominator.

e3x⋅e−xex+2=e3x−x−(x+2)=ex−2.\frac{e^{3x} \cdot e^{-x}}{e^{x + 2}} = e^{3x - x - (x + 2)} = e^{x - 2}.

Both forms are defined for every real xx.

  1. Assume x>0x > 0, y>0y > 0 and z>0z > 0. Expand ln⁡(x4yz)\ln\left(\dfrac{x^4}{y \sqrt{z}}\right) into a sum and difference of simple logarithms.
Show the answer

The quotient law gives ln⁡(x4)−ln⁡(yz)\ln\left(x^4\right) - \ln\left(y \sqrt{z}\right), the product law splits the second term, and the power law finishes.

ln⁡(x4yz)=4ln⁡x−ln⁡y−12ln⁡z.\ln\left(\frac{x^4}{y \sqrt{z}}\right) = 4 \ln x - \ln y - \frac{1}{2} \ln z.
  1. Is ln⁡(x−2)+ln⁡(x+2)=ln⁡(x2−4)\ln(x - 2) + \ln(x + 2) = \ln\left(x^2 - 4\right) true at every xx where the right side is defined?
Show the answer

No. The right side is defined for x<−2x < -2 or x>2x > 2, but the left side needs x>2x > 2. At x=−3x = -3 the right side is ln⁡5\ln 5 and the left side is undefined. The equation holds exactly for x>2x > 2.

How this lesson connects