Easy As A Sum, So Why The Product?

Calculus Level 2

0 20 ( x { x } ) d x = ? \displaystyle \int_{0}^{20} \Bigl(\lfloor x \rfloor \{x\} \Bigr) \ dx = \ ?

Details and assumptions :

  • Every x R x\in \mathbb{R} can be written as x = x + { x } x=\lfloor x \rfloor + \{x\} .

  • x \lfloor x \rfloor denotes greatest integer less than or equal to x x .

  • { x } \{x\} is the fractional part of x x .


The answer is 95.

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.

6 solutions

Shriram Lokhande
Mar 30, 2015

By using properties of definite integral and floor function.

0 20 x { x } d x = k = 0 19 k k + 1 x { x } d x = k = 0 19 k k + 1 k { x } d x = k = 0 19 k 0 1 x d x = k = 0 19 k 2 = 95 \begin{array}{ll} \displaystyle \int_0^{20} \lfloor x \rfloor \{x\} \ dx & = \displaystyle \sum_{k=0}^{19} {\int_{k}^{k+1} {\lfloor x \rfloor \{x\} \ dx}} \\ & = \displaystyle \sum_{k=0}^{19} {\int_{k}^{k+1} {k \{x\} \ dx}} \\ & = \displaystyle \sum_{k=0}^{19} {k\int_{0}^{1} {x \ dx}} = \sum_{k=0}^{19} {\dfrac{k}{2}} \\ & = \boxed{95} \end{array}

Wrong method .please do not make solutions like this. In this question we must use the concept of areas

Prashant K. Piyush - 5 years, 5 months ago

Log in to reply

It is absolutely correct. Why is it necessary to use areas?

Shourya Pandey - 5 years, 3 months ago

Log in to reply

And even that uses the concept of an integral, even if we don't it as such!

B.S.Bharath Sai Guhan - 4 years, 12 months ago
Aditya Raut
Mar 30, 2015

According to the definition of integral as Area below the curve , we can get the answer for this.

In the given range, the curve will be consisting of 19 19 triangles, something like as follows

Areas of these triangles are in Arithmetic Progression,

as their bases are all 1 1 , but heights are 1 , 2 , 3 , . . . , 19 1,2,3,...,19 that means the areas are 1 2 , 2 2 , 3 2 , . . . , 19 2 \dfrac{1}{2},\dfrac{2}{2},\dfrac{3}{2} , ... , \dfrac{19}{2}

Their sum would be 1 2 k = 0 19 k = 1 2 19 ( 19 + 1 ) 2 = 95 \dfrac{1}{2} \displaystyle \sum_{k=0}^{19} k = \dfrac{1}{2} \dfrac{19(19+1)}{2} = \boxed{95}

Very good concept

amlan sahu - 3 years, 10 months ago

Log in to reply

Very good concept

Vasant Halpet - 2 years ago
Harish Sasikumar
Nov 10, 2015

To Find N N + 1 x { x } d x \int_{N}^{N+1} \lfloor x \rfloor \{x\} dx

(where N is an integer)

Given x = x + { x } x=\lfloor x \rfloor + \{x\} Squaring x 2 = ( x + { x } ) 2 x^2=(\lfloor x \rfloor + \{x\})^2

x 2 = x 2 + { x } 2 + 2 x { x } x^2=\lfloor x \rfloor^2 + \{x\}^2 + 2 \lfloor x \rfloor \{x\}

Integrating LHS & RHS in the limit N to N+1 L H S = R H S 1 + R H S 2 + 2 N N + 1 x { x } d x LHS = RHS1 + RHS2 + 2 \int_{N}^{N+1} \lfloor x \rfloor \{x\}dx

L H S = N N + 1 x 2 d x = N 2 + N + 1 3 LHS = \int_{N}^{N+1} x^2 dx = N^2 + N + \frac{1}{3} R H S 1 = N N + 1 x 2 d x = RHS1 = \int_{N}^{N+1} \lfloor x \rfloor^2 dx= area of a rectangle with base 1 and height N 2 = N 2 N^2 = N^2

R H S 2 = N N + 1 { x } 2 d x = 0 1 x 2 d x = 1 3 RHS2 = \int_{N}^{N+1} \{ x \} ^2 dx= \int_{0}^{1} x^2 dx = \frac{1}{3}

Hence N N + 1 x { x } d x = N 2 \int_{N}^{N+1} \lfloor x \rfloor \{x\} dx= \frac{N}{2}

Using the above result for a positive integer p,

0 p x { x } d x = 1 2 i = 0 p 1 i = p ( p 1 ) 4 \int_0^p \lfloor x \rfloor \{x\} dx =\frac{1}{2}\sum_{i=0}^{p-1}i = \frac{p(p-1)}{4}

Note: Sum of first n integers = n ( n + 1 ) 2 = \frac{n(n+1)}{2}

when p=20, answer = 95

Moderator note:

Great approach of relating x { x } \lfloor x \rfloor \{ x \} to x 2 x^2 , which allows us to evaluate the integral.

Kishore S. Shenoy
May 21, 2016

I think a similar solution has be published. I'm too lazy to read it :)

Basically using x 2 = ( x + { x } ) 2 = x 2 + { x } 2 + 2 x { x } x^2 = (\lfloor x \rfloor+\{x\})^2 = \lfloor x \rfloor^2 +\{x\}^2+2\lfloor x \rfloor \{x\} 0 20 x { x } = 1 2 0 20 ( x 2 ( x 2 + { x } 2 ) ) d x = 1 2 ( 2 0 3 3 ( 19 20 39 6 + 1 3 × 20 ) ) = 95 \begin{aligned}\int_0^{20}\lfloor x\rfloor\{x\} &= \dfrac 12\int_0^{20}\left(x^2-\left(\lfloor x \rfloor ^2+\{x\}^2\right)\right)dx \\&= \dfrac12\left(\dfrac{20^3}3 -\left(\dfrac{19\cdot20\cdot39}6 + \dfrac13\times 20\right)\right)\\&=\boxed{95}\end{aligned}

Moderator note:

Great approach! Thanks for sharing it.

Subrata Dutta
May 11, 2015

[x]{x}= x[x] - [x]^2 , integrating 1st part and 2nd part respectively we get 2565 and 2470 . so the ans is (2565-2470)=95

Rudra Jadon
Aug 5, 2017

Hint-break integration in parts like from 1 to 2 then 2 to 3........ 19 to 20...... value of GIF will be constant for respective case like it will be 3 for 3 to 4.....and area of fractional part of x will be the same 1/2 which u can easily find by its graph

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...