A function f:S \to \mathbb{R} defined on a convex subset S of a real vector space is quasiconvex if for all x, y \in S and \lambda \in [0,1] we have : f(\lambda x + (1 - \lambda)y)\leq\max\big\{f(x),f(y)\big\}. In words, the objective f is quasiconvex if and only if the maximum of f along a straight line between any two end points is never greater than the value at the higher endpoint. Note that the points x and y may be points in
n-dimensional space. If the inequality is strict, i.e. : f(\lambda x + (1 - \lambda)y) for all x \neq y and \lambda \in (0,1), then f is
strictly quasiconvex. That is, strict quasiconvexity requires that a point directly between two other points must give a lower value of the function than one of the other points does. An alternative way (see introduction) of defining a quasi-convex function f(x) is to require that each sublevel set S_\alpha(f) = \{x\mid f(x) \leq \alpha\} is a convex set. It follows that for every strictly quasiconvex function, there exist a strictly monotone increasing coordinate transformation m:\mathbb{R}\to\mathbb{R} such that m(f(x)) is strictly convex. A
quasiconcave function is a function whose negative is quasiconvex, and a
strictly quasiconcave function is a function whose negative is strictly quasiconvex. Equivalently a function f is quasiconcave if and only if : f(\lambda x + (1 - \lambda)y)\geq\min\big\{f(x),f(y)\big\}. A (strictly) quasiconvex function has (strictly) convex
lower contour sets, while a (strictly) quasiconcave function has (strictly) convex
upper contour sets.
Unimodal probability distributions like the Gaussian distribution are common examples of quasi-concave functions that are not concave. A function that is both quasiconvex and quasiconcave is
quasilinear, and satisfies : \min\big\{f(x),f(y)\big\} \leq f(\lambda x + (1 - \lambda)y)\leq\max\big\{f(x),f(y)\big\} For a quasilinear function defined on a plane, the level sets are always lines. More generally, the level sets of a quasilinear function over \mathbb{R}^n are n-1-dimensional planes. ==Applications==