How do you graph #f(x)=-x-2# and then use the horizontal test to determine whether the inverse of f is a function?

1 Answer

graph{-x-2 [-10, 10, -5, 5]}

linear slanted line that goes to infinity continuously on both sides

Explanation:

Here's the graph. graph{-x-2 [-10, 10, -5, 5]}

to do inverse, you just flip the #x# and #f(x)# and solve, so
#f(x)=-x-2#
#x=-f(x)-2#
#x+2=-f(x)#
#f(x)=-x-2#
Since it's a linear slanted line that goes to infinity continuously on both sides, there will be a horizontal line that passes through any point on the graph