No history yet

Introduction to Logarithms

What is a Logarithm?

Exponents answer the question, "What do you get if you multiply a number by itself a certain number of times?" For example, $2^3$ asks you to multiply 2 by itself 3 times, giving you 8.

Logarithms, or "logs" for short, ask the opposite question: "How many times do you need to multiply a base number by itself to get another number?" For the equation $2^x = 8$, the logarithm tells us that $x = 3$. It finds the unknown exponent.

The logarithm of a number is the exponent to which another fixed number, the base, must be raised to produce that number.

We can write this relationship mathematically. The expression by=xb^y = x is equivalent to the logarithmic equation:

logb(x)=y\log_b(x) = y

Here's how to read that out loud: "log base bb of xx equals yy."

  • bb is the base. It's the number being multiplied.
  • xx is the argument. It's the final number we're trying to get to.
  • yy is the logarithm, which is just the exponent from the original expression.

An Inverse Relationship

Logarithms and exponentials are inverse operations. They undo each other, just like subtraction undoes addition and division undoes multiplication.

If you have an exponential function, like y=2xy = 2^x, its inverse is the logarithmic function y=log2(x)y = \log_2(x). When you graph them, you can see this relationship clearly. The two functions are perfect reflections of each other across the diagonal line y=xy=x.

Lesson image

Because they are inverses, one function's action cancels out the other's. This gives us two very useful identities:

  1. Taking the log of an exponential with the same base gives you the exponent.
logb(bx)=x\log_b(b^x) = x

For example, log5(52)=2\log_5(5^2) = 2. The base-5 logarithm cancels out the base-5 exponential, leaving just the exponent, 2.

  1. Raising a base to a logarithm with the same base gives you the argument.
blogb(x)=xb^{\log_b(x)} = x

For example, 10log10(1000)=100010^{\log_{10}(1000)} = 1000. The exponent is log10(1000)\log_{10}(1000), which equals 3. So, 103=100010^3 = 1000.

Basic Logarithm Rules

Logarithms follow certain rules that help us simplify complex expressions. These rules come directly from the laws of exponents. There are three main ones to know.

Product Rule

other

The logarithm of a product is the sum of the logarithms of its factors.

logb(MN)=logb(M)+logb(N)\log_b(M \cdot N) = \log_b(M) + \log_b(N)

Let's test this with an example. We know log2(32)=5\log_2(32) = 5. We also know that 32=4832 = 4 \cdot 8. According to the product rule:

log2(48)=log2(4)+log2(8)\log_2(4 \cdot 8) = \log_2(4) + \log_2(8)

Since log2(4)=2\log_2(4)=2 and log2(8)=3\log_2(8)=3, we get 2+3=52 + 3 = 5. It works.

Quotient Rule

other

The logarithm of a quotient is the logarithm of the numerator minus the logarithm of the denominator.

logb(MN)=logb(M)logb(N)\log_b\left(\frac{M}{N}\right) = \log_b(M) - \log_b(N)

Let's check this one too. We know log3(9)=2\log_3(9) = 2. We also know that 9=81/99 = 81 / 9. According to the quotient rule:

log3(81/9)=log3(81)log3(9)\log_3(81/9) = \log_3(81) - \log_3(9)

Since log3(81)=4\log_3(81)=4 and log3(9)=2\log_3(9)=2, we get 42=24 - 2 = 2. This one holds true as well.

Power Rule

other

The logarithm of a number raised to a power is the power multiplied by the logarithm of the number.

logb(Mp)=plogb(M)\log_b(M^p) = p \cdot \log_b(M)

This rule is especially useful for getting variables out of exponents. For example, let's look at log10(1003)\log_{10}(100^3). The power rule lets us rewrite this as:

3log10(100)3 \cdot \log_{10}(100)

We know that log10(100)=2\log_{10}(100) = 2, so the expression simplifies to 32=63 \cdot 2 = 6. This is correct, since 1003=1,000,000100^3 = 1,000,000, and 106=1,000,00010^6 = 1,000,000.

Ready to test your understanding?

Quiz Questions 1/5

Which logarithmic equation is equivalent to the exponential equation 72=497^2 = 49?

Quiz Questions 2/5

A logarithm answers the question: 'How many times do you need to multiply a base number by itself to get another number?'

These fundamental concepts form the basis of working with logarithms. Understanding them is the first step toward using logs to solve more complex problems.