Omni Calculator logo
Last updated:

Condense Logarithms Calculator

New

Table of contents

What is a logarithm?How to rewrite logarithmsHow to condense logarithmsExample: using the condense logarithms calculator

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?

During the COVID-19 pandemic, there was 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=44=164^2 = 4 \cdot 4 = 16 people infected, who later got 43=444=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 of the exponential one. To make it all precise, let's see the following log definition.

💡 logab\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:

log464=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 lnx\ln x, and its base is the Euler number — you can read more about it in the natural log calculator! The latter is denoted logx\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 logab\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, particularly in terms of 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 around: for condensing logs instead. Still, let us see them in their original form.

  • The logarithm of a product is a sum of logarithms.
log(ab)=logna+lognb\qquad \log(a \cdot b) = \log_n a + \log_n b
  • The logarithm of a quotient is a difference of logarithms.
logn(ab)=lognalognb\qquad \log_n(\frac{a}{b}) = \log_n a - \log_n b
  • The logarithm of an exponent is a multiple of a logarithm.
logn(ak)=klogna\qquad \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:

xlogna=logn(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.

xlogna+ylognb= ?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:

xlogna+ylognb=logn(ax)+logn(by)x \log_n a + y \log_n b \\[.6em] = \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:

xlogna+ylognb=logn(axby)x \log_n a + y \log_n b \\[.6em] = \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?

xlognaylognb= ?x \cdot \log_n a - y \cdot \log_n b = \ ?

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

xlognaylognb=logn(ax)logn(by)x \log_n a - y \log_n b \\[.6em] = \log_n (a^x) - \log_n (b^y)

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

xlognaylognb=logn(axby)x \log_n a - y \log_n b \\[.6em] = \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:

3log64+log693 \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: xlogna+ylognbx \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:

3log64+log69=log6(43)+log69=log664+log693 \cdot \log_6 4 + \log_6 9 \\[.6em] = \log_6 (4^3) + \log_6 9 \\[.6em] = \log_6 64 + \log_6 9

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

3log64+log69=log664+log69=log6(649)=log65763.547413 \cdot \log_6 4 + \log_6 9 \\[.6em] = \log_6 64 + \log_6 9 \\[.6em] = \log_6 (64 \cdot 9) \\[.6em] = \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!

xlogn ⁣a+ylogn ⁣b=logn ⁣ ⁣( ⁣ax ⁣yb)x\log_n\!a+y\log_n\!b=\log_n\!\large{\!(\!a^x\!\cdot y^b)}

Check out 16 similar exponents and logarithms calculators 🇪
AntilogChange of base formulaDividing exponents...13 more