Algebra II & Precalculus

Logarithm Rules Cheat Sheet

Check the domain before applying a logarithm law. Keep the inverse relationship beside the product, quotient and power rules.

On this page

Find a formula

Open a formula for its definition and a worked example.

Translate between powers and logs

  • Logarithm as a missing exponentloga x = y ⇔ ay = xFor real logs, a > 0, a ≠ 1 and x > 0.

    What it does

    A real logarithm gives the exponent a positive base other than 1 needs to reach a positive argument.

    Worked example

    Find log3 81.

    1. Write 81 = 3⁴.
    2. The missing exponent and logarithm value is 4.
    Link to this example
  • Two values to recognizeloga 1 = 0, loga a = 1

    What it does

    A nonzero base raised to zero gives 1, and to the first power gives the base itself.

    Worked example

    Evaluate log7 1 and log7 7.

    1. Since 7⁰ = 1, log7 1 = 0.
    2. Since 7¹ = 7, log7 7 = 1.
    Link to this example
  • Cancel a log against a matching powerloga(at) = t, alogₐ x = xThe second identity requires x > 0.

    What it does

    Exponentiation and logarithms with the same allowed base undo each other.

    Worked example

    Evaluate log5(5−2) and 5log₅ 12.

    1. The first gives the exponent −2.
    2. The second recovers the positive argument 12.
    Link to this example
  • Common and natural baseslog₁₀ x uses base 10, ln x = loge xBare log often means base 10 in school algebra. Check the convention in your course.

    What it does

    The common logarithm uses base 10, and the natural logarithm uses base e.

    Worked example

    Evaluate log₁₀(0.01) and ln(e³).

    1. Since 0.01 = 10−2, the common log is −2.
    2. Since e is the natural base, ln(e³) = 3.
    Link to this example
See Exponent Rules Cheat Sheet

Turn operations inside a log into simpler terms

  • A product becomes a sumloga(MN) = loga M + loga NM, N > 0.

    What it does

    The logarithm of a product of positive numbers equals the sum of their logarithms in the same base.

    Worked example

    Evaluate log2(4 × 8).

    1. Separate as log2 4 + log2 8.
    2. The sum is 2 + 3 = 5.
    Link to this example
  • A quotient becomes a differenceloga(M/N) = loga M − loga N, loga(1/M) = −loga MM, N > 0.

    What it does

    Dividing positive arguments subtracts their logs. A reciprocal is the special case with numerator 1.

    Worked example

    Evaluate log3(81/9) and log3(1/9).

    1. The quotient gives log3 81 − log3 9 = 4 − 2 = 2.
    2. The reciprocal gives 0 − 2 = −2.
    Link to this example
  • Pull out a powerloga(Mp) = p loga MUse M > 0.

    What it does

    A power on a positive argument becomes a coefficient multiplying its log.

    Worked example

    Evaluate log2(82/3).

    1. Pull out the exponent to get (2/3)log2 8.
    2. Since log2 8 = 3, the answer is 2.
    Link to this example

Switch the base

  • Evaluate with a convenient baseloga x = logb x/logb a = ln x/ln a = log₁₀ x/log₁₀ aa and b are positive and different from 1, and x > 0.

    What it does

    Change of base divides the new-base log of the argument by the new-base log of the original base.

    Worked example

    Find log4 8 using base 2, and write the equivalent natural-log expression.

    1. Using base 2 gives log2 8/log2 4 = 3/2.
    2. Using natural logs gives ln 8/ln 4, which has the same value.
    Link to this example
  • Exchange argument and baseloga b = 1/logb a

    What it does

    Exchanging the base and argument makes the two logarithms reciprocals when both are valid bases.

    Worked example

    Given log2 8 = 3, find log8 2.

    1. Reverse the base and argument and take the reciprocal of 3.
    2. The answer is 1/3 because 81/3 = 2.
    Link to this example
  • Benchmark values of the natural logln e = 1, ln 1 = 0

    What it does

    The natural log equals 1 at e and zero at 1 because it counts the powers of e.

    Worked example

    Evaluate ln(e) − 2 ln(1).

    1. Use e¹ = e and e⁰ = 1 to get 1 and 0.
    2. The difference is 1 − 2(0) = 1.
    Link to this example

Solve for an unknown

  • Set the arguments equalloga M = loga N ⇔ M = NKeep only candidates with M, N > 0.

    What it does

    A logarithm with a valid fixed base is one-to-one. Equal logs imply equal positive arguments.

    Worked example

    Solve log2(x + 1) = log2(7 − x).

    1. Set x + 1 = 7 − x to get x = 3.
    2. Both arguments are 4 at x = 3, so this solution is valid.
    Link to this example
  • Use the inverse operationloga x = k ⇔ x = ak. Also, ax = b ⇔ x = loga b.A real logarithm of b requires b > 0.

    What it does

    Translate a logarithmic equation to an exponential one, or a positive exponential equation to a logarithmic one.

    Worked example

    Solve log4 x = 3 and 3t = 20.

    1. The first is x = 4³ = 64.
    2. The second gives t = log3 20 = ln 20/ln 3.
    Link to this example
  • Combine a sum or expand a powerloga M + loga N = loga(MN), loga(Mp) = p loga MCheck the original arguments after solving. Combining terms can hide restrictions.

    What it does

    Product and power rules combine or expand logarithms while preserving the original positive-argument restrictions.

    Worked example

    Combine 2 log3 x + log3 9 and solve when it equals 4.

    1. For x > 0 this becomes log3(9x²) = 4, so 9x² = 81.
    2. Only x = 3 fits the original positive domain.
    Link to this example

Logarithms in calculus

  • Derivative of a logarithmd(ln x)/dx = 1/x, d(loga x)/dx = 1/(x ln a)Use x > 0 and a > 0, a ≠ 1.

    What it does

    The natural log’s derivative is 1/x. Other valid bases introduce an extra factor of 1/ln a.

    Worked example

    Differentiate ln x + log2 x for x > 0, then evaluate at x = 2.

    1. The derivative is 1/x + 1/(x ln 2).
    2. At x = 2 the value is 1/2 + 1/(2 ln 2).
    Link to this example
  • Integral of a reciprocal∫ dx/x = ln|x| + CUse an interval on one side of zero.

    What it does

    On an interval excluding zero, ln|x| differentiates to 1/x.

    Worked example

    Evaluate ∫−4−2 dx/x.

    1. At the upper endpoint ln|−2| = ln 2. At the lower endpoint ln|−4| = ln 4.
    2. Subtract to get ln 2 − ln 4 = −ln 2.
    Link to this example
  • Series about x = 0ln(1 + x) = x − x²/2 + x³/3 − x⁴/4 + ⋯The power series gives this function for −1 < x ≤ 1. The endpoint x = 1 converges by the alternating-series test.

    What it does

    The Maclaurin series of ln(1 + x) uses alternating powers with coefficients 1/n. Its terms shrink for |x| < 1.

    Worked example

    Approximate ln(1.1) using the first three nonzero terms.

    1. Substitute x = 0.1: 0.1 − 0.1²/2 + 0.1³/3.
    2. This is about 0.095333, with error at most the next term 0.1⁴/4 = 0.000025.
    Link to this example
See Derivatives cheat sheet

Preview the printable

Download the compact sheet for a quick review, or print the complete formula list from this page.

Practice these skills

Related references

Sources and review

Math Sheet prepares original print materials. See how we check formulas and printouts.

Browse all formula sheets →