Skip to content
GATEiit

GATE CSE 2024 Session 2 Q4: Value of x/y + y/x from a logarithm equation

Question

For positive non-zero real variables xx and yy, if

ln⁡(x+y2)=12[ln⁡(x)+ln⁡(y)]\ln\left(\frac{x+y}{2}\right) = \frac{1}{2}\left[\ln(x) + \ln(y)\right]

then, the value of xy+yx\dfrac{x}{y} + \dfrac{y}{x} is

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: C (official GATE 2024 final answer key)

Concept used: Log rules turn the equation into AM = GM, which forces x=yx = y.

First step: The right side is ln⁡xy\ln\sqrt{xy}, so x+y2=xy\frac{x+y}{2} = \sqrt{xy}, i.e. (x−y)2=0(\sqrt{x} - \sqrt{y})^2 = 0.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2024 Session 2 CS question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key