Integration and floor function

Calculus Level 3

0 64 x d x = ? \large\displaystyle\int _{ 0 }^{ 64 }{ \lfloor x \rfloor }\, dx = \, ?


The answer is 2016.

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.

4 solutions

Akhil Bansal
Mar 14, 2016

I = 0 64 x dx \large I = \displaystyle \int_0^{64} \color{#D61F06}{\lfloor x \rfloor }\text{dx} I = 0 64 64 x dx \large I = \displaystyle \int_0^{64} \color{#3D99F6}{\lfloor 64 - x \rfloor }\text{dx} 2 I = 0 64 ( x + 64 x ) dx \large 2I = \displaystyle \int_0^{64} \left( \color{#D61F06}{\lfloor x \rfloor} + \color{#3D99F6}{\lfloor 64 - x \rfloor }\right)\text{dx} 2 I = 0 64 ( x + 63 x ) dx \large 2I = \displaystyle \int_0^{64} \left(\color{#D61F06}{\lfloor x \rfloor} + \color{#3D99F6}{63 - \lfloor x \rfloor }\right) \text{dx} 2 I = 64 × 63 \large 2I = 64 \times 63 I = 2016 \large \boxed{I = 2016 }

Moderator note:

Be careful. x + 64 x x + 63 x = 63 \lfloor x \rfloor + \lfloor 64 - x \rfloor \neq \lfloor x \rfloor + 63 - \lfloor x \rfloor = 63 .

You should account for the cases where the equality is not true, and explain why it doesn't affect the calculation.

@Calvin Lin , This inequality doesn't holds for x Z x \in \mathbb{Z} .Integer is just a finite point in an interval. So, neglecting it will not affect the area.

Akhil Bansal - 5 years, 2 months ago

Log in to reply

Right. That should be explained.

Calvin Lin Staff - 5 years, 2 months ago

How does the floor function change 64 to 63 ?

A Former Brilliant Member - 5 years, 2 months ago
Andrew Tawfeek
Mar 15, 2016

I hope my handwriting isn't too much of a burden, perhaps I'll rewrite this solution in LaTeX tomorrow after school :)

Moderator note:

Simple standard approach.

It is clear that n 1 n x d x = n 1 \int _{ n-1 }^{ n }{ \left\lfloor x \right\rfloor } dx=n-1 and then, by induction, it is easy to prove that 0 n x d x = ( n 1 ) n 2 \int _{0}^{ n }{ \left\lfloor x \right\rfloor } dx=\frac{(n-1)n}{2} .

To be more accurate, it holds for n n being an integer.

展豪 張 - 5 years, 3 months ago
Peter Macgregor
Mar 14, 2016

The integrand is a step function consisting of bars with unit width and heights

0 , 1 , 2 , 62 , 63 0,1,2\dots,62,63

Interpreting the definite integral as the 'area under the curve' gives the answer

0 + 1 + 2 + + 62 + 63 = 63 × 64 2 = 2016 0+1+2+\dots+62+63=\frac{63\times64}{2}=2016

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...