Skip to content
Back to exploration
Mathematical modeling / English

Convex Sets - Introduction

mathapptician · YouTube · 8:41

Open original
READ & KEEP

The explanation, unpacked.

Saves 0

Reviewed learning material · Video analysis · English
Read the full overview

This 165-second whiteboard lecture introduces convex sets in Rn\mathbb{R}^n. It begins with the informal rule that any two points in the set must have their whole connecting segment inside the set, illustrates this with a convex disk and a non-convex kidney-shaped region, notes that in one dimension convex sets are intervals, then formalizes the line segment as \{(1−λ1-\lambda)x+λyx+\lambda y:\lambda\in[0,1]\} and the convexity condition for C⊆RnC \subseteq \mathbb{R}^n. The clip ends by introducing the example set H := \{x∈Rnx\in\mathbb{R}^n:a^Tx≥βT x\geq\beta\}. This 165-second whiteboard clip proves that the halfspace H := { x ∈ ℝ^n : aTx≥βa^T x \ge β }, with a≠0a \ne 0 and β ∈ ℝ, is convex. The speaker first states the convexity criterion, then takes arbitrary x,y∈Hy \in H and forms z=(1−λ)x+λyz = (1-λ)x + λy for λ∈[0,1]λ \in [0,1]. By expanding aTza^T z with distributivity, using aTx≥βa^T x \ge β and aTy≥βa^T y \ge β, and noting that 1-λ and λ are nonnegative, the proof obtains aTz≥(1−λ)β+λβ=βa^T z \ge (1-λ)β + λβ = β. Hence z∈Hz \in H, so the whole segment between any two points of H stays in H. This 165-second whiteboard clip finishes a proof that a halfspace H = { x ∈ ℝ^n : aTx≥βa^T x \ge β } is convex, names such sets halfspaces, states that intersections of convex sets are convex, defines a polyhedron as a finite intersection of halfspaces, works through a concrete ℝ^2 example, and concludes that linear-programming feasible regions are polyhedra and therefore convex. This introductory lecture segment defines a polyhedron as the intersection of finitely many halfspaces. It states the fact that the intersection of two convex sets is convex and notes that halfspaces are convex, implying polyhedrons are convex. An algebraic example demonstrates combining two halfspace inequalities into a single polyhedron definition. The speaker highlights the importance of this property for minimizing linear objective functions over convex sets.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Introduction to convex sets0:20Disk example in two dimensions0:43Non-convex example1:06One-dimensional case1:20Line segment in RnR^n1:55Formal definition of convex set2:32Example set H2:45Define the halfspace H and its parameters3:00State the convexity goal3:09Choose x,y∈Hy \in H and form z on the segment3:41Reduce membership in H to checking aTz≥βa^T z \ge β4:07Expand aTza^T z and use the endpoint inequalities4:43Scale by nonnegative coefficients and add bounds5:15Conclude aTz≥βa^T z \ge β, hence H is convex5:30Finish the halfspace convexity proof5:42Name the set: halfspace6:10Intersection fact for convex sets6:30Define polyhedron6:48Example in ℝ^27:42Connection to linear programming8:15Definitions: Polyhedron and Convexity Facts8:25Algebraic Example of Intersection8:35Significance in Optimization

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The lecture opens by naming the subject: special subsets of Rn\mathbb{R}^n called convex sets. The speaker immediately gives the core intuition: choose any two points in the set, and the entire straight segment joining them must remain inside the set.

To make that idea concrete, the board draws a filled disk in the plane. Two red points are placed inside it and joined by a red segment that stays wholly within the shaded region, visually confirming the claim that disks are convex in two dimensions.

Next, a second planar region shaped like a kidney is drawn and shaded. Two points are chosen in different lobes, and the segment between them passes outside the region. This single counterexample pair is enough to show the set is not convex.

The speaker then records the one-dimensional special case: in R\mathbb{R}, the convex sets are exactly the intervals. This bridges the low-dimensional pictures to the general theory.

Because the earlier pictures only covered dimensions 1 and 2, the lecture now defines the needed object in full generality. For x,y∈Rnx,y\in\mathbb{R}^n, the line segment between them is written as {(1−λ)x+λy:λ∈[0,1]}\{(1-\lambda)x+\lambda y:\lambda\in[0,1]\}, where λ\lambda interpolates from xx to yy.

With that definition in place, convexity is stated formally: a set C⊆RnC\subseteq\mathbb{R}^n is convex if for all x,y∈Cx,y\in C, the whole line segment between xx and yy is contained in CC. The speaker emphasizes that this gives a uniform test in any dimension.

Finally, the board is cleared and a concrete example class is introduced: H:={x∈Rn:aTx≥β}H:=\{x\in\mathbb{R}^n:a^T x\geq\beta\}. The clip ends at the setup stage, before proving anything about this set.

The clip opens on a handwritten definition of a set H:={x∈Rn:aTx≥β}H:=\{x\in\mathbb{R}^n:a^Tx\ge\beta\}, with the side conditions a∈Rna\in\mathbb{R}^n, a≠0a\neq0, and β∈R\beta\in\mathbb{R}. The speaker identifies aa as an nn-vector and β\beta as a real constant, making clear that the object under study is a halfspace determined by a nonzero linear inequality.

Next, the goal is stated: show that HH is convex. The method given is the standard segment criterion: take any two points of HH and verify that the entire line segment joining them is still contained in HH. This turns a geometric claim into an algebraic membership test.

To implement that criterion, the proof chooses arbitrary x,y∈Hx,y\in H and defines z=(1−λ)x+λyz=(1-\lambda)x+\lambda y for some λ∈[0,1]\lambda\in[0,1]. The speaker explicitly interprets zz as an arbitrary point on the line segment between xx and yy, so proving z∈Hz\in H will prove convexity for the whole segment.

The video then explains how to test membership in HH: a point belongs to HH exactly when it satisfies the defining inequality. Therefore the task reduces to proving aTz≥βa^Tz\ge\beta. This step connects the abstract convexity requirement to the concrete halfspace definition written at the start.

The computation begins by substituting the definition of zz into the linear functional: aTz=aT((1−λ)x+λy)a^Tz=a^T((1-\lambda)x+\lambda y). Using distributivity, this is rewritten as (1−λ)aTx+λaTy(1-\lambda)a^Tx+\lambda a^Ty. The algebra isolates the two quantities aTxa^Tx and aTya^Ty, which are already controlled by the assumption that x,y∈Hx,y\in H.

Because xx and yy lie in HH, the proof records the endpoint inequalities aTx≥βa^Tx\ge\beta and aTy≥βa^Ty\ge\beta. Since λ∈[0,1]\lambda\in[0,1], both coefficients 1−λ1-\lambda and λ\lambda are nonnegative, so multiplying the inequalities by these scalars preserves their directions. This yields (1−λ)aTx≥(1−λ)β(1-\lambda)a^Tx\ge(1-\lambda)\beta and λaTy≥λβ\lambda a^Ty\ge\lambda\beta.

Adding the two lower bounds gives aTz≥(1−λ)β+λβ=βa^Tz\ge(1-\lambda)\beta+\lambda\beta=\beta. The final simplification uses (1−λ)+λ=1(1-\lambda)+\lambda=1. Thus the arbitrary segment point zz satisfies the defining inequality of HH, so z∈Hz\in H. The clip closes by visually linking this conclusion back to the original membership condition, completing the proof that the halfspace HH is convex.

The clip opens on a completed convexity argument for the set H := { x ∈ ℝ^n : aTx≥βa^T x \ge β }. Taking arbitrary x,y∈Hy \in H and λ∈[0,1]λ \in [0,1], the lecturer forms z=(1−λ)x+λyz = (1-λ)x + λy and uses linearity to compute aTz=(1−λ)aTx+λaTya^T z = (1-λ)a^T x + λa^T y. Since aTx≥βa^T x \ge β and aTy≥βa^T y \ge β, this gives aTz≥(1−λ)β+λβ=βa^T z \ge (1-λ)β + λβ = β, so z∈Hz \in H and H is convex.

The lecturer then names this kind of set. A set in ℝ^n described by one linear inequality with a nonzero coefficient vector is called a halfspace. The important restriction is a≠0a \ne 0; otherwise the inequality would not genuinely involve the variable x.

Next comes a general closure property of convexity: the intersection of two convex sets is convex. The board writes this as a Fact, and the lecturer immediately notes that repeating the argument gives convexity for intersections of any number of convex sets.

Using that fact, the lecture defines a polyhedron as the intersection of finitely many halfspaces. Because each halfspace is convex and finite intersections preserve convexity, every polyhedron is convex.

A concrete example is written in ℝ^2: { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5 } ∩ { [x1x_1;x2x_2] : -2x_1 + x2≥0x_2 \ge 0 }. The lecturer then rewrites it compactly as { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5, -2x_1 + x2≥0x_2 \ge 0 }, emphasizing that both inequalities must hold simultaneously.

Finally, the lecture connects this geometry to optimization. A linear programming feasible region is cut out by linear inequalities, and even equality constraints can be replaced by pairs of inequalities. Thus the feasible region is a finite intersection of halfspaces, i.e. a polyhedron, and therefore it is convex.

The video presents a fundamental fact: the intersection of any two convex sets remains convex. It then defines a polyhedron specifically as the intersection of a finite number of halfspaces.

Since every halfspace is a convex set, applying the intersection property confirms that any polyhedron is also convex. This structural insight is crucial for later applications.

An example illustrates this by taking the intersection of two halfspaces defined by linear inequalities: x1+2x2x_1 + 2x_2 >= 5 and -2x_1 + x2x_2 >= 0. The result is a single set where both conditions must hold simultaneously.

The narrator emphasizes that knowing the solution set is convex is vital because optimizing linear functions over such sets is a well-studied and tractable problem in mathematics.

Knowledge cards

01

Informal meaning of convexity

A set is convex when any two points chosen from the set have the entire straight segment between them still inside the set. This is the geometric rule stated before any formulas appear.

02

Disk as a convex planar example

The drawn disk illustrates the definition directly: two interior points are connected by a segment that remains completely inside the shaded disk, matching the spoken claim that disks in two dimensions are convex.

03

Non-convex set by counterexample

The kidney-shaped region fails convexity because one can choose two points in different lobes whose connecting segment leaves the region. Showing even one such bad pair disproves the universal condition.

04

One-dimensional convex sets

In one dimension, the convex sets are precisely the intervals. This identifies the special case of the general convexity condition when the ambient space is the real line.

05

Line segment in RnR^n

For two points x,y∈Rnx,y\in\mathbb{R}^n, the segment joining them is the set of all interpolated points (1−λ)x+λy(1-\lambda)x+\lambda y with λ\lambda ranging from 0 to 1 inclusive.

{(1−λ)x+λy:λ∈[0,1]}\{(1-\lambda)x+\lambda y : \lambda \in [0,1]\}
06

Formal definition of a convex set

A subset CC of Rn\mathbb{R}^n is convex if for every pair x,y∈Cx,y\in C, the whole line segment between xx and yy is contained in CC. This is the condition used to test convexity in arbitrary dimension.

∀x,y∈C,  {(1−λ)x+λy:λ∈[0,1]}⊆C\forall x,y \in C,\; \{(1-\lambda)x+\lambda y : \lambda \in [0,1]\} \subseteq C
07

Example set H introduced

The lecture ends by introducing a concrete set defined by a linear inequality: all x∈Rnx\in\mathbb{R}^n such that aTx≥βa^T x\geq\beta. This prepares a standard example for applying the definition of convexity.

H:={x∈Rn:aTx≥β}H := \{x \in \mathbb{R}^n : a^T x \geq \beta\}
08

Halfspace definition used in the clip

The video studies the set H:={x∈Rn:aTx≥β}H:=\{x\in\mathbb{R}^n:a^Tx\ge\beta\}, where aa is a nonzero vector in Rn\mathbb{R}^n and β\beta is a real constant. Membership in HH is decided entirely by the linear inequality aTx≥βa^Tx\ge\beta.

H:={x∈Rn:aTx≥β},a≠0, β∈RH := \{ x \in \mathbb{R}^n : a^T x \ge \beta \},\quad a \neq 0,\ \beta \in \mathbb{R}
09

Convexity criterion applied to H

To prove that HH is convex, the speaker uses the segment criterion: take any two points x,y∈Hx,y\in H and show that every point on the line segment between them also lies in HH. Algebraically, segment points are written as z=(1−λ)x+λyz=(1-\lambda)x+\lambda y with λ∈[0,1]\lambda\in[0,1].

z=(1−λ)x+λy,λ∈[0,1]z=(1-\lambda)x+\lambda y,\quad \lambda\in[0,1]
10

Why proving aTz≥βa^Tz\ge\beta is enough

The proof reduces the question 'z∈Hz\in H?' to the single inequality check aTz≥βa^Tz\ge\beta, because that is exactly the defining condition of HH. Thus the whole convexity argument becomes a calculation showing that the segment point zz satisfies the same inequality as the endpoints.

11

Algebraic expansion of aTza^Tz

Substituting z=(1−λ)x+λyz=(1-\lambda)x+\lambda y into aTza^Tz and applying distributivity gives aTz=(1−λ)aTx+λaTya^Tz=(1-\lambda)a^Tx+\lambda a^Ty. This step separates the contribution of each endpoint and prepares the use of the assumptions x,y∈Hx,y\in H.

aTz=aT((1−λ)x+λy)=(1−λ)aTx+λaTya^Tz=a^T((1-\lambda)x+\lambda y)=(1-\lambda)a^Tx+\lambda a^Ty
12

Endpoint inequalities from x,y∈Hx,y\in H

Since xx and yy are chosen from HH, the definition of HH immediately implies aTx≥βa^Tx\ge\beta and aTy≥βa^Ty\ge\beta. These two inequalities are the only facts about the endpoints used in the rest of the proof.

aTx≥β,aTy≥βa^Tx\ge\beta,\quad a^Ty\ge\beta
13

Nonnegative coefficients preserve the inequalities

Because λ∈[0,1]\lambda\in[0,1], both 1−λ1-\lambda and λ\lambda are nonnegative. Multiplying aTx≥βa^Tx\ge\beta by 1−λ1-\lambda and aTy≥βa^Ty\ge\beta by λ\lambda therefore preserves the inequality signs, giving (1−λ)aTx≥(1−λ)β(1-\lambda)a^Tx\ge(1-\lambda)\beta and λaTy≥λβ\lambda a^Ty\ge\lambda\beta.

(1−λ)aTx≥(1−λ)β,λaTy≥λβ(1-\lambda)a^Tx\ge(1-\lambda)\beta,\quad \lambda a^Ty\ge\lambda\beta
14

Final bound and conclusion of convexity

Adding the two lower bounds yields aTz≥(1−λ)β+λβ=βa^Tz\ge(1-\lambda)\beta+\lambda\beta=\beta. Hence the arbitrary segment point zz satisfies the defining inequality of HH, so z∈Hz\in H. Since x,yx,y and λ\lambda were arbitrary, the whole segment lies in HH, proving that HH is convex.

aTz≥(1−λ)β+λβ=βa^Tz\ge(1-\lambda)\beta+\lambda\beta=\beta
15

Halfspace

A halfspace is the set of points in ℝ^n satisfying one linear inequality with a nonzero coefficient vector. In this clip the displayed model is H := { x ∈ ℝ^n : aTx≥βa^T x \ge β }, with a ∈ ℝ^n, a≠0a \ne 0, and β ∈ ℝ.

H:={x∈Rn:aTx≥β}H := \{ x \in \mathbb{R}^n : a^T x \ge \beta \}
16

Halfspaces are convex

To prove convexity, take x,y∈Hy \in H and λ∈[0,1]λ \in [0,1]. Then z=(1−λ)x+λyz = (1-λ)x + λy satisfies aTz=(1−λ)aTx+λaTy≥(1−λ)β+λβ=βa^T z = (1-λ)a^T x + λa^T y \ge (1-λ)β + λβ = β, so z∈Hz \in H. Hence H is convex.

aT((1−λ)x+λy)=(1−λ)aTx+λaTy≥βa^T((1-\lambda)x+\lambda y)=(1-\lambda)a^Tx+\lambda a^Ty\ge\beta
17

Intersection of convex sets

The clip states as a fact that the intersection of two convex sets is convex, and then verbally extends this to intersections of any number of convex sets by repeated application.

C1∩C2 is convex if C1,C2 are convexC_1\cap C_2 \text{ is convex if } C_1,C_2 \text{ are convex}
18

Polyhedron

A polyhedron is defined here as the intersection of finitely many halfspaces. Since halfspaces are convex and intersections preserve convexity, every polyhedron is convex.

P=⋂i=1mHi,Hi halfspacesP=\bigcap_{i=1}^{m} H_i,\quad H_i \text{ halfspaces}
19

Example of a polyhedron in ℝ^2

The board gives the explicit example { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5 } ∩ { [x1x_1;x2x_2] : -2x_1 + x2≥0x_2 \ge 0 }, then rewrites it compactly as { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5, -2x_1 + x2≥0x_2 \ge 0 }.

{[x1x2]:x1+2x2≥5,  −2x1+x2≥0}\left\{\begin{bmatrix}x_1\\x_2\end{bmatrix}: x_1+2x_2\ge5,\;-2x_1+x_2\ge0\right\}
20

LP feasible regions are polyhedra

The lecturer identifies a polyhedron with the feasible region of a linear programming problem. Linear constraints define halfspaces, and equalities can be split into pairs of inequalities, so the feasible region is a finite intersection of halfspaces and is therefore convex.

feasible region=⋂iHi\text{feasible region}=\bigcap_i H_i
21

Intersection of Convex Sets

A core property in convex geometry states that if you take any two convex sets and find their overlap (intersection), the resulting set is guaranteed to be convex. This allows complex convex shapes to be built from simpler ones.

C1∩C2 is convex if C1,C2 are convexC_1 \cap C_2 \text{ is convex if } C_1, C_2 \text{ are convex}
22

Definition of a Polyhedron

In this context, a polyhedron is not just a 3D solid but any set formed by intersecting a finite number of halfspaces. A halfspace is the region of space on one side of a hyperplane (like a line in 2D).

P=⋂i=1kHiP = \bigcap_{i=1}^k H_i
23

Polyhedra are Convex

Because halfspaces are inherently convex sets, and the intersection of convex sets is convex, it follows logically that every polyhedron (defined as a finite intersection of halfspaces) is a convex set.

24

Example: System of Inequalities

The video shows how to combine two separate halfspace definitions into one polyhedron description. If Set A requires x1+2x2x_1 + 2x_2 >= 5 and Set B requires -2x_1 + x2x_2 >= 0, their intersection contains points satisfying both inequalities at once.

{x:Ax≥b}\{ \mathbf{x} : A\mathbf{x} \ge \mathbf{b} \}

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 21

Rn\mathbb{R}^n

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says the topic is special sets in RnR^n called convex sets.

  2. Formula
    Observation

    Later written expressions use x,y∈Rny \in \mathbb{R}^n and C⊆RnC \subseteq \mathbb{R}^n.

Symbol

Rn\mathbb{R}^n

Meaning

The ambient Euclidean space in which the sets are considered.

Domain

All n-dimensional real vectors.

x,y

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written line: Let x,y∈Rny \in \mathbb{R}^n.

  2. Audio
    Observation

    Speaker says let x and y be two elements in RnR^n.

Symbol

x,y

Meaning

Two arbitrary points/vectors used to define a line segment and test convexity.

Domain

x,y∈Rny \in \mathbb{R}^n; later in the convexity condition they are taken from C.

λ\lambda

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written set-builder uses λ∈[0,1]\lambda \in [0,1].

  2. Audio
    Observation

    Speaker says lambda is anywhere from zero to one inclusive.

Symbol

λ\lambda

Meaning

Scalar interpolation parameter between two points.

Domain

λ∈[0,1]\lambda \in [0,1].

C

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written line: A set C⊆RnC \subseteq \mathbb{R}^n is convex if ...

  2. Audio
    Observation

    Speaker says a subset of RnR^n is convex if for all x and y in the set, C contains the line segment between x and y.

Symbol

C

Meaning

A candidate convex set, i.e. a subset of Rn\mathbb{R}^n.

Domain

C⊆RnC \subseteq \mathbb{R}^n.

H

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written line: H := { x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta }.

  2. Audio
    Observation

    Speaker says consider the set H given by the set of x in RnR^n such that a transpose x is greater than or equal to beta.

Symbol

H

Meaning

A specific example set introduced at the end of the clip.

Domain

H⊆RnH \subseteq \mathbb{R}^n.

a

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written expression contains aTxa^T x.

  2. Audio
    Observation

    Speaker says a transpose x.

Uncertainties
  1. The video does not explicitly state that a is nonzero.

Symbol

a

Meaning

Vector defining the linear inequality for H.

Domain

Implicitly a vector in Rn\mathbb{R}^n so that aTxa^T x is defined.

β\beta

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written inequality ends with ≥β\geq \beta.

  2. Audio
    Observation

    Speaker says greater than or equal to beta.

Symbol

β\beta

Meaning

Scalar threshold in the halfspace inequality.

Domain

Implicitly a real scalar.

H

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes H := { x ∈ ℝ^n : aTx≥βa^T x \ge β }.

  2. Audio
    Observation

    The speaker refers to the set H and later says points must satisfy the condition defining the set.

Symbol

H

Meaning

The halfspace consisting of all vectors x in ℝ^n whose inner product with a is at least β.

Domain

subset of ℝ^n

x

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    x appears in the definition H := { x ∈ ℝ^n : aTx≥βa^T x \ge β } and later in Take x, y∈Hy \in H.

  2. Audio
    Observation

    The speaker says to take x and y from H.

Symbol

x

Meaning

An arbitrary vector in ℝ^n; in the proof it is one chosen point of H.

Domain

ℝ^n

a

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes where a ∈ ℝ^n, a≠0a \ne 0.

  2. Audio
    Observation

    The speaker says a is an n-vector and that we require a to be non-zero.

Symbol

a

Meaning

A fixed nonzero coefficient vector defining the halfspace inequality.

Domain

ℝ^n \ {0}

β

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes β ∈ ℝ.

  2. Audio
    Observation

    The speaker says beta is just a real constant.

Symbol

β

Meaning

A fixed real threshold in the halfspace inequality.

Domain

ℝ

y

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes Take x, y∈Hy \in H.

  2. Audio
    Observation

    The speaker says let us take x and y from H.

Symbol

y

Meaning

A second chosen point of H used to form a line segment with x.

Domain

ℝ^n

Knowledge points · 13

Informal definition of a convex set

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker introduces convex sets as special sets in RnR^n and says that if you pick any two points in the set, then every point on the line segment between those two points is also in the set.

  2. Diagram
    Observation

    Title 'Convex Sets' is visible while the verbal definition is given.

Definition
Explanation

The clip first gives the geometric idea before formal notation: a set is convex when any two chosen points from the set have their entire connecting line segment contained in the set.

Formula
Conditions
  1. Applies to subsets of Rn\mathbb{R}^n.

  2. The statement is about every pair of points in the set, not just some pair.

Definition of the line segment between two points in RnR^n

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written: Let x,y∈Rny \in \mathbb{R}^n. The line segment between x,y is the set { (1−λ1-\lambda)x+λyx + \lambda y : λ∈[0,1]\lambda \in [0,1] }.

  2. Audio
    Observation

    Speaker says this set is the set of points on the line segment between x and y.

Definition
Explanation

For two points x and y in Rn\mathbb{R}^n, the line segment joining them is represented algebraically by all affine combinations (1−λ1-\lambda)x+λyx+\lambda y with λ\lambda ranging from 0 to 1 inclusive.

Formula
{(1−λ)x+λy:λ∈[0,1]}\{(1-\lambda)x+\lambda y : \lambda \in [0,1]\}
Conditions
  1. x,y∈Rny \in \mathbb{R}^n.

  2. λ∈[0,1]\lambda \in [0,1].

Prerequisites
  1. x,y
  2. λ\lambda

Formal definition of a convex set

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written: A set C⊆RnC \subseteq \mathbb{R}^n is convex if ∀x\forall x,y∈Cy \in C, C contains the line segment between x and y.

  2. Audio
    Observation

    Speaker states the same condition verbally and adds that this lets one talk about convex sets in n dimensions, not just in one, two, or three dimensions.

Definition
Explanation

A subset C of Rn\mathbb{R}^n is convex precisely when, for every pair of points x and y in C, the whole line segment between x and y is also contained in C.

Formula
∀x,y∈C,  {(1−λ)x+λy:λ∈[0,1]}⊆C\forall x,y \in C,\; \{(1-\lambda)x+\lambda y : \lambda \in [0,1]\} \subseteq C
Conditions
  1. C⊆RnC \subseteq \mathbb{R}^n.

  2. The condition must hold for all x,y∈Cy \in C.

  3. It is equivalent to requiring (1−λ1-\lambda)x+λy∈Cx+\lambda y \in C for all λ∈[0,1]\lambda \in [0,1].

Prerequisites
  1. Definition of the line segment between two points in RnR^n
  2. C

Special example set H defined by a linear inequality

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written: Consider the set H := { x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta }.

  2. Audio
    Observation

    Speaker says let's look at one special case and considers this set.

Uncertainties
  1. The clip does not yet prove that H is convex.

  2. The video does not explicitly name H a halfspace.

Definition
Explanation

At the end of the clip, the lecturer introduces a concrete set H consisting of all points x in Rn\mathbb{R}^n satisfying the linear inequality aTx≥βa^T x \geq \beta, setting up a standard example for checking convexity.

Formula
H:={x∈Rn:aTx≥β}H := \{x \in \mathbb{R}^n : a^T x \geq \beta\}
Conditions
  1. x∈Rnx \in \mathbb{R}^n.

  2. The defining condition is aTx≥βa^T x \geq \beta.

Prerequisites
  1. H
  2. a
  3. β\beta

Definition of the halfspace H

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board shows H := { x ∈ ℝ^n : aTx≥βa^T x \ge β } with where a ∈ ℝ^n, a≠0a \ne 0 and β ∈ ℝ.

  2. Audio
    Observation

    The speaker states that a is an n-vector, beta is a real constant, and a is required to be non-zero.

Definition
Explanation

The video introduces the set H as the collection of all vectors x in ℝ^n satisfying the linear inequality aTx≥βa^T x \ge β, with a fixed nonzero vector a and fixed real constant β. This is the object whose convexity will be proved.

Formula
H:={x∈Rn:aTx≥β},a∈Rn, a≠0,β∈RH := \{ x \in \mathbb{R}^n : a^T x \ge \beta \},\quad a \in \mathbb{R}^n,\ a \neq 0,\quad \beta \in \mathbb{R}
Conditions
  1. a is a nonzero vector in ℝ^n

  2. β is a real constant

  3. membership in H is tested by the inequality aTx≥βa^T x \ge β

What must be shown for H to be convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says, 'We will show that this is convex' and explains that if we pick any two points from H, H contains the line segment between those two points.

  2. Formula
    Observation

    No separate formula is written for the criterion, but the next lines instantiate it with x, y∈Hy \in H and z=(1−λ)x+λyz = (1-λ)x + λy.

Method
Explanation

The proof strategy stated in the video is the standard convex-set criterion: take any two points x and y in H and show that every point on the line segment joining them also lies in H. The subsequent construction of z implements exactly this criterion.

Conditions
  1. x and y are arbitrary points of H

  2. the goal is to prove the whole segment between x and y is contained in H

Prerequisites
  1. Definition of the halfspace H

Membership test for H

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker asks how to test if something is an element of H and answers that it has to satisfy the condition defining the set, namely a transpose times the point is greater than or equal to beta.

  2. Formula
    Observation

    The board already displays aTx≥βa^T x \ge β in the definition of H.

Method
Explanation

To verify that a candidate point belongs to H, one checks whether it satisfies the defining inequality. In this proof, showing z∈Hz \in H is therefore reduced to proving aTz≥βa^T z \ge β.

Conditions
  1. The candidate point must lie in ℝ^n

  2. Membership is equivalent to satisfying the defining inequality

Prerequisites
  1. Definition of the halfspace H

Halfspace

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says a halfspace is a set of points in RnR^n satisfying a single linear inequality where the coefficients of x are not all zero.

  2. Formula
    Observation

    The board shows H := { x ∈ ℝ^n : aTx≥βa^T x \ge β } with a ∈ ℝ^n, a≠0a \ne 0, β ∈ ℝ.

  3. Diagram
    Observation

    The word Halfspace is written above the displayed set definition.

Definition
Explanation

A halfspace is the subset of ℝ^n consisting of all points that satisfy one linear inequality with a nonzero coefficient vector. In this clip the displayed form uses ≥ β.

Formula
H:={x∈Rn:aTx≥β}H := \{ x \in \mathbb{R}^n : a^T x \ge \beta \}
Conditions
  1. a ∈ ℝ^n

  2. a≠0a \ne 0

  3. β ∈ ℝ

Prerequisites
  1. Convexity test via convex combinations

Polyhedron

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says if we take an intersection of finitely many halfspaces, what we get is something called a polyhedron.

  2. Formula
    Observation

    The board writes A polyhedron is the intersection of finitely many halfspaces.

Definition
Explanation

A polyhedron is defined here as the intersection of finitely many halfspaces. This makes it a convex set because each halfspace is convex and intersections preserve convexity.

Formula
polyhedron=⋂i=1mHi,Hi halfspaces\text{polyhedron} = \bigcap_{i=1}^{m} H_i, \quad H_i \text{ halfspaces}
Conditions
  1. The number of halfspaces is finite.

  2. Each HiH_i is a halfspace as previously defined.

Prerequisites
  1. Halfspace
  2. Intersection of convex sets

Convexity test via convex combinations

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board takes x, y∈Hy \in H, forms z=(1−λ)x+λyz = (1-λ)x + λy with λ∈[0,1]λ \in [0,1], then proves aTz≥βa^T z \ge β.

  2. Audio
    Observation

    The lecturer says this implies z is in H, so H is convex.

Method
Explanation

To prove a set is convex, take any two points in the set, form their convex combination, and show that the resulting point still satisfies the defining condition of the set.

Formula
z=(1−λ)x+λy,λ∈[0,1]z=(1-\lambda)x+\lambda y,\quad \lambda\in[0,1]
Conditions
  1. x and y must be arbitrary points of the set under consideration.

  2. The conclusion must hold for every λ∈[0,1]λ \in [0,1].

Intersection of convex sets

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes Fact: The intersection of two convex sets is convex.

  2. Audio
    Observation

    The lecturer states the same fact and then says applying it repeatedly gives the result for any number of convex sets.

Method
Explanation

The clip presents a basic closure property of convex sets: intersecting convex sets yields another convex set. The written statement is for two sets, and the lecturer verbally extends it to any finite or arbitrary family by repeated application.

Formula
C1∩C2 is convex if C1,C2 are convexC_1 \cap C_2 \text{ is convex if } C_1,C_2 \text{ are convex}
Conditions
  1. Each set being intersected must already be convex.

Prerequisites
  1. Convexity test via convex combinations

Definition of Polyhedron

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    A polyhedron is simply the intersection of finitely many halfspaces.

  2. Formula
    Observation

    A polyhedron is the intersection of finitely many halfspaces.

Definition
Explanation

A polyhedron is defined as the intersection of finitely many halfspaces.

Conditions
  1. The number of halfspaces must be finite.

Claims and conditions · 11

Disks in two dimensions are convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says in two dimensions, disks are convex.

  2. Diagram
    Observation

    A filled disk is drawn and labeled 'Convex'.

  3. Animation
    Observation

    Two red points inside the disk are joined by a red segment lying entirely within the disk.

Proposition
Statement

In two dimensions, disks are convex sets.

Hypotheses
  1. The set under discussion is a disk in the plane.

Quantifiers

Universal over pairs of points in the disk, as expressed by the visual test.

The drawn kidney-shaped set is not convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says here is an example of a set that is not convex because there are points on the segment between two chosen points that are not in the set.

  2. Diagram
    Observation

    A kidney-shaped region is drawn and labeled 'Not convex'.

  3. Animation
    Observation

    Two red points in different lobes are connected by a red segment passing outside the shaded region.

Proposition
Statement

The illustrated non-disk region is not convex because some line segments between points of the set leave the set.

Hypotheses
  1. The set is the drawn kidney-shaped region.

  2. The two selected points lie in different lobes.

Quantifiers

Existential: there exist two points in the set whose connecting segment is not contained in the set.

One-dimensional convex sets are exactly intervals

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says in one dimension, the convex sets are precisely the intervals.

Uncertainties
  1. No proof is given in this clip.

  2. The exact class of intervals meant is not further specified on screen.

Proposition
Statement

In one dimension, the convex sets are precisely the intervals.

Hypotheses
  1. The ambient space is one-dimensional.

Quantifiers

Characterization over all one-dimensional sets.

Convexity in n dimensions is checked by the same definition

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says now we can talk about convex sets and line segments in n dimensions, not just in one, two, or three dimensions, and to check if a set is convex you just need to check that it satisfies this definition.

Proposition
Statement

Once the line segment is defined algebraically in Rn\mathbb{R}^n, a set is convex exactly when it satisfies the stated containment condition for all pairs of its points.

Hypotheses
  1. The line segment between two points is defined as \{(1−λ1-\lambda)x+λyx+\lambda y:\lambda\in[0,1]\}.

Quantifiers

Universal over all x,y in the set and all λ∈[0,1]\lambda \in [0,1].

The halfspace H is convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says, 'We will show that this is convex.'

  2. Formula
    Observation

    The proof ends with the chain showing aTz≥βa^T z \ge β for z=(1−λ)x+λyz = (1-λ)x + λy with x,y∈Hy \in H and λ∈[0,1]λ \in [0,1].

Theorem
Statement

For H := { x ∈ ℝ^n : aTx≥βa^T x \ge β } with a≠0a \ne 0, the set H is convex: whenever x,y∈Hy \in H and λ∈[0,1]λ \in [0,1], the point z=(1−λ)x+λyz = (1-λ)x + λy also belongs to H.

Hypotheses
  1. H is defined by a linear inequality aTx≥βa^T x \ge β

  2. a ∈ ℝ^n and a≠0a \ne 0

  3. β ∈ ℝ

  4. x,y∈Hy \in H

  5. λ∈[0,1]λ \in [0,1]

Quantifiers

For all x,y∈Hy \in H and all λ∈[0,1]λ \in [0,1], the convex combination z=(1−λ)x+λyz = (1-λ)x + λy lies in H.

A halfspace is convex

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The derivation on the board ends with So aTz≥βa^T z \ge β ⇒ z∈Hz \in H, so H is convex.

  2. Audio
    Observation

    The lecturer says implying that z is in H, so H is convex.

Proposition
Statement

If H = { x ∈ ℝ^n : aTx≥βa^T x \ge β } with a≠0a \ne 0, then H is convex.

Hypotheses
  1. a ∈ ℝ^n and a≠0a \ne 0

  2. β ∈ ℝ

  3. x,y∈Hy \in H

  4. λ∈[0,1]λ \in [0,1]

Quantifiers

For all x,y∈Hy \in H and all λ∈[0,1]λ \in [0,1], the point (1-λ)x+λyx + λy also lies in H.

Intersection of two convex sets is convex

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes Fact: The intersection of two convex sets is convex.

  2. Audio
    Observation

    The lecturer states the same sentence aloud.

Proposition
Statement

The intersection of two convex sets is convex.

Hypotheses
  1. Both sets are convex.

Quantifiers

For any two convex sets C1C_1 and C2C_2, C1C_1 ∩ C2C_2 is convex.

Intersection of any number of convex sets is convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says if you apply this fact repeatedly, you can conclude that the intersection of any number of convex sets is also convex.

Uncertainties
  1. The board only writes the two-set version; the extension to any number of sets is spoken rather than fully written.

Proposition
Statement

The intersection of any number of convex sets is convex.

Hypotheses
  1. Each set in the family is convex.

Quantifiers

For any family of convex sets, their intersection is convex.

A polyhedron is convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says a polyhedron is simply the set of feasible solutions of a linear programming problem and therefore the set of feasible solutions is going to be convex because of this fact up here.

  2. Formula
    Observation

    Earlier on the board, a polyhedron is defined as the intersection of finitely many halfspaces, and halfspaces were proved convex.

Proposition
Statement

Every polyhedron is convex.

Hypotheses
  1. A polyhedron is an intersection of finitely many halfspaces.

  2. Each halfspace is convex.

  3. Intersections of convex sets are convex.

Quantifiers

For every set that can be written as a finite intersection of halfspaces, the set is convex.

Intersection of Convex Sets

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The intersection of two convex sets is convex.

  2. Formula
    Observation

    Fact: The intersection of two convex sets is convex.

Theorem
Statement

The intersection of two convex sets is convex.

Hypotheses
  1. The sets involved are convex.

Quantifiers

For any two convex sets.

Convexity of Polyhedra

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    A polyhedron is simply the intersection of finitely many halfspaces, and that halfspaces are all convex.

  2. Formula
    Observation

    Example shows intersection of two halfspaces resulting in a set satisfying both inequalities.

Proposition
Statement

A polyhedron is a convex set.

Hypotheses
  1. A polyhedron is the intersection of finitely many halfspaces.

  2. Halfspaces are convex.

  3. The intersection of convex sets is convex.

Quantifiers

For any polyhedron.

Derivations and proofs · 6

Visual derivation of the convex/non-convex distinction

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    First a disk is shown with two interior points and a segment staying inside; then a kidney-shaped set is shown with two points whose segment exits the set.

  2. Audio
    Observation

    The narration explains that convexity means every point on the segment between any two chosen points remains in the set, and that failure of this property makes a set non-convex.

Visual argument
Steps
  1. Expression
    Explanation

    Pick two points in the candidate set.

    Justification

    This matches the informal definition stated in the audio.

    Shown in the video
  2. Expression
    Explanation

    Draw the straight line segment joining them.

    Justification

    The segment represents all intermediate points between the two chosen points.

    Shown in the video
  3. Expression
    Explanation

    If the whole segment stays inside the set, the pictured set passes the convexity test; if part of the segment leaves the set, it fails.

    Justification

    This is exactly the containment condition described verbally and later formalized on the board.

    Shown in the video
Conclusion

The animation distinguishes convex from non-convex sets by testing whether the segment between two chosen points remains wholly inside the set.

From geometric picture to formal n-dimensional definition

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes the line-segment definition and then the convex-set definition using C⊆RnC \subseteq \mathbb{R}^n and ∀x\forall x,y∈Cy \in C.

  2. Audio
    Observation

    Speaker says first we have to define what a line segment is in n dimensions, then states the convexity condition.

Proof
Steps
  1. Expression
    x,y∈Rnx,y \in \mathbb{R}^n
    Explanation

    Introduce two arbitrary points in the ambient space.

    Justification

    Needed before defining the segment algebraically.

    Shown in the video
  2. Expression
    {(1−λ)x+λy:λ∈[0,1]}\{(1-\lambda)x+\lambda y : \lambda \in [0,1]\}
    Explanation

    Define the line segment between x and y as the set of interpolated points.

    Justification

    This is the written definition on the board.

    Shown in the video
  3. Expression
    C⊆RnC \subseteq \mathbb{R}^n
    Explanation

    Let C be a subset of the same ambient space.

    Justification

    This sets up the object whose convexity is being defined.

    Shown in the video
  4. Expression
    ∀x,y∈C,  C contains the line segment between x and y\forall x,y \in C,\; C \text{ contains the line segment between } x \text{ and } y
    Explanation

    State the convexity condition for C.

    Justification

    This is the formal definition written and spoken in the clip.

    Shown in the video
Conclusion

The clip converts the earlier picture-based intuition into a precise definition valid in any dimension n.

Proof that H is convex

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes Take x, y∈Hy \in H; Consider z=(1−λ)x+λyz = (1-λ)x + λy for some λ∈[0,1]λ \in [0,1]; Then aTz=aT((1−λ)x+λy)=(1−λ)aTx+λaTy≥(1−λ)β+λβ=βa^T z = a^T((1-λ)x + λy) = (1-λ)a^T x + λ a^T y \ge (1-λ)β + λβ = β.

  2. Audio
    Observation

    The speaker explains each step verbally: choose x and y in H, form z on the segment, test membership by computing aTza^T z, use distributivity, then use aTx≥βa^T x \ge β and aTy≥βa^T y \ge β together with nonnegativity of the coefficients.

  3. Animation
    Observation

    Red annotations mark aTx≥βa^T x \ge β and aTy≥βa^T y \ge β under the expanded expression, and a green curve links the conclusion back to the membership condition.

Proof
Steps
  1. Expression
    Take x,y∈H.\text{Take } x,y \in H.
    Explanation

    Begin with two arbitrary points in the set H.

    Justification

    This instantiates the convexity criterion stated in the video: to prove convexity, consider any two points of the set.

    Shown in the video
  2. Expression
    z=(1−λ)x+λy,λ∈[0,1].z=(1-\lambda)x+\lambda y,\quad \lambda\in[0,1].
    Explanation

    Form the general point on the line segment between x and y.

    Justification

    The speaker explicitly says z is an arbitrary point on the line segment between x and y.

    Shown in the video
  3. Expression
    aTz=aT((1−λ)x+λy).a^T z=a^T((1-\lambda)x+\lambda y).
    Explanation

    Substitute the definition of z into the left-hand side of the membership inequality.

    Justification

    This is direct substitution of z into the linear functional aTa^T(·).

    Shown in the video
  4. Expression
    aTz=(1−λ)aTx+λaTy.a^T z=(1-\lambda)a^T x+\lambda a^T y.
    Explanation

    Expand the expression into a weighted sum of aTxa^T x and aTya^T y.

    Justification

    The speaker says this follows by applying the distributive law.

    Shown in the video
  5. Expression
    aTx≥β,aTy≥β.a^T x\ge \beta,\quad a^T y\ge \beta.
    Explanation

    Use the fact that both chosen endpoints belong to H.

    Justification

    By the definition of H, any point in H satisfies the defining inequality aT(⋅)≥βa^T(\cdot)\ge\beta.

    Shown in the video
  6. Expression
    1−λ≥0,λ≥0.1-\lambda\ge 0,\quad \lambda\ge 0.
    Explanation

    Note that the coefficients in the convex combination are nonnegative.

    Justification

    This follows from λ∈[0,1]λ \in [0,1], as stated on the board and in the audio.

    Shown in the video
  7. Expression
    (1−λ)aTx≥(1−λ)β,λaTy≥λβ.(1-\lambda)a^T x\ge (1-\lambda)\beta,\quad \lambda a^T y\ge \lambda\beta.
    Explanation

    Multiply the endpoint inequalities by the corresponding nonnegative scalars.

    Justification

    The speaker explicitly says that multiplying both sides of aTx≥βa^T x \ge β by the nonnegative constant 1-λ preserves the inequality, and uses the same reasoning for the second term.

    Shown in the video
  8. Expression
    aTz≥(1−λ)β+λβ=β.a^T z\ge (1-\lambda)\beta+\lambda\beta=\beta.
    Explanation

    Add the two lower bounds and simplify.

    Justification

    Addition preserves inequalities, and (1-λ)β+λββ+λβ simplifies to β because (1-λ)+λ=1λ=1.

    Shown in the video
  9. Expression
    z∈H.z\in H.
    Explanation

    Conclude that the arbitrary segment point z belongs to H.

    Justification

    The video's membership test says a point is in H exactly when aTa^T(point) ≥ β; the previous line proves this for z.

    Shown in the video
Conclusion

Since every convex combination z=(1−λ)x+λyz=(1-λ)x+λy of points x,y∈Hy\in H also satisfies aTz≥βa^T z\ge β, the whole line segment between any two points of H lies in H, so H is convex.

Proof that a halfspace is convex

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board shows aTz=aT((1−λ)x+λy)=(1−λ)aTx+λaTy≥(1−λ)β+λβ=βa^T z = a^T((1-λ)x + λy) = (1-λ)a^T x + λ a^T y \ge (1-λ)β + λβ = β.

  2. Audio
    Observation

    The lecturer says this implies z is in H, so H is convex.

Proof
Steps
  1. Expression
    H:={x∈Rn:aTx≥β},a≠0H := \{ x \in \mathbb{R}^n : a^T x \ge \beta \},\quad a\neq 0
    Explanation

    Start from the displayed definition of the halfspace H.

    Justification

    Given definition on the board.

    Shown in the video
  2. Expression
    x,y∈H,z=(1−λ)x+λy,λ∈[0,1]x,y\in H,\quad z=(1-\lambda)x+\lambda y,\quad \lambda\in[0,1]
    Explanation

    Take arbitrary points x and y in H and form their convex combination z.

    Justification

    Standard convexity test for sets.

    Shown in the video
  3. Expression
    aTz=aT((1−λ)x+λy)a^T z = a^T((1-\lambda)x+\lambda y)
    Explanation

    Apply the linear functional aTa^T(·) to z.

    Justification

    Substitution of the definition of z.

    Shown in the video
  4. Expression
    =(1−λ)aTx+λaTy= (1-\lambda)a^T x + \lambda a^T y
    Explanation

    Distribute aTa^T over the sum and pull out scalar coefficients.

    Justification

    Linearity of the dot product / matrix-vector multiplication.

    Shown in the video
  5. Expression
    ≥(1−λ)β+λβ\ge (1-\lambda)\beta + \lambda\beta
    Explanation

    Replace aTxa^T x and aTya^T y by their lower bounds β using x,y∈Hy \in H and λ∈[0,1]λ \in [0,1].

    Justification

    Because x,y∈Hy \in H, aTx≥βa^T x \ge β and aTy≥βa^T y \ge β; multiplying by nonnegative scalars preserves the inequalities.

    Shown in the video
  6. Expression
    =β= \beta
    Explanation

    Simplify the right-hand side.

    Justification

    (1-λ)β+λβ=ββ + λβ = β.

    Shown in the video
  7. Expression
    aTz≥β⇒z∈Ha^T z \ge \beta \Rightarrow z\in H
    Explanation

    Since z satisfies the defining inequality of H, it belongs to H.

    Justification

    Definition of H.

    Shown in the video
  8. Expression
    Therefore H is convex.\text{Therefore } H \text{ is convex.}
    Explanation

    Every convex combination of two points of H remains in H.

    Justification

    Conclusion of the convexity criterion.

    Shown in the video
Conclusion

The halfspace H = { x ∈ ℝ^n : aTx≥βa^T x \ge β } is convex.

Why a polyhedron is convex

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says applying the two-set intersection fact repeatedly gives convexity for intersections of any number of convex sets, then defines a polyhedron as an intersection of finitely many halfspaces.

  2. Formula
    Observation

    The board writes Fact: The intersection of two convex sets is convex. and A polyhedron is the intersection of finitely many halfspaces.

Proof
Steps
  1. Expression
    Each halfspace is convex.\text{Each halfspace is convex.}
    Explanation

    Use the earlier proposition proved on the board.

    Justification

    Claim claim-halfspace-convex.

    Shown in the video
  2. Expression
    P=⋂i=1mHiP = \bigcap_{i=1}^{m} H_i
    Explanation

    Write a polyhedron as a finite intersection of halfspaces HiH_i.

    Justification

    Definition of polyhedron given in the clip.

    Shown in the video
  3. Expression
    H1∩H2 is convexH_1\cap H_2 \text{ is convex}
    Explanation

    Intersect the first two convex sets.

    Justification

    Fact that the intersection of two convex sets is convex.

    Shown in the video
  4. Expression
    (H1∩H2)∩H3,…,⋂i=1mHi are convex(H_1\cap H_2)\cap H_3,\ldots,\bigcap_{i=1}^{m}H_i \text{ are convex}
    Explanation

    Repeat the two-set intersection argument finitely many times.

    Justification

    Repeated application of the same intersection fact.

    Derived from the video
Conclusion

A polyhedron, being a finite intersection of convex halfspaces, is convex.

Example of Polyhedron Intersection

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    e.g. { [x1x_1; x2x_2] : x1+2x2x_1 + 2x_2 >= 5 } ∩ { [x1x_1; x2x_2] : -2x_1 + x2x_2 >= 0 } = { [x1x_1; x2x_2] : x1+2x2x_1 + 2x_2 >= 5, -2x_1 + x2x_2 >= 0 }

Visual argument
Steps
  1. Expression
    {[x1x2]:x1+2x2≥5}∩{[x1x2]:−2x1+x2≥0}\left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : x_1 + 2x_2 \ge 5 \right\} \cap \left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : -2x_1 + x_2 \ge 0 \right\}
    Explanation

    Start with the intersection of two specific halfspaces defined by linear inequalities.

    Justification

    Given in the video example.

    Shown in the video
  2. Expression
    ={[x1x2]:x1+2x2≥5−2x1+x2≥0}= \left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : \begin{aligned} x_1 + 2x_2 &\ge 5 \\ -2x_1 + x_2 &\ge 0 \end{aligned} \right\}
    Explanation

    Combine the conditions into a single set definition requiring both inequalities to hold simultaneously.

    Justification

    Definition of set intersection.

    Shown in the video
Conclusion

The intersection of these two halfspaces forms a polyhedron defined by the system of linear inequalities.

Worked examples · 6

Disk as a convex example

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A circular disk is drawn, shaded, and labeled 'Convex'.

  2. Animation
    Observation

    Two red points inside the disk are connected by a red segment fully contained in the disk.

  3. Audio
    Observation

    Speaker says in two dimensions, disks are convex and explains that no matter which two points you pick on the disk, the line segment between them lies within the disk.

Problem

Illustrate why a two-dimensional disk is convex.

Given
  1. A filled disk in the plane.

  2. Two arbitrary points chosen inside the disk.

Goal

Show that the segment between the chosen points remains in the set.

Steps
  1. Expression
    Explanation

    Choose two points inside the disk.

    Justification

    This corresponds to the universal quantifier in the definition of convexity.

    Shown in the video
  2. Expression
    Explanation

    Draw the straight segment joining them.

    Justification

    The segment represents all intermediate points required by the definition.

    Shown in the video
  3. Expression
    Explanation

    Observe that the segment lies entirely within the disk.

    Justification

    This is directly shown by the drawing and stated in the narration.

    Shown in the video
Answer

The disk is convex.

Verification

The visual test shows the connecting segment stays inside the shaded region for the displayed choice of points, matching the spoken general claim.

Kidney-shaped region as a non-convex example

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A kidney-shaped region is drawn, shaded, and labeled 'Not convex'.

  2. Animation
    Observation

    Two red points in different lobes are joined by a red segment that passes outside the region; a green arrow marks the outside portion.

  3. Audio
    Observation

    Speaker says if you pick these two points, the line segment between them has points that are not in the set, so this is not convex.

Problem

Illustrate why the drawn non-disk region is not convex.

Given
  1. A kidney-shaped planar region.

  2. Two points chosen in different lobes of the region.

Goal

Find a pair of points whose connecting segment is not contained in the set.

Steps
  1. Expression
    Explanation

    Pick two points in separate lobes of the region.

    Justification

    This provides a counterexample pair for the universal convexity condition.

    Shown in the video
  2. Expression
    Explanation

    Draw the straight segment between them.

    Justification

    The segment is the object required by the definition of convexity.

    Shown in the video
  3. Expression
    Explanation

    Notice that part of the segment lies outside the shaded region.

    Justification

    This is explicitly indicated by the drawing and the green arrow.

    Shown in the video
Answer

The region is not convex.

Verification

The existence of two points in the set whose segment leaves the set falsifies the convexity condition.

Linear-inequality set H introduced as a special case

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Written: Consider the set H := { x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta }.

  2. Audio
    Observation

    Speaker says let's look at one special case and reads the definition of H.

Uncertainties
  1. The clip stops before any verification or proof about H.

  2. No numerical values for a or β\beta are given.

Problem

Introduce a concrete subset of Rn\mathbb{R}^n defined by a linear inequality.

Given
  1. A vector a and scalar β\beta are implicitly present.

  2. The ambient space is Rn\mathbb{R}^n.

Goal

Define the set H for later convexity discussion.

Steps
  1. Expression
    H:={x∈Rn:aTx≥β}H := \{x \in \mathbb{R}^n : a^T x \geq \beta\}
    Explanation

    Write H as the collection of all x satisfying the inequality.

    Justification

    This is exactly the formula shown on the board.

    Shown in the video
Answer

H := \{x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta\}.

Verification

No verification is performed within this clip; only the setup is shown.

Example of a polyhedron in ℝ^2

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes e.g. { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5 } ∩ { [x1x_1;x2x_2] : -2x_1 + x2≥0x_2 \ge 0 } and then rewrites it as { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5, -2x_1 + x2≥0x_2 \ge 0 }.

  2. Audio
    Observation

    The lecturer says this set is a polyhedron and explains that the compact form means both inequalities hold at the same time.

Problem

Write the intersection of two halfspaces in ℝ^2 as a polyhedron and then in compact set-builder form.

Given
  1. First halfspace: { [x1x_1;x2x_2] : x1+2x2≥5x_1 + 2x_2 \ge 5 }

  2. Second halfspace: { [x1x_1;x2x_2] : -2x_1 + x2≥0x_2 \ge 0 }

Goal

Identify the intersection as a polyhedron and express it compactly.

Steps
  1. Expression
    {[x1x2]:x1+2x2≥5}∩{[x1x2]:−2x1+x2≥0}\left\{ \begin{bmatrix}x_1\\x_2\end{bmatrix} : x_1+2x_2\ge 5 \right\} \cap \left\{ \begin{bmatrix}x_1\\x_2\end{bmatrix} : -2x_1+x_2\ge 0 \right\}
    Explanation

    Start with the intersection of the two displayed halfspaces.

    Justification

    Direct reading of the board.

    Shown in the video
  2. Expression
    ={[x1x2]:x1+2x2≥5,  −2x1+x2≥0}= \left\{ \begin{bmatrix}x_1\\x_2\end{bmatrix} : x_1+2x_2\ge 5,\; -2x_1+x_2\ge 0 \right\}
    Explanation

    Combine the two conditions into one set-builder description requiring both inequalities simultaneously.

    Justification

    Definition of set intersection.

    Shown in the video
  3. Expression
    This set is a polyhedron.\text{This set is a polyhedron.}
    Explanation

    It is an intersection of finitely many halfspaces.

    Justification

    Definition of polyhedron stated earlier in the clip.

    Shown in the video
Answer

{[x1x2]:x1+2x2≥5,  −2x1+x2≥0}\left\{ \begin{bmatrix}x_1\\x_2\end{bmatrix} : x_1+2x_2\ge 5,\; -2x_1+x_2\ge 0 \right\}

Verification

The final set is exactly the intersection of two halfspaces, so by the clip's definition it is a polyhedron and hence convex.

Polyhedron as an LP feasible region

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says a polyhedron is simply the set of feasible solutions of a linear programming problem, whose constraints are linear inequalities, and equalities can be broken into pairs of inequalities.

Uncertainties
  1. No explicit LP formula is written on the board in this clip; the connection is verbal.

Problem

Relate the notion of polyhedron to the feasible region of a linear programming problem.

Given
  1. A polyhedron is an intersection of finitely many halfspaces.

  2. Linear programming constraints are linear inequalities.

  3. Equalities can be replaced by pairs of inequalities.

Goal

Explain why the feasible region of a linear program is a polyhedron and therefore convex.

Steps
  1. Expression
    LP constraints⇒linear inequalities\text{LP constraints} \Rightarrow \text{linear inequalities}
    Explanation

    Each constraint defines a halfspace or an intersection of halfspaces.

    Justification

    Spoken explanation in the clip.

    Shown in the video
  2. Expression
    Ax≤b or Ax≥b style constraintsAx \le b \text{ or } Ax \ge b \text{ style constraints}
    Explanation

    The feasible region is the set of points satisfying all constraints simultaneously.

    Justification

    Standard interpretation of the spoken LP description.

    Derived from the video
  3. Expression
    feasible region=⋂iHi\text{feasible region} = \bigcap_i H_i
    Explanation

    The feasible region is an intersection of halfspaces.

    Justification

    Combines the LP description with the definition of polyhedron.

    Derived from the video
  4. Expression
    Therefore the feasible region is convex.\text{Therefore the feasible region is convex.}
    Explanation

    Finite intersections of convex sets are convex.

    Justification

    Uses the earlier intersection fact and halfspace convexity.

    Shown in the video
Answer

The feasible region of a linear programming problem is a polyhedron, hence convex.

Verification

This follows from the clip's chain: halfspaces are convex, intersections preserve convexity, and LP feasible regions are finite intersections of such halfspaces.

Constructing a Polyhedron from Halfspaces

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    e.g. { [x1x_1; x2x_2] : x1+2x2x_1 + 2x_2 >= 5 } ∩ { [x1x_1; x2x_2] : -2x_1 + x2x_2 >= 0 } = { [x1x_1; x2x_2] : x1+2x2x_1 + 2x_2 >= 5, -2x_1 + x2x_2 >= 0 }

Problem

Express the intersection of two halfspaces as a single set defined by a system of linear inequalities.

Given
  1. Halfspace 1: { [x1x_1; x2x_2] : x1+2x2x_1 + 2x_2 >= 5 }

  2. Halfspace 2: { [x1x_1; x2x_2] : -2x_1 + x2x_2 >= 0 }

Goal

Find the set representation of their intersection.

Steps
  1. Expression
    {[x1x2]:x1+2x2≥5}∩{[x1x2]:−2x1+x2≥0}\left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : x_1 + 2x_2 \ge 5 \right\} \cap \left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : -2x_1 + x_2 \ge 0 \right\}
    Explanation

    Write down the intersection of the two given sets.

    Justification

    Problem statement setup.

    Shown in the video
  2. Expression
    {[x1x2]:x1+2x2≥5 and −2x1+x2≥0}\left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : x_1 + 2x_2 \ge 5 \text{ and } -2x_1 + x_2 \ge 0 \right\}
    Explanation

    Apply the definition of intersection: an element belongs to the intersection if it belongs to both sets.

    Justification

    Set theory definition of intersection.

    Derived from the video
  3. Expression
    {[x1x2]:x1+2x2≥5−2x1+x2≥0}\left\{ \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} : \begin{aligned} x_1 + 2x_2 &\ge 5 \\ -2x_1 + x_2 &\ge 0 \end{aligned} \right\}
    Explanation

    Format the conditions as a system of inequalities.

    Justification

    Standard notation for systems of linear inequalities.

    Shown in the video
Answer

{ [x1x_1; x2x_2] : x1+2x2x_1 + 2x_2 >= 5, -2x_1 + x2x_2 >= 0 }

Verification

The resulting set requires points to satisfy both original inequalities, which matches the definition of intersection.

Visual events · 11

Disk illustration of convexity

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    The title 'Convex Sets' appears at top left.

  2. Animation
    Observation

    A circle is drawn, then filled with diagonal shading, then two red dots and a red segment are added inside it.

  3. Caption evidence
    Observation

    The word 'Convex' is written below the disk.

Objects
  1. Title text 'Convex Sets'.

  2. Circular disk outline.

  3. Diagonal shading filling the disk.

  4. Two red points inside the disk.

  5. Red line segment between the points.

  6. Label 'Convex'.

Changes
  1. Blank board becomes titled.

  2. Circle is drawn.

  3. Interior is shaded.

  4. Two sample points are marked.

  5. Connecting segment is drawn.

  6. Label 'Convex' is added.

Invariants
  1. The segment remains inside the disk throughout the demonstration.

  2. The disk itself stays fixed once drawn.

Interpretation

The picture demonstrates the defining property of convexity by showing that the segment between two chosen points stays within the set.

Non-convex region illustration

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A second irregular closed region is drawn to the right of the disk.

  2. Animation
    Observation

    It is shaded, two red points are placed in different lobes, and a red segment is drawn crossing outside the region; a green arrow points to the outside portion.

  3. Caption evidence
    Observation

    The label 'Not convex' is written below the second region.

Objects
  1. Irregular kidney-shaped region.

  2. Diagonal shading inside the region.

  3. Two red points in different lobes.

  4. Red segment between the points.

  5. Green arrow marking the outside portion.

  6. Label 'Not convex'.

Changes
  1. Second region is drawn.

  2. Interior is shaded.

  3. Two points are marked.

  4. Segment is drawn outside part of the region.

  5. Green arrow is added.

  6. Label 'Not convex' is written.

Invariants
  1. The first disk and its 'Convex' label remain visible on the left.

  2. The failure is localized to the segment leaving the second region.

Interpretation

The animation provides a counterexample to the convexity condition by exhibiting two points in the set whose connecting segment is not contained in the set.

Transition from pictures to formal definitions

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The lower part of the board is filled with the definitions of line segment and convex set while the earlier drawings remain above.

Objects
  1. Existing disk and non-convex region.

  2. Handwritten line: Let x,y∈Rny \in \mathbb{R}^n.

  3. Handwritten set-builder for the line segment.

  4. Handwritten convex-set definition for C⊆RnC \subseteq \mathbb{R}^n.

Changes
  1. New symbolic text is written beneath the diagrams.

  2. The clip shifts from visual examples to formal notation.

Invariants
  1. The earlier examples stay visible as intuitive reference while the definitions are written.

Interpretation

The board organizes the lesson from concrete geometry to abstract definition in Rn\mathbb{R}^n.

Fresh page introducing H

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    The previous page clears to a fresh white board.

  2. Formula
    Observation

    New writing begins: Consider the set H := { x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta }.

Objects
  1. Blank new page.

  2. Handwritten heading 'Consider the set'.

  3. Formula defining H.

Changes
  1. Old diagrams and definitions disappear.

  2. A new example set H is written from scratch.

Invariants
  1. The ambient space remains Rn\mathbb{R}^n.

  2. The lesson continues toward checking convexity of a specific set.

Interpretation

The scene change signals a move from general definition to a concrete example class.

Initial statement of the problem

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The whiteboard first shows the set definition H := { x ∈ ℝ^n : aTx≥βa^T x \ge β } and then adds the side conditions where a ∈ ℝ^n, a≠0a \ne 0 and β ∈ ℝ.

  2. Animation
    Observation

    Writing appears progressively as the speaker introduces the objects.

Objects
  1. Handwritten set definition for H

  2. Side conditions on a and β

Changes
  1. The parameter restrictions a ∈ ℝ^n, a≠0a \ne 0 and β ∈ ℝ are added beneath the main definition.

Invariants
  1. The defining inequality remains aTx≥βa^T x \ge β throughout this interval.

Interpretation

The visual layout separates the object being studied (the halfspace H) from the assumptions on its parameters, preparing a formal proof rather than a numerical example.

Construction of a generic point on the segment

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes Take x, y∈Hy \in H and then Consider z=(1−λ)x+λyz = (1-λ)x + λy for some λ∈[0,1]λ \in [0,1].

  2. Audio
    Observation

    The speaker says z is an arbitrary point on the line segment between x and y.

Objects
  1. Points x and y in H

  2. Scalar λ in [0,1]

  3. Point z defined as a convex combination

Changes
  1. The proof moves from the abstract convexity requirement to a concrete symbolic representation of a segment point.

Invariants
  1. x and y remain arbitrary points of H

  2. λ remains constrained to [0,1]

Interpretation

The written formula encodes the geometric notion of a line segment algebraically, so convexity can be checked by verifying membership of z in H.

Highlighting the endpoint inequalities

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    Red marks appear under the terms aTxa^T x and aTya^T y in the expanded expression, indicating the inequalities aTx≥βa^T x \ge β and aTy≥βa^T y \ge β.

  2. Audio
    Observation

    The speaker says that because x and y are both in H, a transpose x is at least beta and a transpose y is at least beta.

Objects
  1. Expanded expression (1-λ)aTx+λaTya^T x + λ a^T y

  2. Red inequality annotations

Changes
  1. The previously implicit consequences of x,y∈Hy\in H are made explicit on the board.

Invariants
  1. The algebraic expansion itself does not change during this annotation step.

Interpretation

The red annotations visually connect the assumption x,y∈Hy\in H to the lower bounds needed for the next inequality step.

Closing the proof loop

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    A green curved line is drawn linking the final inequality chain back toward the initial membership condition aTz≥βa^T z \ge β.

  2. Audio
    Observation

    The speaker concludes that what we have is a transpose z greater than or equal to beta.

Objects
  1. Final inequality aTz≥βa^T z \ge β

  2. Green connecting stroke

Changes
  1. The proof visually returns from the derived inequality to the criterion for membership in H.

Invariants
  1. The derived inequality remains aTz≥βa^T z \ge β.

Interpretation

The green link emphasizes that the computation has verified exactly the condition required to place z in H, completing the convexity argument.

Halfspace convexity board

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A whiteboard page shows the halfspace definition, the convex-combination setup, and a green annotation circling the key inequality chain.

  2. Animation
    Observation

    The lecturer adds the concluding line So aTz≥βa^T z \ge β ⇒ z∈Hz \in H, so H is convex, then writes Halfspace above the set definition.

Objects
  1. Set definition H := { x ∈ ℝ^n : aTx≥βa^T x \ge β }

  2. Points x, y∈Hy \in H

  3. Convex combination z=(1−λ)x+λyz = (1-λ)x + λy

  4. Green circle and arrows around the inequality chain

  5. Word Halfspace

Changes
  1. The conclusion that H is convex is completed.

  2. The term Halfspace is added above the definition.

Invariants
  1. The underlying inequality aTx≥βa^T x \ge β remains the defining condition throughout the page.

Interpretation

The visual emphasis links the algebraic inequality chain directly to the geometric conclusion that the halfspace is convex.

From intersection fact to polyhedron example

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A new whiteboard page begins with Fact: The intersection of two convex sets is convex.

  2. Animation
    Observation

    The lecturer writes the definition of a polyhedron, then an explicit two-inequality example, then rewrites the example in compact set-builder form.

Objects
  1. Circled heading Fact

  2. Statement about intersection of two convex sets

  3. Definition of polyhedron

  4. Example intersection of two halfspaces in ℝ^2

  5. Compact rewritten set

Changes
  1. The board moves from a general closure property to a named object, polyhedron.

  2. The abstract definition is instantiated with two explicit linear inequalities.

  3. The example is reformatted into a single set-builder expression.

Invariants
  1. All examples remain intersections of halfspaces.

  2. The logical theme stays convexity preservation under intersection.

Interpretation

The second board organizes the lesson as fact → definition → example → application to linear programming.

Whiteboard Display of Definitions and Example

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Static whiteboard showing handwritten text and mathematical formulas defining facts about convex sets and polyhedrons, along with an example calculation.

Objects
  1. Handwritten text 'Fact'

  2. Handwritten text 'The intersection of two convex sets is convex.'

  3. Handwritten text 'A polyhedron is the intersection of finitely many halfspaces.'

  4. Handwritten example equations involving vectors [x1x_1; x2x_2] and inequalities

Invariants
  1. All text and formulas remain static throughout the clip.

Interpretation

The visual content provides the formal definitions and an algebraic example supporting the spoken explanation about polyhedrons being intersections of halfspaces.

Misconceptions · 6

Thinking convexity only makes sense in low dimensions

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    After discussing 2D and 1D cases, the speaker asks what about n dimensions and then defines line segments in Rn\mathbb{R}^n so convexity can be discussed beyond one, two, or three dimensions.

Misconception

One might think convex sets are only meaningful for pictures in the plane or in one dimension.

Clarification

The clip explicitly extends the notion to Rn\mathbb{R}^n by defining the line segment algebraically and then stating the convexity condition for arbitrary subsets C⊆RnC \subseteq \mathbb{R}^n.

Confusing existential and universal testing of segments

Clear evidence
Derived from the video
Evidence
  1. Audio
    Observation

    The informal definition says if you pick any two points in the set, then every point on the line segment between those two points is also in the set.

  2. Formula
    Observation

    The formal definition uses ∀x\forall x,y∈Cy \in C.

Misconception

It may seem enough to find one pair of points whose segment stays inside the set.

Clarification

The video's definition requires the condition for all pairs x,y in the set; the non-convex example works by exhibiting one bad pair, which disproves the universal requirement.

The defining vector a is assumed nonzero

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board explicitly adds a≠0a \ne 0 beside a ∈ ℝ^n.

  2. Audio
    Observation

    The speaker says, 'we require that a to be non-zero.'

Misconception

One might think the inequality aTx≥βa^T x \ge β defines the same kind of geometric object even when a=0a = 0.

Clarification

The video explicitly imposes a≠0a \ne 0 as part of the setup, so the argument is about a genuine halfspace determined by a nonzero linear functional.

Inequality direction is preserved because the multipliers are nonnegative

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says lambda is between one and zero, so one minus lambda is at least zero and lambda is at least zero, and then multiplies the inequalities by these non-negative constants.

  2. Formula
    Observation

    The board shows λ∈[0,1]λ \in [0,1] and the step from aTx≥βa^T x \ge β to (1-λ)aTx≥(1−λ)βa^T x \ge (1-λ)β.

Misconception

Multiplying an inequality by a scalar could reverse its direction if the scalar were negative.

Clarification

Here λ∈[0,1]λ \in [0,1], so both λ and 1-λ are nonnegative; that is why the inequalities can be scaled without changing direction.

Halfspace requires a nonzero coefficient vector

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer explicitly says the coefficients of x are not all zero.

  2. Formula
    Observation

    The board writes a≠0a \ne 0 next to the halfspace definition.

Misconception

One might think any linear inequality, including one with all zero coefficients, defines a halfspace.

Clarification

In this clip a halfspace is defined only when a≠0a \ne 0, so the inequality genuinely depends on x.

Equalities do not break the polyhedron picture

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says constraints could be equalities, but any equality can be broken down into a pair of inequalities.

Misconception

One might think linear programming feasible regions stop being polyhedra if equality constraints appear.

Clarification

The clip states that an equality can be replaced by two inequalities, so the feasible region remains an intersection of halfspaces.

Concept relations · 14

Definition of the line segment between two points in RnR^n → Formal definition of a convex set

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The line-segment definition is written immediately before the convex-set definition that refers to containing that segment.

Prerequisite
Explanation

The formal definition of convexity depends on first defining what the line segment between two points in Rn\mathbb{R}^n means.

Informal definition of a convex set → Formal definition of a convex set

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker gives the informal picture-based meaning first and later says we have to define what a line segment is in n dimensions.

  2. Diagram
    Observation

    Disk and non-convex region precede the symbolic definitions.

Equivalent
Explanation

The early verbal/geometric description and the later symbolic condition express the same convexity idea at different levels of precision.

Formal definition of a convex set → Disks in two dimensions are convex

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The disk and kidney-shaped examples illustrate the segment-containment property.

  2. Formula
    Observation

    The later definition generalizes that property to arbitrary C⊆RnC \subseteq \mathbb{R}^n.

Application
Explanation

The general definition in Rn\mathbb{R}^n applies to the planar disk example and explains why it is convex.

Formal definition of a convex set → One-dimensional convex sets are exactly intervals

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says in one dimension, the convex sets are precisely the intervals, after introducing the general idea and before writing the n-dimensional formulas.

Special case
Explanation

The one-dimensional characterization as intervals is a special case of the general convexity definition when the ambient space is R\mathbb{R}.

Formal definition of a convex set → Special example set H defined by a linear inequality

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    After defining convex sets, the board introduces H := { x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta } as one special case.

Application
Explanation

The newly defined notion of convexity is about to be applied to the concrete set H.

What must be shown for H to be convex → Membership test for H

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker first states the convexity goal and then asks how to test membership in H, answering with the defining inequality.

  2. Formula
    Observation

    The board moves from the definition of H to the constructed point z and then to the expression aTza^T z.

Application
Explanation

The general convexity criterion is applied by reducing the task 'show z∈Hz \in H' to the concrete inequality check aTz≥βa^T z \ge β.

Membership test for H → Definition of the halfspace H

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says a point is in H if it satisfies the condition defining the set.

  2. Formula
    Observation

    The defining condition on the board is aTx≥βa^T x \ge β.

Proof dependency
Explanation

The membership test is valid only because H was defined by the inequality aTx≥βa^T x \ge β.

Proof that H is convex → The halfspace H is convex

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The full derivation ends with aTz≥βa^T z \ge β for arbitrary x,y∈Hy\in H and λ∈[0,1]λ\in [0,1].

  2. Audio
    Observation

    The speaker concludes that this is what was to be shown.

Proof dependency
Explanation

The theorem that H is convex is established directly by the displayed algebraic proof.

Halfspace → Polyhedron

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer defines a polyhedron directly as an intersection of finitely many halfspaces.

Prerequisite
Explanation

The notion of halfspace is needed before polyhedron can be defined in this clip.

Intersection of convex sets → Polyhedron

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer uses the repeated-intersection fact to motivate the definition of polyhedron and its convexity.

Proof dependency
Explanation

Convexity of polyhedra is obtained by applying the intersection-of-convex-sets fact to finitely many halfspaces.

Polyhedron → Polyhedron as an LP feasible region

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says a polyhedron is simply the set of feasible solutions of a linear programming problem.

Application
Explanation

The abstract definition of polyhedron is applied to the feasible region of a linear program.

A halfspace is convex → A polyhedron is convex

Clear evidence
Derived from the video
Evidence
  1. Formula
    Observation

    The board first proves halfspaces are convex and later defines polyhedra as finite intersections of halfspaces.

  2. Audio
    Observation

    The lecturer explicitly connects these facts when concluding that feasible regions are convex.

Proof dependency
Explanation

Convexity of polyhedra depends on both convexity of halfspaces and closure of convex sets under intersection.

Find an answer · 21

What does it mean for a set in RnR^n to be convex?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The clip states the informal and formal definitions of convex sets.

  2. Formula
    Observation

    The board writes the formal condition for C⊆RnC \subseteq \mathbb{R}^n.

Knowledge points
  1. Informal definition of a convex set
  2. Formal definition of a convex set

How is the line segment between two points x and y written algebraically in RnR^n?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The set-builder definition of the line segment is written explicitly.

Knowledge points
  1. Definition of the line segment between two points in RnR^n

Why is a disk convex according to the definition?

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    A disk is shown with a segment between two interior points staying inside.

  2. Audio
    Observation

    Speaker says disks are convex in two dimensions.

Knowledge points
  1. Informal definition of a convex set
  2. Disks in two dimensions are convex

How do you show that a pictured set is not convex?

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    A segment between two points leaves the shaded region.

  2. Audio
    Observation

    Speaker says there are points on the segment that are not in the set.

Knowledge points
  1. The drawn kidney-shaped set is not convex
  2. Informal definition of a convex set

What are the convex sets in one dimension?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says in one dimension, the convex sets are precisely the intervals.

Knowledge points
  1. One-dimensional convex sets are exactly intervals

What condition must be verified to prove a subset of RnR^n is convex?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker says to check if a set is convex you just need to check that it satisfies this definition.

  2. Formula
    Observation

    The universal condition over x,y∈Cy \in C is written.

Knowledge points
  1. Formal definition of a convex set
  2. Convexity in n dimensions is checked by the same definition

What is the example set H introduced at the end of the clip?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board writes H := { x∈Rnx \in \mathbb{R}^n : aTx≥βa^T x \geq \beta }.

Knowledge points
  1. Special example set H defined by a linear inequality

What set is being considered at the start of the clip?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board displays H := { x ∈ ℝ^n : aTx≥βa^T x \ge β } with parameter conditions.

Knowledge points
  1. Definition of the halfspace H

How does the video reduce the claim that H is convex to checking one point z?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says we need to show that if we pick any two points from H, H contains the line segment between those two points.

  2. Formula
    Observation

    The board then writes Take x, y∈Hy \in H and Consider z=(1−λ)x+λyz = (1-λ)x + λy for some λ∈[0,1]λ \in [0,1].

Knowledge points
  1. What must be shown for H to be convex
  2. Membership test for H

Why does proving aTz≥βa^T z \ge β show that z∈Hz \in H?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker asks how to test if something is an element of H and answers that it must satisfy the defining condition aTa^T(point) ≥ β.

Knowledge points
  1. Membership test for H
  2. Definition of the halfspace H

What justifies expanding aT((1−λ)x+λy)a^T((1-λ)x + λy) into (1-λ)aTx+λaTya^T x + λ a^T y?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says, 'Now applying the distributive law...'

  2. Formula
    Observation

    The board rewrites aT((1−λ)x+λy)a^T((1-λ)x + λy) as (1-λ)aTx+λaTya^T x + λ a^T y.

Knowledge points
  1. Proof that H is convex

Why can the inequalities aTx≥βa^T x \ge β and aTy≥βa^T y \ge β be multiplied by 1-λ and λ without reversing direction?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker notes that λ is between 0 and 1, so 1-λ and λ are at least 0, and then multiplies the inequalities by these nonnegative constants.

  2. Formula
    Observation

    The board shows the transition to (1-λ)β+λββ + λβ.

Knowledge points
  1. Proof that H is convex
  2. Inequality direction is preserved because the multipliers are nonnegative
Coverage and review notes

Covered · Introduction and informal definition of convex sets in RnR^n.

Covered · Two-dimensional disk example shown as convex.

Covered · Non-convex kidney-shaped example with segment leaving the set.

Covered · Statement that one-dimensional convex sets are intervals.

Covered · Definition of the line segment between x and y in RnR^n.

Covered · Formal definition of convex set and how to check convexity in n dimensions.

Covered · New page introduces the special example set H defined by a linear inequality.

Covered · The board defines H and states the assumptions on a and β.

Covered · The speaker states the convexity goal and the line-segment criterion.

Covered · The proof chooses x,y∈Hy\in H and forms z=(1−λ)x+λyz=(1-λ)x+λy with λ∈[0,1]λ\in [0,1].

Covered · The speaker explains that membership in H is tested by aTa^T(point)≥β and begins computing aTza^T z.

Covered · Distributivity is applied and the endpoint inequalities aTx≥βa^T x\ge β, aTy≥βa^T y\ge β are highlighted.

Covered · The inequalities are scaled by nonnegative coefficients and added to obtain (1-λ)β+λββ+λβ.

Covered · The simplification to β is written and visually linked back to the membership condition, concluding that H is convex.

Covered · Completion of the proof that the displayed halfspace is convex.

Covered · Naming and verbal definition of halfspace, with the nonzero-coefficient condition.

Covered · Written fact about intersections of two convex sets and spoken extension to any number.

Covered · Definition of polyhedron as a finite intersection of halfspaces.

Covered · Explicit two-dimensional example and its compact set-builder rewrite.

Covered · Connection to linear programming feasible regions and conclusion that they are convex.

Covered · Full segment covers definitions of polyhedron and halfspace convexity, the theorem on intersection of convex sets, and a worked example.

Explore the knowledge in this video

Open video knowledge graph →

  • Convex sets ExplanationAt 1:06
    Why this connection?

    Reviewed English material v1: card "One-dimensional convex sets" at 1:06 — In one dimension, the convex sets are precisely the intervals. This identifies the special case of the general convexity condition when the ambient space is the real line.