136k views
3 votes
Write an input and output pair that is a function and stays a function when you switch the input and output

User Lucamug
by
3.3k points

1 Answer

1 vote

9514 1404 393

Answer:

{(1, 2), (3, 4)}

Explanation:

If you want both the relation and its inverse to be functions, there can be no repeated x-values, and no repeated y-values.

In the above pair of points, I have avoided duplicates by making all of the values different. That is not necessary, but it satisfies this problem easily.

User Rob Rose
by
3.5k points