Graphing an Inverse Map

Given a function  f : AB we define the inverse map  f -1: BA by saying that  f -1(b) = a means  f (a) = b.

In terms of the graph, this tells us that the point (b,a) is on the graph of the map  f -1  whenever the point (a,b) is on the graph of  f.

To make a graph of  f -1 by hand:

To make a graph of  f -1 by computer: