Logarithms

Learning Objectives

  • Convert between exponential and logarithmic forms and explain inverse functions.
  • Enforce base b>0b>0, b≠1b\neq1, and positive argument requirements.
  • Read the shape, intercepts, and asymptotes of exponential and logarithmic graphs.
  • Apply product, quotient, power, and change-of-base laws with their domains.
  • Interpret horizontal and vertical translations of logarithmic functions.
  • Solve exponential and logarithmic equations and reject extraneous candidates.

A logarithm is the exponent needed to obtain a positive argument from an admissible positive base. Logarithms turn multiplicative relationships into additive ones and are useful for solving for a variable appearing in an exponent.

Definition and Domain

For real logarithms, the base must satisfy b>0b>0 and b≠1b\ne1, and the argument must satisfy x>0x>0. Then log⁡b(x)=y\log_b(x)=y if and only if by=xb^y=x. The exponential function y=bxy=b^x has positive outputs; the logarithm y=log⁡b(x)y=\log_b(x) is its inverse and thus has a positive-input domain. The logarithmic output yy may be any real number.

Fundamental Equivalence

Real inverse relationship with an admissible base and positive argument.

log⁡b(x)=y⟺by=x,b>0, b≠1, x>0\log_b(x)=y\quad\Longleftrightarrow\quad b^y=x,\qquad b>0,\ b\ne1,\ x>0

Variables

SymbolDescriptionUnit
bbPositive base, not equal to one-
xxStrictly positive logarithm argument-
yyReal logarithm value and corresponding exponent-
Exponential and logarithm are inverse graphsOn equal-scale axes, exact example points from y equals two to the x reflect over the dotted y equals x line to points on y equals log base two x. The logarithm is drawn only for positive x and approaches the vertical axis without crossing it.xyy = xy = 2ˣ: (0,1), (1,2)y = log₂ x: (1,0), (2,1)Schematic equal-unit axes; marked coordinates show the inverse swap.

Reading the Inverse Graphs

The pair (0,1)(0,1) on y=2xy=2^x becomes (1,0)(1,0) on y=log⁡2xy=\log_2 x. Reflection exchanges input and output. For b>1b>1 the exponential and logarithm increase; when 0<b<10<b<1 they both decrease. The logarithm's vertical asymptote is x=0x=0, and it has no values at or left of that boundary.

Common and Natural Logarithms

The common logarithm is log⁡(x)=log⁡10(x)\log(x)=\log_{10}(x); the natural logarithm is ln⁡(x)=log⁡e(x)\ln(x)=\log_e(x), where e≈2.71828e\approx2.71828. Both require x>0x>0.

Interactive Logarithmic Functions

Explore base values above one and strictly between zero and one. Observe how the graph reflects or changes monotonic direction without admitting nonpositive arguments.

Logarithms & Exponentials Explorer

Base (b)2

Domain: x>0x > 0

Base: b>1b > 1

Asymptote: The log curve approaches x=0x = 0 (the y-axis) but never touches it, because by≠0b^y \neq 0.

Identity: blog⁡b(x)=xb^{\log_b(x)} = x

Logarithmic Function

y=log⁡2(x)y = \log_{2}(x)

Exponential Function

y=2xy = 2^x

Reflection Line

y=xy = x
xy

Logarithm Laws and Their Conditions

For b>0b>0, b≠1b\ne1, and positive x,yx,y, the following are valid. For an arbitrary real exponent pp, xpx^p is positive because x>0x>0.

  • Product: log⁡b(xy)=log⁡bx+log⁡by\log_b(xy)=\log_b x+\log_b y.
  • Quotient: log⁡b(x/y)=log⁡bx−log⁡by\log_b(x/y)=\log_b x-\log_b y.
  • Power: log⁡b(xp)=plog⁡bx\log_b(x^p)=p\log_b x.
  • Change of base: log⁡bx=ln⁡xln⁡b=log⁡cxlog⁡cb\log_b x=\dfrac{\ln x}{\ln b}=\dfrac{\log_c x}{\log_c b} for c>0c>0, c≠1c\ne1.

These are not sum or difference rules: log⁡b(x+y)\log_b(x+y) is generally not log⁡bx+log⁡by\log_b x+\log_b y. Condensing several logarithms never removes the original argument-domain restrictions.

Change of base measures the same exponentA number line with inputs one, two, four, eight and corresponding log base two exponents zero, one, two, three. Both natural-log and common-log quotients give identical exponent positions.Which power of 2 gives x?1248x:log₂ x:0123ln x / ln 2log₁₀ x / log₁₀ 201230123Example: log₂ 8 = 3 = ln 8 / ln 2 = log₁₀ 8 / log₁₀ 2Exact identities, not data estimates. All shown inputs are positive.

Why Change of Base Works

If by=xb^y=x, taking natural logs gives yln⁡b=ln⁡xy\ln b=\ln x, hence y=ln⁡x/ln⁡by=\ln x/\ln b. Since b≠1b\ne1, its logarithm is nonzero and the division is defined. Choosing common logs instead gives the same value, as the visual confirms for x=1,2,4,8x=1,2,4,8 at base 2.

Laws of Logarithms Simulation

Choose a law and valid positive inputs. Compare the original expression and transformed form numerically without violating the argument conditions.

Laws of Logarithms Sandbox

Expanded vs Condensed Values
Condensed Left Side
log⁡10(10⋅5)\log_{10}(10 \cdot 5)
1.6990
Expanded Right Side
log⁡10(10)+log⁡10(5)\log_{10}(10) + \log_{10}(5)
1.6990
Adjust sliders to watch both condensed and expanded mathematical equations update in real-time, verifying logarithmic parity.

Horizontal and Vertical Shifts

For the base graph f(x)=log⁡bxf(x)=\log_b x, the shifted graph g(x)=log⁡b(x−h)+kg(x)=\log_b(x-h)+k moves right by hh and up by kk (negative values indicate left/down). Its domain is x>hx>h and vertical asymptote is x=hx=h. The value of kk changes output heights but not the domain. For example g(x)=log⁡2(x−1)+1g(x)=\log_2(x-1)+1 is right one, up one, with domain x>1x>1.

Horizontal and vertical logarithmic translationsParent graph y equals log base two x has vertical asymptote x equals zero and points one zero and two one. Shifted graph y equals log base two of x minus one plus one has vertical asymptote x equals one and points two one and three two; it is translated right one unit and up one unit.012345xyf(x)=log₂ x; x>0g(x)=log₂(x-1)+1; x>1Dashed lines: asymptotes x=0 and x=1; point labels verified algebraically.

Check the Translation

The base point (1,0)(1,0) translates to (2,1)(2,1), and (2,1)(2,1) to (3,2)(3,2). The shifted function has no real value at x=1x=1 or to its left. The curves are schematic; the marked points and asymptotes are the exact checks.

Solving Equations with Domain Checks

In an exponential equation, isolate the power and apply a logarithm to a positive result. In a logarithmic equation, state all original positive-argument inequalities first. Condense only using identities valid on that domain, exponentiate, and substitute each candidate back into the original equation. Squaring, condensing, or multiplying by expressions can otherwise introduce inadmissible candidates.

Solving Exponential Equations

  1. Isolate the exponential expression so the right-hand side is positive.
  2. Take logarithms of both positive sides.
  3. Use the power rule to bring the exponent down.
  4. Solve the resulting algebraic equation; check the original exponential equality.

Solving Logarithmic Equations

  1. Record the original argument constraints (>0>0) and admissible bases.
  2. Apply logarithm laws only where their inputs satisfy those constraints.
  3. Isolate the logarithm, then convert to exponential form.
  4. Solve and substitute every candidate back into the original equation.
  5. Reject any candidate that makes an original logarithm undefined.

Interpret a Base-Ten Logarithmic Scale

For a positive dimensionless ratio I/I0I/I_0, the idealized index L=log⁡10(I/I0)L=\log_{10}(I/I_0) increases by one when the ratio is multiplied by ten. A change of two corresponds to a factor of 100100. This relationship alone is not a complete definition of earthquake magnitude, decibel sound level, or a particular scientific standard; each application has additional conventions.

Positive Ratios Are Required

L=log⁡10(II0),I>0, I0>0L=\log_{10}\left(\frac{I}{I_0}\right),\quad I>0,\ I_0>0

The ratio is dimensionless and strictly positive; the base 1010 satisfies the logarithm-base restrictions.

Exploring a Logarithmic Scale

Use the explorer to compare additive steps in LL with multiplicative changes in a positive reference ratio.

Linear vs. Logarithmic Scale

1100M

Linear Scale

Value:

1.0k

Notice how the linear bar barely moves for small values, then shoots off completely for large ones.

Logarithmic Scale (Base 10)

log⁡10(Value):\log_{10}(\text{Value}):

3.0

The logarithmic scale grows proportionally to the exponent, compressing huge ranges into manageable numbers.

Order of Magnitude: An increase of +1+1 on a Base-10 logarithmic scale means the underlying value gets 10 times larger. An increase of +2+2 means it gets 100 times larger.

Richter Scale

A magnitude 6.0 earthquake has 10 times the wave amplitude of a 5.0.

Decibels (dB)

Every 10 dB increase represents a 10-fold increase in sound intensity.

pH Scale

A pH of 4 has 10 times the hydrogen ion concentration of pH 5.

Key Takeaways
  • log⁡bx=y\log_b x=y means by=xb^y=x, with b>0b>0, b≠1b\ne1, and x>0x>0.
  • Exponential and logarithmic graphs are reflections across y=xy=x; a log graph has a vertical asymptote at the input boundary.
  • Product, quotient, and power laws transform multiplication, division, and powers, not addition of arguments.
  • Change of base divides logarithms by the logarithm of the original base.
  • In log⁡b(x−h)+k\log_b(x-h)+k, the boundary shifts to x=hx=h and the graph translates right by hh and up by kk.
  • Every proposed solution of a logarithmic equation must pass the original domain conditions.

References