Exponentials & Logarithms

Condensing Logarithms: How to Combine Logs into One

Condensing logarithms means running the log rules backward: coefficients become exponents, added logs become a product, and subtracted logs become a quotient.

nlog⁡bx+mlog⁡by−klog⁡bz=log⁡bxnymzkn\log_b x+m\log_b y-k\log_b z=\log_b\frac{x^{n}y^{m}}{z^{k}}

Every term must share one base, and the finished answer is a single log with a coefficient of 1. The process undoes expanding logarithms, and every move comes from the logarithm rules, so a shaky grip on those rules is a common reason condensing goes wrong.

How do you condense logarithms into a single log?

Read the three rules from right to left. Each one tells you how to merge terms:

  • Power rule: nlog⁡bM=log⁡bMnn\log_b M=\log_b M^n
  • Product rule: log⁡bM+log⁡bN=log⁡b(MN)\log_b M+\log_b N=\log_b(MN)
  • Quotient rule: log⁡bM−log⁡bN=log⁡bMN\log_b M-\log_b N=\log_b\frac{M}{N}

Work in two passes. First, clear every coefficient by moving it into its log as an exponent. Then combine what is left.

One-pass shortcut

After the coefficients are cleared, every added log goes in the numerator and every subtracted log goes in the denominator: log⁡bA+log⁡bB−log⁡bC−log⁡bD=log⁡bABCD\log_b A+\log_b B-\log_b C-\log_b D=\log_b\frac{AB}{CD}.

You are finished when three things are true: one log symbol remains, one base is used, and nothing multiplies the log from outside. A bare log⁡\log with no base means base 10 in most US textbooks, and the rules are identical for every base.

Why condensing logarithms works: the exponent idea

A logarithm is an exponent in disguise. If log⁡bM=m\log_b M=m and log⁡bN=n\log_b N=n, then M=bmM=b^m and N=bnN=b^n, which is the definition covered in What Is a Logarithm?. Multiplying gives

MN=bm⋅bn=bm+n⟹log⁡b(MN)=m+n=log⁡bM+log⁡bN.MN=b^m\cdot b^n=b^{m+n}\quad\Longrightarrow\quad \log_b(MN)=m+n=\log_b M+\log_b N.

That is the whole product rule: multiplying numbers adds their exponents, so the log of a product is a sum of logs. Division subtracts exponents, which gives the quotient rule. Raising to a power multiplies the exponent, since Mk=bmkM^k=b^{mk}, which gives the power rule. The full write-ups are on the proofs of the logarithm properties page.

This also explains the same-base requirement. Exponents only combine when the bases match, just as 23⋅24=272^3\cdot 2^4=2^7 merges but 23⋅542^3\cdot 5^4 does not. If the bases differ, the logs have no shared exponent scale to add on.

Quick check

If log⁡5A=2\log_5 A=2 and log⁡5B=3\log_5 B=3, what is log⁡5(AB)\log_5(AB)?

Why does the power rule come first?

The product and quotient rules only work on logs with a coefficient of 1. A coefficient is a different kind of object, a multiplier outside the log, and the power rule is the only tool that can bring it inside. Skipping that step produces the most common wrong answers, such as turning 2log⁡3x+log⁡3y2\log_3 x+\log_3 y into log⁡3(2xy)\log_3(2xy). The correct result is

2log⁡3x+log⁡3y=log⁡3x2+log⁡3y=log⁡3(x2y).2\log_3 x+\log_3 y=\log_3 x^2+\log_3 y=\log_3(x^2y).

The exponent lands on the entire argument, and only on the log it touches. So 2log⁡(x+1)=log⁡(x+1)22\log(x+1)=\log(x+1)^2, and (x+1)2(x+1)^2 expands to x2+2x+1x^2+2x+1, not x2+1x^2+1. The same holds for the natural logarithm: 3ln⁡x=ln⁡x33\ln x=\ln x^3, because ln⁡\ln is just log base ee.

When a coefficient sits outside a bracket, either order works. For 2(log⁡x+log⁡y)2(\log x+\log y), combining first gives 2log⁡(xy)=log⁡(xy)2=log⁡(x2y2)2\log(xy)=\log(xy)^2=\log(x^2y^2), which matches distributing first. Power-first is a safe habit, not a law of nature.

Condensing logarithms with sums and differences: a worked example

Example 1. Condense log⁡23+2log⁡2x−3log⁡2y\log_2 3+2\log_2 x-3\log_2 y.

log⁡23+2log⁡2x−3log⁡2y=log⁡23+log⁡2x2−log⁡2y3=log⁡23⋅x2y3=log⁡23x2y3\begin{aligned}\log_2 3+2\log_2 x-3\log_2 y&=\log_2 3+\log_2 x^2-\log_2 y^3\\&=\log_2\frac{3\cdot x^2}{y^3}\\&=\log_2\frac{3x^2}{y^3}\end{aligned}

The first line clears the coefficients. The second uses the one-pass shortcut: 33 and x2x^2 are added, so they go on top, and y3y^3 is subtracted, so it goes underneath.

The order of combining does not matter. Doing the product first and the quotient second, or the reverse, lands on the same fraction because multiplication and division are consistent with each other.

Try this: Condense 4log⁡5a−log⁡5b+2log⁡5c4\log_5 a-\log_5 b+2\log_5 c on paper. Then expand your answer back out using the rules. If you recover the original three terms, the condensing was right. (The answer is log⁡5a4c2b\log_5\frac{a^4c^2}{b}.)

How do you condense logs with fractions and negative coefficients?

A fractional coefficient becomes a fractional exponent, which is a root: 12\frac12 gives a square root and 13\frac13 gives a cube root.

Example 2. Condense 12log⁡3x−2log⁡3y+log⁡3(x+4)\frac12\log_3 x-2\log_3 y+\log_3(x+4).

=log⁡3x1/2−log⁡3y2+log⁡3(x+4)=log⁡3x (x+4)y2\begin{aligned}&=\log_3 x^{1/2}-\log_3 y^2+\log_3(x+4)\\&=\log_3\frac{\sqrt{x}\,(x+4)}{y^2}\end{aligned}

Notice that (x+4)(x+4) keeps its brackets when it moves to the numerator, because it multiplies x\sqrt{x} as a whole.

Negatives are where points disappear. A negative coefficient flips the argument: −log⁡bM=log⁡b1M-\log_b M=\log_b\frac1M. So a leading minus sign matters: −log⁡2x+log⁡2y=log⁡2yx-\log_2 x+\log_2 y=\log_2\frac{y}{x}, not log⁡2xy\log_2\frac{x}{y}. A quick test with x=8x=8 and y=4y=4 shows it: the left side is −3+2=−1-3+2=-1, and log⁡248=log⁡212=−1\log_2\frac48=\log_2\frac12=-1.

Quick check

Condense 13log⁡5x−log⁡5y\frac13\log_5 x-\log_5 y.

How do you condense a log plus a plain number?

A number sitting next to logs has to become a log in the same base before it can merge. The key identity is c=log⁡bbcc=\log_b b^c, which just says that bb raised to the power cc has logarithm cc.

Example 3. Condense 4+log⁡3x−log⁡3y4+\log_3 x-\log_3 y.

4+log⁡3x−log⁡3y=log⁡334+log⁡3x−log⁡3y=log⁡381+log⁡3x−log⁡3y=log⁡381xy\begin{aligned}4+\log_3 x-\log_3 y&=\log_3 3^4+\log_3 x-\log_3 y\\&=\log_3 81+\log_3 x-\log_3 y\\&=\log_3\frac{81x}{y}\end{aligned}

Converting a number into a power of the base is the same move used in exponential equations with the same base. The number does not have to be a clean power: 1=log⁡331=\log_3 3 always works, and 2=log⁡392=\log_3 9 is just as valid.

Watch for the opposite situation. If the base cooperates, evaluating beats condensing: log⁡232−log⁡24=log⁡28=3\log_2 32-\log_2 4=\log_2 8=3, and a number is a better final answer than a log.

Does condensing logarithms change the domain?

Number lines comparing the domain of ln x + ln(x-3) with the condensed ln(x²-3x)
The original needs x > 3, but the condensed log also accepts every x below 0, such as x = -1.

Sometimes, and this is a real trap. A log only accepts positive arguments. The expression ln⁡x+ln⁡(x−3)\ln x+\ln(x-3) requires both x>0x>0 and x−3>0x-3>0, so x>3x>3. The condensed form ln⁡(x2−3x)\ln(x^2-3x) also accepts x=−1x=-1, because (−1)2−3(−1)=4(-1)^2-3(-1)=4 is positive. But the original at x=−1x=-1 would need ln⁡(−1)\ln(-1), which does not exist.

Domain flag

Condensing can accept inputs the original rejected. Write the original restrictions, here x>3x>3, before you combine terms.

The same thing happens with 2ln⁡x2\ln x and ln⁡x2\ln x^2. The first needs x>0x>0. The second works for any x≠0x\neq 0. Their graphs differ: y=ln⁡x2y=\ln x^2 has a left branch that y=2ln⁡xy=2\ln x lacks, which you can see on the graphing logarithmic functions page.

For plain simplification the equality holds only on the original domain, so state it. For equations, the domain matters even more, as the last section shows.

Condensing vs expanding logarithms: what gets mixed up?

Condensing and expanding are the same equation read in opposite directions.

Direction Starts with Ends with
Condensing 2log⁡bx+log⁡by−log⁡bz2\log_b x+\log_b y-\log_b z log⁡bx2yz\log_b\frac{x^2y}{z}
Expanding log⁡bx2yz\log_b\frac{x^2y}{z} 2log⁡bx+log⁡by−log⁡bz2\log_b x+\log_b y-\log_b z

Two look-alike mistakes cost the most points. First, log⁡bM+log⁡bN\log_b M+\log_b N is not log⁡b(M+N)\log_b(M+N). Test it: log⁡100+log⁡1000=2+3=5=log⁡105\log 100+\log 1000=2+3=5=\log 10^5, while log⁡1100\log 1100 is only about 3.043.04. Second, log⁡bM−log⁡bN\log_b M-\log_b N is not log⁡bMlog⁡bN\frac{\log_b M}{\log_b N}. With log⁡28\log_2 8 and log⁡24\log_2 4, the difference is 3−2=13-2=1, but the ratio is 32\frac32. That ratio belongs to the change of base formula, where log⁡Mlog⁡N=log⁡NM\frac{\log M}{\log N}=\log_N M.

If a problem just says “simplify”, let the starting shape decide. A string of separate logs means condense. One large log with powers and fractions inside means expand.

How do you check a condensed logarithm?

Plug in numbers that make the arguments powers of the base, so each term turns into a whole number. Check Example 1 with x=4x=4 and y=2y=2:

log⁡23+2log⁡24−3log⁡22=log⁡23+4−3=log⁡23+1.\log_2 3+2\log_2 4-3\log_2 2=\log_2 3+4-3=\log_2 3+1.

log⁡23⋅4223=log⁡2488=log⁡26=log⁡23+log⁡22=log⁡23+1.\log_2\frac{3\cdot 4^2}{2^3}=\log_2\frac{48}{8}=\log_2 6=\log_2 3+\log_2 2=\log_2 3+1.

Both sides agree. One test value can mask an error, so use a second pair if the answer feels fragile. A sign error usually shows up immediately because the result lands on the wrong side of zero.

The method also has limits. Logs with different bases do not merge, so log⁡2x+log⁡3y\log_2 x+\log_3 y stays put, unless the bases are related, as in log⁡4x=12log⁡2x\log_4 x=\frac12\log_2 x. Products and powers of whole logs have no rule either: (log⁡x)2(\log x)^2 is not log⁡x2\log x^2, and log⁡x⋅log⁡y\log x\cdot\log y cannot be condensed.

Quick check

A student condenses 2log⁡2x−log⁡2y2\log_2 x-\log_2 y as log⁡22xy\log_2\frac{2x}{y}. Test x=4x=4, y=2y=2. Is the answer correct?

Why condense logarithms before solving an equation?

An equation can only be solved for xx when xx is trapped inside a single log, because that is what lets you rewrite it in exponential form. Condensing is how you get there.

Example 4. Solve log⁡2x+log⁡2(x−2)=3\log_2 x+\log_2(x-2)=3.

log⁡2[x(x−2)]=3x(x−2)=23=8x2−2x−8=0(x−4)(x+2)=0\begin{aligned}\log_2\big[x(x-2)\big]&=3\\x(x-2)&=2^3=8\\x^2-2x-8&=0\\(x-4)(x+2)&=0\end{aligned}

That gives x=4x=4 or x=−2x=-2. The original equation needs x>2x>2, so −2-2 is rejected. Checking x=4x=4: log⁡24+log⁡22=2+1=3\log_2 4+\log_2 2=2+1=3. The quadratic step is covered with more cases in quadratic formula practice problems, and the full method is on solving logarithmic equations.

Condensed logs also appear in science. Sound level in decibels is L=10log⁡10II0L=10\log_{10}\frac{I}{I_0}, so the difference between two levels is 10log⁡10I1I210\log_{10}\frac{I_1}{I_2}. That depends only on the intensity ratio, which is why doubling the intensity adds about 33 dB, since 10log⁡102≈3.0110\log_{10}2\approx 3.01.

Practice problems

0 of 5 solved

  1. Condense log⁡34+log⁡35\log_3 4+\log_3 5.

  2. Condense 3log⁡2x−log⁡2y3\log_2 x-\log_2 y.

  3. Condense ln⁡6+2ln⁡x−ln⁡3\ln 6+2\ln x-\ln 3.

  4. Condense 12log⁡x+3log⁡y−2log⁡(x+1)\frac12\log x+3\log y-2\log(x+1).

  5. Condense 3log⁡2x−2−13log⁡2y3\log_2 x-2-\frac13\log_2 y.

Common questions

What does it mean to condense logarithms?

It means rewriting a sum or difference of logarithms as a single logarithm. Coefficients become exponents, added logs become a product, and subtracted logs become a quotient.

Can you condense logarithms with different bases?

Not directly. The product and quotient rules need a shared base, so log⁡2x+log⁡3y\log_2 x+\log_3 y stays as two terms. If the bases are related powers, such as 2 and 4, convert to one base first.

Do you always apply the power rule first when condensing?

Yes, as a habit. The product and quotient rules only work on logs with a coefficient of 1, so any number in front must move inside as an exponent before combining.

How do you condense a logarithm plus a number?

Rewrite the number as a log in the same base using c=log⁡bbcc=\log_b b^c. For example, 2+log⁡5x=log⁡525+log⁡5x=log⁡5(25x)2+\log_5 x=\log_5 25+\log_5 x=\log_5(25x).

Is log⁡x+log⁡y\log x+\log y the same as log⁡(x+y)\log(x+y)?

No. The sum of two logs equals the log of the product, log⁡(xy)\log(xy). Try x=10x=10 and y=100y=100: the left side is 1+2=31+2=3, while log⁡(110)\log(110) is about 2.042.04.

Is condensing logarithms the same as simplifying them?

Often, yes. When a problem hands you a string of separate log terms and says simplify, it almost always means condense. When it gives one big log and says simplify, it usually means expand.

Up next