I'm trying to prove that $f(x) = x^n$ is continuous for all $n$. One option is the Binomial theorem, but it seems slightly messy, so I've opted for induction. Here is my attempt.
Let $a \in \mathbb{R}$ be given and induct on $n$. If $n=1$, given $\epsilon = 0$, set $\delta = \epsilon$. Then $|x-a| < \delta$ implies $|f(x) - f(a)| = |x - a| < \delta = \epsilon$, so $f(x)$ is continuous at $a$ and thus on $\mathbb{R}$.
If $n = 2$, we need to show that $f(x) = x^2$ is continuous at $a$. This is where I am having trouble, because the scratchwork falls apart. If $|x-a| < \delta$, then $$|f(x) - f(a)| = |x^2 - a^2| = |(x+a)(x-a)| = |x+a||x-a| < \delta |x+a|.$$ $\delta$ can depend on $a$, but not on $x$, so I don't know what kind of additional restrictions I can place on $\delta$.
The induction is straightforward from here, but only if I don't use the definition, but rather the fact that $x^k$ is continuous by assumption, as is $x$, and the product of two continuous functions is continuous. I'd prefer to do this from the definition, however, as this seems to trivialize the result. I could have proved that $x^2$ is continuous just by using the $n=1$ case.
Help would be appreciated.