Math 2.0

definition

Convex function on R^n

Definition

A set C⊆RnC \subseteq \mathbb{R}^n is convex if tx+(1−t)y∈Ct x + (1 - t) y \in C for all x,y∈Cx, y \in C and all t∈[0,1]t \in [0, 1]. Let C⊆RnC \subseteq \mathbb{R}^n be convex. A function f ⁣:C→Rf \colon C \to \mathbb{R} is convex if, for all x,y∈Cx, y \in C and all t∈[0,1]t \in [0, 1], f(tx+(1−t)y)≤tf(x)+(1−t)f(y).f(t x + (1 - t) y) \le t f(x) + (1 - t) f(y). The function ff is strictly convex if the inequality is strict for all x≠yx \ne y and all t∈(0,1)t \in (0, 1).

Remarks

If CC is open and ff is differentiable on CC, then ff is convex if and only if f(y)≥f(x)+∇f(x)⋅(y−x)f(y) \ge f(x) + \nabla f(x) \cdot (y - x) for all x,y∈Cx, y \in C. Let CC be open and let ff be of class C2C^2. Then ff is convex if and only if its Hessian matrix is positive semidefinite at each point of CC. Each local minimum of a convex function is a global minimum, and a strictly convex function has at most one global minimum. A function can be convex in each variable separately but not convex. The function f(x,y)=xyf(x, y) = x y is linear in each variable, but f(t,−t)=−t2f(t, -t) = -t^2 is not convex.

Explanations

L1 human

A convex function is bowl-shaped: the straight segment between two points of its graph never goes below the graph. Examples are ∥x∥2\|x\|^2 and, on all of Rn\mathbb{R}^n, each linear function.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 4 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Euclidean space object
  2. Function concept
  3. Function of several variables concept
  4. Convex function on R^n definition

Sources

  1. Web https://en.wikipedia.org/wiki/Convex_function, Definition
  2. Web https://en.wikipedia.org/wiki/Convex_function, Functions of several variables