GATE / CS ARCHIVE

GATE CSE 2023 / QUESTION 9

GATE CSE 2023 Q9

General Aptitude · Algebra, Equations & Number Patterns · Full GATE CSE 2023 paper

GATE 2023, Q9 2 marks · MCQ
Report issue

Algebra, Equations & Number Patterns

Question 9, GATE 2023: For every independent pair of real values x,y, f(x)=g(y). Must A both functions be zero, B both be the same constant, C both be nonconstant, or D f(x)+g(y)=f(x)−g(y)?
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Fix any y0. The premise gives f(x)=g(y0) for every x, so f is constant. Similarly fixing x0 makes g constant, and their constants are equal. They need not be zero. Hence B.

Teaching detail. The key phrase is “for all x and y”, not merely f(x)=g(x) for a common argument. Taking y=0 forces every value of f to equal the single number g(0). Taking x=0 similarly forces every value of g to equal f(0), and those two numbers agree. The common value can be 7, for example, refuting the necessity of zero and of the equality of sum and difference. No continuity or differentiability assumption is needed.

Original paper, page 6 · Answer key