Logarithm- Rules and Applications

What Are Logarithms?

A logarithm answers one simple question: what exponent produces a given number?

If 23 = 8, then log2(8) = 3. The base is 2, the result is 3. That's the whole idea.

Logarithms are the inverse of exponentiation. They flip the operation around. Instead of raising a base to find a result, you start with the result and work backward to find the exponent.

You encounter logarithms more than you realize. The Richter scale for earthquakes, pH in chemistry, sound decibels, and compound interest calculations all use logs.

Logarithm Rules You Actually Need

These four rules cover 95% of logarithm problems you'll face. Memorize them.

Product Rule

logb(xy) = logb(x) + logb(y)

The log of a product equals the sum of the logs. You can split multiplication inside a log into addition outside.

Quotient Rule

logb(x/y) = logb(x) - logb(y)

The log of a quotient equals the difference of the logs. Division becomes subtraction.

Power Rule

logb(xn) = n ยท logb(x)

The exponent comes down as a multiplier. This rule does most of the heavy lifting in simplification problems.

Change of Base Formula

logb(x) = logk(x) / logk(b)

Convert between bases using any convenient base k. Most calculators give you log (base 10) and ln (base e), so this formula bridges the gap.

Common Logarithm Bases

Three bases show up constantly. Know them cold.

Logarithm Properties at a Glance

RuleFormulaExample
Productlogb(xy) = logbx + logbylog2(8ร—4) = 3 + 2 = 5
Quotientlogb(x/y) = logbx - logbylog3(81/9) = 4 - 2 = 2
Powerlogb(xn) = n ยท logbxlog5(253) = 3 ร— 2 = 6
Change of Baselogbx = logkx / logkblog210 = log 10 / log 2 โ‰ˆ 3.32
Identitylogb(b) = 1log10(10) = 1
Zero Propertylogb(1) = 0log7(1) = 0

How to Solve Logarithm Problems

Here's a step-by-step approach for most problems:

Simplifying Log Expressions

Example: Simplify log2(8) + log2(4)

  1. Convert each log to its exponent form: log2(8) = 3 because 23 = 8
  2. Convert the second term: log2(4) = 2 because 22 = 4
  3. Add: 3 + 2 = 5
  4. Verify: 25 = 32, and log2(8ร—4) = log2(32) = 5 โœ“

Solving Log Equations

Example: Solve log3(x) + log3(x-2) = 2

  1. Combine using the product rule: log3(x(x-2)) = 2
  2. Convert to exponential form: x(x-2) = 32
  3. Solve: x2 - 2x = 9
  4. Rearrange: x2 - 2x - 9 = 0
  5. Use quadratic formula: x = (2 ยฑ โˆš(4 + 36))/2 = (2 ยฑ โˆš40)/2
  6. Solutions: x โ‰ˆ 4.58 or x โ‰ˆ -1.58
  7. Reject negative solution โ€” logs of negative numbers don't exist
  8. Answer: x โ‰ˆ 4.58

Where Logarithms Actually Show Up

Science and Engineering

The Richter scale measures earthquake magnitude on a log scale. A magnitude 6 earthquake is 10 times stronger than a magnitude 5. This compresses a huge range of values into manageable numbers.

pH in chemistry is -log10[H+]. Neutral water has pH 7. Each unit change represents a 10x change in acidity.

Finance and Compound Interest

Continuous compound interest uses the natural log: A = Pert. The "e" base simplifies calculus operations in financial models.

To find how long it takes money to double at a given rate r: t = ln(2)/r. A 7% return doubles your money in roughly 10 years.

Computer Science

Binary search, merge sort, and many algorithms have O(log n) time complexity. Each step halves the problem size.

Information entropy uses log2. A fair coin flip gives 1 bit of information. A deck of cards gives log2(52!) โ‰ˆ 225 bits.

Sound and Signal Processing

Decibels measure sound pressure logarithmically: dB = 10 ร— log10(P/P0). This matches human hearing response, which is roughly logarithmic.

Solving Exponential Equations with Logs

Exponential equations often need logs to solve, because you can't isolate the variable when it's in an exponent.

Example: 5x = 127

  1. Take log of both sides: log(5x) = log(127)
  2. Apply power rule: x ยท log(5) = log(127)
  3. Solve for x: x = log(127) / log(5)
  4. Calculate: x โ‰ˆ 2.903 / 0.699 โ‰ˆ 4.15
  5. Verify: 54.15 โ‰ˆ 127 โœ“

Natural Logarithm Deep Dive

The natural log (ln) deserves special attention. Base e appears constantly in natural phenomena because it simplifies the math of growth and decay.

Key natural log identities:

Derivatives involving ln are clean: d/dx[ln(x)] = 1/x. This is why calculus textbooks love natural logs.

Common Mistakes to Avoid

Quick Reference: Logarithm to Exponential Conversion

Whenever you're stuck on a log problem, convert to exponential form. It usually clarifies the path forward.

logb(x) = y โŸบ by = x

The base stays the base. The log result becomes the exponent. The argument becomes the result.