The correct option is B Both I and IV.
A function is a relationship between two sets in which each element of the input set is associated with exactly one element of the output set.
Let’s check all the options one by one.
Statement I:
x−y=2
y=x−2
For every value of x, the value of y will be 2 less than the value of x. This means we cannot have the same value of y for different values of x.
Hence, x−y=2 is a function.
Statement II:
x2+y2=8
⇒y2=8−x2
⇒y=√8−x2
When x=2,y can have the values 2 as well as −2. This is because when every number has two square roots, i.e., the principal square root, and its negation. So, for one value of x, there is more than one value of y.
Hence, x2+y2=8 is not a function.
Statement III:
{(2,3),(2,4)}
When x=2,y has two values, 3 and 4
Hence, {(2,3),(2,4)} is not a functon.
Statement IV:
{(2,4),(3,4)}
Both inputs (x=2,3), are related to one output, i.e., 4.
Hence, {(2,4),(3,4)} is a function.