GATE CS 2023 · Question 9 · General Aptitude · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

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

  1. (A) f(x) = 0 and g(y) = 0
  2. (B) f(x) = g(y) = constant
  3. (C) f(x) ≠ constant and g(y) ≠ constant
  4. (D) f(x) + g(y) = f(x) - g(y)
Answer

Answer (B)

Answer from the official GATE CS 2023 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes