2.9 Exponential and logarithmic functions

2.9 Exponential and logarithmic functions

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • y=axy=a^x: through (0,1)(0,1), horizontal asymptote y=0y=0, range y>0y>0.
  • y=log⁡axy=\log_a x: through (1,0)(1,0), vertical asymptote x=0x=0, domain x>0x>0.
  • log⁡aax=x\log_a a^x=x and alog⁡ax=xa^{\log_a x}=x: the two functions are inverses.
  • ax=exln⁡aa^x=e^{x\ln a}.
  • The domain of f−1f^{-1} is the range of ff; asymptotes swap under reflection in y=xy=x.

Exponential functions

An exponential y=axy=a^x passes through (0,1)(0,1), has horizontal asymptote y=0y=0, and grows if a>1a>1 or decays if 0<a<10<a<1.

An exponential function has the variable in the exponent: f(x)=axf(x)=a^x with a>0a>0, a≠1a\ne1. The most important is exe^x with e≈2.718e\approx2.718. The domain is R\mathbb R and the range is y>0y>0: axa^x is never zero or negative.

2−x=(12)x2^{-x}=\left(\frac12\right)^x is a decay function, the reflection of 2x2^x in the yy-axis.

−3−2−11232468xyy = 0(0, 1)y = 2ˣy = (½)ˣ
Growth (a=2a=2) and decay (a=12a=\frac12) both pass through (0,1)(0,1).

Which statement about y=3xy=3^x is true?

Logarithmic functions

A logarithm y=log⁡axy=\log_a x passes through (1,0)(1,0), has vertical asymptote x=0x=0 and domain x>0x>0.

A logarithmic function answers "what power of aa gives xx?" So log⁡28=3\log_28=3 and log⁡319=−2\log_3\frac19=-2. The natural logarithm is ln⁡x=log⁡ex\ln x=\log_e x. For a>1a>1 it is increasing, but more and more slowly, with range R\mathbb R.

Logarithms are only defined for positive inputs: log⁡2(−4)\log_2(-4) and ln⁡0\ln0 do not exist.

−1123456789−4−3−2−11234xyx = 0(1, 0)(2, 1)(8, 3)y = log₂ x
y=log⁡2xy=\log_2x rises slowly and never reaches the yy-axis.

What is log⁡5125\log_5125?

Inverse functions

They are inverse functions, so y=log⁡axy=\log_a x is the reflection of y=axy=a^x in y=xy=x.

log⁡aax=x\log_aa^x=x for all real xx, and alog⁡ax=xa^{\log_ax}=x for x>0x>0. So ln⁡e3=3\ln e^3=3, eln⁡7=7e^{\ln7}=7 and 3log⁡35=53^{\log_35}=5.

Under the reflection, (0,1)(0,1) becomes (1,0)(1,0), the asymptote y=0y=0 becomes x=0x=0, and the range y>0y>0 becomes the domain x>0x>0.

−3−2−112345−3−2−112345xy(0, 1)(1, 0)y = eˣy = ln xy = x
y=exy=e^x and y=ln⁡xy=\ln x are mirror images in the dashed line y=xy=x.

Worked example

Find the inverse of f(x)=2ex+1f(x)=2e^x+1 and state its domain.

Simplify eln⁡7e^{\ln7}.

Changing the base to e

Any exponential can be written with base ee: ax=exln⁡aa^x=e^{x\ln a}.

This works because a=eln⁡aa=e^{\ln a}, so ax=(eln⁡a)x=exln⁡aa^x=(e^{\ln a})^x=e^{x\ln a}. Base-ee forms are standard in modelling and calculus.

Be careful: 2x=exln⁡22^x=e^{x\ln2}, not e2xe^{2x}, since e2x=(e2)x≈7.39xe^{2x}=(e^2)^x\approx7.39^x.

−1−0.50.511.522.5324681012xy(1, 2)(3, 8)2^x = e^(x ln 2)e^(2x)
2^x and e^(x ln 2) are the same curve. e^(2x) (dashed) is a different, steeper curve.
  • axa^{x}exln⁡ae^{x\ln a}

Worked example

Write m=80×2−t12m=80\times2^{-\frac t{12}} in the form m=80e−ktm=80e^{-kt}.

Which is 5x5^x written with base ee?

Exponential models

For growth or decay, f(t)=Aatf(t)=Aa^t or AektAe^{kt}: AA is the initial value, k>0k>0 is growth and k<0k<0 is decay.

AA is the initial value at t=0t=0. A horizontal asymptote gives the long-term behaviour: in a decay model the quantity approaches 0 (or another value, such as room temperature in cooling) but never reaches it.

For m(t)=80×2−t12m(t)=80\times2^{-\frac t{12}} the mass halves every 12 days: 80, 40, 20, 10 g at t=0,12,24,36t=0,12,24,36.

5101520253035404520406080xym = 0(0, 80)(12, 40)(24, 20)(36, 10)m = 80 × 2^(−t/12)
The mass halves every 12 days and tends to 0 g.

Worked example

Solve 80×2−t12=580\times2^{-\frac t{12}}=5.

In f(t)=Aektf(t)=Ae^{kt} with k<0k<0, what happens as tt gets large?

Try an exam question

The function ff is defined by f(x)=2ex+1f(x)=2e^x+1 for x∈Rx\in\mathbb R. Find f−1(x)f^{-1}(x) and state its domain.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the value of g(18)g\left(\frac{1}{8}\right).

1 mark, marked against the mark scheme

Revision notes