Definition 25.4.1. Big-O Notation Definition.
Let \(f(n)\) and \(g(n)\) be functions that map positive integers to positive real numbers. We say that \(f(n)\) is Big-O of g(n), written \(f(n) = O(g(n))\text{,}\) if there exist positive constants \(c\) and \(n_0\) such that for all \(n \geq n_0\text{,}\) the following inequality holds:
\(f(n) \leq c \cdot g(n)\)