Exponentials and Logarithms

Distinguish additive change from exponential growth and decay, then read logarithms as inverse exponents. Use domains and logarithm rules carefully when moving between products, sums, powers, and differences.

An exponential function places the changing quantity in the exponent, so equal steps in the input produce equal multiplying factors in the output. A logarithm reverses that relationship by asking which exponent produced a given positive value.

Exponential Change Uses a Fixed Factor

Compare the linear function

f(x)=2xf(x)=2x

with the exponential function

g(x)=2x.g(x)=2^x.

Increasing xx by 11 adds 22 to f(x)f(x), but it multiplies g(x)g(x) by 22:

xx2x2x2x2^x
001
122
244
368
4816

Linear change adds a fixed amount. Exponential change multiplies by a fixed factor. More generally, if g(x)=bxg(x)=b^x, then:

g(x+1)=bx+1=bbx=bg(x).g(x+1)=b^{x+1}=b\cdot b^x=b\,g(x).

For a real-valued exponential function defined for every real input, the base must satisfy b>0b>0. The behavior depends on the base:

  • if b>1b>1, the function grows as xx increases;
  • if 0<b<10<b<1, the function decays as xx increases;
  • if b=1b=1, the function is constant because 1x=11^x=1.

A negative base can be raised to integer powers, but it does not produce a real value for every real exponent. It therefore does not define the same kind of real exponential function on all real inputs.

Exercise: Continue exponential growth

If g(x)=3xg(x)=3^x, what is g(4)g(4)?

Compute it first, then check your number.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintExpand the power

Write four factors of 33.

SolutionMultiply by the fixed factor

Evaluate the power:

34=3333=81.3^4=3\cdot3\cdot3\cdot3=81.

Each increase of 11 in the exponent multiplies the output by 33.

Exercise: Trace exponential decay

If h(x)=(12)xh(x)=\left(\frac{1}{2}\right)^x, what is h(3)h(3)?

Compute it first, then check your number.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintUse the base as the repeated factor

Expand the power as 121212\frac{1}{2}\cdot\frac{1}{2}\cdot\frac{1}{2}.

SolutionMultiply by one-half at each step

The value is:

h(3)=(12)3=18=0.125.h(3)=\left(\frac{1}{2}\right)^3 =\frac{1}{8} =0.125.

Because the base lies between 00 and 11, each increase in xx makes the output smaller.

Why Base (e) Appears Often

The constant

e2.71828e\approx2.71828

is a particularly useful exponential base. The function exe^x, also written exp(x)\exp(x), describes continuous proportional change particularly cleanly. Later, calculus will show that its rate of change at every point is equal to its current value.

For every real xx, exe^x is positive, e0=1e^0=1, and:

ex=1ex.e^{-x}=\frac{1}{e^x}.

These properties make the natural exponential useful in growth and decay, probability, differential equations, and optimization. In machine learning, it can also turn unrestricted real scores into positive quantities.

Logarithms Undo Exponentials

For a base b>0b>0 with b1b\ne1, the statement

logb(y)=x\log_b(y)=x

means exactly the same thing as:

bx=y.b^x=y.

Log base bb of yy equals xx exactly when bb raised to the power xx equals yy.

The input must satisfy y>0y>0 because a positive base raised to a real power always produces a positive value.

For example:

log2(8)=3\log_2(8)=3

because 23=82^3=8.

Logarithms can be zero or negative even though their inputs must be positive:

log10(1)=0,log10(0.01)=2.\log_{10}(1)=0,\qquad \log_{10}(0.01)=-2.

The natural logarithm, written ln(y)\ln(y), uses base ee. Some mathematical texts also use log(y)\log(y) for the natural logarithm, while calculators and other fields may use log(y)\log(y) for base 1010. A formula should state its convention when the base is not clear.

Exercise: Read a logarithm as an exponent

What is log10(1000)\log_{10}(1000)?

Compute it first, then check your number.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintRewrite as a power

Find xx such that 10x=100010^x=1000.

SolutionFind the required exponent

Rewrite the logarithmic statement as an exponential one:

10x=1000.10^x=1000.

Since 103=100010^3=1000, the required exponent is 33. Therefore:

log10(1000)=3.\log_{10}(1000)=3.

Logarithms Turn Products into Sums

For positive aa and cc, logarithms with the same valid base satisfy:

logb(ac)=logb(a)+logb(c).\log_b(ac)=\log_b(a)+\log_b(c).

Repeated products therefore become sums. Using the natural logarithm:

ln(ipi)=iln(pi).\ln\left(\prod_i p_i\right)=\sum_i\ln(p_i).

This form is useful whenever many positive factors are multiplied. For example, the direct product of many small probabilities may become too small for a computer to represent accurately, while the sum of their logarithms remains manageable.

Division becomes subtraction:

logb(ac)=logb(a)logb(c),\log_b\left(\frac{a}{c}\right)=\log_b(a)-\log_b(c),

and powers become multiplication:

logb(ak)=klogb(a).\log_b(a^k)=k\log_b(a).

These rules require positive logarithm inputs. They also do not turn addition into a simpler operation: in general, logb(a+c)logb(a)+logb(c)\log_b(a+c)\ne\log_b(a)+\log_b(c).

Exercise: Convert a product to a log sum

Which expression equals log(p1p2p3)\log(p_1p_2p_3) for positive probabilities?

Choose the equivalent expression

Select one choice, then check.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintUse the product rule repeatedly

First separate p1p_1 from p2p3p_2p_3, then separate the remaining product.

SolutionApply the logarithm product rule

Repeated use of the product rule gives:

log(p1p2p3)=log(p1)+log(p2)+log(p3).\log(p_1p_2p_3) =\log(p_1)+\log(p_2)+\log(p_3).

Every probability is positive, and the same logarithm base is used in each term. No averaging occurs unless a later formula explicitly divides by the number of terms.

Exercise: Check a logarithm input

Which expression is defined as a real logarithm?

Choose the valid input

Select one choice, then check.

Review

Not marked done.

Your checked work will be saved automatically.

Correct records the checked result. Done is your learning status, and you can undo it.

Clearing an answer or resetting code starts the response again. It does not remove Done or Review.

Your checked work will be saved automatically.

HintUse the range of an exponential

The value exe^x is positive for every real xx. A logarithm can therefore reverse it only for a positive input.

SolutionRequire a positive input

The expression ln(0.2)\ln(0.2) is defined because 0.2>00.2>0. Its value is negative because 0.20.2 lies between 00 and 11.

Neither ln(0)\ln(0) nor ln(2)\ln(-2) has a real value.

Use the Inverse Relationship as a Check

For positive yy:

exp(lny)=y,\exp(\ln y)=y,

and for every real xx:

ln(expx)=x.\ln(\exp x)=x.

The conditions differ because lny\ln y requires y>0y>0, while expx\exp x accepts every real xx. When exponentials and logarithms appear together, identify the base and domain before using the inverse relationship.

An exponential asks for the value produced by an exponent. A logarithm asks for the exponent that produced a positive value. Moving between these two forms is often the simplest way to evaluate an expression, solve an equation, or check a result.

Review

Not marked done.