Precalculus · Textbook draft · 10 minute reading

Logarithmic Functions and Their Laws

Define logarithms through inverse exponentials and derive their domain-dependent identities.

Before you begin

  • Exponentials, inverse functions, and domains.

Learning objectives

  • Convert between logarithmic and exponential statements.
  • Derive and apply logarithm laws.
  • Use change of base while retaining positive arguments.

An exponential model can calculate a quantity from elapsed time. Recovering the time requires an inverse function. Since bxb^x is one-to-one for a positive base b≠1b\ne1, each positive output corresponds to one real exponent. A logarithm names that exponent.

A logarithm is an inverse assignment

For b>0b>0, b≠1b\ne1,

log⁡by=x⟺bx=y,y>0.\log_b y=x\quad\Longleftrightarrow\quad b^x=y,\qquad y>0.

Thus log⁡28=3\log_2 8=3, log⁡2(1/4)=−2\log_2(1/4)=-2, and log⁡b1=0\log_b1=0. The logarithm’s domain is (0,∞)(0,\infty) and range is R\mathbb R. For b>1b>1 it increases; for 0<b<10<b<1 it decreases, following the corresponding exponential’s direction.

The inverse identities are blog⁡bx=xb^{\log_b x}=x for x>0x>0 and log⁡b(bx)=x\log_b(b^x)=x for real xx. These express different compositions on their appropriate domains.

The common logarithm uses base 10 and is often written log⁡10\log_{10} or log⁡\log in elementary contexts. The natural logarithm uses base ee and is written ln⁡\ln. In this book, ln⁡\ln always means base ee, and any other base is shown explicitly.

Exponent laws produce logarithm laws

Let u=bru=b^r and v=bsv=b^s be positive. Then uv=br+suv=b^{r+s}, so

log⁡b(uv)=log⁡bu+log⁡bv.\log_b(uv)=\log_bu+\log_bv.

Similarly, dividing exponentials gives log⁡b(u/v)=log⁡bu−log⁡bv\log_b(u/v)=\log_bu-\log_bv, and real powers on positive bases give log⁡b(ua)=alog⁡bu\log_b(u^a)=a\log_bu. Positivity of the logarithm arguments is part of each identity.

For example, ln⁡(x2)=2ln⁡x\ln(x^2)=2\ln x holds for x>0x>0, but the left side also exists for negative xx. On the full nonzero domain, the appropriate formula is ln⁡(x2)=2ln⁡∣x∣\ln(x^2)=2\ln|x|.

There is no corresponding rule log⁡b(u+v)=log⁡bu+log⁡bv\log_b(u+v)=\log_bu+\log_bv. With u=v=1u=v=1 in base 10, the proposed right side is zero while the left side is log⁡102\log_{10}2. The product rule comes from multiplication of exponentials, which is a different operation from adding their outputs.

Change of base

If y=log⁡bxy=\log_bx, then by=xb^y=x. Taking the natural logarithm and applying the power law gives yln⁡b=ln⁡xy\ln b=\ln x. Therefore

log⁡bx=ln⁡xln⁡b.\log_bx=\frac{\ln x}{\ln b}.

The denominator is nonzero because b≠1b\ne1. This permits a calculator using natural logarithms to evaluate any allowed base.

It also gives bx=exln⁡bb^x=e^{x\ln b}. The growth model A(1.05)tA(1.05)^t can therefore be written AektAe^{kt} with k=ln⁡1.05k=\ln1.05. The continuous exponential coefficient is about 0.048790.04879 per time unit, whereas the per-interval relative increase is 0.050.05. They describe the same curve using different parameters.

The graph exchanges input and output scales

The logarithm graph reflects the exponential in the line y=xy=x. The exponential’s horizontal approach to zero becomes the logarithm’s vertical behavior near input zero. For b>1b>1, log⁡bx\log_bx decreases without bound as xx approaches zero from the right and increases without bound as xx grows.

For g(x)=ln⁡(x−3)+2g(x)=\ln(x-3)+2, the domain is x>3x>3 and vertical asymptote is x=3x=3. The horizontal-axis intercept satisfies ln⁡(x−3)=−2\ln(x-3)=-2, giving x=3+e−2x=3+e^{-2}. Transforming the input has shifted the domain restriction along with the graph.

Logarithmic scales compare ratios

On a base-ten logarithmic scale, values 10, 100, and 1000 have positions 1, 2, and 3. Equal spacing means an equal multiplicative factor in the original variable. A change of two log units means a factor of 100, independent of the original magnitude.

Taking the logarithm of a dimensional quantity also requires a reference. An expression such as ln⁡(L/L0)\ln(L/L_0) uses a dimensionless ratio of two lengths. Changing the reference adds a constant to the logarithmic coordinate, consistent with the quotient law.

Exercises

  1. Evaluate log⁡381\log_3 81 and log⁡5(1/25)\log_5(1/25).
  2. Expand ln⁡(x3/y)\ln(x^3/y) on x,y>0x,y>0.
  3. Find the real domain of ln⁡(7−2x)\ln(7-2x).
  4. Express log⁡27\log_2 7 using natural logarithms.
  5. Solve log⁡10x=−3\log_{10}x=-3.
  6. Rewrite 500(0.9)t500(0.9)^t as 500ekt500e^{kt} and state the sign of kk.
Worked solutions
  1. The values are 4 and −2-2 because 34=813^4=81 and 5−2=1/255^{-2}=1/25.
  2. 3ln⁡x−ln⁡y3\ln x-\ln y. The positivity assumptions permit both separate logarithms.
  3. Require 7−2x>07-2x>0, giving x<7/2x<7/2.
  4. ln⁡7/ln⁡2\ln7/\ln2.
  5. The inverse exponential gives x=10−3=0.001x=10^{-3}=0.001.
  6. k=ln⁡0.9<0k=\ln0.9<0. The negative coefficient describes decay in the natural-base parameterization.
Your study progress · Optional

Keep your place

Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.

Progress is not saved unless you choose to mark the lesson complete.

Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.