GATE ME 2022 · Set-2 · Numerical Computation & Estimation

MCQ · 2 marks · Problem GA-QUAN-0173

Consider the following functions for non-zero positive integers, \(p\) and \(q\)\(f(p,q)=\underbrace{p \times p \times p \times ...p}_{q \;\;times} =p^q;\;\; f(p,1)=p\) \(g(p,q)=p^{p^{p^{\vdots ^{q \;\;times}}}};\;\; g(p,1)=p\)Which one of the following options is correct based on the above?
  1. A
    \(f(2,2)=g(2,2)\)
  2. B
    \(f(g(2,2),2) \lt f(2,g(2,2))\)
  3. C
    \(g(2,1) \neq f(2,1)\)
  4. D
    \(f(3,2) \gt g(3,2)\)

Solve it on GATE DA practice →More Section 2: Quantitative Aptitude problems

Show the worked solution\[\boxed{f(p,q)=p^q,\qquad g(p,q)=\underbrace{p^{p^{\cdot^{\cdot^{p}}}}}_{q\ \text{levels}}}\](A) \(f(2,2)=2^2=4\) and \(g(2,2)=2^2=4\), so they are equal — correct.(B) \(g(2,2)=4\): \(f(4,2)=4^2=16\) and \(f(2,4)=2^4=16\); 16 is not less than 16 — incorrect.(C) \(g(2,1)=2=f(2,1)\) — incorrect.(D) \(f(3,2)=9\) while \(g(3,2)=3^3=27\), so \(f(3,2)<g(3,2)\) — incorrect.Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com