What you'll learn
- What logarithms mean and when they are defined.
- How to use the product, quotient and power laws.
- How to expand one logarithm or combine several logarithms.
- How the power law works with negative and fractional powers.
Before you start: what is a logarithm?
A logarithm is the inverse operation of raising a number to a power. It tells you which exponent produces a given number.
For example, because 23=82^3=823=8, it follows that log28=3\log_2 8=3log28=3.
Meaning of a logarithm
For a valid base aaa,
logax=b⟺ab=x.\log_a x=b \quad \Longleftrightarrow \quad a^b=x.logax=b⟺ab=x.Here, aaa is the base, xxx is the argument and bbb is the logarithm.
The base and argument must satisfy:
a>0,a≠1,x>0.a>0,\qquad a\neq 1,\qquad x>0.a>0,a=1,x>0.In particular, you cannot take the logarithm of zero or a negative real number.
Evaluating logarithms from powers
Evaluate log5125\log_5 125log5125 and log4(12)\log_4 \left(\frac{1}{2}\right)log4(21).
- Write 125 as a power of 5: 125=53125=5^3125=53. Therefore, log5125=3\log_5 125=3log5125=3.
- Write 12\frac{1}{2}21 as a power of 4. Since 4−12=14=124^{-\frac12}=\frac{1}{\sqrt4}=\frac124−21=41=21, the required exponent is −12-\frac12−21.
- Therefore, log4(12)=−12\log_4 \left(\frac12\right)=-\frac12log4(21)=−21.
Why the laws work
The laws of logarithms follow from the laws of indices. For example, multiplying two powers with the same base means adding their exponents:
am⋅an=am+n.a^m\cdot a^n=a^{m+n}.am⋅an=am+n.Logarithms reverse exponentiation, so multiplication inside a logarithm corresponds to addition outside it. Similarly, division corresponds to subtraction, and a power corresponds to multiplication.
Logarithms turn operations into simpler operations
For logarithms with the same base:
- multiplication becomes addition;
- division becomes subtraction;
- a power becomes a multiplier.
The product law
The product law is
logax+logay≡loga(xy).\log_a x+\log_a y\equiv\log_a(xy).logax+logay≡loga(xy).The symbol ≡\equiv≡ means that the two expressions are identically equal whenever both sides are defined. The law works because if x=amx=a^mx=am and y=any=a^ny=an, then
xy=aman=am+n.xy=a^m a^n=a^{m+n}.xy=aman=am+n.Therefore, loga(xy)=m+n=logax+logay\log_a(xy)=m+n=\log_a x+\log_a yloga(xy)=m+n=logax+logay.
Combining logarithms using the product law
Simplify log34+log39\log_3 4+\log_3 9log34+log39.
-
The logarithms have the same base and are being added, so apply the product law:
log34+log39=log3(4⋅9).\log_3 4+\log_3 9=\log_3(4\cdot 9).log34+log39=log3(4⋅9). -
Calculate the product:
log3(4⋅9)=log336.\log_3(4\cdot 9)=\log_3 36.log3(4⋅9)=log336. -
Therefore, the combined expression is log336\log_3 36log336. It does not simplify to an integer because 36 is not an integer power of 3.
Adding the arguments
The product law does not say logax+logay=loga(x+y)\log_a x+\log_a y=\log_a(x+y)logax+logay=loga(x+y). Addition of logarithms produces a product of their arguments.
The quotient law
The quotient law is
logax−logay≡loga(xy).\log_a x-\log_a y\equiv\log_a\left(\frac{x}{y}\right).logax−logay≡loga(yx).It comes from the index law
aman=am−n.\frac{a^m}{a^n}=a^{m-n}.anam=am−n.The order matters: the argument of the first logarithm becomes the numerator, and the argument of the subtracted logarithm becomes the denominator.
Combining logarithms using the quotient law
Simplify log248−log23\log_2 48-\log_2 3log248−log23.
-
The logarithms have the same base and are being subtracted, so use the quotient law:
log248−log23=log2(483).\log_2 48-\log_2 3=\log_2\left(\frac{48}{3}\right).log248−log23=log2(348). -
Simplify the quotient:
log2(483)=log216.\log_2\left(\frac{48}{3}\right)=\log_2 16.log2(348)=log216. -
Since 16=2416=2^416=24, the expression equals 4.
Reversing the quotient
In logax−logay\log_a x-\log_a ylogax−logay, keep the same order: the result is loga(xy)\log_a\left(\frac{x}{y}\right)loga(yx), not loga(yx)\log_a\left(\frac{y}{x}\right)loga(xy).
The power law
The power law is
klogax≡loga(xk).k\log_a x\equiv\log_a\left(x^k\right).klogax≡loga(xk).It allows a multiplier in front of a logarithm to become a power of its argument. The law can also be used in reverse:
loga(xk)=klogax.\log_a\left(x^k\right)=k\log_a x.loga(xk)=klogax.This is especially useful when expanding logarithmic expressions.
Using the power law in both directions
Rewrite 3log2x3\log_2 x3log2x as a single logarithm, and expand log5(y7)\log_5(y^7)log5(y7).
-
Move the multiplier 3 into the first logarithm as a power:
3log2x=log2(x3).3\log_2 x=\log_2(x^3).3log2x=log2(x3). -
Move the power 7 in the second expression outside as a multiplier:
log5(y7)=7log5y.\log_5(y^7)=7\log_5 y.log5(y7)=7log5y. -
These statements require the original logarithmic arguments to be positive, so x>0x>0x>0 and y7>0y^7>0y7>0.
Multiplying the argument
The multiplier becomes an exponent, not a factor. Thus klogax=loga(xk)k\log_a x=\log_a(x^k)klogax=loga(xk), not loga(kx)\log_a(kx)loga(kx).
Negative powers
The power law also applies when the multiplier is negative. In particular,
−logax=loga(x−1)=loga(1x).-\log_a x=\log_a\left(x^{-1}\right) =\log_a\left(\frac{1}{x}\right).−logax=loga(x−1)=loga(x1).This is the case k=−1k=-1k=−1. It explains why changing the sign of a logarithm takes the reciprocal of its argument.
Combining a logarithm with a negative coefficient
Write logap−logaq\log_a p-\log_a qlogap−logaq as a single logarithm using the power and product laws.
-
Treat the subtraction as multiplication by negative one:
−logaq=loga(q−1).-\log_a q=\log_a(q^{-1}).−logaq=loga(q−1). -
Use the product law to combine the logarithms:
logap+loga(q−1)=loga(pq−1).\log_a p+\log_a(q^{-1})=\log_a(pq^{-1}).logap+loga(q−1)=loga(pq−1). -
Since q−1=1qq^{-1}=\frac1qq−1=q1, this becomes
loga(pq),\log_a\left(\frac{p}{q}\right),loga(qp),which agrees with the quotient law.
Fractional powers
A fractional power represents a root. For example,
x12=xandx−12=1x.x^{\frac12}=\sqrt{x} \qquad\text{and}\qquad x^{-\frac12}=\frac{1}{\sqrt{x}}.x21=xandx−21=x1.Therefore, the power law gives
12logax=logax\frac12\log_a x=\log_a\sqrt{x}21logax=logaxand
−12logax=loga(x−12)=loga(1x).-\frac12\log_a x =\log_a\left(x^{-\frac12}\right) =\log_a\left(\frac{1}{\sqrt{x}}\right).−21logax=loga(x−21)=loga(x1).Using a negative fractional coefficient
Rewrite −12log3x-\frac12\log_3 x−21log3x as a single logarithm.
-
Use the power law to move the coefficient into the logarithm as an exponent:
−12log3x=log3(x−12).-\frac12\log_3 x=\log_3\left(x^{-\frac12}\right).−21log3x=log3(x−21). -
Interpret the exponent using the laws of indices:
x−12=1x12=1x.x^{-\frac12}=\frac{1}{x^{\frac12}}=\frac{1}{\sqrt{x}}.x−21=x211=x1. -
Hence,
−12log3x=log3(1x).-\frac12\log_3 x=\log_3\left(\frac{1}{\sqrt{x}}\right).−21log3x=log3(x1).
Expanding a logarithm
To expand a logarithm means to rewrite it as a sum or difference of simpler logarithms. Work through multiplication and division first, then use the power law.
Expanding a logarithmic expression
Expand
loga(x3yz2).\log_a\left(\frac{x^3\sqrt{y}}{z^2}\right).loga(z2x3y).-
Use the quotient law to separate the numerator and denominator:
loga(x3y)−loga(z2).\log_a\left(x^3\sqrt{y}\right)-\log_a(z^2).loga(x3y)−loga(z2). -
Use the product law on the numerator:
loga(x3)+loga(y)−loga(z2).\log_a(x^3)+\log_a(\sqrt{y})-\log_a(z^2).loga(x3)+loga(y)−loga(z2). -
Write y=y12\sqrt{y}=y^{\frac12}y=y21 and apply the power law to each term:
3logax+12logay−2logaz.3\log_a x+\frac12\log_a y-2\log_a z.3logax+21logay−2logaz.
Combining several logarithms
To combine logarithms, reverse the power law first so that coefficients become powers. Then use the product and quotient laws.
Writing several terms as one logarithm
Write 2logax+12logay−logaz2\log_a x+\frac12\log_a y-\log_a z2logax+21logay−logaz as a single logarithm.
-
Move each coefficient into its logarithm:
loga(x2)+loga(y12)−logaz.\log_a(x^2)+\log_a(y^{\frac12})-\log_a z.loga(x2)+loga(y21)−logaz. -
Combine the added logarithms using the product law:
loga(x2y12)−logaz.\log_a(x^2y^{\frac12})-\log_a z.loga(x2y21)−logaz. -
Apply the quotient law and replace y12y^{\frac12}y21 by y\sqrt yy:
loga(x2yz).\log_a\left(\frac{x^2\sqrt y}{z}\right).loga(zx2y).
Check the base and the domain
You may combine logarithms directly only when they have the same base. Every original logarithmic argument must also be positive, even if the final combined argument appears positive.
A useful order for combining
When combining logarithms, use powers first, then combine additions as products, and finally combine subtractions as quotients.
In the exam
- Check that all logarithms have the same base before applying a law.
- Move coefficients into logarithms as powers before trying to combine terms.
- Preserve the order in subtraction: the subtracted logarithm gives the denominator.
- When expanding, apply product and quotient laws before bringing powers down.
- Check that every logarithmic argument satisfies the required positivity condition.
Check yourself
- How would you write 3logax−logay3\log_a x-\log_a y3logax−logay as one logarithm?
- What does −12logax-\frac12\log_a x−21logax become when written as a single logarithm?
- Why is logax+logay\log_a x+\log_a ylogax+logay not equal to loga(x+y)\log_a(x+y)loga(x+y)?