Exponential and Logarithmic Functions

Learning goals

  • Translate between exponential and logarithmic statements with valid bases, arguments, and graph features
  • Apply logarithm laws while preserving the domain of the original expression
  • Use natural logarithms and change of base to solve exponential equations
  • Interpret exponential rates and solve targets, including half-life, within a stated model domain

Exponentials record multiplication

Equal input steps give equal multiplication factors in an exponential. Compare f(x)=3xf(x)=3^x with a linear function at the same consecutive whole-number inputs:

xx−2-2−1-1001122
3x3^x1/91/91/31/3113399
2x+52x+51133557799

In the exponential row, moving right one column multiplies by 33; moving left divides by 33. Its successive additions are not equal. The linear row instead adds 22 each step, while its successive ratios differ. Equal input steps distinguish these rules by ratios versus differences. Fractional exponents fill in between the exponential values. For example, 31/2=33^{1/2}=\sqrt3 because it is the positive number whose square is 33.

An exponential function has the form f(x)=bxf(x)=b^x, where the base bb is positive and different from 11. Its domain is all real numbers and its range is all positive numbers. The graph passes through (0,1)(0,1) and never reaches height zero.

If b>1b>1, larger inputs give larger outputs. If 0<b<10<b<1, larger inputs give smaller outputs: (1/3)x=3−x(1/3)^x=3^{-x} turns growth into decay. These claims concern positive bases. A negative base does not define a real value for every real exponent, and base 11 would give only the constant value 11.

The exponent laws you already use still apply. For a positive base bb and real exponents u,vu,v,

bu+v=bubv,bu−v=bubv,(bu)v=buv.\begin{aligned} b^{u+v}&=b^u b^v,\\ b^{u-v}&=\frac{b^u}{b^v},\\ (b^u)^v&=b^{uv}. \end{aligned}

A logarithm names the exponent

You can read an exponential statement in the other direction. Since 72=497^2=49, the exponent needed to make 4949 from base 77 is 22. We write log⁡749=2\log_7 49=2.

A logarithm is that required exponent. For a base b>0b>0 with b≠1b\ne1, and a positive argument MM,

log⁡bM=ymeansby=M.\log_b M=y\quad\text{means}\quad b^y=M.

The argument is the input to the logarithm. It must be positive because every output of byb^y is positive. Also, the required exponent is unique: a positive-base exponential with base different from 11 keeps increasing or keeps decreasing.

This reversal swaps the coordinates. The point (1,3)(1,3) on y=3xy=3^x corresponds to (3,1)(3,1) on y=log⁡3xy=\log_3 x. Swapping coordinates reflects the graphs across y=xy=x.

y = 3ˣ. y = log₃ x. Base 3 is greater than 1, so both curves rise. Reflecting across y = x sends (1, 3) on the exponential to (3, 1) on the logarithm. The exponential never reaches y = 0 and the logarithm never reaches x = 0, which is that same asymptote reflected. A coordinate plane carrying the exponential y = 3ˣ, its logarithm y = log₃ x, and the dashed diagonal line y = x. y = 3ˣ y = log₃ x -2 2 4 6 8 -2 2 4 6 8
The solid exponential curve and dashed logarithmic curve exchange coordinates across the diagonal. In base 3, the marked points are (1, 3) and (3, 1).

In this base-33 picture, the exponential approaches the horizontal axis y=0y=0 as xx becomes more negative, without reaching it. Thus y=0y=0 is its horizontal asymptote. The reflected logarithm has vertical asymptote x=0x=0: its outputs decrease without bound as its positive inputs approach zero. The diagonal y=xy=x is the reflection line. For any allowed base the two asymptotes are still y=0y=0 and x=0x=0; when 0<b<10<b<1, the exponential approaches zero as xx increases and the logarithm grows without bound as xx approaches zero from the right.

For every allowed base, y=log⁡bxy=\log_b x has domain (0,∞)(0,\infty) and range all real numbers. It passes through (1,0)(1,0) because b0=1b^0=1. For b>1b>1, it increases; for 0<b<10<b<1, it decreases. The reversal also gives

log⁡b(bx)=xfor every real x,\log_b(b^x)=x\quad\text{for every real }x,

and

blog⁡bM=Mfor M>0.b^{\log_b M}=M\quad\text{for }M>0.

In both statements the base is positive and different from 11. The positive-argument condition in the second one is essential.

Worked example 1 Evaluate a logarithm with a base below one

Problem. Find log⁡1/48\log_{1/4}8 exactly and check the value using an exponential equation.

Solution. Calling the answer yy means (1/4)y=8(1/4)^y=8.

Write both sides as powers of 22:

2−2y=23.2^{-2y}=2^3.

The exponents must agree, so −2y=3-2y=3 and y=−3/2y=-3/2.

Checking gives (1/4)−3/2=43/2=8(1/4)^{-3/2}=4^{3/2}=8. The logarithm is negative even though its argument is positive.

Check your understanding

Which statement has the same meaning as log⁡6(1/36)=−2\log_6(1/36)=-2?

Answer choices

Logarithm laws come from exponent laws

Multiplication of positive numbers becomes addition of their logarithms. For example, 25=5225=5^2 and 125=53125=5^3, so their product is 52+35^{2+3}. Its base-55 logarithm is therefore 2+32+3.

Why logarithms turn products into sums#

Take a fresh pair: 4=224=2^2 and 32=2532=2^5. Their product is 128=22+5128=2^{2+5}. Thus log⁡2(4⋅32)=7\log_2(4\cdot32)=7, the same as log⁡24+log⁡232=2+5\log_2 4+\log_2 32=2+5.

The numbers did not determine the reasoning; adding exponents did. For any positive M,NM,N and base b>0b>0 different from 11, set p=log⁡bMp=\log_b M and q=log⁡bNq=\log_b N. This says M=bpM=b^p and N=bqN=b^q. Multiplying gives

MN=bpbq=bp+q.MN=b^p b^q=b^{p+q}.

The exponent that produces MNMN is p+qp+q. Therefore log⁡b(MN)=log⁡bM+log⁡bN\log_b(MN)=\log_b M+\log_b N.

Division subtracts exponents, and raising a power multiplies exponents. For instance, 53/52=53−25^3/5^2=5^{3-2} and (52)4=52⋅4(5^2)^4=5^{2\cdot4}. Reading those exponent statements as logarithms gives the other two laws.

For the power law in general, let M>0M>0, let b>0b>0 with b≠1b\ne1, and let rr be real. Setting p=log⁡bMp=\log_b M gives M=bpM=b^p, so Mr=bprM^r=b^{pr}. The logarithm of MrM^r is therefore pr=rlog⁡bMpr=r\log_b M.

For every base b>0b>0 with b≠1b\ne1, positive arguments M,NM,N, and real number rr:

LawIdentity
Productlog⁡b(MN)=log⁡bM+log⁡bN\log_b(MN)=\log_b M+\log_b N
Quotientlog⁡b(M/N)=log⁡bM−log⁡bN\log_b(M/N)=\log_b M-\log_b N
Powerlog⁡b(Mr)=rlog⁡bM\log_b(M^r)=r\log_b M

Within each product, quotient, or power identity above, every logarithm uses the same base. There is no corresponding sum law: log⁡2(2+4)=log⁡26\log_2(2+4)=\log_2 6, while log⁡22+log⁡24=3\log_2 2+\log_2 4=3. These differ because 23=82^3=8, not 66.

Worked example 2 Expand while keeping the allowed inputs

Problem. Expand log⁡2(7x/(x+6)3)\log_2\left(7\sqrt{x}/(x+6)^3\right) for x>0x>0, keeping its stated domain.

Solution. The given domain makes xx, x\sqrt{x}, and x+6x+6 positive. Split the quotient, then its numerator product:

log⁡2(7x(x+6)3)=log⁡2(7x)−log⁡2((x+6)3)=log⁡27+12log⁡2x−3log⁡2(x+6).\begin{aligned} \log_2\left(\frac{7\sqrt{x}}{(x+6)^3}\right) &=\log_2(7\sqrt{x})-\log_2((x+6)^3)\\ &=\log_2 7+\tfrac12\log_2 x-3\log_2(x+6). \end{aligned}

The power rule applies because its inner arguments are positive. The expanded form is equivalent on the stated domain x>0x>0.

Domains can be lost during an expansion. The expression log⁡b(x2)\log_b(x^2) exists for every nonzero real xx, but 2log⁡bx2\log_b x exists only for positive xx. With an allowed base, the identity covering the whole original domain is log⁡b(x2)=2log⁡b∣x∣\log_b(x^2)=2\log_b|x| for x≠0x\ne0, because ∣x∣|x| is positive there.

Check your understanding

For which inputs is log⁡7((x−5)2)=2log⁡7∣x−5∣\log_7((x-5)^2)=2\log_7|x-5| valid?

Answer choices

Before solving a logarithmic equation, restrict the inputs so that every original argument is positive. For an allowed base bb and positive A,BA,B, equal logarithms imply equal arguments: raising bb to both sides of log⁡bA=log⁡bB\log_b A=\log_b B gives A=BA=B by the exponential-logarithm reversal.

Worked example 3 Solve a logarithmic equation and check its candidates

Problem. Solve log⁡5(x2−4)=log⁡5(3x+6)\log_5(x^2-4)=\log_5(3x+6) for real xx. Check every candidate in the original equation.

Solution. The first argument is positive for x<−2x<-2 or x>2x>2. The second requires x>−2x>-2. Together these restrictions give x>2x>2.

On that domain, equal logarithms have equal arguments:

x2−4=3x+6.x^2-4=3x+6.

Rearrange and factor:

x2−3x−10=0,(x−5)(x+2)=0.\begin{aligned} x^2-3x-10&=0,\\ (x-5)(x+2)&=0. \end{aligned}

The candidates are 55 and −2-2.

At x=−2x=-2, both original arguments are zero. This violates x>2x>2, so reject it.

At x=5x=5, both arguments are 21>021>0, so the original equation holds. The only solution is x=5x=5.

The natural base and calculator values

The constant ee is a particular positive number, approximately 2.718282.71828. A natural logarithm, written ln⁡x\ln x, is a logarithm with base ee: ln⁡x=log⁡ex\ln x=\log_e x. Thus ln⁡(e4)=4\ln(e^4)=4 and eln⁡13=13e^{\ln 13}=13. The second statement requires the positive argument 1313; in general, eln⁡x=xe^{\ln x}=x only for x>0x>0.

Recall the compounding description from Precalculus: the factors (1+1/n)n(1+1/n)^n approach ee as the positive integer nn grows. For example, n=1,10,100n=1,10,100 give 22, approximately 2.593742.59374, and approximately 2.704812.70481. Later calculus will justify this connection. Here ee is a constant, just as π\pi is a constant. A calculator’s log⁡\log key usually means base 1010, while its ln⁡\ln key means base ee. Check the base when reading a formula or entering it.

You can evaluate another base using either key. To find log⁡411\log_4 11, write 4y=114^y=11 and take natural logarithms. The power rule gives yln⁡4=ln⁡11y\ln4=\ln11, so y=ln⁡11/ln⁡4y=\ln11/\ln4.

The same steps give change of base. For bases b,cb,c that are positive and different from 11, and M>0M>0,

log⁡bM=log⁡cMlog⁡cb.\log_b M=\frac{\log_c M}{\log_c b}.

The denominator is nonzero because b≠1b\ne1. The quotient is an exact value; a rounded calculator decimal is an approximation.

Worked example 4 Isolate an exponential before taking a logarithm

Problem. Solve 11e0.4x=4411e^{0.4x}=44 for real xx. Give an exact value, approximate it to three decimal places, and check the exact value.

Solution. Divide by 1111 first:

e0.4x=4.e^{0.4x}=4.

Taking natural logarithms reverses the exponential: 0.4x=ln⁡40.4x=\ln4. Therefore

x=ln⁡40.4≈3.466.x=\frac{\ln4}{0.4}\approx3.466.

The logarithmic expression is exact. The decimal is rounded to three decimal places. Substitution into the original equation using the exact expression gives 11eln⁡4=4411e^{\ln4}=44.

Check your understanding

What is the exact solution of 82z=158^{2z}=15?

Answer choices

Models need a time unit and a domain

A fixed percentage change means multiplying by the same factor each period. If a stored signal keeps 84%84\% of its strength each hour, a model starting at 9090 units is S(t)=90(0.84)tS(t)=90(0.84)^t. One hour leaves 90(0.84)90(0.84) units, and two hours leave 90(0.84)290(0.84)^2 units. The factor 0.84=1−0.160.84=1-0.16 means a 16%16\% decrease per hour.

In A(t)=A0btA(t)=A_0 b^t, let A0>0A_0>0, b>0b>0, and b≠1b\ne1. The initial value is A(0)=A0A(0)=A_0, and bb is the multiplication factor per chosen unit of tt. Growth has b>1b>1; decay has 0<b<10<b<1. If tt counts only completed periods, use nonnegative integers. If the model describes values between observations, a continuous time domain may be appropriate. State the interval where the model is intended to apply.

The natural-base form A(t)=A0ektA(t)=A_0e^{kt} describes the same kind of pattern. For example, e0.09(t+1)/e0.09t=e0.09e^{0.09(t+1)}/e^{0.09t}=e^{0.09}, so the factor per time unit is e0.09e^{0.09}, not 1.091.09. Generally b=ekb=e^k and k=ln⁡bk=\ln b. For A0>0A_0>0, positive kk gives growth, negative kk gives decay, and k=0k=0 gives a constant. The coefficient kk is often called the continuous growth or decay rate. It has reciprocal time units so that ktkt is dimensionless. Over a time span hh, the multiplication factor is ekhe^{kh} when both times are allowed. The parameter kk is not, in general, the percentage change per chosen time unit; that change is 100(ek−1)%100(e^k-1)\%. A positive change means growth, and a negative change means decay.

Worked example 5 Solve a target and check the model interval

Problem. A yeast culture’s mass is modeled by m(t)=14e0.18tm(t)=14e^{0.18t} grams for 0≤t≤60\le t\le6, with tt in days.

(A) Interpret the initial mass, exponent parameter, and daily factor.

(B) Find when the model gives 3030 grams, exactly and to the nearest hundredth of a day. Decide whether that time is within the model interval.

Solution. (A) The initial mass is 1414 grams. The exponent parameter is 0.180.18 per day, so the daily multiplication factor is e0.18e^{0.18}.

(B) To reach the target, first divide by the initial mass:

e0.18t=3014.e^{0.18t}=\frac{30}{14}.

The ratio compares two masses in the same units, so it is dimensionless. Taking natural logarithms gives 0.18t=ln⁡(30/14)0.18t=\ln(30/14), hence

t=ln⁡(30/14)0.18≈4.23 days.t=\frac{\ln(30/14)}{0.18}\approx4.23\text{ days}.

This time lies in [0,6][0,6], so it is a prediction within the stated model interval. An algebraic answer beyond day 66 would need additional evidence before being used as a prediction. The repeated-factor assumption may fail as nutrients run out; a fit over a short interval does not establish indefinite growth.

The half-life is the time needed for a positive exponentially decaying quantity to halve. Suppose A(t)=45e−0.12tA(t)=45e^{-0.12t} milligrams for 0≤t≤200\le t\le20, with tt in hours. Half the initial amount is 22.522.5 milligrams. Dividing the equation 45e−0.12T=22.545e^{-0.12T}=22.5 by 4545 gives

e−0.12T=12.e^{-0.12T}=\frac12.

Taking natural logarithms gives −0.12T=ln⁡(1/2)=−ln⁡2-0.12T=\ln(1/2)=-\ln2, so T=ln⁡2/0.12≈5.78T=\ln2/0.12\approx5.78 hours. This is within the stated interval. For a model A(t)=A0ektA(t)=A_0e^{kt} with A0>0A_0>0 and k<0k<0, the same cancellation gives

T=ln⁡(1/2)k.T=\frac{\ln(1/2)}{k}.

Both numerator and denominator are negative, so the half-life is positive. Its factor ekT=1/2e^{kT}=1/2 is independent of the starting time, provided both times lie in the model interval. Equivalently, with a half-life T>0T>0, write A(t)=A0(1/2)t/TA(t)=A_0(1/2)^{t/T}.

For a model observed only at whole-number times, the real solution marks a threshold between observations. If growth reaches a target at t≈2.4t\approx2.4, the first allowed whole-number observation at or above the target is t=3t=3. Check the neighboring allowed times rather than rounding to the nearest integer.

Check your understanding

A device's stored charge is modeled by Q(t)=72e−0.25tQ(t)=72e^{-0.25t} coulombs for 0≤t≤80\le t\le8, with tt in hours. Which statement about its half-life is correct?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

John Napier’s 1614 book arrived in a world where long calculations were done by hand. Astronomers, navigators, and surveyors needed products and quotients of large numbers; an arithmetic slip could spoil the work. Napier offered tables that helped replace those operations with addition and subtraction. The Smithsonian holds a digitized copy of the original book, published in Edinburgh.

The printed tables were the visible result of a much longer effort. National Museums Scotland describes Napier spending more than twenty years on ways to simplify calculation. His logarithms could be consulted repeatedly, so the work of making a table served many later calculations. The same inventor also developed calculating rods, now called Napier’s bones, to organize ordinary multiplication. Tables and rods were different tools aimed at the same practical difficulty: making a long calculation easier to carry out reliably.

Your progress

See all your progress →