Let $F:[a,b] \to \mathbb R$ be a continuous function, and let $G[a,b] \to \mathbb R$ be a convex function. Define $A=\{ x \in [a,b] \, | \, F(x)=G(x)\}$, and suppose that $A$ is not empty.
Must $A$ be a union (finite or countable) of pairwise disjoint closed intervals?(Or can it be something more pathological, like the Cantor set?)
Does the answer change if we assume in addition that $F$ is monotone?
The answer to both questions: $A$ can be any closed subset of $[a,b].$ (Note that such sets can be a bit crazy, for example $A$ could be a closed set of positive measure with no interior.)
Proof: Let $A\subset [a,b]$ be closed. Then there exists a $C^\infty$ function $F$ on $[a,b]$ whose zero set is precisely $A.$ Take $G\equiv 0.$ Then $G$ is convex and the set where $F=G$ is $A.$
Getting fancier, we can choose $c>0$ such that
$$c(|F'(x)|+|F''(x)|)\le 1/2,\,x\in [a,b].$$
Then the functions $cF(x)+x+(x-a)^2,$ $x+(x-a)^2$ are $C^\infty,$ strictly increasing, strictly convex, and agree precisely on the set $A.$