Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say we have two "Big-Oh" sets called $\text{Constant}$ and $\text{Logarithmic}$, such that one has $O(1)$, and the other has $O\big(\log(n)\big)$, respectively, how would I show that $\text{Constant} \subseteq \text{Logarithmic}$?

share|cite|improve this question
up vote 4 down vote accepted

Higher order set contains lower order set. In your case $\lim \limits_{n\rightarrow \infty}\frac{\log n}{1}=\infty.$

share|cite|improve this answer


Logarithms are increasing and unbounded. But a constant is bounded.

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.