The GATE Grind

GATE 2023 CS – Question 9

General Aptitude · Quantitative Aptitude: Algebra, Geometry and Mensuration · 2 marks · Multiple choice

$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. $f(x)=0$ and $g(y)=0$
  2. $f(x)=g(y)=\text{constant}$
  3. $f(x)\neq \text{constant}$ and $g(y)\neq \text{constant}$
  4. $f(x)+g(y)=f(x)-g(y)$

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) $f(x)=g(y)=\text{constant}$

Explanation

Fix any one value y₀. Since f(x)=g(y₀) for every real x, the right side is a fixed number, so f is constant. Call that number c.

Now fix any x₀. For every y, g(y)=f(x₀)=c, so g is the same constant. Hence **B**.

The constant need not be zero: f(x)=g(y)=5 satisfies the premise. The crucial phrase is “for all x and y,” which lets the variables vary independently.

More Quantitative Aptitude: Algebra, Geometry and Mensuration questions

All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →