Math 2.0

definition

Convex set

Definition

A subset SS of Rn\mathbb{R}^n is convex if for all x,y∈Sx, y \in S and each real number tt with 0≤t≤10 \leq t \leq 1, (1−t) x+t y∈S.(1 - t)\, x + t\, y \in S. That is, SS contains the segment from xx to yy.

Remarks

The same definition works in each real vector space or real affine space. Mathlib's Convex is stated for a module over an ordered semiring. A convex set contains each convex combination ∑iwixi\sum_i w_i x_i of its points, an affine combination with wi≥0w_i \geq 0. The empty set and the whole space are convex. Each intersection of convex sets is convex, but a union of convex sets need not be convex. Balls, half-spaces, lines and triangles with their inside are convex.

Explanations

L1 human

A set is convex if you can see each of its points from each other point, with the line of sight inside the set. A disc is convex. A ring is not: the segment between two opposite points of the ring passes through the hole.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (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 3 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. Affine combination concept
  2. Euclidean space object
  3. Convex set definition

Sources

  1. Web https://en.wikipedia.org/wiki/Convex_set, Definitions
  2. Web https://en.wikipedia.org/wiki/Convex_set, Properties
  3. Web https://en.wikipedia.org/wiki/Convex_set, Intersections and unions