Exponential graphs

AS · P1 · 12 min

An exponential function has the variable in the power, as in y=2xy = 2^x. Exponentials and logarithms are examined in Paper 3 (and Paper 2), not in Paper 1. This note is here as a bridge: it practises the Paper 1 skills of transformations, ranges, one-one functions and disguised quadratics on a new family of curves, and it prepares you for Exponential graphs in P3. Paper 1 transformation questions may use "other graphs with given features", so being comfortable with an unfamiliar curve and its asymptote is useful.

Extension

Nothing in this note will be examined on Paper 1 as exponential content. Treat it as practice of P1 methods and a preview of P3. Equations here are solved only by matching powers (IGCSE index laws); logarithms belong to P3.

The basic curve

Consider y=2xy = 2^x. A few values:

xx−2-2−1-100112233
2x2^x14\tfrac{1}{4}12\tfrac{1}{2}11224488

Each step of 11 to the right doubles yy. Going left, yy halves again and again, getting closer to 00 but never reaching it.

Key result

For y=axy = a^x with a>1a > 1:

  • the curve passes through (0,1)(0, 1), since a0=1a^0 = 1;
  • y>0y > 0 for every xx; the xx-axis (y=0y = 0) is a horizontal asymptote;
  • the function is increasing, so it is one-one;
  • domain R\mathbb{R}, range y>0y > 0.

For 0<a<10 < a < 1 the curve decreases instead. Since (12)x=2−x\left(\tfrac{1}{2}\right)^x = 2^{-x}, the graph of y=(12)xy = \left(\tfrac{1}{2}\right)^x is the reflection of y=2xy = 2^x in the yy-axis.

y = 2^x y = (1/2)^x y = 3^x

Larger bases rise more steeply for x>0x > 0: 3x3^x is above 2x2^x to the right of the yy-axis and below it to the left. All three curves pass through (0,1)(0, 1).

Transformations of exponential graphs

The transformation rules are exactly those from Transformations of graphs. The only new feature is the asymptote, which moves with vertical translations and stretches.

EquationTransformation of y=2xy = 2^xAsymptoteyy-intercept
y=2x+qy = 2^x + qtranslation (0q)\begin{pmatrix} 0 \\ q \end{pmatrix}y=qy = q1+q1 + q
y=2x−py = 2^{x - p}translation (p0)\begin{pmatrix} p \\ 0 \end{pmatrix}y=0y = 02−p2^{-p}
y=k⋅2xy = k \cdot 2^xstretch parallel to the yy-axis, factor kky=0y = 0kk
y=−2xy = -2^xreflection in the xx-axisy=0y = 0−1-1
y=2−xy = 2^{-x}reflection in the yy-axisy=0y = 011
Sketching a transformed exponential
  1. Identify the transformations and find the new horizontal asymptote; draw it dashed.
  2. Find the yy-intercept by putting x=0x = 0.
  3. If the curve crosses the xx-axis, find the xx-intercept by solving y=0y = 0.
  4. Decide whether the curve increases or decreases, and on which side of the asymptote it lies.
  5. Sketch a smooth curve approaching the asymptote at one end.
A translated exponential

Sketch y=2x+2−1y = 2^{x + 2} - 1, showing the asymptote and the intercepts.

Solution

This is y=2xy = 2^x translated by (−2−1)\begin{pmatrix} -2 \\ -1 \end{pmatrix}. The asymptote moves to y=−1y = -1.

yy-intercept: 22−1=32^2 - 1 = 3, so (0,3)(0, 3).

xx-intercept: 2x+2=1=202^{x + 2} = 1 = 2^0, so x+2=0x + 2 = 0 and x=−2x = -2, giving (−2,0)(-2, 0).

y = 2^(x + 2) - 1 y = -1 (-2, 0) (0, 3)

The curve increases, lies above y=−1y = -1, and approaches it as x→−∞x \to -\infty.

A reflected and translated exponential

Describe the transformations mapping y=2xy = 2^x onto y=4−2−xy = 4 - 2^{-x}, and state the range of f(x)=4−2−xf(x) = 4 - 2^{-x} for x∈Rx \in \mathbb{R}.

Solution

2x→2−x→−2−x→4−2−x2^x \to 2^{-x} \to -2^{-x} \to 4 - 2^{-x}:

  1. reflection in the yy-axis;
  2. reflection in the xx-axis;
  3. translation by (04)\begin{pmatrix} 0 \\ 4 \end{pmatrix}.

Range: 2−x2^{-x} takes every positive value, so −2−x<0-2^{-x} < 0 and 4−2−x<44 - 2^{-x} < 4. Range f(x)<4f(x) < 4.

y = 4 - 2^(-x) y = 4 (0, 3) (-2, 0)

(y=0y = 0 when 2−x=4=222^{-x} = 4 = 2^2, so x=−2x = -2.)

Ranges and inverses

Because axa^x is increasing (for a>1a > 1), every exponential function of the form k⋅ax+qk \cdot a^x + q with k≠0k \neq 0 is one-one and has an inverse. Writing that inverse needs logarithms, which are P3.

Range and one-one

The function ff is defined by f(x)=3×2x+5f(x) = 3 \times 2^x + 5 for x∈Rx \in \mathbb{R}. State the range of ff and explain why ff has an inverse.

Solution

2x>02^x > 0 for all xx, so 3×2x>03 \times 2^x > 0 and f(x)>5f(x) > 5. As 2x2^x takes every positive value, the range is f(x)>5f(x) > 5.

2x2^x is increasing, so ff is increasing for all xx; hence it is one-one, and a one-one function has an inverse.

Even without a formula, you can sketch the inverse: reflect the curve in the line y=xy = x. The image of y=2xy = 2^x passes through (1,0)(1, 0) instead of (0,1)(0, 1), and its asymptote is the yy-axis (x=0x = 0) instead of the xx-axis. Its domain is x>0x > 0, the range of 2x2^x, exactly as the rule "domains and ranges swap" from One-one and inverse functions predicts.

y = 2^x y = x 2^y = x (0, 1) (1, 0)
Composite functions with an exponential

The functions ff and gg are defined for all real xx by f(x)=2xf(x) = 2^x and g(x)=x2−1g(x) = x^2 - 1.

(a) Find expressions for fg(x)fg(x) and gf(x)gf(x).

(b) State the range of fgfg and the range of gfgf.

(c) Solve the equation gf(x)=3gf(x) = 3.

Solution

(a) fg(x)=f(x2−1)=2x2−1fg(x) = f\left(x^2 - 1\right) = 2^{x^2 - 1}. gf(x)=g(2x)=(2x)2−1=22x−1=4x−1gf(x) = g\left(2^x\right) = \left(2^x\right)^2 - 1 = 2^{2x} - 1 = 4^x - 1.

(b) For fgfg: x2−1≥−1x^2 - 1 \ge -1 for all xx, with equality at x=0x = 0, and 2t2^t is increasing, so fg(x)≥2−1=12fg(x) \ge 2^{-1} = \tfrac{1}{2}. Range fg(x)≥12fg(x) \ge \tfrac{1}{2}.

For gfgf: 4x4^x takes every positive value, so 4x−1>−14^x - 1 > -1. Range gf(x)>−1gf(x) > -1.

(c) 4x−1=34^x - 1 = 3, so 4x=44^x = 4 and x=1x = 1.

The order matters: fgfg means "do gg first". See Composite functions.

Solving equations by matching powers

If both sides can be written as powers of the same base, the powers must be equal (because axa^x is one-one).

Matching bases

Solve 4x=8x−14^x = 8^{x - 1}.

Solution

Write both sides as powers of 22: 4x=(22)x=22x4^x = \left(2^2\right)^x = 2^{2x} and 8x−1=23(x−1)8^{x - 1} = 2^{3(x - 1)}.

22x=23x−3⇒2x=3x−3⇒x=32^{2x} = 2^{3x - 3} \quad\Rightarrow\quad 2x = 3x - 3 \quad\Rightarrow\quad x = 3
A disguised quadratic in an exponential

Solve 22x−5×2x+4=02^{2x} - 5 \times 2^x + 4 = 0.

Solution

22x=(2x)22^{2x} = \left(2^x\right)^2, so let u=2xu = 2^x (see Equations that are quadratic in a function of x):

u2−5u+4=0⇒(u−1)(u−4)=0u^2 - 5u + 4 = 0 \quad\Rightarrow\quad (u - 1)(u - 4) = 0

2x=12^x = 1 gives x=0x = 0; 2x=42^x = 4 gives x=2x = 2. (A value u≤0u \le 0 would have to be rejected, since 2x>02^x > 0.)

Counting solutions with a sketch

Some equations, such as 2x=x+22^x = x + 2, mix an exponential with a polynomial and cannot be solved exactly with Paper 1 methods. You can still say how many solutions there are, by sketching both sides on the same axes and counting the intersections, which is the same graph-and-equation idea used in Intersections of lines and curves.

Number of roots from a sketch

(a) By sketching y=2xy = 2^x and y=x+2y = x + 2 on the same axes, show that the equation 2x=x+22^x = x + 2 has exactly two real roots.

(b) Verify that one root is x=2x = 2, and show that the other lies between −2-2 and −1-1.

(c) Explain why the equation 2x=3−x2^x = 3 - x has exactly one real root, and find it.

Solution

(a)

y = 2^x y = x + 2 y = 3 - x

The line y=x+2y = x + 2 crosses the xx-axis at −2-2, where the curve is just above the axis (2−2=0.25>02^{-2} = 0.25 > 0), so the line starts below the curve on the left. At x=0x = 0 the line is above the curve (2>12 > 1). Far to the right the exponential grows faster than any line, so the curve is above again. The line therefore crosses the curve exactly twice.

(b) 22=4=2+22^2 = 4 = 2 + 2, so x=2x = 2 is a root. For the other, compare 2x−(x+2)2^x - (x + 2) at the ends of the interval: at x=−2x = -2 it is 0.25−0=0.25>00.25 - 0 = 0.25 > 0; at x=−1x = -1 it is 0.5−1=−0.5<00.5 - 1 = -0.5 < 0. The sign changes, so a root lies between −2-2 and −1-1 (it is about −1.69-1.69).

(c) y=2xy = 2^x is increasing and y=3−xy = 3 - x is decreasing, so they can cross at most once; and they do cross, since at x=0x = 0 the line is above the curve and at x=2x = 2 it is below. So there is exactly one root. Trying x=1x = 1: 21=2=3−12^1 = 2 = 3 - 1. The root is x=1x = 1.

Watch out

Drawing the curve crossing its asymptote. y=2x+qy = 2^x + q never reaches y=qy = q.

Thinking 2x2^x can be zero or negative. It is always positive, which is why u=2x≤0u = 2^x \le 0 must be rejected.

Confusing 2x+22^{x + 2} with 2x+22^x + 2. The first is a horizontal translation (left 22); the second is a vertical one (up 22).

Exam tip
  • Not examined as content. Paper 1 will not ask you to solve exponential equations with logarithms. It can, however, give an unfamiliar function and ask about its transformations, range, one-one property or composites, and the skills here are exactly those.
  • Sketches. Draw the asymptote as a dashed line and label it with its equation. Mark the intercepts with coordinates. The curve must approach the asymptote without touching it.
  • Ranges. Use strict inequalities: the range of 3×2x+53 \times 2^x + 5 is f(x)>5f(x) > 5, not f(x)≥5f(x) \ge 5, because 2x2^x never reaches 00.
  • Order of transformations. For a combination such as 4−2−x4 - 2^{-x}, list the steps in an order that works and check by tracking one point, such as the yy-intercept.
Summary
  • Exponentials are P2/P3 content; on P1 this note is practice of transformations and functions.
  • y=axy = a^x (a>1a > 1) passes through (0,1)(0, 1), is increasing, has range y>0y > 0 and asymptote y=0y = 0.
  • Vertical translations and stretches move or keep the asymptote; horizontal changes do not move it.
  • Exponential functions are one-one, so they have inverses (logarithms, in P3).
  • Solve af(x)=ag(x)a^{f(x)} = a^{g(x)} by setting f(x)=g(x)f(x) = g(x); spot quadratics in axa^x.

Practice questions

Question
  1. Sketch y=3x−9y = 3^x - 9, giving the asymptote and the intercepts.
  2. Describe the transformation mapping y=2xy = 2^x onto y=2x−3y = 2^{x - 3}, and show that it is also a stretch parallel to the yy-axis.
  3. Solve 9x=272−x9^x = 27^{2 - x}.
  4. Solve 32x−10×3x+9=03^{2x} - 10 \times 3^x + 9 = 0.
  5. State the range of f(x)=5−2xf(x) = 5 - 2^x for x∈Rx \in \mathbb{R}.
  6. Describe a sequence of transformations mapping y=2xy = 2^x onto y=2−x+1y = 2^{-x} + 1, and state the asymptote and yy-intercept.
  7. The curve y=a×2x+by = a \times 2^x + b passes through (0,5)(0, 5) and (2,11)(2, 11). Find aa and bb, and state the equation of the asymptote.
  8. The functions ff and gg are defined for all real xx by f(x)=2xf(x) = 2^x and g(x)=3x+1g(x) = 3x + 1. Find fg(x)fg(x) and solve fg(x)=16fg(x) = 16. State the range of gfgf.
  9. Show that the equation 3x=5−x3^x = 5 - x has exactly one real root, and that it lies between 11 and 22.
  10. The function hh is defined by h(x)=2x−4h(x) = 2^{x} - 4 for x∈Rx \in \mathbb{R}. Sketch y=h(x)y = h(x) and y=h−1(x)y = h^{-1}(x) on the same axes, stating the asymptote and the intercepts of each.
Answers
  1. Asymptote y=−9y = -9. yy-intercept 1−9=−81 - 9 = -8, so (0,−8)(0, -8). xx-intercept: 3x=9=323^x = 9 = 3^2, so (2,0)(2, 0).

  2. Translation by (30)\begin{pmatrix} 3 \\ 0 \end{pmatrix}. Also 2x−3=2−3×2x=18×2x2^{x - 3} = 2^{-3} \times 2^x = \tfrac{1}{8} \times 2^x, a stretch parallel to the yy-axis with scale factor 18\tfrac{1}{8}.

  3. 32x=33(2−x)3^{2x} = 3^{3(2 - x)}, so 2x=6−3x2x = 6 - 3x and x=65x = \tfrac{6}{5}.

  4. Let u=3xu = 3^x: u2−10u+9=0u^2 - 10u + 9 = 0, (u−1)(u−9)=0(u - 1)(u - 9) = 0. 3x=13^x = 1 gives x=0x = 0; 3x=93^x = 9 gives x=2x = 2.

  5. 2x>02^x > 0, so 5−2x<55 - 2^x < 5. Range f(x)<5f(x) < 5.

  6. Reflection in the yy-axis, then translation by (01)\begin{pmatrix} 0 \\ 1 \end{pmatrix}. Asymptote y=1y = 1; yy-intercept 22, so (0,2)(0, 2).

  7. At (0,5)(0, 5): a+b=5a + b = 5. At (2,11)(2, 11): 4a+b=114a + b = 11. Subtracting, 3a=63a = 6, so a=2a = 2 and b=3b = 3. Asymptote y=3y = 3.

  8. fg(x)=23x+1fg(x) = 2^{3x + 1}. 23x+1=16=242^{3x + 1} = 16 = 2^4, so 3x+1=43x + 1 = 4 and x=1x = 1. gf(x)=3×2x+1gf(x) = 3 \times 2^x + 1; since 2x>02^x > 0, the range is gf(x)>1gf(x) > 1.

  9. y=3xy = 3^x is increasing and y=5−xy = 5 - x is decreasing, so they meet at most once. At x=1x = 1: 31=3<4=5−13^1 = 3 < 4 = 5 - 1. At x=2x = 2: 32=9>3=5−23^2 = 9 > 3 = 5 - 2. The difference 3x−(5−x)3^x - (5 - x) changes sign between 11 and 22, so there is exactly one root, in that interval (it is about 1.211.21).

  10. y=h(x)y = h(x): asymptote y=−4y = -4, yy-intercept (0,−3)(0, -3), xx-intercept where 2x=42^x = 4, i.e. (2,0)(2, 0). The inverse is the reflection in y=xy = x: asymptote x=−4x = -4, xx-intercept (−3,0)(-3, 0), yy-intercept (0,2)(0, 2). Domain of h−1h^{-1}: x>−4x > -4.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action