3 ms·
You got the gist, but get a point deducted for that typo :-) You also forgot to realize that 10/-5 is less than one, even though its numerator is larger than i
by Someone 15y ago
You got the gist, but get a point deducted for that typo :-)
You also forgot to realize that 10/-5 is less than one, even though its numerator is larger than its denominator.
Finally, it can be done somewhat easier, assuming a, b > 0:
(a+1)/(b+1) > a/b
<=>
b (a+1)/(b+1) > a
<=>
b (a+1) > a (b+1)
<=>
ba + b > ab + a
<=>
b > a