GATE 2024 CS (CS2) – Question 4
For positive non-zero real variables $x$ and $y$, if $\ln\left(\frac{x+y}{2}\right)=\frac{1}{2}[\ln(x)+\ln(y)]$, then, the value of $\frac{x}{y}+\frac{y}{x}$ is
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) 2
Explanation
Combine the logarithms on the right to obtain
$$\ln\frac{x+y}{2}=\ln\sqrt{xy}.$$
Positivity allows us to equate their arguments: x+y=2√xy. Squaring gives x²+2xy+y²=4xy, hence (x−y)²=0 and x=y.
Therefore $x/y+y/x=1+1=2$, **C**. This is also the equality case of the arithmetic-mean/geometric-mean inequality.
More Quantitative Aptitude: Algebra, Geometry and Mensuration questions
- GATE 2023 CS Q7
- GATE 2023 CS Q9
- GATE 2022 CS Q2
- GATE 2022 CS Q3
- GATE 2021 CS (CS1) Q2
- GATE 2021 CS (CS1) Q6
All Quantitative Aptitude: Algebra, Geometry and Mensuration questions →