How to type logarithms in Wolfram|Alpha?

Two ways I just checked:

Typing log(a,b) gives $\log_a(b)$.

You can also use change-of-base to represent $\log_a(b)$ by log(b)/log(a).


You can also use log_(b)(a) where b is the base.


In their reference, Wolfram|Alpha states the following:

Log[z] gives the natural logarithm of $z$ (logarithm to base $e$).

Log[b,z] gives the logarithm to base $b$.

Michael's answer states this using parenthesis. Note that brackets are formally defined, while parentheses are inferred. Realistically this makes no difference, but for the sake of pedantry.

Additionally, if you search for the term that you need more information on, in this case log, you can get the definition & documentation by hovering over the shortened definition in the bottom corner:

enter image description here

The Wolfram|Alpha reference, provides amazing insight into these type of questions.