I'm quite confused as to how to solve this step by step. What I have done was graph this using Desmos graphing software to visually see it, and I can see that the $n \sqrt n $ is below $n^4$.
I thought I could do something like this:
$n \sqrt n \lt n^4$
$ \sqrt n \lt n^3$
$n^{1/2} \lt n^4$
$1 \lt n^4 / n^{1/2}$
$1 \lt n^{7/2}$
So based on this, $n \sqrt n$ is not bigO of $O(n^4)$. Is that correct? Or would I say it is BigO iff $n > 1$ ?
Thank you.
All boils down to $x\ge 1\implies x^2\ge x$ when multiplying both sides by $x$
For $n\ge 1$
Gathering everything gives you $n^3\ge \sqrt{n}$, which formally has $n_0=1$ and $C=1$ from the big-O notation:
$\forall n\ge n_0$ then $\sqrt{n}\le Cn^3\iff \sqrt{n}=O(n^3)$
which is equivalent to $n\sqrt{n}=O(n^4)$ as you noticed yourself.