Currently, I am going through Tom Apostol's "Calculus: Volume 1 Second Edition" as I heard this was a good book to get a solid understanding of calculus and I wasn't satisfied with James Stewart's 9th edition calculus book.
I am on page 6 of the book and I am having some trouble. On pages 5 and 6, Apostol is proving that the area under the curve of $y = x^2$ between $x = 0$ and $x = b$ is equal to $\frac{b^3}3$, or $\frac{1}3$ of a rectangle with a base of length $b$ and a height of $b^2$. After proving that $1^2 + 2^2 +...+(n-1)^2 = $ $\frac{n^3}3 +$ $\frac{n^2}2 + $ $\frac{n}6$ (although I didn't fully understand how Apostol proved that either, this video by blackpenredpen https://www.youtube.com/watch?v=OpA7oNmHobM&ab_channel=blackpenredpen cleared that up for me so if anyone has trouble with that, check the link out), Apostol goes on to say:
For our purposes, we do not need the exact expressions given in the right-hand members of (I.3) and (I.4), or they can be proved directly by induction. (A proof by induction is given in Section I 4.1.)
All we need are the two inequalities
$1^2 + 2^2 + ... + (n-1)^2$ < $\frac{n^3}3$ < $1^2 + 2^2 + ... + n^2$
which are valid for every integer n $\geq$ 1. These inequalities can be deduced easily as consequences of (I.3) and (I.4), or they can be proved by induction. (A proof by induction is given in Section I 4.1.)
If we multiply both inequalities in (I.5.) by $\frac{b^3}{n^3}$ and make use of (I.1) and (I.2), we obtain
$s_n$ < $\frac{b^3}3$ < $S_n$
for every n. The inequalities in (1.6) tell us that $\frac{b^3}3$ is a number which lies between $s_n$ and $S_n$ for every n. We will now prove that $\frac{b^3}3$ is the only number which has this property. In other words, we assert that if A is any number which satisfies the inequalities
$s_n$ < A < $S_n$
for every positive integer n, then A = $\frac{b^3}3$. It is because of this fact that Archimedes concluded that the area of the parabolic segment is $\frac{b^3}3$.
My questions arises at the inequality: $1^2 + 2^2 + ... + (n-1)^2$ < $\frac{n^3}3$ < $1^2 + 2^2 + ... + n^2$
I understand that the values less than $\frac{n^3}3$ are the sum of squares of the heights of rectangles under the parabolic segment where $y=x^2$ and the values greater than $\frac{n^3}3$ are the sum of squares of the heights of rectangles that extend beyond the parabolic segment where $y=x^2$.
My question is, how did Apostol come up with the idea to use $\frac{n^3}3$ in the inequality?
I have looked to this link Method of Exhaustion applied to Parabolic Segment in Apostol's Calculus before I asked this question as this was the closest I found to someone asking a similar question but I could not find the answer.
For context, I have provided images of pages 1 through 8 so I can show you all that Apostol is doing for this proof.
Also, sorry for any formatting errors as this is my first time posting on this site.
Images: