1. Home
  2. Explore
  3. Mathematics
  4. Exponential and Logarithmic Functions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Exponential and Logarithmic Functions

Exponential and Logarithmic Functions

Exponential functions

An exponential function has a variable in its exponent. Its basic form is

f(x)=bxf(x)=b^xf(x)=bx

where bbb is a constant called the base. Common examples include

f(x)=16x,f(x)=(2)x,f(x)=(18)x.f(x)=16^x,\qquad f(x)=(\sqrt{2})^x,\qquad f(x)=\left(\frac{1}{8}\right)^x.f(x)=16x,f(x)=(2​)x,f(x)=(81​)x.

For a real-valued exponential function defined for every real xxx, the usual base restrictions are b>0b>0b>0 and b≠1b\ne 1b=1. A base of 111 gives the constant function 1x=11^x=11x=1, while negative bases do not generally produce real values for every real exponent.


Exponent rules

Exponent rules are useful for simplifying exponential expressions and rewriting them with a common base.

Multiplying powers with the same base

When powers with the same base are multiplied, their exponents are added:

bmbn=bm+n.b^m b^n=b^{m+n}.bmbn=bm+n.

Dividing powers with the same base

When powers with the same base are divided, the denominator’s exponent is subtracted from the numerator’s exponent:

bmbn=bm−n,b≠0.\frac{b^m}{b^n}=b^{m-n},\qquad b\ne 0.bnbm​=bm−n,b=0.

Raising a power to a power

When a power is raised to another power, the exponents are multiplied:

(bm)n=bmn.(b^m)^n=b^{mn}.(bm)n=bmn.

This last rule is especially useful when rewriting exponential functions in a chosen base.


Rewriting exponential expressions with a common base

Expressions with different-looking bases can often be rewritten using the same base. Once the bases match, exponent rules make the expressions easier to compare and simplify.

Rewriting examples as powers of 222

  • Since 16=2416=2^416=24,

    16x=(24)x=24x.16^x=(2^4)^x=2^{4x}.16x=(24)x=24x.

    This has the form 2kx2^{kx}2kx with k=4k=4k=4.

  • Since 2=21/2\sqrt{2}=2^{1/2}2​=21/2,

    (2)x=(21/2)x=2x/2.(\sqrt{2})^x=(2^{1/2})^x=2^{x/2}.(2​)x=(21/2)x=2x/2.

    Here, k=12k=\frac{1}{2}k=21​.

  • Since 8=238=2^38=23, its reciprocal is 1/8=2−31/8=2^{-3}1/8=2−3:

    (18)x=(2−3)x=2−3x.\left(\frac{1}{8}\right)^x=(2^{-3})^x=2^{-3x}.(81​)x=(2−3)x=2−3x.

    Here, k=−3k=-3k=−3.

The reciprocal becomes a negative power because 123=2−3\frac{1}{2^3}=2^{-3}231​=2−3.

Simplifying a quotient of powers

Consider

16x2⋅2−4x.\frac{16^x}{2\cdot 2^{-4x}}.2⋅2−4x16x​.

First, write all factors using base 222:

16x=(24)x=24x,16^x=(2^4)^x=2^{4x},16x=(24)x=24x,

and

2⋅2−4x=21⋅2−4x=21−4x.2\cdot 2^{-4x}=2^1\cdot 2^{-4x}=2^{1-4x}.2⋅2−4x=21⋅2−4x=21−4x.

The quotient rule then gives

24x21−4x=24x−(1−4x)=24x−1+4x=28x−1.\frac{2^{4x}}{2^{1-4x}} =2^{4x-(1-4x)} =2^{4x-1+4x} =2^{8x-1}.21−4x24x​=24x−(1−4x)=24x−1+4x=28x−1.

When subtracting an exponent that contains more than one term, the minus sign applies to the entire exponent in parentheses.


Solving exponential equations

Equations with matching bases

If two exponential expressions have the same base, their exponents can be set equal, provided the common base is valid and not 111.

For example,

94x=9129^{4x}=9^{12}94x=912

has matching bases, so

4x=12,x=3.4x=12, \qquad x=3.4x=12,x=3.

Substituting x=3x=3x=3 gives 9129^{12}912 on both sides.

Rewriting unequal bases

If the bases do not initially match, one strategy is to rewrite one side using the base of the other side.

For example,

72−4x=49.7^{2-4x}=49.72−4x=49.

Because 49=7249=7^249=72, the equation becomes

72−4x=72.7^{2-4x}=7^2.72−4x=72.

The exponents must therefore be equal:

2−4x=2,−4x=0,x=0.2-4x=2, \qquad -4x=0, \qquad x=0.2−4x=2,−4x=0,x=0.

When matching the bases is not practical, logarithms can be used to solve the equation.


The natural exponential function

The natural exponential function is

f(x)=ex,f(x)=e^x,f(x)=ex,

where eee is an irrational constant approximately equal to 2.718282.718282.71828. Its decimal expansion does not terminate or repeat.

A key property is that the derivative of the natural exponential function is itself:

ddxex=ex.\frac{d}{dx}e^x=e^x.dxd​ex=ex.

More generally, every constant multiple CexCe^xCex also equals its own derivative:

ddx(Cex)=Cex.\frac{d}{dx}(Ce^x)=Ce^x.dxd​(Cex)=Cex.

The particular function exe^xex is the solution to y′=yy'=yy′=y that has value 111 at x=0x=0x=0.


Differentiating natural exponential expressions

A sum containing an exponential

Consider

f(x)=35x−85−25ex.f(x)=\frac{3}{5}x-\frac{8}{5}-\frac{2}{5}e^x.f(x)=53​x−58​−52​ex.

The derivative of the linear term is 35\frac{3}{5}53​, the derivative of a constant is 000, and the derivative of exe^xex is exe^xex. Thus,

f′(x)=35−25ex.f'(x)=\frac{3}{5}-\frac{2}{5}e^x.f′(x)=53​−52​ex.

A constant coefficient multiplying a function remains in front when that function is differentiated.

The chain rule for exponentials

If the exponent is itself a function of xxx, the chain rule applies:

ddxeu(x)=eu(x)u′(x).\frac{d}{dx}e^{u(x)}=e^{u(x)}u'(x).dxd​eu(x)=eu(x)u′(x).

The exponential expression is retained, then multiplied by the derivative of its exponent.

For example, if

y=−4e−3x,y=-4e^{-3x},y=−4e−3x,

then

y′=−4e−3x(−3)=12e−3x.y'=-4e^{-3x}(-3)=12e^{-3x}.y′=−4e−3x(−3)=12e−3x.

For a polynomial exponent, let

y=ex3−5x2.y=e^{x^3-5x^2}.y=ex3−5x2.

The exponent has derivative 3x2−10x3x^2-10x3x2−10x, so

y′=(3x2−10x)ex3−5x2.y'=(3x^2-10x)e^{x^3-5x^2}.y′=(3x2−10x)ex3−5x2.

The derivative of the exponent is multiplied by the original exponential function.

A square root involving an exponential

For

f(x)=ex−1=(ex−1)1/2,f(x)=\sqrt{e^x-1}=(e^x-1)^{1/2},f(x)=ex−1​=(ex−1)1/2,

the chain rule gives

f′(x)=12(ex−1)−1/2ex.f'(x)=\frac{1}{2}(e^x-1)^{-1/2}e^x.f′(x)=21​(ex−1)−1/2ex.

Writing the negative power in the denominator gives the equivalent form

f′(x)=ex2ex−1.f'(x)=\frac{e^x}{2\sqrt{e^x-1}}.f′(x)=2ex−1​ex​.

Quotient rule with an exponential function

For a quotient f(x)=g(x)h(x)f(x)=\frac{g(x)}{h(x)}f(x)=h(x)g(x)​, the quotient rule is

f′(x)=h(x)g′(x)−g(x)h′(x)[h(x)]2.f'(x)=\frac{h(x)g'(x)-g(x)h'(x)}{[h(x)]^2}.f′(x)=[h(x)]2h(x)g′(x)−g(x)h′(x)​.

Consider

f(x)=6e4x8x−1.f(x)=\frac{6e^{4x}}{8x-1}.f(x)=8x−16e4x​.

The numerator has derivative 24e4x24e^{4x}24e4x, and the denominator has derivative 888. Applying the quotient rule gives

f′(x)=(8x−1)(24e4x)−(6e4x)(8)(8x−1)2.f'(x)=\frac{(8x-1)(24e^{4x})-(6e^{4x})(8)}{(8x-1)^2}.f′(x)=(8x−1)2(8x−1)(24e4x)−(6e4x)(8)​.

Factoring out the common factor 24e4x24e^{4x}24e4x simplifies the numerator:

f′(x)=24e4x((8x−1)−2)(8x−1)2=24e4x(8x−3)(8x−1)2.f'(x) =\frac{24e^{4x}\big((8x-1)-2\big)}{(8x-1)^2} =\frac{24e^{4x}(8x-3)}{(8x-1)^2}.f′(x)=(8x−1)224e4x((8x−1)−2)​=(8x−1)224e4x(8x−3)​.

Factoring after applying the quotient rule can make the result more compact and easier to check.


Exponential growth and rate of change

A derivative measures an instantaneous rate of change. For a quantity modeled by an exponential function, its derivative gives the rate at which that quantity is changing at a particular time.

Suppose an artwork purchased in 1980 for \25{,}000$ has estimated value

v(t)=25000et/10,v(t)=25000e^{t/10},v(t)=25000et/10,

where ttt is the number of years after 1980. At t=0t=0t=0, the model gives v(0)=25000v(0)=25000v(0)=25000, the initial value.

Differentiate using the chain rule:

v′(t)=25000et/10⋅110=2500et/10.v'(t)=25000e^{t/10}\cdot\frac{1}{10} =2500e^{t/10}.v′(t)=25000et/10⋅101​=2500et/10.

The year 2010 is 303030 years after 1980, so t=30t=30t=30. The rate of appreciation then is

v′(30)=2500e3≈50213.84.v'(30)=2500e^3\approx 50213.84.v′(30)=2500e3≈50213.84.

Thus, according to the model, the artwork is appreciating at approximately \50{,}213.84peryearin2010.Theunitsaredollarsperyearbecauseper year in 2010. The units are dollars per year becauseperyearin2010.Theunitsaredollarsperyearbecausev(t)ismeasuredindollarsandis measured in dollars andismeasuredindollarsandt$ in years.


A basic differential equation

A differential equation relates a function to one or more of its derivatives. A particularly simple form is

y′=ky,y'=ky,y′=ky,

where kkk is a constant. Its general solution is

y=Cekx,y=Ce^{kx},y=Cekx,

where CCC is an arbitrary constant. The value of CCC can be determined if an initial value is supplied.

For example, consider

y′=−4y.y'=-4y.y′=−4y.

Here k=−4k=-4k=−4, so all solutions have the form

y=Ce−4x.y=Ce^{-4x}.y=Ce−4x.

To verify the solution, differentiate:

y′=−4Ce−4x.y'=-4Ce^{-4x}.y′=−4Ce−4x.

Since y=Ce−4xy=Ce^{-4x}y=Ce−4x, the right side of the original equation is

−4y=−4Ce−4x.-4y=-4Ce^{-4x}.−4y=−4Ce−4x.

Both sides agree, confirming that the proposed general solution satisfies the differential equation.


The natural logarithm

The natural logarithm, written ln⁡x\ln xlnx, is the logarithm with base eee. It follows the same core rules as logarithms with other bases. For positive aaa and bbb:

Product rule

A logarithm of a product becomes a sum:

ln⁡(ab)=ln⁡a+ln⁡b.\ln(ab)=\ln a+\ln b.ln(ab)=lna+lnb.

Quotient rule

A logarithm of a quotient becomes a difference:

ln⁡(ab)=ln⁡a−ln⁡b.\ln\left(\frac{a}{b}\right)=\ln a-\ln b.ln(ba​)=lna−lnb.

Power rule

An exponent inside a logarithm can be moved in front as a multiplier:

ln⁡(ak)=kln⁡a.\ln(a^k)=k\ln a.ln(ak)=klna.

These rules can be used in either direction: separate a logarithm into multiple terms, or combine multiple terms into one logarithm.

Combining and simplifying logarithms

For example,

ln⁡8+ln⁡3−ln⁡6=ln⁡(8⋅36)=ln⁡4.\ln 8+\ln 3-\ln 6 =\ln\left(\frac{8\cdot 3}{6}\right) =\ln 4.ln8+ln3−ln6=ln(68⋅3​)=ln4.

Addition of logarithms corresponds to multiplication inside one logarithm, while subtraction corresponds to division.

A coefficient can also be moved into the logarithm as an exponent:

13ln⁡8=ln⁡(81/3)=ln⁡2.\frac{1}{3}\ln 8 =\ln\left(8^{1/3}\right) =\ln 2.31​ln8=ln(81/3)=ln2.

Natural logarithms and exponentials are inverse functions

The functions ln⁡x\ln xlnx and exe^xex are inverses: applying one after the other returns the original input, within the relevant domains.

ln⁡(ex)=x\ln(e^x)=xln(ex)=x

and, for x>0x>0x>0,

eln⁡x=x.e^{\ln x}=x.elnx=x.

For example,

ln⁡(e7)=7.\ln(e^7)=7.ln(e7)=7.

The functions must be applied consecutively for them to cancel directly. In an expression such as

e3ln⁡x,e^{3\ln x},e3lnx,

the factor 333 must first be handled. By the logarithm power rule,

3ln⁡x=ln⁡(x3),3\ln x=\ln(x^3),3lnx=ln(x3),

so, for x>0x>0x>0,

e3ln⁡x=eln⁡(x3)=x3.e^{3\ln x}=e^{\ln(x^3)}=x^3.e3lnx=eln(x3)=x3.

Rewriting and solving equations with natural logarithms

Rewriting an exponential equation

To rewrite

ex=6e^x=6ex=6

in logarithmic form, apply ln⁡\lnln to both sides:

ln⁡(ex)=ln⁡6.\ln(e^x)=\ln 6.ln(ex)=ln6.

Since ln⁡\lnln and exe^xex are inverse functions,

x=ln⁡6.x=\ln 6.x=ln6.

Solving an exponential equation

Consider

e3x=12.e^{3x}=12.e3x=12.

Applying ln⁡\lnln to both sides gives

ln⁡(e3x)=ln⁡12,\ln(e^{3x})=\ln 12,ln(e3x)=ln12,

so

3x=ln⁡123x=\ln 123x=ln12

and therefore

x=ln⁡123=13ln⁡12.x=\frac{\ln 12}{3} =\frac{1}{3}\ln 12.x=3ln12​=31​ln12.

The coefficient 13\frac{1}{3}31​ may equivalently be moved inside the logarithm as an exponent:

13ln⁡12=ln⁡(121/3).\frac{1}{3}\ln 12=\ln(12^{1/3}).31​ln12=ln(121/3).

It cannot be distributed over the number inside the logarithm by multiplication; the valid transformation uses the logarithm power rule.


Differentiating natural logarithms

For a differentiable function u(x)>0u(x)>0u(x)>0, the chain rule for the natural logarithm is

ddxln⁡(u(x))=1u(x)u′(x)=u′(x)u(x).\frac{d}{dx}\ln(u(x)) =\frac{1}{u(x)}u'(x) =\frac{u'(x)}{u(x)}.dxd​ln(u(x))=u(x)1​u′(x)=u(x)u′(x)​.

In words, the derivative is the derivative of the expression inside the logarithm divided by that expression.

A logarithm of a linear expression and a constant

For

f(x)=ln⁡(4x)+ln⁡5,f(x)=\ln(4x)+\ln 5,f(x)=ln(4x)+ln5,

the term ln⁡5\ln 5ln5 is constant, so its derivative is 000. For the first term, the inside function is 4x4x4x, whose derivative is 444:

f′(x)=44x+0=1x.f'(x)=\frac{4}{4x}+0=\frac{1}{x}.f′(x)=4x4​+0=x1​.

A logarithm of a polynomial

For

f(x)=ln⁡(x2−5x+7),f(x)=\ln(x^2-5x+7),f(x)=ln(x2−5x+7),

the inside function is u(x)=x2−5x+7u(x)=x^2-5x+7u(x)=x2−5x+7, and its derivative is u′(x)=2x−5u'(x)=2x-5u′(x)=2x−5. Therefore,

f′(x)=2x−5x2−5x+7.f'(x)=\frac{2x-5}{x^2-5x+7}.f′(x)=x2−5x+72x−5​.

The same pattern applies to any differentiable expression inside a natural logarithm: differentiate the inside, then divide by the original inside expression.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent