My book states that:
$f$ is a quasiconcave function on $U$ if for all $x,y \in U $ and $t \in [0,1]$:
$f(x) \geq f(y) \implies f(tx + (1 - t)y) \geq f(y)$
$f$ is a quasiconvex function on $U$ if for all $x,y \in U $ and $t \in [0,1]$:
$f(y) \leq f(x) \implies f(tx + (1 - t)y) \leq f(x)$
Now take a look to the graph below $f(x)=xy$. I know it should be quasi-concave, but given the definitions above I seems to be both quasi-convave and quasi-convex. What am I doing wrong?
Thanks!