
Originally Posted by
bokasoka
hi guys,
can someone pls explain big-o notation to me in easy to understand way with an easy example?? I am trying to understand it by reading my textbook but i am not getting it at all. It uses the following example: show that f(x) = x^2 + 2x + 1 is O(x^2)
My first question is, what value of x do i start with?? i dont know how one chooses a value of x to start with. in the book, it starts with x > 1. I dont understand how they came up with 1 instead of 2, 3 or any other number.
if someone could please answer my question and also explain the big-o notation in an easy to understand way with an example, it would be great. thanks a lot in advance! i really appriciate it.