Let [t] denote the greatest integer less than or equal to t. Then the value of the integral ∫01[−8x2+6x−1]dx is equal to
Solutions · 1
Official solution
−8x2+6x−1=0 at x=83±17 (only x=83+17∈(0,1) is relevant). Also check where the bracket crosses −1,0,…. Breaking at x=1/4,1/2,3/4,83+17:
\[\int_0^1[-8x^2+6x-1]\,dx = \int_0^{1/4}(-1)dx+\int_{1/4}^{1/2}0\,dx+\int_{1/2}^{3/4}(-1)dx+\int_{3/4}^{(3+\sqrt{17})/8}(-2)dx+\int_{(3+\sqrt{17})/8}^1(-3)dx\]
Carrying out these evaluations gives
\[\int_0^1[-8x^2+6x-1]\,dx = \frac{\sqrt{17}-13}8\]