Say I have two functions $f$ and $g$, which are continuous over the interval $[a,b]$ and also have the same domain (edit: I meant range not domain) $D_{fg}$ over that interval:
$\forall y \in D_{fg}. \exists x_1, x_2 \in [a,b]. f(x_1) = y \land g(x_2) = y$
If this is the case, then $f$ and $g$ must intersect at at least one point. (This becomes obvious with a piece of paper. If you draw the one function as surjective with respect to $D_{fg}$ and continuous on the interval it is not possible to also draw the other as continuous and surjective with respect to $D_{fg}$ on the interval without the lines crossing)
So formally then:
$\forall y \in D_{fg}. \exists x_1, x_2 \in [a,b]. f(x_1) = y \land g(x_2) = y \implies \exists y \in D_{fg}. \exists x. f(x) = g(x) = y$
How do I prove this implication however?