Let a be a positive real number $a>0$ and $\{ x_n\}$ be a sequence of rational numbers such that $\lim_{n \to \infty}x_n=0$ Show that $\lim_{n \to \infty} a^{x_n}=1$
My attempt
given = $e^{x_n \ln a} \to 1$
But any other alternative way? this was asked for 10 marks.
You can prove this at a much more elementary level - long before you learn about logarithms, the exponential function, and continuous functions.
If $a=1$ then the proposition is trivial. Suppose you can prove it for all $a>1$; then it is also proved for all $a < 1$ (still $a > 0$), because $a^{x_n} = \big(\frac 1 a\big)^{-x_n}$, $\frac 1 a > 1$ if $a < 1$, and ${-x_n} \to 0$ if $x_n \to 0$.
Now let's fix $a > 1$. First let's show that $a^{\frac 1 n} \to 1$. Write $w_n = a^{\frac 1 n} - 1$; $w_n > 0$ and $a = (1 + w_n)^n \ge 1 + n \dot w_n$ (elementary inequality which can be proven by induction), so $w_n \le \frac{a-1} n$, which proves that $w_n \to 0$ as $n \to \infty$, as claimed.
Then take an arbitrary sequence $x_n$ that converges to 0. For every $N \gg 0$, $x_n$ is between $-\frac 1 N$ and $\frac 1 N$ for all $n$ sufficiently large. Conclude by using the special case we just finished proving.