Exponential & Log Graphs (AA HL)

For a>1a>1, the graph of y=axy=a^x increases and passes through (0,1)(0,1), with the xx-axis as a horizontal asymptote. The graph of y=loga⁡xy=\log_a x is its reflection in the line y=xy=x, passing through (1,0)(1,0) with the yy-axis as a vertical asymptote. Sketch each by marking the intercept, the asymptote and a point or two, then apply any transformations. It's part of the broader Exponentials & Logarithms topic.

11 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL2.9Exponential functions and their graphs: f(x)=ax, a>0f(x)=a^x,\ a>0, f(x)=exf(x)=e^x. Logarithmic functions and their graphs: f(x)=loga⁡x, x>0f(x)=\log_a x,\ x>0, f(x)=ln⁡x, x>0f(x)=\ln x,\ x>0. Exponential and logarithmic functions as inverses of each other, with ax=exln⁡aa^x=e^{x\ln a}.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

How the two graphs connect

Exponential-logarithm equivalence

ax=b⟺loga⁡b=xa^x=b\iff\log_a b=x. This is exactly what makes the two graphs inverses - reflecting one in the line y=xy=x produces the other.

Rewriting in base ee

Any exponential can be written ax=exln⁡aa^x=e^{x\ln a}, which is how your GDC evaluates and graphs exponentials with a base other than ee.

Need the full syllabus wording, the formula reference table, or GDC-specific steps? See Exponentials & Logarithms.

Key terms

What are the domain and range of y=ln⁡xy=\ln x?

The domain is x>0x>0 and the range is all real numbers. The graph has the yy-axis as a vertical asymptote.

e.g. At x=ex=e, y=1y=1, but x=−2x=-2 is not in the domain.

What is a horizontal asymptote?

A horizontal asymptote is a horizontal line that the graph approaches but never reaches as xx becomes very large or very negative. Adding a constant to an exponential moves it.

e.g. y=2x+3y=2^x+3 has horizontal asymptote y=3y=3, since 2x→02^x\to0 as x→−∞x\to-\infty.

What is the yy-intercept of an exponential graph?

Because a0=1a^0=1, the graph of y=axy=a^x passes through (0,1)(0,1). A vertical stretch of factor kk moves the intercept to (0,k)(0,k).

e.g. y=5xy=5^x passes through (0,1)(0,1) and y=3⋅5xy=3\cdot5^x passes through (0,3)(0,3).

How are points on y=axy=a^x and y=loga⁡xy=\log_a x related?

The graphs are reflections in y=xy=x, so swapping the coordinates of a point on one graph gives a point on the other.

e.g. Since 23=82^3=8, (3,8)(3,8) lies on y=2xy=2^x and (8,3)(8,3) lies on y=log2⁡xy=\log_2 x.

Worked examples

1
Medium
No calc
[4 marks]

f(x)=ex.f(x)=e^{x}.

(a) State the range.

(b) Sketch y=exy=e^x, marking the intercept and asymptote.

Worked solution

(a) ex>0e^x>0 for every real xx, so the range is f(x)>0.f(x)>0. A1

(b) Model sketch: An increasing curve through (0, 1) that is always above the x-axis, with horizontal asymptote y = 0.
Your sketch should include:

  • the point (0,1)(0,1) marked, where the curve crosses the yy-axis
A1
Your sketch should include:
  • a curve that is increasing throughout
  • the curve always above the xx-axis, with no xx-intercept
A1
Your sketch should include:
  • the xx-axis, y=0,y=0, identified as a horizontal asymptote
  • the curve getting closer and closer to y=0y=0 as x→−∞x\to-\infty but never touching it
A1{{SOLFIGURE}}

A1 Range A1 Passes through (0,1)(0,1) A1 Increasing curve, always above the xx-axis A1 Horizontal asymptote y=0y=0 shown
2
Hard
No calc
[6 marks]

f(x)=ex.f(x)=e^x. The graph of g(x)=−2ex−1g(x)=-2e^{x-1} is obtained from the graph of ff by a sequence of transformations.

(a) Describe the transformations, in order.

(b) State the range of g.g.

(c) State the equation of the horizontal asymptote of g.g.

Worked solution

(a) Replacing xx by x−1x-1 is a translation 11 unit right; A1 multiplying by 22 is a vertical stretch, scale factor 22; A1 and the negative sign is a reflection in the xx-axis. A1

(b) Since ex−1>0e^{x-1}>0 for all x,x, −2ex−1<0-2e^{x-1}<0 for all x.x. R1 Range: g(x)<0.g(x)<0. A1

(c) Vertical translations and reflections do not move the horizontal asymptote from y=0.y=0. A1

A1 Translation right 11 unit A1 Vertical stretch factor 22 A1 Reflection in the xx-axis R1 ex−1>0e^{x-1}>0 A1 Range g(x)<0g(x)<0 A1 Asymptote y=0y=0
3
Easy
GDC
[2 marks]

Use the change-of-base rule to evaluate log5⁡20.\log_5 20.

Worked solution

Change of base. log5⁡20=ln⁡20ln⁡5≈2.9961.609\log_5 20=\dfrac{\ln 20}{\ln 5}\approx\dfrac{2.996}{1.609} M1
≈1.86.\approx1.86. A1On the GDC. Find log5⁡20\log_{5} 20. The calculator shows about 1.86.

TI-84 Plus CE: math ▼ A:logBASE( enter base 5 ▶ value 20 enterCasio fx-CG50: MENU Run-Matrix F4 F2 base 5 ▶ value 20 EXECasio fx-CG100: HOME Calculate SHIFT log template, base 5 ▶ value 20 EXETI-Nspire CX: Calculator page, type log(20,5) enterFull GDC guide: Evaluate a logarithm to any base Topic page

M1 Change-of-base set-up A1 Correct answer of ≈1.86\approx1.86

Common mistakes

  • Mixing up which asymptote belongs to which function after reflecting in y=xy=x. An exponential's horizontal asymptote becomes a vertical asymptote for its logarithmic inverse, at the same numerical value - not the same axis.
  • Ignoring the domain restriction of a logarithm. ln⁡(x−2)\ln(x-2) needs x>2x>2, not x>0x>0 - the restriction applies to whatever is inside the log, after any shift, so a translated log graph doesn't just start at the origin.
  • Applying a vertical translation to the asymptote when it isn't a vertical translation. Only adding or subtracting a constant outside the exponential shifts y=0y=0 up or down; a stretch or reflection alone leaves it exactly where it was.

Quick questions

What is the range and asymptote of y=exy = e^x?

y=exy = e^x has range f(x)>0f(x) > 0 and a horizontal asymptote y=0y = 0 as x→−∞x\to-\infty; the curve passes through (0,1)(0,1) and increases throughout.

How are exponential and logarithmic graphs related?

They are inverse functions of each other, so their graphs are reflections of one another in the line y=xy = x - which is also why the horizontal asymptote of an exponential graph becomes the vertical asymptote of its logarithmic inverse, at the same numerical value.

How do you sketch y=ex−3y=e^x-3?

Translate y=exy=e^x down by 33 units. The asymptote becomes y=−3y=-3, the yy-intercept is (0,−2)(0,-2) since e0−3=−2e^0-3=-2, and the range is y>−3y>-3.

What does replacing xx with x−2x-2 do to y=ln⁡xy=\ln x?

It translates the graph 22 units to the right, so y=ln⁡(x−2)y=\ln(x-2) has vertical asymptote x=2x=2 and domain x>2x>2. Its xx-intercept is at x=3x=3, since ln⁡1=0\ln1=0.

Why does y=axy=a^x never touch the xx-axis?

Because ax>0a^x>0 for every real xx, it can never equal zero. As xx becomes very negative the values get closer to zero, for example 2−10=110242^{-10}=\dfrac{1}{1024}.

Ready to practise properly?

11 exponential and log graph questions, marked instantly like the real exam.