In my text, I am given that the sum of the first n positive integers can be understood in terms of big-O notation.
''Since each of the integers in the sum of the first $n$ positive integers does not exceed $n$'', we can write:
$$1 + 2 + \cdots + n \leq n + n \cdots + n= n^2$$
Why does $n + n +\cdots + n = n^2$ ?
We have that:
$$n+\underbrace{\cdots}_{n-2}+n=n^2=n\times n$$
from simple arithmetic (multiplying $n$ by $m$ can be viewed as adding $m$ lots of $n$). With regards to the validity of the statement $\sum_{i=1}^{n}i<n^{2}$ we can examine the closed form for the summation:
$$\sum_{i=1}^{n}i=\frac{n(n+1)}{2}=\frac{1}{2}(n^{2}+n)$$
We can see that this is strictly less than $n^2$ for $n> 1$ by observing that $n<n^{2}$ for $n>1$ and that $\frac{1}{2}(1^{2}+1)=1$ so the inequality does not hold for $n=1$.