Let ⌊ n ⌋ be the greatest integer less than or equal to x . For example, ⌊ 2 ⌋ = 2 and ⌊ π ⌋ = 3 .
What is ∫ 0 n ⌊ 2 x ⌋ d x ?
Note that k ! = k ( k − 1 ) ( k − 2 ) . . . ( 3 ) ( 2 ) ( 1 ) { k ∈ Z + } .
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.
Really nice write-up. One small additional point that may be interesting: if you use Stirling's approximation for ( 2 n ) ! , you find n 2 n − lo g 2 [ ( 2 n ) n ] ≈ n 2 n − ( n 2 n − lo g e 2 2 n ) = lo g e 2 2 n
...which you might recognise as the result of a very similar integral to the one in the question. This suggests an alternative approach, but I'm not sure it'd be enough to separate the two similar answer options.
Problem Loading...
Note Loading...
Set Loading...
⌊ 2 x ⌋ takes on all integer values from 1 to 2 n − 1 in the domain interval [ 0 , n ) .
https://www.desmos.com/calculator/ighh5kisms In the image, the blue graph is 2 x and the red graph is ⌊ 2 x ⌋ .
The integral is the sum of areas of rectangles that increase in height by 1 and decrease in width, as follows:
∫ 0 n ⌊ 2 x ⌋ d x = 1 ( lo g 2 2 − lo g 2 1 ) + 2 ( lo g 2 3 − lo g 2 2 ) + . . . + ( 2 n − 1 ) ( lo g 2 2 n − lo g 2 ( 2 n − 1 ) ) = − lo g 2 1 − lo g 2 3 − . . . − lo g 2 ( 2 n − 1 ) + ( 2 n − 1 ) lo g 2 ( 2 n ) = 2 n lo g 2 ( 2 n ) − ( lo g 2 1 + lo g 2 3 + . . . + lo g 2 ( 2 n ) ) = n 2 n − lo g 2 [ 1 ⋅ 2 ⋅ 3 ⋅ . . . ⋅ ( 2 n − 2 ) ( 2 n − 1 ) ( 2 n ) ] = n 2 n − lo g 2 [ ( 2 n ) ! ]