Graphs of y = 2ˣ and y = log₂ x, reflected in y = x

An example figure from the Coordinate Grid Generator.

A coordinate grid from −6 to 6 with the exponential curve y = 2^x in blue, the logarithm curve y = log₂ x in red, and the dashed line y = x between them
A coordinate grid numbered from −6 to 6 on both axes. The exponential curve y = 2ˣ is drawn in blue, passing through (0, 1) and (1, 2) and flattening toward the x-axis on the left; the logarithm y = log₂ x is drawn in red, passing through (1, 0) and (2, 1) and dropping toward the y-axis. The dashed line y = x between them shows that each is the other reflected, as inverse functions. Use it for inverses, domain and range, and asymptotes.

Editing opens it in the Coordinate Grid Generator with these settings, to change anything and copy or download your own.

Answer key

  • y = 2^x
  • y = log_2(x)
  • y = x: slope 1, y-intercept 0

Free to use in your tests, worksheets, slides or anything else, no credit needed. Public domain under CC0 1.0. How to reuse our figures

More Coordinate Grid examples