Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Its sometimes hard to type it if logarithm is not natural and base is not 10, especially if base is variable. So anyone know rules how to type?

share|cite|improve this question

2 Answers 2

up vote 26 down vote accepted

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).

share|cite|improve this answer

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

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.