So I was yet again looking through the homepage of Youtube when I came across this video by Michael Penn which was asking us this question from the $2023$ MIT Integration Bee:$$\text{Integrate: }\int_0^{100}\lfloor x\rfloor x\lceil x\rceil dx$$Which I thought that I might be able to do. Here is my attempt at solving the integral:$$\text{Integrate: }\int_0^{100}\lfloor x\rfloor x\lceil x\rceil dx$$$$\sum_{n=0}^{99}\int_n^{n+1}\lfloor x\rfloor x\lceil x\rceil dx$$$$\sum_{n=0}^{99}n^2+n\int_n^{n+1}xdx$$$$\sum_{n=0}^{99}n^2+n(\frac{x^2}{2}\|_n^{n+1})$$
$$\frac{1}{2}\sum_{n=0}^{99}2n^3+n^2+2n+1$$Or$$24671675$$ My question
Is the result that I have achieved correct, or what could I do to attain the correct solution/attain it more easily?
Mistakes that I might have made
- Sums are pretty difficult for me, so I might have miscalculated a sum or something.
- Representing integrals as sums incorrectly.
Note that $I(n)=\displaystyle\int_n^{n+1}x^3dx=\frac{(n+1)^4-n^4}{4}=(n+\tfrac 12)(2n^2+2n\color{red}{+1})/2$
On the other hand
$\displaystyle\int_n^{n+1} \lfloor x\rfloor x\lceil x\rceil dx=(n+\tfrac 12)(n^2+n)=I(n)-\color{red}{\tfrac 12(n+\tfrac 12)}=I(n)-\tfrac 12\int_n^{n+1}x\,dx$
It results that
$$\int_0^{100} \lfloor x\rfloor x\lceil x\rceil dx=\int_0^{100}\big(x^3-\tfrac 12x\big)dx=\Bigg[\frac{x^4-x^2}4\Bigg]_0^{100}=\dfrac{10^8-10^4}4$$