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.
mathapptician · YouTube · 8:41
This 165-second whiteboard lecture introduces convex sets in . 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 \{():\lambda\in[0,1]\} and the convexity condition for . The clip ends by introducing the example set H := \{:a^\}. This 165-second whiteboard clip proves that the halfspace H := { x ∈ ℝ^n : }, with and β ∈ ℝ, is convex. The speaker first states the convexity criterion, then takes arbitrary x, and forms for . By expanding with distributivity, using and , and noting that 1-λ and λ are nonnegative, the proof obtains . Hence , 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 : } 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.
Generated from the video's visuals and explanation; not verbatim speech.
The lecture opens by naming the subject: special subsets of 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 , 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 , the line segment between them is written as , where interpolates from to .
With that definition in place, convexity is stated formally: a set is convex if for all , the whole line segment between and is contained in . The speaker emphasizes that this gives a uniform test in any dimension.
Finally, the board is cleared and a concrete example class is introduced: . The clip ends at the setup stage, before proving anything about this set.
The clip opens on a handwritten definition of a set , with the side conditions , , and . The speaker identifies as an -vector and 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 is convex. The method given is the standard segment criterion: take any two points of and verify that the entire line segment joining them is still contained in . This turns a geometric claim into an algebraic membership test.
To implement that criterion, the proof chooses arbitrary and defines for some . The speaker explicitly interprets as an arbitrary point on the line segment between and , so proving will prove convexity for the whole segment.
The video then explains how to test membership in : a point belongs to exactly when it satisfies the defining inequality. Therefore the task reduces to proving . This step connects the abstract convexity requirement to the concrete halfspace definition written at the start.
The computation begins by substituting the definition of into the linear functional: . Using distributivity, this is rewritten as . The algebra isolates the two quantities and , which are already controlled by the assumption that .
Because and lie in , the proof records the endpoint inequalities and . Since , both coefficients and are nonnegative, so multiplying the inequalities by these scalars preserves their directions. This yields and .
Adding the two lower bounds gives . The final simplification uses . Thus the arbitrary segment point satisfies the defining inequality of , so . The clip closes by visually linking this conclusion back to the original membership condition, completing the proof that the halfspace is convex.
The clip opens on a completed convexity argument for the set H := { x ∈ ℝ^n : }. Taking arbitrary x, and , the lecturer forms and uses linearity to compute . Since and , this gives , so 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 ; 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: { [;] : } ∩ { [;] : -2x_1 + }. The lecturer then rewrites it compactly as { [;] : , -2x_1 + }, 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: >= 5 and -2x_1 + >= 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.
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.
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.
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.
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.
For two points , the segment joining them is the set of all interpolated points with ranging from 0 to 1 inclusive.
A subset of is convex if for every pair , the whole line segment between and is contained in . This is the condition used to test convexity in arbitrary dimension.
The lecture ends by introducing a concrete set defined by a linear inequality: all such that . This prepares a standard example for applying the definition of convexity.
The video studies the set , where is a nonzero vector in and is a real constant. Membership in is decided entirely by the linear inequality .
To prove that is convex, the speaker uses the segment criterion: take any two points and show that every point on the line segment between them also lies in . Algebraically, segment points are written as with .
The proof reduces the question '?' to the single inequality check , because that is exactly the defining condition of . Thus the whole convexity argument becomes a calculation showing that the segment point satisfies the same inequality as the endpoints.
Substituting into and applying distributivity gives . This step separates the contribution of each endpoint and prepares the use of the assumptions .
Since and are chosen from , the definition of immediately implies and . These two inequalities are the only facts about the endpoints used in the rest of the proof.
Because , both and are nonnegative. Multiplying by and by therefore preserves the inequality signs, giving and .
Adding the two lower bounds yields . Hence the arbitrary segment point satisfies the defining inequality of , so . Since and were arbitrary, the whole segment lies in , proving that is convex.
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 : }, with a ∈ ℝ^n, , and β ∈ ℝ.
To prove convexity, take x, and . Then satisfies , so . Hence H is convex.
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.
A polyhedron is defined here as the intersection of finitely many halfspaces. Since halfspaces are convex and intersections preserve convexity, every polyhedron is convex.
The board gives the explicit example { [;] : } ∩ { [;] : -2x_1 + }, then rewrites it compactly as { [;] : , -2x_1 + }.
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.
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.
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).
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.
The video shows how to combine two separate halfspace definitions into one polyhedron description. If Set A requires >= 5 and Set B requires -2x_1 + >= 0, their intersection contains points satisfying both inequalities at once.
Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.
The speaker says the topic is special sets in called convex sets.
Later written expressions use x, and .
The ambient Euclidean space in which the sets are considered.
All n-dimensional real vectors.
Written line: Let x,.
Speaker says let x and y be two elements in .
x,y
Two arbitrary points/vectors used to define a line segment and test convexity.
x,; later in the convexity condition they are taken from C.
Written set-builder uses .
Speaker says lambda is anywhere from zero to one inclusive.
Scalar interpolation parameter between two points.
.
Written line: A set is convex if ...
Speaker says a subset of is convex if for all x and y in the set, C contains the line segment between x and y.
C
A candidate convex set, i.e. a subset of .
.
Written line: H := { : }.
Speaker says consider the set H given by the set of x in such that a transpose x is greater than or equal to beta.
H
A specific example set introduced at the end of the clip.
.
Written expression contains .
Speaker says a transpose x.
The video does not explicitly state that a is nonzero.
a
Vector defining the linear inequality for H.
Implicitly a vector in so that is defined.
Written inequality ends with .
Speaker says greater than or equal to beta.
Scalar threshold in the halfspace inequality.
Implicitly a real scalar.
The board writes H := { x ∈ ℝ^n : }.
The speaker refers to the set H and later says points must satisfy the condition defining the set.
H
The halfspace consisting of all vectors x in ℝ^n whose inner product with a is at least β.
subset of ℝ^n
x appears in the definition H := { x ∈ ℝ^n : } and later in Take x, .
The speaker says to take x and y from H.
x
An arbitrary vector in ℝ^n; in the proof it is one chosen point of H.
ℝ^n
The board writes where a ∈ ℝ^n, .
The speaker says a is an n-vector and that we require a to be non-zero.
a
A fixed nonzero coefficient vector defining the halfspace inequality.
ℝ^n \ {0}
The board writes β ∈ ℝ.
The speaker says beta is just a real constant.
β
A fixed real threshold in the halfspace inequality.
ℝ
The board writes Take x, .
The speaker says let us take x and y from H.
y
A second chosen point of H used to form a line segment with x.
ℝ^n
Speaker introduces convex sets as special sets in 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.
Title 'Convex Sets' is visible while the verbal definition is given.
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.
Applies to subsets of .
The statement is about every pair of points in the set, not just some pair.
Written: Let x,. The line segment between x,y is the set { () : }.
Speaker says this set is the set of points on the line segment between x and y.
For two points x and y in , the line segment joining them is represented algebraically by all affine combinations () with ranging from 0 to 1 inclusive.
x,.
.
Written: A set is convex if ,, C contains the line segment between x and y.
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.
A subset C of 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.
.
The condition must hold for all x,.
It is equivalent to requiring () for all .
Written: Consider the set H := { : }.
Speaker says let's look at one special case and considers this set.
The clip does not yet prove that H is convex.
The video does not explicitly name H a halfspace.
At the end of the clip, the lecturer introduces a concrete set H consisting of all points x in satisfying the linear inequality , setting up a standard example for checking convexity.
.
The defining condition is .
The board shows H := { x ∈ ℝ^n : } with where a ∈ ℝ^n, and β ∈ ℝ.
The speaker states that a is an n-vector, beta is a real constant, and a is required to be non-zero.
The video introduces the set H as the collection of all vectors x in ℝ^n satisfying the linear inequality , with a fixed nonzero vector a and fixed real constant β. This is the object whose convexity will be proved.
a is a nonzero vector in ℝ^n
β is a real constant
membership in H is tested by the inequality
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.
No separate formula is written for the criterion, but the next lines instantiate it with x, and .
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.
x and y are arbitrary points of H
the goal is to prove the whole segment between x and y is contained in H
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.
The board already displays in the definition of H.
To verify that a candidate point belongs to H, one checks whether it satisfies the defining inequality. In this proof, showing is therefore reduced to proving .
The candidate point must lie in ℝ^n
Membership is equivalent to satisfying the defining inequality
The lecturer says a halfspace is a set of points in satisfying a single linear inequality where the coefficients of x are not all zero.
The board shows H := { x ∈ ℝ^n : } with a ∈ ℝ^n, , β ∈ ℝ.
The word Halfspace is written above the displayed set definition.
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 ≥ β.
a ∈ ℝ^n
β ∈ ℝ
The lecturer says if we take an intersection of finitely many halfspaces, what we get is something called a polyhedron.
The board writes A polyhedron is the intersection of finitely many halfspaces.
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.
The number of halfspaces is finite.
Each is a halfspace as previously defined.
The board takes x, , forms with , then proves .
The lecturer says this implies z is in H, so H is convex.
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.
x and y must be arbitrary points of the set under consideration.
The conclusion must hold for every .
The board writes Fact: The intersection of two convex sets is convex.
The lecturer states the same fact and then says applying it repeatedly gives the result for any number of convex sets.
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.
Each set being intersected must already be convex.
A polyhedron is simply the intersection of finitely many halfspaces.
A polyhedron is the intersection of finitely many halfspaces.
A polyhedron is defined as the intersection of finitely many halfspaces.
The number of halfspaces must be finite.
Speaker says in two dimensions, disks are convex.
A filled disk is drawn and labeled 'Convex'.
Two red points inside the disk are joined by a red segment lying entirely within the disk.
In two dimensions, disks are convex sets.
The set under discussion is a disk in the plane.
Universal over pairs of points in the disk, as expressed by the visual test.
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.
A kidney-shaped region is drawn and labeled 'Not convex'.
Two red points in different lobes are connected by a red segment passing outside the shaded region.
The illustrated non-disk region is not convex because some line segments between points of the set leave the set.
The set is the drawn kidney-shaped region.
The two selected points lie in different lobes.
Existential: there exist two points in the set whose connecting segment is not contained in the set.
Speaker says in one dimension, the convex sets are precisely the intervals.
No proof is given in this clip.
The exact class of intervals meant is not further specified on screen.
In one dimension, the convex sets are precisely the intervals.
The ambient space is one-dimensional.
Characterization over all one-dimensional sets.
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.
Once the line segment is defined algebraically in , a set is convex exactly when it satisfies the stated containment condition for all pairs of its points.
The line segment between two points is defined as \{():\lambda\in[0,1]\}.
Universal over all x,y in the set and all .
The speaker says, 'We will show that this is convex.'
The proof ends with the chain showing for with x, and .
For H := { x ∈ ℝ^n : } with , the set H is convex: whenever x, and , the point also belongs to H.
H is defined by a linear inequality
a ∈ ℝ^n and
β ∈ ℝ
x,
For all x, and all , the convex combination lies in H.
The derivation on the board ends with So ⇒ , so H is convex.
The lecturer says implying that z is in H, so H is convex.
If H = { x ∈ ℝ^n : } with , then H is convex.
a ∈ ℝ^n and
β ∈ ℝ
x,
For all x, and all , the point (1-λ) also lies in H.
The board writes Fact: The intersection of two convex sets is convex.
The lecturer states the same sentence aloud.
The intersection of two convex sets is convex.
Both sets are convex.
For any two convex sets and , ∩ is convex.
The lecturer says if you apply this fact repeatedly, you can conclude that the intersection of any number of convex sets is also convex.
The board only writes the two-set version; the extension to any number of sets is spoken rather than fully written.
The intersection of any number of convex sets is convex.
Each set in the family is convex.
For any family of convex sets, their intersection is convex.
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.
Earlier on the board, a polyhedron is defined as the intersection of finitely many halfspaces, and halfspaces were proved convex.
Every polyhedron is convex.
A polyhedron is an intersection of finitely many halfspaces.
Each halfspace is convex.
Intersections of convex sets are convex.
For every set that can be written as a finite intersection of halfspaces, the set is convex.
The intersection of two convex sets is convex.
Fact: The intersection of two convex sets is convex.
The intersection of two convex sets is convex.
The sets involved are convex.
For any two convex sets.
A polyhedron is simply the intersection of finitely many halfspaces, and that halfspaces are all convex.
Example shows intersection of two halfspaces resulting in a set satisfying both inequalities.
A polyhedron is a convex set.
A polyhedron is the intersection of finitely many halfspaces.
Halfspaces are convex.
The intersection of convex sets is convex.
For any polyhedron.
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.
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.
Pick two points in the candidate set.
This matches the informal definition stated in the audio.
Draw the straight line segment joining them.
The segment represents all intermediate points between the two chosen points.
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.
This is exactly the containment condition described verbally and later formalized on the board.
The animation distinguishes convex from non-convex sets by testing whether the segment between two chosen points remains wholly inside the set.
The board writes the line-segment definition and then the convex-set definition using and ,.
Speaker says first we have to define what a line segment is in n dimensions, then states the convexity condition.
Introduce two arbitrary points in the ambient space.
Needed before defining the segment algebraically.
Define the line segment between x and y as the set of interpolated points.
This is the written definition on the board.
Let C be a subset of the same ambient space.
This sets up the object whose convexity is being defined.
State the convexity condition for C.
This is the formal definition written and spoken in the clip.
The clip converts the earlier picture-based intuition into a precise definition valid in any dimension n.
The board writes Take x, ; Consider for some ; Then .
The speaker explains each step verbally: choose x and y in H, form z on the segment, test membership by computing , use distributivity, then use and together with nonnegativity of the coefficients.
Red annotations mark and under the expanded expression, and a green curve links the conclusion back to the membership condition.
Begin with two arbitrary points in the set H.
This instantiates the convexity criterion stated in the video: to prove convexity, consider any two points of the set.
Form the general point on the line segment between x and y.
The speaker explicitly says z is an arbitrary point on the line segment between x and y.
Substitute the definition of z into the left-hand side of the membership inequality.
This is direct substitution of z into the linear functional (·).
Expand the expression into a weighted sum of and .
The speaker says this follows by applying the distributive law.
Use the fact that both chosen endpoints belong to H.
By the definition of H, any point in H satisfies the defining inequality .
Note that the coefficients in the convex combination are nonnegative.
This follows from , as stated on the board and in the audio.
Multiply the endpoint inequalities by the corresponding nonnegative scalars.
The speaker explicitly says that multiplying both sides of by the nonnegative constant 1-λ preserves the inequality, and uses the same reasoning for the second term.
Add the two lower bounds and simplify.
Addition preserves inequalities, and (1-λ) simplifies to β because (1-λ)+.
Conclude that the arbitrary segment point z belongs to H.
The video's membership test says a point is in H exactly when (point) ≥ β; the previous line proves this for z.
Since every convex combination of points x, also satisfies , the whole line segment between any two points of H lies in H, so H is convex.
The board shows .
The lecturer says this implies z is in H, so H is convex.
Start from the displayed definition of the halfspace H.
Given definition on the board.
Take arbitrary points x and y in H and form their convex combination z.
Standard convexity test for sets.
Apply the linear functional (·) to z.
Substitution of the definition of z.
Distribute over the sum and pull out scalar coefficients.
Linearity of the dot product / matrix-vector multiplication.
Replace and by their lower bounds β using x, and .
Because x,, and ; multiplying by nonnegative scalars preserves the inequalities.
Simplify the right-hand side.
(1-λ).
Since z satisfies the defining inequality of H, it belongs to H.
Definition of H.
Every convex combination of two points of H remains in H.
Conclusion of the convexity criterion.
The halfspace H = { x ∈ ℝ^n : } is convex.
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.
The board writes Fact: The intersection of two convex sets is convex. and A polyhedron is the intersection of finitely many halfspaces.
Use the earlier proposition proved on the board.
Claim claim-halfspace-convex.
Write a polyhedron as a finite intersection of halfspaces .
Definition of polyhedron given in the clip.
Intersect the first two convex sets.
Fact that the intersection of two convex sets is convex.
Repeat the two-set intersection argument finitely many times.
Repeated application of the same intersection fact.
A polyhedron, being a finite intersection of convex halfspaces, is convex.
e.g. { [; ] : >= 5 } ∩ { [; ] : -2x_1 + >= 0 } = { [; ] : >= 5, -2x_1 + >= 0 }
Start with the intersection of two specific halfspaces defined by linear inequalities.
Given in the video example.
Combine the conditions into a single set definition requiring both inequalities to hold simultaneously.
Definition of set intersection.
The intersection of these two halfspaces forms a polyhedron defined by the system of linear inequalities.
A circular disk is drawn, shaded, and labeled 'Convex'.
Two red points inside the disk are connected by a red segment fully contained in the disk.
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.
Illustrate why a two-dimensional disk is convex.
A filled disk in the plane.
Two arbitrary points chosen inside the disk.
Show that the segment between the chosen points remains in the set.
Choose two points inside the disk.
This corresponds to the universal quantifier in the definition of convexity.
Draw the straight segment joining them.
The segment represents all intermediate points required by the definition.
Observe that the segment lies entirely within the disk.
This is directly shown by the drawing and stated in the narration.
The disk is convex.
The visual test shows the connecting segment stays inside the shaded region for the displayed choice of points, matching the spoken general claim.
A kidney-shaped region is drawn, shaded, and labeled 'Not convex'.
Two red points in different lobes are joined by a red segment that passes outside the region; a green arrow marks the outside portion.
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.
Illustrate why the drawn non-disk region is not convex.
A kidney-shaped planar region.
Two points chosen in different lobes of the region.
Find a pair of points whose connecting segment is not contained in the set.
Pick two points in separate lobes of the region.
This provides a counterexample pair for the universal convexity condition.
Draw the straight segment between them.
The segment is the object required by the definition of convexity.
Notice that part of the segment lies outside the shaded region.
This is explicitly indicated by the drawing and the green arrow.
The region is not convex.
The existence of two points in the set whose segment leaves the set falsifies the convexity condition.
Written: Consider the set H := { : }.
Speaker says let's look at one special case and reads the definition of H.
The clip stops before any verification or proof about H.
No numerical values for a or are given.
Introduce a concrete subset of defined by a linear inequality.
A vector a and scalar are implicitly present.
The ambient space is .
Define the set H for later convexity discussion.
Write H as the collection of all x satisfying the inequality.
This is exactly the formula shown on the board.
H := \{ : \}.
No verification is performed within this clip; only the setup is shown.
The board writes e.g. { [;] : } ∩ { [;] : -2x_1 + } and then rewrites it as { [;] : , -2x_1 + }.
The lecturer says this set is a polyhedron and explains that the compact form means both inequalities hold at the same time.
Write the intersection of two halfspaces in ℝ^2 as a polyhedron and then in compact set-builder form.
First halfspace: { [;] : }
Second halfspace: { [;] : -2x_1 + }
Identify the intersection as a polyhedron and express it compactly.
Start with the intersection of the two displayed halfspaces.
Direct reading of the board.
Combine the two conditions into one set-builder description requiring both inequalities simultaneously.
Definition of set intersection.
It is an intersection of finitely many halfspaces.
Definition of polyhedron stated earlier in the clip.
The final set is exactly the intersection of two halfspaces, so by the clip's definition it is a polyhedron and hence convex.
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.
No explicit LP formula is written on the board in this clip; the connection is verbal.
Relate the notion of polyhedron to the feasible region of a linear programming problem.
A polyhedron is an intersection of finitely many halfspaces.
Linear programming constraints are linear inequalities.
Equalities can be replaced by pairs of inequalities.
Explain why the feasible region of a linear program is a polyhedron and therefore convex.
Each constraint defines a halfspace or an intersection of halfspaces.
Spoken explanation in the clip.
The feasible region is the set of points satisfying all constraints simultaneously.
Standard interpretation of the spoken LP description.
The feasible region is an intersection of halfspaces.
Combines the LP description with the definition of polyhedron.
Finite intersections of convex sets are convex.
Uses the earlier intersection fact and halfspace convexity.
The feasible region of a linear programming problem is a polyhedron, hence convex.
This follows from the clip's chain: halfspaces are convex, intersections preserve convexity, and LP feasible regions are finite intersections of such halfspaces.
e.g. { [; ] : >= 5 } ∩ { [; ] : -2x_1 + >= 0 } = { [; ] : >= 5, -2x_1 + >= 0 }
Express the intersection of two halfspaces as a single set defined by a system of linear inequalities.
Halfspace 1: { [; ] : >= 5 }
Halfspace 2: { [; ] : -2x_1 + >= 0 }
Find the set representation of their intersection.
Write down the intersection of the two given sets.
Problem statement setup.
Apply the definition of intersection: an element belongs to the intersection if it belongs to both sets.
Set theory definition of intersection.
Format the conditions as a system of inequalities.
Standard notation for systems of linear inequalities.
{ [; ] : >= 5, -2x_1 + >= 0 }
The resulting set requires points to satisfy both original inequalities, which matches the definition of intersection.
The title 'Convex Sets' appears at top left.
A circle is drawn, then filled with diagonal shading, then two red dots and a red segment are added inside it.
The word 'Convex' is written below the disk.
Title text 'Convex Sets'.
Circular disk outline.
Diagonal shading filling the disk.
Two red points inside the disk.
Red line segment between the points.
Label 'Convex'.
Blank board becomes titled.
Circle is drawn.
Interior is shaded.
Two sample points are marked.
Connecting segment is drawn.
Label 'Convex' is added.
The segment remains inside the disk throughout the demonstration.
The disk itself stays fixed once drawn.
The picture demonstrates the defining property of convexity by showing that the segment between two chosen points stays within the set.
A second irregular closed region is drawn to the right of the disk.
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.
The label 'Not convex' is written below the second region.
Irregular kidney-shaped region.
Diagonal shading inside the region.
Two red points in different lobes.
Red segment between the points.
Green arrow marking the outside portion.
Label 'Not convex'.
Second region is drawn.
Interior is shaded.
Two points are marked.
Segment is drawn outside part of the region.
Green arrow is added.
Label 'Not convex' is written.
The first disk and its 'Convex' label remain visible on the left.
The failure is localized to the segment leaving the second region.
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.
The lower part of the board is filled with the definitions of line segment and convex set while the earlier drawings remain above.
Existing disk and non-convex region.
Handwritten line: Let x,.
Handwritten set-builder for the line segment.
Handwritten convex-set definition for .
New symbolic text is written beneath the diagrams.
The clip shifts from visual examples to formal notation.
The earlier examples stay visible as intuitive reference while the definitions are written.
The board organizes the lesson from concrete geometry to abstract definition in .
The previous page clears to a fresh white board.
New writing begins: Consider the set H := { : }.
Blank new page.
Handwritten heading 'Consider the set'.
Formula defining H.
Old diagrams and definitions disappear.
A new example set H is written from scratch.
The ambient space remains .
The lesson continues toward checking convexity of a specific set.
The scene change signals a move from general definition to a concrete example class.
The whiteboard first shows the set definition H := { x ∈ ℝ^n : } and then adds the side conditions where a ∈ ℝ^n, and β ∈ ℝ.
Writing appears progressively as the speaker introduces the objects.
Handwritten set definition for H
Side conditions on a and β
The parameter restrictions a ∈ ℝ^n, and β ∈ ℝ are added beneath the main definition.
The defining inequality remains throughout this interval.
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.
The board writes Take x, and then Consider for some .
The speaker says z is an arbitrary point on the line segment between x and y.
Points x and y in H
Scalar λ in [0,1]
Point z defined as a convex combination
The proof moves from the abstract convexity requirement to a concrete symbolic representation of a segment point.
x and y remain arbitrary points of H
λ remains constrained to [0,1]
The written formula encodes the geometric notion of a line segment algebraically, so convexity can be checked by verifying membership of z in H.
Red marks appear under the terms and in the expanded expression, indicating the inequalities and .
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.
Expanded expression (1-λ)
Red inequality annotations
The previously implicit consequences of x, are made explicit on the board.
The algebraic expansion itself does not change during this annotation step.
The red annotations visually connect the assumption x, to the lower bounds needed for the next inequality step.
A green curved line is drawn linking the final inequality chain back toward the initial membership condition .
The speaker concludes that what we have is a transpose z greater than or equal to beta.
Final inequality
Green connecting stroke
The proof visually returns from the derived inequality to the criterion for membership in H.
The derived inequality remains .
The green link emphasizes that the computation has verified exactly the condition required to place z in H, completing the convexity argument.
A whiteboard page shows the halfspace definition, the convex-combination setup, and a green annotation circling the key inequality chain.
The lecturer adds the concluding line So ⇒ , so H is convex, then writes Halfspace above the set definition.
Set definition H := { x ∈ ℝ^n : }
Points x,
Convex combination
Green circle and arrows around the inequality chain
Word Halfspace
The conclusion that H is convex is completed.
The term Halfspace is added above the definition.
The underlying inequality remains the defining condition throughout the page.
The visual emphasis links the algebraic inequality chain directly to the geometric conclusion that the halfspace is convex.
A new whiteboard page begins with Fact: The intersection of two convex sets is convex.
The lecturer writes the definition of a polyhedron, then an explicit two-inequality example, then rewrites the example in compact set-builder form.
Circled heading Fact
Statement about intersection of two convex sets
Definition of polyhedron
Example intersection of two halfspaces in ℝ^2
Compact rewritten set
The board moves from a general closure property to a named object, polyhedron.
The abstract definition is instantiated with two explicit linear inequalities.
The example is reformatted into a single set-builder expression.
All examples remain intersections of halfspaces.
The logical theme stays convexity preservation under intersection.
The second board organizes the lesson as fact → definition → example → application to linear programming.
Static whiteboard showing handwritten text and mathematical formulas defining facts about convex sets and polyhedrons, along with an example calculation.
Handwritten text 'Fact'
Handwritten text 'The intersection of two convex sets is convex.'
Handwritten text 'A polyhedron is the intersection of finitely many halfspaces.'
Handwritten example equations involving vectors [; ] and inequalities
All text and formulas remain static throughout the clip.
The visual content provides the formal definitions and an algebraic example supporting the spoken explanation about polyhedrons being intersections of halfspaces.
After discussing 2D and 1D cases, the speaker asks what about n dimensions and then defines line segments in so convexity can be discussed beyond one, two, or three dimensions.
One might think convex sets are only meaningful for pictures in the plane or in one dimension.
The clip explicitly extends the notion to by defining the line segment algebraically and then stating the convexity condition for arbitrary subsets .
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.
The formal definition uses ,.
It may seem enough to find one pair of points whose segment stays inside the set.
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 board explicitly adds beside a ∈ ℝ^n.
The speaker says, 'we require that a to be non-zero.'
One might think the inequality defines the same kind of geometric object even when .
The video explicitly imposes as part of the setup, so the argument is about a genuine halfspace determined by a nonzero linear functional.
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.
The board shows and the step from to (1-λ).
Multiplying an inequality by a scalar could reverse its direction if the scalar were negative.
Here , so both λ and 1-λ are nonnegative; that is why the inequalities can be scaled without changing direction.
The lecturer explicitly says the coefficients of x are not all zero.
The board writes next to the halfspace definition.
One might think any linear inequality, including one with all zero coefficients, defines a halfspace.
In this clip a halfspace is defined only when , so the inequality genuinely depends on x.
The lecturer says constraints could be equalities, but any equality can be broken down into a pair of inequalities.
One might think linear programming feasible regions stop being polyhedra if equality constraints appear.
The clip states that an equality can be replaced by two inequalities, so the feasible region remains an intersection of halfspaces.
The line-segment definition is written immediately before the convex-set definition that refers to containing that segment.
The formal definition of convexity depends on first defining what the line segment between two points in means.
The speaker gives the informal picture-based meaning first and later says we have to define what a line segment is in n dimensions.
Disk and non-convex region precede the symbolic definitions.
The early verbal/geometric description and the later symbolic condition express the same convexity idea at different levels of precision.
The disk and kidney-shaped examples illustrate the segment-containment property.
The later definition generalizes that property to arbitrary .
The general definition in applies to the planar disk example and explains why it is convex.
Speaker says in one dimension, the convex sets are precisely the intervals, after introducing the general idea and before writing the n-dimensional formulas.
The one-dimensional characterization as intervals is a special case of the general convexity definition when the ambient space is .
After defining convex sets, the board introduces H := { : } as one special case.
The newly defined notion of convexity is about to be applied to the concrete set H.
The speaker first states the convexity goal and then asks how to test membership in H, answering with the defining inequality.
The board moves from the definition of H to the constructed point z and then to the expression .
The general convexity criterion is applied by reducing the task 'show ' to the concrete inequality check .
The speaker says a point is in H if it satisfies the condition defining the set.
The defining condition on the board is .
The membership test is valid only because H was defined by the inequality .
The full derivation ends with for arbitrary x, and .
The speaker concludes that this is what was to be shown.
The theorem that H is convex is established directly by the displayed algebraic proof.
The lecturer defines a polyhedron directly as an intersection of finitely many halfspaces.
The notion of halfspace is needed before polyhedron can be defined in this clip.
The lecturer uses the repeated-intersection fact to motivate the definition of polyhedron and its convexity.
Convexity of polyhedra is obtained by applying the intersection-of-convex-sets fact to finitely many halfspaces.
The lecturer says a polyhedron is simply the set of feasible solutions of a linear programming problem.
The abstract definition of polyhedron is applied to the feasible region of a linear program.
The board first proves halfspaces are convex and later defines polyhedra as finite intersections of halfspaces.
The lecturer explicitly connects these facts when concluding that feasible regions are convex.
Convexity of polyhedra depends on both convexity of halfspaces and closure of convex sets under intersection.
The clip states the informal and formal definitions of convex sets.
The board writes the formal condition for .
The set-builder definition of the line segment is written explicitly.
A disk is shown with a segment between two interior points staying inside.
Speaker says disks are convex in two dimensions.
A segment between two points leaves the shaded region.
Speaker says there are points on the segment that are not in the set.
Speaker says in one dimension, the convex sets are precisely the intervals.
Speaker says to check if a set is convex you just need to check that it satisfies this definition.
The universal condition over x, is written.
The board writes H := { : }.
The board displays H := { x ∈ ℝ^n : } with parameter conditions.
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.
The board then writes Take x, and Consider for some .
The speaker asks how to test if something is an element of H and answers that it must satisfy the defining condition (point) ≥ β.
The speaker says, 'Now applying the distributive law...'
The board rewrites as (1-λ).
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.
The board shows the transition to (1-λ).
Covered · Introduction and informal definition of convex sets in .
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 .
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, and forms with .
Covered · The speaker explains that membership in H is tested by (point)≥β and begins computing .
Covered · Distributivity is applied and the endpoint inequalities , 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.
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.