Condense Logarithms Calculator

Created by Maciej Kowalski, PhD candidate
Reviewed by Steven Wooding
Last updated: Jun 05, 2023

Welcome to Omni Calculator's condense logarithms calculator, where we'll see how to rewrite logarithms or rather logarithmic expressions as a single logarithm. To be precise, we'll try simplifying logs by applying three simple formulas. In fact, we'll use the same ones that work for expanding logarithms, but do it all backward. If you prefer going forwards, visit the expanding logarithms calculator!

Finally, we'll also find out how to subtract and how to add logs (with the same base, mind you).

What is a logarithm?

With the COVID-19 pandemic raging on, there's been quite some talk about the rate at which the number of cases increased over time. Mathematically speaking, such a thing is called exponential growth.

As you might have noticed, the name suggests that it has something to do with exponents. Indeed, if we assume that each infected person transmits the disease onto, say, 44 others, then patient zero got 44 people sick. In turn, they got 42=4β‹…4=164^2 = 4 \cdot 4 = 16 people infected, who later got 43=4β‹…4β‹…4=644^3 = 4 \cdot 4 \cdot 4 = 64 people infected. In general, we describe the number of sick in the nn-th step by the exponent 4n4^n.

The logarithm is the inverse function to the exponential one. To make it all precise, let's see the following log definition.

πŸ’‘ log⁑ab\log_a b gives you the power to which you'd need to raise aa in order to obtain bb. Note, however, that in general, this can be a fractional exponent.

In the above epidemic example, the logarithm (with base 44) returns at which step we get a fixed number of infected. For instance:

log⁑464=3\log_4 64 = 3

Note that taking root is also considered an inverse operation to taking a power. However, as opposed to logarithms, roots return the exponent base, not the exponent itself (in the above language: they return how many people get infected by a single person). For example:

643=4\sqrt[3]{64} = 4

Before we learn how to rewrite logs, let's mention a few critical facts concerning them.

  • There are two very special cases of the logarithm which have unique notation: the natural logarithm and the logarithm with base 1010. The former is denoted ln⁑x\ln x and its base is the Euler number - you can read more about it in the natural log calculator! The latter is denoted log⁑x\log x with the base being (surprise, surprise!) the number 1010. There is also the binary logarithm, i.e., log with base 22, but it's not as common as the first two. If you're curious, log base 2 calculator is the way to go.

  • The logarithm function is defined only for positive numbers. In other words, whenever we write log⁑ab\log_a b, we require bb to be positive.

  • Whatever the base, the logarithm of 11 is equal to 00. After all, whatever we raise to power 00, we get 11.

  • Logarithms are extremely important. And we mean EXTREMELY important. Outside of mathematics, they're used in:

    • Statistics, e.g., the lognormal distribution;
    • Economics, e.g., the GDP index;
    • Medicine, e.g., the Quantitative Insulin Sensitivity Check Index (QUICKI);
    • Chemistry, e.g., the half-life decay; and
    • Quite a few physical units are based on logarithms, for instance, the Richter scale, the pH scale, and the dB scale.

Alright, that should be enough of a description for now. It's time to get back to mathematics and try simplifying logs using concrete formulas. We'll take on some gruesome expressions that involve logs and learn to write the expressions as a single logarithm.

How to rewrite logarithms?

As we've mentioned in the first section, logarithms are the inverse operation to exponents. Therefore, it should come as no surprise that the properties of the two are quite connected: in particular to multiplying and dividing exponents.

Let us begin by mentioning one log property that our condense logarithms calculator doesn't use - the change of base formula. It allows us to switch from one log basis to another, but at a price - we get a quotient of two expressions from a single one. If you'd like to see the specifics, make sure to check out Omni Calculator's change of base formula calculator.

We will, however, use here three other formulas. We often use them for expanding logarithms, but there's no harm in working them the other way round: for condensing logs instead. Still, let us see them in their original form.

  • The logarithm of a product is a sum of logarithms.
log⁑(aβ‹…b)=log⁑na+log⁑nb\log(a \cdot b) = \log_n a + \log_n b
  • The logarithm of a quotient is a difference of logarithms.
log⁑n(ab)=log⁑naβˆ’log⁑nb\log_n(\frac{a}{b}) = \log_n a - \log_n b
  • The logarithm of an exponent is a multiple of a logarithm.
log⁑n(ak)=kβ‹…log⁑na\log_n(a^k) = k \cdot \log_n a

As you can see, all of them take a single log (of a product, quotient, or exponent) and expand it into a longer expression. However, if we look at them backward, they write the expression as a single logarithm. That way, we obtain formulas for adding logs, subtracting logs, and multiplying logs by a number. The three combined are what the condense logarithms calculator is all about.

How to condense logarithms?

We now take the theory on how to rewrite logarithms and work its magic to our needs. Mind you, we'll keep to formulas for now, and once we have them in full glory, we'll move on to condensing logs examples in the last section.

First of all, we take on the simplest of the expanding formulas: that for a logarithm of an exponent. Let's turn it around, fix the notation to suit the one used in the condense logarithms calculator, and have it neatly here for future use:

xlog⁑na=log⁑n(ax)x \log_n a = \log_n (a^x)

We'll now use it (together with the product property) to learn how to add logs. And we don't mean just any sum - we mean adding logs with multiples.

xβ‹…log⁑na+yβ‹…log⁑nb= ?x \cdot \log_n a + y \cdot \log_n b = \ ?

We begin by applying the first condensing logs formula to both summands, i.e., we take xx and yy and drag them inside:

xlog⁑na+ylog⁑nb=log⁑n(ax)+log⁑n(by)x \log_n a + y \log_n b \\ = \log_n (a^x) + \log_n (b^y)

Now, with no multiples in front of the expressions, we're able to go from adding logs to a log of a product:

xlog⁑na+ylog⁑nb=log⁑n(axβ‹…by)x \log_n a + y \log_n b \\ = \log_n (a^x \cdot b^y)

Well, we've seen how to add logs, so it shouldn't be too difficult to go from there to subtracting logs, right?

xβ‹…log⁑naβˆ’yβ‹…log⁑nb= ?x \cdot \log_n a - y \cdot \log_n b = \ ?

Indeed, it isn't. We start the same: by dragging xx and yy inside,

xlog⁑naβˆ’ylog⁑nb=log⁑n(ax)βˆ’log⁑n(by)x \log_n a - y \log_n b \\ = \log_n (a^x) - \log_n (b^y)

and we finish by translating subtracting logs into a log of a quotient.

xlog⁑naβˆ’ylog⁑nb=log⁑n(axby)x \log_n a - y \log_n b \\ = \log_n (\frac{a^x}{b^y})

VoilΓ ! These three are all the formulas we'll need for simplifying logs. So let's now switch from symbols to numbers and get an example going with the condense logarithms calculator at hand.

Example: using the condense logarithms calculator

With all the explanations we've seen so far, there's no need for any introduction - let's simply work out an example. Although technically, we've just done an introduction, haven't we? Oh, bother...

We'll show how to condense the logarithms in:

3β‹…log⁑64+log⁑693 \cdot \log_6 4 + \log_6 9

Before we write the expression as a single logarithm ourselves, let's see how to rewrite the logs with the condense logarithms calculator.

At the top of our tool, we choose the type of operation we're dealing with. In our case, we have a sum, so we choose "adding logs" under "Use the formula for." That shows us a symbolic expression with the notation used underneath: xlog⁑na+ylog⁑nbx \log_n a + y \log_n b. Comparing it to ours, we see that we need to input:

x=3x = 3, a=4a = 4, b=9b = 9, and n=6n = 6.

However, this still leaves yy. Recall that by convention, no number in front of a function (in this case, a logarithm, but it's the same for, say, trigonometric functions) means that the number is, in fact, equal to 11. Nevertheless, we don't need to input y=1y = 1 since the condense logarithms calculator will understand a blank field as y=1y = 1.

Once we give all the necessary data, the tool will spit out the answer underneath together with a step-by-step application of the formulas from the above section and a numerical approximation of the result. However, before we reveal it to the world, let's describe how to add the logs ourselves.

Firstly, just as we did in the above section, we drag the 33 from in front of the log inside using the exponent property:

3β‹…log⁑64+log⁑69=log⁑6(43)+log⁑69=log⁑664+log⁑693 \cdot \log_6 4 + \log_6 9 \\ = \log_6 (4^3) + \log_6 9 \\ = \log_6 64 + \log_6 9

Next, we use the formula for how to add logs and get

3β‹…log⁑64+log⁑69=log⁑664+log⁑69=log⁑6(64β‹…9)=log⁑6576β‰ˆ3.547413 \cdot \log_6 4 + \log_6 9 \\ = \log_6 64 + \log_6 9 \\ = \log_6 (64 \cdot 9) \\ = \log_6 576 \approx 3.54741

In general, logarithms can be challenging to compute, so we get approximations like the one above with external tools - something like the condense logarithms calculator. Or any of Omni Calculator's algebra calculators!

Maciej Kowalski, PhD candidate
The formula for condensing a sum of logarithms.
Use the formula for
adding logs
Check out 16 similar exponents and logarithms calculators πŸ‡ͺ
AntilogChange of base formulaDividing exponents… 13 more
People also viewed…


Addiction calculator tells you how much shorter your life would be if you were addicted to alcohol, cigarettes, cocaine, methamphetamine, methadone, or heroin.


The discount calculator uses a product's original price and discount percentage to find the final price and the amount you save.

Half angle

The half-angle calculator is here to help you with computing the values of trigonometric functions for an angle and the angle halved.

Isosceles trapezoid

Use this isosceles trapezoid calculator to explore all the various properties of these particular trapezoids.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service