I learnt that exponential functions has the format : \begin{align} number^x \end{align}
But these functions are not exactly power x, so I am confused:
\begin{align}
\sqrt{5}^{\log_{5} x}\\
8^{\lg x}
\end{align}
I am trying to understand the classes of function, so I would like to know what class are the above 2 functions in
Note that $$ \sqrt 5 ^{\log_5 x } =5^{1/2 \log_5 x}=\sqrt {x} $$
Which is not exponential.
Also $$8^{\log x} =x^{\log 8}$$
Which is not exponential
Thus none of your expressions is exponential.