This Question was asked by my teacher and the solution he presented is this:
$$\int_0^5 (x^2+1) d \lfloor x \rfloor.$$
Before integrating the above, lets see this:
$\int_a^b f'(x)g(x) + g'(x)f(x)dx = \int_a^b \frac {d(f(x)g(x))}{dx} dx = f(b)g(b)-f(a)g(a)$
Let $f(x)=x^2 +1$ and $g(x)=\lfloor x \rfloor.\ f'(x)= 2x.$ $$\int_a^b f'(x)g(x) + g'(x)f(x)dx=f(b)g(b)-f(a)g(a) \\\int_0^5 2x\lfloor x \rfloor + \frac{d\lfloor x \rfloor}{dx} (x^2 +1)dx=f(5)g(5)-f(0)g(0) \\\int_0^5 2x\lfloor x \rfloor dx + \int_0^5 (x^2 +1)d\lfloor x \rfloor=130$$
Now, $\int_0^5 2x\lfloor x \rfloor dx = 70\ .$ So $\int_0^5 (x^2 +1)d\lfloor x \rfloor$ comes out to be 60.
I dont understand how integration on $\lfloor x \rfloor$ is even possible and hence the solution seems pretty strange to me. Would love to know how this integration is possible in the first place?