In proving that $(\sqrt2)^{\log n}$ = O(n)$, where log is base 2, the solution is below. I understand the solution except for the two lines that I starred. How does the first line become the second line?
$$* \space \space \space \space\sqrt{2}^{\log n}$$
$$*= n^{\log \sqrt{2}}$$
$$= n^{1/2}$$
$ \le n$, for $n \ge 1$
So, $n_0 = 1$ and $c = 1$.
$$ \begin{align} \sqrt{2}^{\log_2 n}\qquad\qquad \text{Given Equation}\\ = 2^{\frac{1}{2}\log_2 n}\qquad\qquad\qquad \sqrt{n} = n^{\frac{1}{2}}\\ =2^{\log_2 \sqrt{n}}\;\;\qquad a\log_b n = \log_b n^a\\ = \sqrt{n}\qquad\qquad\qquad\quad b^{\log_b n} = n\\ \end{align} $$