Question

f(x)f(x) and g(y)g(y) are functions of xx and yy, respectively, and f(x)=g(y)f(x) = g(y) for all real values of xx and yy. Which one of the following options is necessarily TRUE for all xx and yy?

Choose one option
Official answer and solution
Official answer
B
From
Official GATE 2023 answer key

Solution

Use the independence of variables xx and yy to deduce the nature of ff and gg.

We are given f(x)=g(y)f(x) = g(y) for all real xx and yy.

Fix an arbitrary value of yy, say y=0y = 0. Let g(0)=cg(0) = c (a constant real number). Then for all real xx, f(x)=g(0)=cf(x) = g(0) = c. Hence f(x)f(x) is identically constant.

Similarly, fix an arbitrary value of xx, say x=0x = 0. Then for all real yy, g(y)=f(0)=cg(y) = f(0) = c. Hence g(y)g(y) is identically constant and equals the same constant cc.

Therefore, f(x)=g(y)=constantf(x) = g(y) = \text{constant} is necessarily true for all real xx and yy.

Final answer

Option (B)

Common trap

Assuming the constant must be zero (Option A), whereas f(x)=g(y)=5f(x) = g(y) = 5 is equally valid.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2023 Computer Science and Information Technology (CS)
Question
9 of 65
Section
General Aptitude

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.