Prerequisites: lines, exponents, logs, trig

Definition of the logarithm

The logarithm logab\log_a b is an exponent: aa to what power gives bb?

logab=c    ac=b,logaxy=logax+logay\begin{gathered} \log_a b=c \iff a^c=b, \\[4pt] \log_a xy=\log_a x+\log_a y \end{gathered}

The logarithm logab\log_a b answers one question: aa to what power gives bb? The definition is logab=c    ac=b\log_a b=c \iff a^c=b, so log28=3\log_2 8=3 is just 23=82^3=8 rewritten.

Translating the exponent rules into logarithms gives three rules.

logaxy=logax+logay,logaxy=logaxlogay,logaxk=klogax\begin{gathered} \log_a xy=\log_a x+\log_a y, \\[4pt] \log_a \frac{x}{y}=\log_a x-\log_a y, \\[4pt] \log_a x^k=k\log_a x \end{gathered}

In calculus, logx\log x means the natural logarithm (base ee). The rule (logx)=1x(\log x)'=\frac{1}{x} follows from this definition and the derivative of exe^x.

xyy = 2ˣy = log₂ x
log₂ x is the inverse of 2ˣ: the two graphs are mirror images across y=x.Drag the dot

Examples

  1. 01Given log5125=3\log_{5}125 = 3, evaluate:log5625log5125\displaystyle \log_{5}625 - \log_{5}125AnswerHide
    Answer1\displaystyle 1
  2. 02Given log24=2\log_{2}4 = 2, evaluate:log22+log24\displaystyle \log_{2}2 + \log_{2}4AnswerHide
    Answer3\displaystyle 3
  3. 03Write in exponential form:log28=3\displaystyle \log_{2}8 = 3AnswerHide
    Answer23=8\displaystyle 2^{3} = 8
  4. 04Given log24=2\log_{2}4 = 2, evaluate:log28log24\displaystyle \log_{2}8 - \log_{2}4AnswerHide
    Answer1\displaystyle 1
  5. 05Given log28=3\log_{2}8 = 3, evaluate:log24+log28\displaystyle \log_{2}4 + \log_{2}8AnswerHide
    Answer5\displaystyle 5
  6. 06Given log22=1\log_{2}2 = 1, evaluate:log24+log22\displaystyle \log_{2}4 + \log_{2}2AnswerHide
    Answer3\displaystyle 3

FAQ

Q1What is the base of log x?Show answerHide
A
In this app and in calculus, logx\log x with no base means the natural logarithm (base ee). The common logarithm is written log10x\log_{10} x.

Practice this pattern in the app, 5 problems a day.

Download on the App Store
This topic
Definition of the logarithm

Published 2026-09-04 · Updated 2026-09-05