# Which is better wording: x grows with $N^2$ or x grows with $O(N^2)$

Which of the following sounds better (or more rigorously):

1. x grows with $N^2$ or

2. x grows with $O(N^2)$ or

3. x grows quadratically with $N$.

The three options have different meanings in mathematics:

1. The first option means that $x$ increases as $N^2$ increases.
2. The second doesn't really make sense.
3. The third has the meaning you are presumably after (perhaps "with" is better replaced by "in").

You can rephrase the first two options as follows:

1. $x$ grows as $N^2$ - this is informal, and doesn't differentiate between $x \sim N^2$ and $x = \Theta(N^2)$.
2. $x$ grows as $O(N^2)$ - this is an awkward phrasing, and it is better to use symbols: $x = O(N^2)$. Note, however, that this is not the same as your third option - it corresponds to $x$ growing at most quadratically in $N$. To get the same meaning, you have to use big Theta: $x = \Theta(N^2)$.

You mention rigor. Rigor is a property of proofs, whereas here there are no proofs. Your descriptions might be informal, but could help explain rigorous proofs.

The best two options are "$x$ grows quadratically in $N$" and $x = \Theta(N^2)$". Both are acceptable.

• Agreed, accept that it should be $x \in \Theta(N^2)$. – Raphael Sep 28 '17 at 14:04