the mapping diagram shows a function S(x).
Which mapping diagram shows the inverse of S(x)?

Answer:
Again the domain consists of the pre-images and the range the images.
When we are looking for the f(x) we just look at the number it is pointing to in the range (when we have a diagram), and when we are looking for x when f(x)=y we look at the number that has a line pointed to y.
So the f(4)=
f(x)=4 when x is 8