Prove or disprove: $(\ln n)^2 \in O(\ln(n^2)).$
I think I would start with expanding the left side. How would I go about this?
Prove or disprove: $(\ln n)^2 \in O(\ln(n^2)).$
I think I would start with expanding the left side. How would I go about this?
Here are two hints:
$O(\ln(n^2)) = O(2 \ln n) = O(\ln n)$
$x^2 \notin O(x)$
Can you finish from here?