Convex Function


For a convex set $C \subset R^d$, a function $f: C \rightarrow R$ is convex if
$$f(\lambda x+ (1 - \lambda)y) \le \lambda f(x) + (1 - \lambda)f(y), \forall x, y \in C and \forall \lambda \in [0, 1]$$










