Let \( y = a^x \) where \(a\gt 0\) is a constant and \(a\in\mathbb{R}\).
We begin by taking the \( \ln \) of both sides which yields
Since \(a\) is a positive constant, this equation could be written as \(\ln(y) = (\ln(a))x\).
Implicitly differentiating both sides with respect to \( x \) gives
\[\dfrac{1}{y} \left(\dfrac{dy}{dx}\right) = \ln(a)(1)\]
Solving for \(\dfrac{dy}{dx}\) gives
\[\dfrac{dy}{dx} = y(\ln(a))\]
Since \( y = a^x \),
\[\dfrac{dy}{dx} = a^x\ln(a)\]