I want to prove using the intermediate value theorem the existence of the n-root of a number $a$ and I'm thinking to do this using several steps:
$n$ even
If $a>1$
Since the function $f(x)=x^n-a$ is continuous and $f(0)=-a<0$ and $f(a)=a^n-a=a(a^{n-1}-1)>0$, then by the intermediate value theorem we have the statement proved.
If $0<a<1$
Since the function $f(x)=x^n-a$ is continuous and $f(0)=-a<0$ and $f(\frac{1}{a})=\frac{1}{a^n}-a=a(\frac{1}{a^{n+1}}-1)>0$, then by the intermediate value theorem we have the statement proved.
$n$ odd
If either $a>1$ or $0<a<1$
The same when $n$ is even
If $a<0$
I don't know
Questions
Am I right so far?
Is there an easy way without so many steps to solve this question using Intermediate value theorem?
How can we prove the last part?