The Condense Logarithms Calculator
Welcome to the condense logarithms calculator, where we'll see how to rewrite a logarithmic expression — a sum and difference of several logarithms — as a single logarithm. To be precise, we'll simplify logs by applying three simple formulas. In fact, these are the very same rules that power the expanding logarithms process, only run backward. If you'd rather go forwards, an expanding-logarithms tool does the opposite job.
There are seven rules you can know about logs; this calculator is built on three of them — the power, product, and quotient rules. Along the way, we'll also see how to add and subtract logs (with the same base, mind you).
What is a logarithm?
The logarithm is the inverse function of the exponential one. When a quantity grows by repeated multiplication — think of exponential growth, where each step multiplies the previous value by a fixed factor — the logarithm is the tool that runs the process backward and recovers the exponent.
In words, loga b gives you the power to which you'd need to raise a (the base) in order to obtain b. Note that, in general, this can even be a fractional exponent. For example:
- log4 64 = 3 because 43 = 64
- log10 1000 = 3 because 103 = 1000
- log2 8 = 3 because 23 = 8
Taking a root is also an inverse operation to taking a power. However, as opposed to logarithms, roots return the exponent's base, not the exponent itself.
How to rewrite logarithms — the three rules
To condense (or simplify) a logarithmic expression, we use three of the laws of logarithms. Every rule below assumes the logs share the same base b:
| Rule | Formula |
|---|---|
| Power rule | n · logb(x) = logb(xn) |
| Product rule | logb(x) + logb(y) = logb(x · y) |
| Quotient rule | logb(x) − logb(y) = logb(x / y) |
Notice the pattern: a coefficient becomes an exponent, a sum becomes a product, and a difference becomes a quotient. Expanding logarithms uses exactly these identities from right to left; condensing uses them from left to right.
How to condense logarithms
Condensing a logarithmic expression into a single logarithm is a three-step routine:
- Apply the power rule. Move every coefficient in front of a log up to become an exponent of its argument:
n·logb(x) → logb(xⁿ). - Apply the product and quotient rules. Combine all the added logs into the numerator and all the subtracted logs into the denominator of a single fraction inside one logarithm.
- Simplify. Evaluate the argument if it is numeric, and — optionally — read off the numerical value of the resulting single logarithm.
Example: using the condense logarithms calculator
Suppose we want to condense 2·log₁₀(3) + log₁₀(5) − log₁₀(2). Enter base 10, then the three terms — coefficient 2 with argument 3, coefficient 1 with argument 5, and coefficient -1 with argument 2 (a negative coefficient means subtraction). The calculator works through it like this:
- Power rule: 2·log₁₀(3) = log₁₀(3²) = log₁₀(9)
- Product & quotient rules: log₁₀(9) + log₁₀(5) − log₁₀(2) = log₁₀(9 · 5 / 2)
- Single logarithm: log₁₀(45 / 2) = log₁₀(22.5) ≈ 1.352183
The result panel shows the original expression, each intermediate step, the final single logarithm, its numerical value, and a per-term breakdown so you can check that the sum of the individual logs matches the condensed value.
How to add and subtract logs
Adding and subtracting logs is simply the product and quotient rules in action — provided the logs share the same base:
- Adding logs: logb(x) + logb(y) = logb(x · y). For instance, log(4) + log(25) = log(100) = 2 (base 10).
- Subtracting logs: logb(x) − logb(y) = logb(x / y). For instance, log(200) − log(2) = log(100) = 2 (base 10).
If the bases differ, you must first rewrite the logs to a common base using the change-of-base formula, logb(x) = ln(x) / ln(b), before you can combine them.
US and metric units, and money
The optional panels let you interpret the condensed argument X as a physical quantity in either the US/imperial or the metric (SI) system, and — because condensing logs is really about turning a sum into a product — as a cumulative growth multiplier applied to a starting amount of money. You can pick your currency, with the US dollar and the Russian ruble at the top of a list of twelve world currencies (EUR, GBP, JPY, CNY, CAD, AUD, CHF, INR, BRL, MXN, …).
Frequently Asked Questions
What does it mean to condense a logarithm?
Condensing means rewriting an expression made of several logarithms (a sum and difference of logs, possibly with coefficients) as one single logarithm, using the power, product, and quotient rules of logarithms.
Can I condense logs with different bases?
Not directly. The product, quotient, and power rules only apply when all the logarithms share the same base. Convert to a common base first with logb(x) = ln(x) / ln(b).
How do I turn a coefficient into an exponent?
Use the power rule in reverse: a number multiplying a logarithm becomes an exponent on the argument, so 3·log(x) becomes log(x³).
What happens to subtraction when I condense?
Subtraction of logs becomes division inside a single log: log(x) − log(y) = log(x / y). In this calculator, enter a negative coefficient to place a term in the denominator.
Is condensing the opposite of expanding logarithms?
Yes. Expanding breaks a single logarithm into a sum and difference of simpler logs; condensing reverses that, collapsing the expression back into one logarithm. Both use the same three rules, just in opposite directions.
References
- Weisstein, Eric W. "Logarithm." MathWorld — A Wolfram Web Resource.
- Abramowitz, M. & Stegun, I. A. Handbook of Mathematical Functions, Chapter 4: Elementary Transcendental Functions.