I know that little-o is < or = to big-O. Θ(n log n) ∪ o(n log n) = O(n log n)
2026-03-30 06:09:22.1774850962
I have to prove this inequality using the complexity classes.
24 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
To prove the $\subseteq$ direction, you need to show two things.
Both are fairly straightforward to verify; just write down the definitions of $o()$, $\Theta()$, and $O()$.
I don't believe the $\supseteq$ direction holds. A counterexample is $$f(n) = \begin{cases} n \log n & \text{if $n$ even} \\ 0 & \text{if $n$ odd}\end{cases}$$ For this counterexapmle, the sequence $\frac{f(n)}{n \log n}$ is $1,0,1,0,1,0,\ldots$.