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?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2023 · Q9
Time
Select one answerSingle correct
Solution
Official answer: B) f(x)=g(y)=constant
Quantitative AptitudeWe are given that for all .
Since the equation holds for all real values of and , choose an arbitrary fixed value of , say . Then:
where is a constant. Since is arbitrary, must be a constant function equal to for all .
Similarly, choosing a fixed gives:
so must also be the same constant for all .
Thus, , which makes (B) necessarily true.
Options (A) and (D) are only true when the constant is zero, which is not necessarily the case for all possible constant values.
Try the question first, then check your work.
Examiner trap
Since the left-hand side depends only on and the right-hand side depends only on for all independent choices of and , both sides cannot vary with their respective variables.
This Quantitative Aptitude previous year question is Q9 of the GATE CSE 2023 paper. Find more GATE CSE PYQs on Quantitative Aptitude in General Aptitude, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Quantitative Aptitude PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Quantitative Aptitude has 53 GATE CSE PYQs across 13 papers from 2011 to 2026. 27 of them are 2-mark MCQs like this one, and GATE CSE 2023 has 4.
How GATE tests Quantitative AptitudeIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.