Logarithm Formula

The logarithm log_b(x) answers: "to what power must b be raised to produce x?" It is the inverse function of f(x) = b^x.

The Formula

by=x  ⟹  log⁡b(x)=y

Ask yourself: Am I asking 'what exponent on the base gives this number?'

Quick example

log⁡10(1000)=3 (because 103=1000).
log⁡2(16)=4 (because 24=16).

Notation

log⁡b(x) denotes the logarithm base b of x. log⁡ usually means log⁡10; ln⁡ means log⁡e.

What this formula means

The logarithm log⁡b(x) answers: "to what power must b be raised to produce x?" It is the inverse function of f(x)=bx.

A logarithm is a zero-counter, generalised. log⁡101000=3 because 1000 is three multiplications by 10, the three zeros. A number between powers, such as 500, gets a fractional count (about 2.7), and other bases count multiplications by 2 or by e instead of by 10.

Formal view

log⁡b ⁣:(0,∞)→R defined by log⁡b(x)=y  ⟺  by=x, where b>0,  b≠1

Worked examples

Example 1

easy
Evaluate log⁡232.
Show solution

Answer

5

First step

1.
A logarithm asks for the exponent, so we want the value of x such that 2x=32.

Full solution

  1. 2.
    Check powers of 2: 25=32.
  2. 3.
    Therefore log⁡232=5.
A logarithm answers the question: 'What power do I raise the base to in order to get this number?' The definition log⁡ba=c means bc=a.

Example 2

medium
Solve log⁡3(2x+1)=4.

Example 3

hard
Solve log⁡2(x)+log⁡2(x−6)=4.

Common mistakes

  • Treating a log as division - log⁡b(x) is the exponent on b, not x÷b.
  • Taking the log of zero or a negative number - the argument of a log must be positive.
  • Confusing which way it inverts - a log frees the exponent (2x=8⇒x=log⁡28), a root frees the base.

Common mistakes guide

If this formula keeps breaking in real problems, read the most common errors before you practice again.

Why this formula matters

Without logs you can only guess and check an equation like 2x=50; with them, x=log⁡50log⁡2≈5.64 in one step. They answer every 'how long until' question in growth and decay: doubling times, half-lives, loan payoff periods. They also explain why pH 3 against pH 5 means 100 times the acidity, not slightly more.

Frequently asked questions

What is the Logarithm formula?

The logarithm log⁡b(x) answers: "to what power must b be raised to produce x?" It is the inverse function of f(x)=bx.

How do you use the Logarithm formula?

Use a log when the unknown is an exponent: 'how long until it doubles', 'how many halvings until under 1 mg', or any equation shaped like bx=c. Use it too for scales where each step means a factor of 10, such as pH, decibels and earthquake magnitude. If the unknown is the base, as in x4=81, take a root instead; if the exponent is known and you want the value, just evaluate the power.

What do the symbols mean in the Logarithm formula?

log⁡b(x) denotes the logarithm base b of x. log⁡ usually means log⁡10; ln⁡ means log⁡e.

Why is the Logarithm formula important in Math?

Without logs you can only guess and check an equation like 2x=50; with them, x=log⁡50log⁡2≈5.64 in one step. They answer every 'how long until' question in growth and decay: doubling times, half-lives, loan payoff periods. They also explain why pH 3 against pH 5 means 100 times the acidity, not slightly more.

What do students get wrong about Logarithm?

The procedure for logarithm is the easy part; the trap is treating a log as division. Asking "Am I asking 'what exponent on the base gives this number?'" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Logarithm formula?

Before studying the Logarithm formula, you should understand: exponential function, inverse function.

The full guide

This formula is covered in depth in Exponents and Logarithms: Rules, Proofs, and Applications.