A subset $A\subseteq\mathbb{R}^n$ is convex if $\forall$ $P, Q\in A$ the line segment that joins them is contained in $A$.
Let $A \subseteq \mathbb{ R }^n$ be convex, $f: A \to \mathbb{R}$ continuous and for any two points $P, Q\in A$, $f(P)<0<f(Q)$. Prove that $\exists$ $ T \in A: f(T)=0$.
I think I need to use the Intermediate Value Theorem but I am not sure how to start.
Hint: Let $g(t):=f(tP+(1-t)Q)$, with $g:[0,1]\to \mathbb{R}$.