GMAT Practice Question: If x and y are integers such that 2<x 8 and 2<y 9...
Question
If x and y are integers such that 2<x 8 and 2<y 9, what is the maximum value of 1/x-x/y ?
- -3 1/8
- 0
- 1/4
- 5/18
- 2
Topics: fractions, max/min of function, inequalities
Solution
Step 1
We use the constraints "2 < x 8" and "2 < y 9". We set up the expression and reason that, for any fixed positive value of x, increasing y makes the subtractive term smaller, which makes the whole expression larger. So we pick the largest allowed y.
f(x,y) = 1/x - x/y[[LB]]y = 9
Step 2
With y fixed at its largest value, we compare consecutive x values to see how the expression changes. The difference is negative, so the value goes down as x goes up. We then choose the smallest allowed x.
g(x) = f(x,9) = 1/x - x/9 g(x+1) - g(x) = 1/x+1 - x+1/9 - (1/x - x/9) = -1/x(x+1) - 1/9 x = 3
Step 3
We now evaluate at that pair and simplify the fraction before subtracting.
f(3,9) = 1/3 - 3/9 3/9 = 3 13 3 = 1/3 1/3 - 1/3 = 0
Answer
0
