0

As n ⇒ ∞, f = Ω(n) ⇒ f = O(n^2).

How can I show if this Omega and Big-O notation is correct?

kaya3
  • 47,440
  • 4
  • 68
  • 97
K11
  • 1
  • Seems completely wrong from https://www.tutorialspoint.com/data_structures_algorithms/asymptotic_analysis.htm https://guide.freecodecamp.org/computer-science/notation/big-omega-notation/ and https://stackoverflow.com/questions/12138212/difference-between-big-theta-and-big-o-notation-in-simple-language – B. Go Mar 14 '20 at 12:40
  • 1
    Are you sure that this is correct? If I have a linear lower bound, does this always mean that I also have a quadratic upper bound? – lyinch Mar 14 '20 at 12:40

1 Answers1

2

It's false, and one counterexample is enough to show that it's false.

A simple counterexample is the function f(n) = n3, which is in Ω(n), but not in O(n2).

kaya3
  • 47,440
  • 4
  • 68
  • 97