Skip to content
Official PYQ · 2023

GATE CS 2023 Q9 — General Aptitude

Explain with AI

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 values of xx and yy. Which one of the following options is necessarily TRUE\text{TRUE} for a xx and y?y? 

Choose one option
View worked solution

Answer: B

Given that f(x)=g(y)f(x) = g(y) for all values of xx and yy, where f(x)f(x) is a function of xx alone and g(y)g(y) is a function of yy alone.

Let us analyze the behavior of these functions by keeping one variable constant:

  1. Fix yy: Let yy be fixed at some arbitrary value y0y_0. Since g(y)g(y) is a function of yy, g(y0)g(y_0) is a constant value, say CC.
    Since the relation f(x)=g(y)f(x) = g(y) must hold for all xx and yy, substituting y=y0y = y_0 gives: f(x)=g(y0)=Cfor all xf(x) = g(y_0) = C \quad \text{for all } x This means f(x)f(x) must be a constant function.
  2. Fix xx: Similarly, let xx be fixed at some arbitrary value x0x_0. Then f(x0)f(x_0) is a constant.
    Substituting x=x0x = x_0 into the relation gives: g(y)=f(x0)=Cfor all yg(y) = f(x_0) = C \quad \text{for all } y This means g(y)g(y) must also be a constant function.

Therefore, both f(x)f(x) and g(y)g(y) must be equal to the same constant for all xx and yy:

f(x)=g(y)=constant\text{f}(x) = g(y) = \text{constant}

Hence, option B is necessarily true.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore General Aptitude questions