I need to prove that $f(x) = a^x $ is a continuous bijection from $\mathbb{R}$ to $\mathbb{R}^*$ for $a>0$, $a\neq 1$. For injectivity, I did:
$$a^x = a^y \rightarrow \log a^x = \log a^y \rightarrow x\log a = y\log a \rightarrow x = y$$
(i can divide both sides by $\log a$ because $a\neq 1\implies \log a \neq 0$.
For surjectivity, I need to prove that there is always a solution for $a^x = y$. If I apply log to both sides: $x\log a = \log y\implies x = \frac{\log y}{\log a} = \log_a y$. Is this it?
For continuity, can I just use continuity of $\log$ since $a^x = e^{\log a ^x}$?
Here's a hint for another way of proving this. Another way to show a function is a bijection is to show it has an inverse function. Here though you'll want to be careful with your domains and ranges/codomains. I'm not familiar with the notation $\mathbb{R}^*$ but I assume this just means all positive real numbers. The inverse function is thus going to be a function that has this as its domain. You basically did this procedure of finding the inverse when you found that $a^x=y$ leads to $x=log_a(y)$.