GATE 2023 CS – Question 9
$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$?
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
- GATE 2022 CS Q2
- GATE 2022 CS Q3
- GATE 2021 CS (CS1) Q2
- GATE 2021 CS (CS1) Q6
- GATE 2020 CS Q8
- GATE 2020 CS Q9
All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →