Lesson 4 of 8 · 16 min

The natural logarithm and its graph

Meet ln⁡(x)\ln(x) as the inverse of exe^x, describe the key features of its graph and its transformations, and use eln⁡(x)=xe^{\ln(x)} = x, ln⁡(ex)=x\ln(e^x) = x and the log laws with base ee.

What you will be able to do

  • Define ln⁡(x)=log⁡e(x)\ln(x) = \log_e(x) and use y=ex  ⟺  x=ln⁡(y)y = e^x \iff x = \ln(y).
  • State the intercept, asymptote, domain and range of y=ln⁡(x)y = \ln(x) and of transformations such as y=ln⁡(x−h)+ky = \ln(x - h) + k.
  • Simplify expressions with eln⁡(x)=xe^{\ln(x)} = x, ln⁡(ex)=x\ln\left(e^x\right) = x and the log laws.

In Unit 2 you met log⁡a(x)\log_a(x) as the index you put on aa to get xx. The logarithm with base ee is used so often it has its own name and key: the natural logarithm, ln⁡(x)=log⁡e(x)\ln(x) = \log_e(x). So ln⁡(x)\ln(x) answers the question "ee to the power of what gives xx?"

y=ex  ⟺  x=ln⁡(y)y = e^x \iff x = \ln(y)

y=exy = e^x and y=ln⁡(x)y = \ln(x) are reflections of each other in y=xy = x. Every point (a,b)(a, b) on one graph matches the point (b,a)(b, a) on the other.

Key idea

Inverse functions

exe^x and ln⁡(x)\ln(x) undo each other:

eln⁡(x)=x(x>0)andln⁡(ex)=x(all x).e^{\ln(x)} = x \quad (x > 0) \qquad \text{and} \qquad \ln\left(e^x\right) = x \quad (\text{all } x).

In particular ln⁡(1)=0\ln(1) = 0 (because e0=1e^0 = 1) and ln⁡(e)=1\ln(e) = 1 (because e1=ee^1 = e).

Key features of y=ln⁡(x)y = \ln(x), matched with y=exy = e^x
Featurey=exy = e^xy=ln⁡(x)y = \ln(x)
Domainall real xxx>0x > 0
Rangey>0y > 0all real yy
Intercept(0,1)(0, 1) on the yy-axis(1,0)(1, 0) on the xx-axis
Asymptotehorizontal, y=0y = 0vertical, x=0x = 0
Behaviourincreasing, ex→0e^x \to 0 as x→−∞x \to -\inftyincreasing, ln⁡(x)→−∞\ln(x) \to -\infty as x→0+x \to 0^+
Other point(1,e)(1, e)(e,1)(e, 1)

Swapping xx and yy swaps everything: the domain and range, the horizontal and vertical asymptotes, and the intercepts. The logarithm grows without bound, but very slowly: ln⁡(1000)≈6.9\ln(1000) \approx 6.9.

Evaluate e2ln⁡(3)e^{2\ln(3)} exactly.

The log laws from Unit 2 hold for base ee, for x,y>0x, y > 0:

ln⁡(xy)=ln⁡(x)+ln⁡(y),ln⁡(xy)=ln⁡(x)−ln⁡(y),ln⁡(xn)=nln⁡(x).\ln(xy) = \ln(x) + \ln(y), \qquad \ln\left(\frac{x}{y}\right) = \ln(x) - \ln(y), \qquad \ln\left(x^n\right) = n\ln(x).

So ln⁡(e5x)=5x\ln\left(e^{5x}\right) = 5x, ln⁡(1x)=−ln⁡(x)\ln\left(\frac{1}{x}\right) = -\ln(x) and ln⁡(x)=12ln⁡(x)\ln\left(\sqrt{x}\right) = \frac{1}{2}\ln(x).

Simplify ln⁡(e3x)−ln⁡(ex)\ln\left(e^{3x}\right) - \ln\left(e^{x}\right).

Reads asYour answer shows here as maths.

Transformations work just as they did for log⁡a(x)\log_a(x). For y=aln⁡(x−h)+ky = a\ln(x - h) + k, the vertical asymptote moves to x=hx = h, the domain becomes x>hx > h, and the graph shifts up by kk. To find the xx-intercept, solve y=0y = 0 using the inverse relationship.

Interactive

Move the logarithm

The asymptote is always x=hx = h. The point (1,0)(1, 0) of y=ln⁡(x)y = \ln(x) moves to (h+1,k)(h + 1, k).

Worked example

Key features of y=ln⁡(x+2)−1y = \ln(x + 2) - 1

  • Simple familiar
  • Technology free

For y=ln⁡(x+2)−1y = \ln(x + 2) - 1, state the domain and the equation of the asymptote, and find the exact coordinates of both intercepts.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Domain: inside of the logarithm > 0.

  2. Asymptote: where the inside equals 0.

  3. xx-intercept: set y=0y = 0, isolate ln⁡\ln, raise ee to both sides.

  4. yy-intercept: substitute x=0x = 0 (if 0 is in the domain).

Watch out for

  • Putting the asymptote at x=2x = 2: ln⁡(x+2)\ln(x + 2) is ln⁡(x)\ln(x) moved left, not right.

  • Solving ln⁡(x+2)=1\ln(x + 2) = 1 as x+2=1x + 2 = 1: the inverse of ln⁡\ln is ee to the power.

What is the domain of y=ln⁡(3−x)y = \ln(3 - x)?

Choose one answer

Common mistake

Logs do not split sums

ln⁡(x+3)≠ln⁡(x)+ln⁡(3)\ln(x + 3) \ne \ln(x) + \ln(3). The log laws turn products into sums: ln⁡(3x)=ln⁡(3)+ln⁡(x)\ln(3x) = \ln(3) + \ln(x). There is no law for the log of a sum, and ln⁡(x)×ln⁡(3)\ln(x) \times \ln(3) is not ln⁡(3x)\ln(3x) either.

Exam tip

Exact values in Paper 1

Know these without a calculator: ln⁡(1)=0\ln(1) = 0, ln⁡(e)=1\ln(e) = 1, ln⁡(en)=n\ln\left(e^n\right) = n, eln⁡(a)=ae^{\ln(a)} = a and ln⁡(1e)=−1\ln\left(\frac{1}{e}\right) = -1. Leave answers such as ln⁡(5)\ln(5) and e2−1e^2 - 1 exact unless the question asks for a decimal.

Summary

  • ln⁡(x)=log⁡e(x)\ln(x) = \log_e(x), and y=ex  ⟺  x=ln⁡(y)y = e^x \iff x = \ln(y).

  • y=ln⁡(x)y = \ln(x) has domain x>0x > 0, range all real yy, xx-intercept (1,0)(1, 0) and vertical asymptote x=0x = 0.

  • y=exy = e^x and y=ln⁡(x)y = \ln(x) are reflections of each other in y=xy = x.

  • eln⁡(x)=xe^{\ln(x)} = x for x>0x > 0, ln⁡(ex)=x\ln\left(e^x\right) = x, ln⁡(1)=0\ln(1) = 0 and ln⁡(e)=1\ln(e) = 1.

  • For y=aln⁡(x−h)+ky = a\ln(x - h) + k, the asymptote is x=hx = h and the domain is x>hx > h.

  • The log laws split products, quotients and powers, never sums.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 4 of 80% read

Save your progress with a free account