Integrate on Floors

Calculus Level 4

1 1 x + x + x d x = ? \large \displaystyle \int _{ -1 }^{ 1 }{ \left\lfloor x+\left\lfloor x+\left\lfloor x \right\rfloor \right\rfloor \right\rfloor \, dx } = \ ?

Give your answer to 3 decimal places.


The answer is -3.

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.

3 solutions

1 1 x + x + x d x \int _{ -1 }^{ 1 }{ \left\lfloor x+\left\lfloor x+\left\lfloor x \right\rfloor \right\rfloor \right\rfloor dx }

= 1 0 x + x + x d x + 0 1 x + x + x d x =\int _{ -1 }^{ 0}{ \left\lfloor x+\left\lfloor x+\left\lfloor x \right\rfloor \right\rfloor \right\rfloor dx }+\int _{ 0}^{ 1 }{ \left\lfloor x+\left\lfloor x+\left\lfloor x \right\rfloor \right\rfloor \right\rfloor dx }

= 1 0 x + x 1 d x + 0 1 x + x + 0 d x =\int _{ -1 }^{ 0 }{ \left\lfloor x+\left\lfloor x-1 \right\rfloor \right\rfloor dx }+\int _{ 0 }^{ 1 }{ \left\lfloor x+\left\lfloor x+0 \right\rfloor \right\rfloor dx }

= 1 0 x + ( 2 ) d x + 0 1 x + 0 d x =\int _{ -1 }^{ 0 }{ \left\lfloor x+(-2) \right\rfloor dx }+\int _{ 0 }^{ 1 }{ \left\lfloor x+0\right\rfloor dx }

= 3 =-3

Jubayer Nirjhor
Oct 26, 2015

Let's analyze the function f ( x ) = x + x + x f(x)=\left\lfloor x+\left\lfloor x+\left\lfloor x\right\rfloor \right\rfloor\right\rfloor .

For 1 x < 0 -1\le x<0 we have x = 1 \lfloor x\rfloor = -1 Also since 2 x 1 < 1 -2\le x-1 <-1 and 3 x 2 < 2 -3\le x-2<-2 we have x 1 = 2 \lfloor x-1\rfloor =-2 and x 2 = 3 \lfloor x-2\rfloor = -3 . So in that range f ( x ) = x + x 1 = x 2 = 3 f(x)=\left\lfloor x+\left\lfloor x-1\right\rfloor\right\rfloor=\left\lfloor x-2\right\rfloor=-3 .

For 0 x < 1 0\le x<1 we have x = 0 \lfloor x\rfloor = 0 . So in that range f ( x ) = x + x + 0 = x = 0 f(x)=\left\lfloor x+\left\lfloor x+0\right\rfloor\right\rfloor=\left\lfloor x\right\rfloor=0 . And we trivially have f ( 1 ) = 3 f(1)=3 .

Therefore, only the interval [ 1 , 0 ) [-1,0) contributes to the area. The area is ( 3 ) × 1 = 3 (-3)\times 1=\boxed{-3} .

Sarthak Tanwani
Oct 28, 2015

We can simply use the fact that [x+I] can be written as [x]+I where I is an integer. Now as [x] is itself an integer we can remove it repeatedly to final get integral of "-1 to 1" 3 times [x] to get -3. That's a much shorter solution in practice. (Where [.] represents the greatest integer function)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...