Confused on how to find c and k for big O notation if f(x) = x^2+2x+1
问题 I am studying big O notation from this book. The deffinition of big O notation is: We say that f (x) is O(g(x)) if there are constants C and k such that |f (x)| ≤ C|g(x)| whenever x > k. Now here is the first example: EXAMPLE 1 Show that f (x) = x^2 + 2x + 1 is O(x^2). Solution: We observe that we can readily estimate the size of f (x) when x > 1 because x 1. It follows that 0 ≤ x^2 + 2x + 1 ≤ x^2 + 2x^2 + x^2 = 4x^2 whenever x > 1. Consequently, we can take C = 4 and k = 1 as witnesses to