Suppose that n³ is in O(n²), then there exists some pair of positive constants c
and n₀
such that n³ ≤ cn²
for all n ≥ n₀
, but for any constant c
this is trivially false when n > c
, thus we have a contradiction.
Suppose that n³ is in Ω(n⁴), then there exists some pair of positive constants c
and n₀
such that n³ ≥ cn⁴
for all n ≥ n₀
, but for any constant c
, this is trivially false when n > max(1,1/c)
, thus we have a contradiction.