Using only the definition of O()?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to prove by contradiction. Assume that
n^2isO(n*log(n)). Which means by definition there is a finite and non variable real numbercsuch thatfor every n bigger than some finite number
n0.Then you arrive to the point when
c >= n /log(n), and you derive that asn -> INF,c >= INFwhich is obviously impossible.And you conclude
n^2is notO(n*log(n))