How to Identify Convex Sets
To determine whether a given set is convex or non-convex, we use several practical identification methods. In practice, you rarely rely on just one method—you combine geometry, algebra, and known results.
1. Line Segment Test (Definition Test)
Rule
A set is convex if for any two points
and any ,
How to Apply
-
Choose two arbitrary points in the set.
-
Form their convex combination.
-
Check whether the resulting point satisfies the defining condition of the set.
Example (Convex)
Take . Then:
✔ Convex
Example (Non-Convex)
Points lie on a circle boundary only.
The line segment between two points lies inside the circle, not on it.
✘ Not convex
2. Shape-Based (Geometric) Identification
Rule
Examples
| Shape | Convex? |
|---|
| Solid disk | ✔ |
| Square | ✔ |
| Triangle | ✔ |
| Donut (ring) | ✘ |
| Crescent shape | ✘ |
📌 Quick classroom intuition:
“If you can stretch a rubber band between any two points and it stays inside, the set is convex.”
3. Constraint-Based Identification
Rule
A set defined by linear equalities or inequalities is convex.
Examples
Convex
Non-Convex
(product of variables → usually non-convex)
4. Intersection Rule
Rule
If
and each is convex, then is convex.
Example
This is the first quadrant — convex ✔
5. Norm-Based Identification
Rule
Sets defined using norms are convex.
Examples
-
ball (circle/sphere)
-
ball (diamond shape)
-
ball (square)
✔ All are convex
6. Sublevel Set Test
Rule
If f(x) is a convex function, then the set
is convex.
Example
✔ Convex
7. Affine Transformation Rule
Rule
If is convex and
then is convex.
Example
A rotated or shifted circle remains convex.
8. Common Non-Convex Warning Signs
A set is likely non-convex if it involves:
-
Products of variables ()
-
Ratios of variables ()
-
Discrete choices
-
Equality constraints on curved boundaries only
Example
✘ Non-convex
Summary Table
| Method | When to Use | Result |
|---|
| Line segment test | Formal proof | Exact |
| Shape intuition | 2D/3D geometry | Fast |
| Linear constraints | Optimization problems | Convex |
| Norm sets | Regularization | Convex |
| Sublevel sets | Function-based | Convex |
| Product constraints | Warning sign | Usually non-convex |
Key Message for Students
Always identify convexity before solving an optimization problem.
Convex sets make problems solvable, stable, and predictable.
Example
Question
Prove that the set
is a convex set.
Solution
To prove that is convex, we use the definition of a convex set.
A set is convex if for any two points
and , and for any
Let
Then, by definition of ,
Consider the convex combination
That is,
Now,
Thus,
Conclusion
Since every convex combination of points in also belongs to ,
Geometric Insight
The set represents a straight line in .
Any line or hyperplane is convex because the line segment between any two of its points lies entirely on the line.
Question
Prove that the set
is a convex set.
Solution
To prove that is convex, we use the definition of a convex set.
A set is convex if for any two points
and for any
Step 1: Take Any Two Points in
Let
By definition of ,
and
Step 2: Form a Convex Combination
For any λ∈[0,1], consider the convex combination
That is,
Step 3: Verify the Inequality
Compute:
Using the given inequalities,
Thus,
Step 4: Conclusion
Since the convex combination x satisfies the defining inequality of , we have
Therefore, every convex combination of points in lies in .
Final Result
Geometric Insight (Optional)
The set represents a half-space in .
All half-spaces defined by linear inequalities are convex.
Comments
Post a Comment