The graphs of a function $f$f and its inverse $f^{-1}$f−1 are symmetric about which line?

$y=-x$y=−x

$xy=1$xy=1

$y=x$y=x

$y=x^2$y=x2

Consider the graph of the function $f\left(x\right)$f(x).

Below we have sketched the lines $y=5x$y=5x (labelled $B$B) and $y=x$y=x (labelled $A$A).

Below we have sketched the line $y=\frac{1}{2}x$y=12x (labelled $B$B) over the line $y=x$y=x (labelled $A$A).

Display and interpret the graphs of functions with the graphs of their inverse and/or reciprocal functions