168,580 views
39 votes
39 votes
Is this problem a function yes or no

Is this problem a function yes or no-example-1
User Aadhar Bhatt
by
3.1k points

1 Answer

16 votes
16 votes
The give problem is NOT a function.

A relation is any set of ordered pairs, which can be thought of as (input, output).

A function is a relation in which no two ordered pairs have the same input and different outputs. Thus, a function can only take on one output for each input.

In the given problem, q has two output values: y and z. Therefore, the given relation is not a function.
User Daniel Spangenberg
by
2.5k points