Problem: Prove using the Intermediate Value Theorem that $ f(x) = e^x $ and $ g(x) = x^e $ intersect.
My attempt:
First, here is the definition of the IVT that I am familiar with - "Suppose $f$ is continuous over $[a,b]$ and $f(a) \neq f(b)$. If $Y$ is strictly between $a$ and $b$, then there exists a $c \in (a,b)$ such that $f(c)=Y$."
However, in this problem, $f(x)=e^x \geq g(x)=x^e$ for all $x$.
So if we let $h(x)=e^x - x^e$, we get a function that is never negative, but touches the x-axis once where $f(x)=g(x)$.
Since, in the IVT, $c$ cannot be one of the endpoints, I have tried to think of other ways to approach the problem.
I wondered if it would be okay to prove that $h'(x)=0$ where the functions touch, because $h'$ actually does cross the x-axis, but it crosses at two points, $x=1$ and $x=e$, so I don't know if it would work.
I also thought about using a piecewise function.
$$ j(x) = \begin{cases} e^x-x^e, x \leq e\newline x^e-e^x, x > e \end{cases} $$
And now $j(x)$ crosses the x-axis and I could go about proving that using the IVT. But again, I'm not sure if this is breaking some hidden rule or something.
Are either of my approaches okay? Or is there another direction I should be going? Thanks.