Integrate floor

Calculus Level 3

3 3 2 x + 3 d x = ? \int_{-3}^3 \lfloor 2x + 3 \rfloor \, dx = \, ?

Notation: \lfloor \cdot \rfloor denotes the floor function .


The answer is 15.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Chew-Seong Cheong
Apr 18, 2020

The floor function is a step function. For the integrand 2 x + 3 \lfloor 2x + 3 \rfloor , where x ( 3 , 3 ) x \in (-3,3) , it is shown in the graph above. It is a stair or y y ranging from 3 -3 to 8 8 , each step a height of 1 1 and width of 1 2 \frac 12 . The integral of floor function is the area under the stair steps. In equation, we have:

3 3 2 x + 3 = 1 2 k = 3 3 k = 1 2 ( k = 1 3 k + k = 1 8 k ) Steps 3 , 2 , 1 cancel with steps + 1 , + 2 , + 3 = 1 2 k = 4 8 k Remaining 5 steps, 4 to 8 (as shaded) = 1 2 × 5 ( 4 + 8 ) 2 = 15 \begin{aligned} \int_{-3}^3 \lfloor 2x+3\rfloor & = \frac 12 \sum_{k=-3}^3 k \\ & = \frac 12 \left(-\sum_{k=1}^3 k + \sum_{k=1}^8 k \right) & \small \blue{\text{Steps }-3, -2, -1 \text{ cancel with steps }+1, + 2, +3} \\ & = \frac 12 \sum_{k=4}^8 k & \small \blue{\text{Remaining 5 steps, 4 to 8 (as shaded)}} \\ & = \frac 12 \times \frac {5(4+8)}2 = \boxed {15} \end{aligned}

The integrand is 2 x + 3 = 2 x + 3 \lfloor {2x+3}\rfloor=\lfloor {2x}\rfloor +3 . So the value of the integral is 3 ( 3 + 3 ) + 0.5 ( 6 5 4 3 2 1 + 1 + 2 + 3 + 4 + 5 ) = 18 3 = 15 3(3+3)+0.5(-6-5-4-3-2-1+1+2+3+4+5)=18-3=\boxed {15} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...