Maths WorkshopMaths problems with full solutions
Exercise 309Topology › Topology of Mn(ℝ) › ConnectednessL2Added 7 Nov 2026

Convex sets of matrices are path connected

#connectedness#convex sets#path connected#matrices

Statement

  1. Show that every convex subset of Mn(R)M_n(\mathbb{R}) is path connected.
  2. Give four examples of convex subsets of Mn(R)M_n(\mathbb{R}) and say why each one is convex.
Hint

A set is convex if it contains the whole segment between any two of its points. Is a segment a path?

Show solutionHide solution

Solution

Idea. Convexity is *exactly* the statement that straight-line paths do not leave the set.

1. Proof. Let C⊂Mn(R)C\subset M_n(\mathbb{R}) be convex and A,B∈CA,B\in C. Define
γ:[0,1]→Mn(R),γ(t)=(1−t)A+tB.\gamma:[0,1]\to M_n(\mathbb{R}),\qquad \gamma(t)=(1-t)A+tB.
- γ\gamma is continuous: each entry (1−t)aij+tbij(1-t)a_{ij}+tb_{ij} is an affine function of tt.
- γ(0)=A\gamma(0)=A and γ(1)=B\gamma(1)=B.
- γ(t)∈C\gamma(t)\in C for every t∈[0,1]t\in[0,1], because CC is convex.

So any two points of CC are joined by a path inside CC: CC is path connected (the empty set and singletons are trivially path connected).

2. Four examples.
- *The whole space Mn(R)M_n(\mathbb{R})*: it is a vector space.
- *Any open or closed ball* {A:∥A−A0∥<r}\{A:\|A-A_0\|<r\} for a norm ∥⋅∥\|\cdot\|: if ∥A−A0∥<r\|A-A_0\|<r and ∥B−A0∥<r\|B-A_0\|<r, then by the triangle inequality ∥(1−t)A+tB−A0∥≤(1−t)∥A−A0∥+t∥B−A0∥<r\|(1-t)A+tB-A_0\|\le(1-t)\|A-A_0\|+t\|B-A_0\|<r.
- *Positive definite symmetric matrices*: if xTAx>0x^TAx>0 and xTBx>0x^TBx>0 for all x≠0x\neq0, then xT((1−t)A+tB)x=(1−t)xTAx+txTBx>0x^T((1-t)A+tB)x=(1-t)x^TAx+tx^TBx>0 (the sum is a combination with weights 1−t,t≥01-t,t\ge0 not both zero).
- *Stochastic matrices* (nonnegative entries, every row sums to 11): the two conditions are preserved by convex combinations, since they are linear equalities and inequalities.

Remark. Path connectedness is strictly weaker than convexity. A circle (for instance SO(2)SO(2)) is path connected but not convex. Most of this chapter is about sets that are path connected for *non*-obvious reasons.