top of page

8.2 Graphs of Logarithms

OCR A-level Maths Year 1 (AS) · H240 · Chapter 8: Exponential Models

What is in the full lesson (8 activities)

Every item below opens free in the course.

A free OCR A-level Maths Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: the graph of ln x as the inverse of e to the power x, and transformations of log graphs (OCR H240: 1.06d, 1.06e). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Sketch y = ln x and state its key features
  • Use the fact that ln x and eˣ are inverse functions to simplify and rearrange
  • Sketch transformations such as y = ln (x + 4) and y = 2 + ln x, finding intercepts and asymptotes
  • Use sketches of log graphs to decide how many solutions an equation has

Key words

  • Natural logarithm: ln x = logₑ x.
  • Inverse functions: Functions that undo each other. Their graphs are reflections in y = x.
  • Domain: The set of allowed inputs. For ln x it is x > 0.
  • Vertical asymptote: A vertical line that a curve approaches but never reaches, such as x = 0 for y = ln x.
  • Translation: A shift of a graph. y = ln (x − a) is y = ln x moved a units to the right.

The graph of y = ln x

Since ln x is the inverse of eˣ, the graph of y = ln x is the reflection of y = eˣ in the line y = x. The point (0, 1) on y = eˣ becomes (1, 0), and the asymptote y = 0 becomes x = 0.

Key facts: The graph of y = ln x: • exists only for x > 0, and has the y-axis (x = 0) as a vertical asymptote • passes through (1, 0) and (e, 1) • is increasing, but grows more and more slowly; it takes every real value • is negative for 0 < x < 1 and positive for x > 1

Worked example: reading values

Find the exact x-coordinates of the points on y = ln x where (a) y = 3 (b) y = −2.
(a) ln x = 3, so x = e³. (b) ln x = −2, so x = e⁻² = 1/e².

Answer: (a) e³ (b) e⁻²

ln x and e to the power x undo each other

Key fact: exp(ln x) = x for x > 0 ln (eˣ) = x for all x

Worked example: simplifying

(a) exp(ln 9) (b) ln (e⁵ˣ) (c) exp(3 ln 2) = exp(ln 8) (d) ln √e = ln (exp(0.5))

Answer: (a) 9 (b) 5x (c) 8 (d) 1/2

To make x the subject of an equation with eˣ in it, isolate the exponential and take ln. To undo a ln, isolate it and use e.

Worked example: rearranging

(a) Make x the subject of y = 3e²ˣ. e²ˣ = y/3, so 2x = ln y/3.
(b) Make x the subject of y = 2 + ln (x − 1). ln (x − 1) = y − 2, so x − 1 = exp(y − 2).

Answer: (a) x = (1/2)ln y/3 (b) x = exp(y − 2) + 1

Transformations of log graphs

  • y = ln (x − 2); Transformation 2 units right; Asymptote x = 2; Crosses x-axis at (3, 0)
  • y = 2 + ln x; Transformation 2 units up; Asymptote x = 0; Crosses x-axis at (e⁻², 0)
  • y = ln (3x); Transformation ln 3 + ln x: up by ln 3; Asymptote x = 0; Crosses x-axis at (1/3, 0)
  • y = −ln x; Transformation reflection in the x-axis; Asymptote x = 0; Crosses x-axis at (1, 0)

Worked example: sketching

Sketch y = ln (x + 4), showing the asymptote and the intercepts.
Translation of y = ln x by 4 units left: asymptote x = −4.
y = 0: x + 4 = 1, x = −3. x = 0: y = ln 4.

Answer: Asymptote x = −4; crosses the axes at (−3, 0) and (0, ln 4)

How many solutions?

Some equations, such as ln x = 3 − x, cannot be solved with algebra. A sketch still tells you how many solutions there are, and checking values tells you roughly where they are.

Worked example: counting and locating

Show that ln x = 3 − x has exactly one solution, and find the two integers it lies between.
y = ln x is increasing and y = 3 − x is decreasing, so they can cross at most once; the sketch shows that they do cross.
x = 2: ln 2 = 0.69 < 1 = 3 − 2. x = 3: ln 3 = 1.10 > 0 = 3 − 3. The order has swapped.

Answer: One solution, between 2 and 3

Common mistakes

  • Drawing y = ln x crossing the y-axis or with a horizontal asymptote. It has a vertical asymptote x = 0 and keeps rising.
  • Moving y = ln (x − 2) to the left. Replacing x by x − 2 moves the graph 2 units right.
  • Writing exp(3 ln 2) = 3 × 2. First use the power law: 3 ln 2 = ln 8.
  • Forgetting that the asymptote moves too: y = ln (x + 4) has asymptote x = −4, not x = 0.

Revision questions

Try these, then check your answers below each one.

Question 1. Which point lies on the curve y = ln x? (Choose from: (1, 0); (0, 1); (0, 0); (e, 0).)

Answer: (1, 0)

Working: ln 1 = 0, so (1, 0) is on the curve.

Question 2. What is the equation of the asymptote of y = ln (x + 3)? (Choose from: x = −3; x = 3; x = 0; y = −3.)

Answer: x = −3

Working: The graph of ln x moves 3 units left, so its asymptote x = 0 becomes x = −3.

Question 3. Find the x-coordinate of the point where y = 2 + ln x crosses the x-axis, to 3 significant figures.

Answer: 0.135

Working: ln x = −2, so x = e⁻² = 0.1353...

Related lessons

Continue in the full course

This lesson is section 8.2 of our free OCR A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 8.2 in the free course →

 

 

 

 

 

 

 

bottom of page