Math Solver Free

Logarithm Formulas

A logarithm is an exponent in disguise — and its formulas are the exponent laws read backwards. Here are the definition, the product, quotient and power rules, change of base, and the ln versus log₁₀ distinction, each with a worked example.

Circle FormulasA = πr² · C = 2πr · d = 2rArea, circumference, diameter and radius — the whole circle family, worked both ways.Slope Formulam = (y₂ − y₁) / (x₂ − x₁)Rise over run from two points, the four slope types, and the sign mistakes to avoid.Geometric Sequence Formulasaₙ = a₁·rⁿ⁻¹ · Sₙ · S∞The nth term, the finite sum and the infinite sum — each verified by direct addition.Quadratic Formulax = (−b ± √(b² − 4ac)) / 2aSolve any ax² + bx + c = 0: the formula, the discriminant, and a worked example.Distance Formulad = √((x₂ − x₁)² + (y₂ − y₁)²)Distance between two points from Pythagoras: formula, reasoning and a 6-8-10 example.Midpoint FormulaM = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)The point exactly halfway between two points is just the average of their coordinates.Pythagorean Theorema² + b² = c²a² + b² = c² in right triangles: check 3-4-5, find a missing leg or the hypotenuse.Area FormulasA = lw, A = ½bh, A = ((a + b) / 2)h, A = (d₁d₂) / 2Rectangle, triangle, parallelogram, trapezoid and rhombus areas on one page, with worked examples.Volume FormulasV = s³, V = πr²h, V = (4/3)πr³Cube, cuboid, cylinder, cone, sphere and triangular prism volumes, with worked examples.Exponent Formulas (Laws of Exponents)aᵐ · aⁿ = aᵐ⁺ⁿ, (aᵐ)ⁿ = aᵐⁿ, a⁻ⁿ = 1/aⁿProduct, quotient, power, zero, negative and fractional exponent rules with micro-examples.Derivative Formulasd/dx xⁿ = n·xⁿ⁻¹Power, sum, exponential, log and trig derivative rules with a worked example.Integral Formulas∫xⁿ dx = xⁿ⁺¹/(n+1) + CPower rule, 1/x, eˣ, sin and cos antiderivatives, the + C, and definite integrals as area.Standard Deviation Formulaσ = √[ Σ(xᵢ − μ)² / N ]Population σ with N and sample s with n − 1, built on the variance, with a fully worked dataset.Probability FormulasP(E) = favourable / totalBasic probability, complement, addition and multiplication rules, permutations and combinations, with dice and counting examples.Compound Interest FormulaA = P(1 + r/n)^(nt)A = P(1 + r/n)^(nt) and continuous compounding Pe^(rt), with $1,000 at 5% for 10 years worked both ways.Simple Interest FormulaI = P · r · tI = Prt and A = P + I, with $2,000 at 6% for 4 years worked to I = $480 and A = $2,480.Arithmetic Sequence Formulasaₙ = a₁ + (n − 1)dThe nth term aₙ = a₁ + (n − 1)d and the sum Sₙ = n/2 · (a₁ + aₙ), with 3, 7, 11, … worked to a₂₀ = 79 and S₂₀ = 820.Percentage Formulas% change = (new − old) / old × 100Percent of a number, percentage change and finding the whole, plus the percentage-points trap, with worked examples.Trigonometric Ratiossin θ = opposite / hypotenusesin, cos and tan on a right triangle, the reciprocal ratios csc, sec and cot, and the exact 30°/45°/60° values.

The definition: log_b(x) = y means exactly bʸ = x. Read log_b(x) as the question "to what power must I raise b to get x?" The number b is the base (b > 0, b ≠ 1), x is the argument (x > 0 — logarithms of zero and negatives are undefined for real numbers), and the answer y is the exponent. Every logarithm formula on this page is this one sentence, or an exponent law translated through it.

The Rules, as Formulas

  • Product rule: log_b(xy) = log_b(x) + log_b(y). The log of a product is the sum of the logs — because multiplying powers adds exponents. Example below.
  • Quotient rule: log_b(x / y) = log_b(x) − log_b(y). The log of a quotient is the difference of the logs, mirroring aᵐ / aⁿ = aᵐ⁻ⁿ.
  • Power rule: log_b(xⁿ) = n · log_b(x). An exponent inside the log comes down in front as a multiplier — the single most useful rule for solving exponential equations.
  • Change of base: log_b(x) = log(x) / log(b) = ln(x) / ln(b). Any base converts to any other, which is how calculators (which only have log₁₀ and ln buttons) evaluate every logarithm.
  • Two anchors: log_b(1) = 0 (because b⁰ = 1) and log_b(b) = 1 (because b¹ = b).

ln Versus log₁₀

Two bases dominate. log with no base written means log₁₀, the common logarithm: log(100) = 2 because 10² = 100. ln is the natural logarithm, base e ≈ 2.718: ln(x) = log_e(x), used throughout calculus and growth/decay work because e is the base that makes the derivative of eˣ equal itself. They are the same function family at different bases, and change of base converts freely: ln(x) = log(x) / log(e) ≈ 2.303 × log(x). When a formula says log with no base in advanced work, context decides — in most science and engineering it is log₁₀ on calculators and ln where e is involved.

Worked Example 1: log₂(32) = 5

Ask the definition's question: 2 to what power gives 32? Count: 2¹ = 2, 2² = 4, 2³ = 8, 2⁴ = 16, 2⁵ = 32. The exponent is 5, so log₂(32) = 5. Whole-number answers like this occur exactly when the argument is a clean power of the base.

Worked Example 2: log(5) + log(20) = 2

Run the product rule backwards: log(5) + log(20) = log(5 × 20) = log(100). Base 10: 10² = 100, so log(100) = 2. (Decimal check: log(5) ≈ 0.699 and log(20) ≈ 1.301, summing to 2.000 ✓.)

Worked Example 3: log₂(24) by Change of Base

24 is not a power of 2, so convert: log₂(24) = ln(24) / ln(2) = 3.178 / 0.693 ≈ 4.585. The answer sits between log₂(16) = 4 and log₂(32) = 5, closer to 5 — exactly where 24 sits between 16 and 32, nearer the top on the multiplicative scale. Any calculator route agrees: log(24) / log(2) gives the same 4.585.

Common Mistakes

  • Splitting a sum inside the log. log(x + y) has no rule — it is not log(x) + log(y). The product rule needs a product inside: log(xy).
  • Dividing the logs for a quotient inside. log(x / y) = log(x) − log(y), a subtraction — not log(x) / log(y). The division of logs belongs only to change of base.
  • Dropping the power-rule exponent halfway. log(x³) = 3 log(x); forgetting to bring the 3 down breaks every exponential equation solved this way.
  • Taking logs of non-positive numbers. log(0) and log(−5) are undefined in real numbers: no power of a positive base is zero or negative.
  • Mixing up ln and log mid-calculation. Pick one base per calculation; if you switch, convert everything with change of base — mixing ln(24) with log(2) in one fraction gives a wrong "answer" that looks plausible.

Evaluate any logarithm in the logarithm calculator, read the standard treatment in OpenStax College Algebra, and browse the full formulas library for more reference pages.

Frequently Asked Questions

What is the definition of a logarithm?

log_b(x) = y means bʸ = x: the logarithm is the exponent to which the base b must be raised to produce x. So log₂(32) = 5 because 2⁵ = 32.

What are the main logarithm rules?

Product: log_b(xy) = log_b(x) + log_b(y). Quotient: log_b(x/y) = log_b(x) − log_b(y). Power: log_b(xⁿ) = n·log_b(x). Plus the anchors log_b(1) = 0 and log_b(b) = 1.

How does change of base work?

log_b(x) = log(x) / log(b), using any convenient base on the right. For log₂(24): ln(24) / ln(2) ≈ 3.178 / 0.693 ≈ 4.585.

What is the difference between ln and log?

log without a base means log₁₀ (common logarithm); ln is log base e ≈ 2.718 (natural logarithm). They convert by ln(x) ≈ 2.303 × log₁₀(x).

Why is log(5) + log(20) equal to 2?

By the product rule run backwards: log(5) + log(20) = log(5 × 20) = log(100) = 2, since 10² = 100.

Can you take the logarithm of a negative number?

Not in real numbers. A positive base raised to any real power stays positive, so log_b(x) is only defined for x > 0.

Related Tools & Guides