If $f$ and $g$ are continuous on $[a,b]$, $f(a)$ $\le$ $g(a)$, and $g(b)$ $\le$ $f(b)$, prove there is a point $c$ $\in [a,b]$ such that $f(c)$ $=$ $g(c)$.
Any ideas on how to solve?
I think I have to use the Intermediate Value Thm but I'm not sure.
If $f$ and $g$ are continuous on $[a,b]$, $f(a)$ $\le$ $g(a)$, and $g(b)$ $\le$ $f(b)$, prove there is a point $c$ $\in [a,b]$ such that $f(c)$ $=$ $g(c)$.
Any ideas on how to solve?
I think I have to use the Intermediate Value Thm but I'm not sure.
Hint: Try to construct a function $h$ from $f$ and $g$ with the properties: $$h(a) \leq 0$$ $$h(b) \geq 0$$ $$h(x)=0\iff f(x)=g(x)$$
Then, what does the intermediate value theorem tell you about $h$?
Hint If you can't use the intermediate value theorem, try to find $\sup_x f(x)-g(x) >0$ and apply continuity there.