Algebra 2 · Grades 10, 11

Graphs of Exponential and Logarithmic Functions

Quick answer

The graph of y = bˣ passes through (0, 1), rises when b > 1 and falls when 0 < b < 1, and hugs the asymptote y = 0 on one side. The graph of y = log_b x is its reflection in the line y = x: it passes through (1, 0), has the vertical asymptote x = 0, and accepts only positive inputs. Shifts and stretches move these features in the usual ways, so tracking the asymptote and two or three key points is enough to sketch any transformed exponential or logarithm.

What you'll learn

  • Graph exponential functions and identify growth or decay
  • Graph logarithmic functions as reflections of exponentials
  • Find the domain, range and asymptote of transformed graphs
  • Sketch a transformed exponential or logarithm from key points

Exponential graphs

Every graph of y=bxy = b^x, with b>0b > 0 and b≠1b \ne 1, passes through (0,1)(0, 1), because b0=1b^0 = 1, and through (1,b)(1, b). If b>1b > 1 it rises, faster and faster: growth. If 0<b<10 < b < 1 it falls: decay. Either way, the values stay positive and approach 00 on one side without reaching it, so the xx-axis is a horizontal asymptote.

Exponential growth and decay Two curves crossing at (0, 1). The curve y = 2ˣ rises from near the x-axis on the left, through (1, 2), and climbs steeply to the right. The curve y = (1/2)ˣ is its mirror image in the y-axis, falling from the upper left through (−1, 2) toward the x-axis on the right. -4-224246xy (1, 2) (−1, 2)
  • y = 2ˣ
  • y = (1/2)ˣ
Exponential growth and decay

Since (12)x=2−x\left(\tfrac{1}{2}\right)^x = 2^{-x}, the decay curve is the growth curve reflected in the yy-axis.

Logarithmic graphs

The logarithm y=log⁡bxy = \log_b x is the inverse of y=bxy = b^x, so its graph is the exponential graph reflected in the line y=xy = x.

y = 2ˣ and y = log₂ x are mirror images The curve y = 2ˣ through (0, 1) and (2, 4), and the curve y = log₂ x through (1, 0) and (4, 2), placed symmetrically on either side of the dashed line y = x. The exponential hugs the x-axis on the left; the logarithm plunges along the y-axis near x = 0. -4-2246-4-2246xy (0, 1) (1, 0) (2, 4) (4, 2)
  • y = 2ˣ
  • y = log₂ x
  • y = x
y = 2ˣ and y = log₂ x are mirror images

Why the logarithm graph is the exponential flipped

An inverse function swaps inputs and outputs. The point (2,4)(2, 4) on y=2xy = 2^x says 22=42^2 = 4; the same fact read backward, log⁡24=2\log_2 4 = 2, is the point (4,2)(4, 2) on the logarithm. Swapping the coordinates of every point reflects the graph in y=xy = x. A logarithm’s graph is the exponential’s graph with xx and yy exchanged, so every feature is exchanged too:

y=bxy = b^xy=log⁡bxy = \log_b x
key point(0,1)(0, 1)(1,0)(1, 0)
asymptotehorizontal, y=0y = 0vertical, x=0x = 0
domainall real numbersx>0x > 0
rangey>0y > 0all real numbers

Shifts and stretches

The familiar transformations apply. For y=a⋅bx−h+ky = a \cdot b^{x - h} + k and y=alog⁡b(x−h)+ky = a\log_b(x - h) + k:

  • A shift up by kk moves the exponential’s asymptote to y=ky = k.
  • A shift right by hh moves the logarithm’s asymptote to x=hx = h and its domain to x>hx > h.
  • The factor aa stretches vertically, and a negative aa reflects the graph in the xx-axis.

To sketch, draw the asymptote first, then move two or three key points.

Worked examples

Common mistakes

Practice problems

  1. Give the domain, range and asymptote of y=2x+3y = 2^x + 3.

    Answer

    All real numbers; y>3y > 3; y=3y = 3

    Full solution

    2x>02^x > 0 for every xx, so 2x+3>32^x + 3 > 3, approaching 33 as x→−∞x \to -\infty.

  2. Give the domain, range and asymptote of y=log⁡3(x+2)y = \log_3(x + 2).

    Answer

    x>−2x > -2; all real numbers; x=−2x = -2

    Full solution

    The argument x+2x + 2 must be positive. The graph of y=log⁡3xy = \log_3 x has moved 22 units left.

  3. Find the yy-intercept of y=5(0.5)xy = 5(0.5)^x. Is it growth or decay?

    Answer

    (0,5)(0, 5); decay

    Full solution

    At x=0x = 0, y=5y = 5. The base 0.50.5 is between 00 and 11.

  4. Find the xx-intercept of y=log⁡2(x−3)y = \log_2(x - 3).

    Answer

    (4,0)(4, 0)

    Full solution

    log⁡2(x−3)=0\log_2(x - 3) = 0 when x−3=1x - 3 = 1.

  5. Is y=(0.8)xy = (0.8)^x growth or decay, and what is its asymptote?

    Answer

    Decay; y=0y = 0

    Full solution

    The base 0.80.8 is less than 11, so each step right multiplies yy by 0.80.8.

  6. Find the exponential y=a⋅bxy = a \cdot b^x through (0,2)(0, 2) and (2,18)(2, 18).

    Answer

    y=2⋅3xy = 2 \cdot 3^x

    Full solution

    a=2a = 2. Then 2b2=182b^2 = 18, so b2=9b^2 = 9 and b=3b = 3, since b>0b > 0.

  7. The point (2,25)(2, 25) is on y=5xy = 5^x. Which point must be on y=log⁡5xy = \log_5 x?

    Answer

    (25,2)(25, 2)

    Full solution

    The inverse swaps coordinates: log⁡525=2\log_5 25 = 2.

  8. Find the domain of y=ln⁡(4−2x)y = \ln(4 - 2x).

    Answer

    x<2x < 2

    Full solution

    4−2x>04 - 2x > 0 gives x<2x < 2.

  9. Describe how y=−log⁡(x+1)+3y = -\log(x + 1) + 3 is built from y=log⁡xy = \log x, and give its asymptote.

    Answer

    Shift 11 left, reflect in the xx-axis, shift 33 up; asymptote x=−1x = -1

    Full solution

    x+1x + 1 shifts left, the minus sign reflects, and +3+3 shifts up. Only the left shift moves the vertical asymptote.

  10. A student says y=log⁡(x−2)y = \log(x - 2) has the horizontal asymptote y=2y = 2. What went wrong?

    Hint

    Which way does a logarithm’s asymptote run?

    Answer

    The asymptote is vertical: x=2x = 2.

    Full solution

    y=log⁡xy = \log x approaches the vertical line x=0x = 0. Replacing xx by x−2x - 2 moves everything 22 units right, including that line, to x=2x = 2. The curve has no horizontal asymptote: it keeps rising.

Frequently asked questions

What does the graph of y = bˣ look like?

It passes through (0, 1) and (1, b). It rises for b > 1 and falls for 0 < b < 1, and it approaches the x-axis, its horizontal asymptote, on one side.

What does the graph of y = log_b x look like?

It passes through (1, 0) and (b, 1), has the y-axis as a vertical asymptote, and is defined only for x > 0.

Why are exponential and log graphs reflections of each other?

They are inverse functions, and the graph of an inverse is the original graph reflected in the line y = x.

Where is the asymptote of y = log_b(x − h) + k?

At x = h. The domain is x > h, and shifting up by k does not move a vertical asymptote.

Where is the asymptote of y = a·bˣ + k?

At y = k. Vertical shifts move a horizontal asymptote; horizontal shifts do not.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSF.IF.C.7eInterpreting FunctionsGraph exponential and logarithmic functions, showing intercepts and end behavior, and trigonometric functions, showing period, midline, and amplitude.
  • CCSS.MATH.CONTENT.HSF.BF.B.3Building FunctionsIdentify the effect on the graph of replacing f(x) by f(x) + k, k f(x), f(kx), and f(x + k) for specific values of k (both positive and negative); find the value of k given the graphs. Experiment with cases and illustrate an explanation of the effects on the graph using technology. Include recognizing even and odd functions from their graphs and algebraic expressions for them.