Floor o'er the fractional part !

Calculus Level 4

Evaluate 0 3 { x } x d x \int_{0}^{3} \{ x \}^{\lfloor x \rfloor } dx

* Try similar and more cool problems here *


The answer is 1.833.

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.

1 solution

Abhishek Singh
Oct 14, 2014

The fractional part function can be written as { x } = x x \displaystyle{ \{ x \} = x - \lfloor x \rfloor } .Hence our integral can now be broken as I = 0 3 ( x x ) x = 0 1 d x + 1 2 ( x 1 ) d x + 2 3 ( x 2 ) 2 d x I = \int_{0}^{3} ( x - \lfloor x \rfloor )^{\lfloor x \rfloor } = \int_{0}^{1} dx + \int_{1}^{2} (x -1) dx + \int_{2}^{3} (x-2)^2 dx Solving this we get I = 1 + 1 2 + 1 3 = 11 6 = 1.833 I = 1 + \dfrac{1}{2} + \dfrac{1}{3} = \dfrac{11}{6} = \boxed{1.833}

Or you can also use the following trivial fact (that follows from definition of fractional part):

p p + 1 { x } d x = 0 1 x d x p Z 0 + \int\limits_p^{p+1} \{x\}\,\mathrm dx=\int\limits_0^1 x\,\mathrm dx\quad\forall~p\in\Bbb{Z_0^+}

The solution to this problem can further be generalized using the above mentioned trivial identity.

Consider the following integral I p , q \mathcal{I}_{p,q} where q p p , q Z 0 + q\geq p~\land~p,q\in\Bbb{Z_0^+} :

I p , q = p q { x } x d x = 0 1 ( k = p q 1 x k ) d x = k = p q 1 0 1 x k d x I p , q = k = p q 1 ( x k + 1 k + 1 0 1 ) = k = p q 1 1 k + 1 = k = p + 1 q 1 k \mathcal{I}_{p,q}=\int\limits_p^q \{x\}^{\lfloor x\rfloor}\,\mathrm dx=\int\limits_0^1\left(\sum_{k=p}^{q-1} x^k\right)\,\mathrm dx=\sum_{k=p}^{q-1}\int\limits_0^1 x^k\,\mathrm dx\\ \implies \mathcal{I}_{p,q}=\sum_{k=p}^{q-1}\left(\frac{x^{k+1}}{k+1}\bigg|_0^1\right)=\sum_{k=p}^{q-1}\frac{1}{k+1}=\sum_{k=p+1}^q\frac{1}{k}

We can easily conclude our result as:

I p , q = { H q H p when p > 0 H q when p = 0 q 0 \mathcal{I}_{p,q}=\begin{cases}\begin{array}{ccc}H_q-H_p&\textrm{when}&p\gt 0\\ H_q&\textrm{when}&p=0~\land~q\neq 0\end{array}\end{cases}

where H x H_x is the x th x^{\textrm{th}} harmonic number, i.e., H x = k = 1 x 1 k x Z 1 \displaystyle H_x=\sum_{k=1}^x\frac 1k~\forall~x\in\Bbb{Z_{\geq 1}} .


The answer to this problem is simply the value of I 0 , 3 = H 3 = 11 6 = 1.8 3 ~\mathcal{I}_{0,3}=H_3=\dfrac{11}{6}=1.8\overline 3

Prasun Biswas - 6 years ago

Log in to reply

Wow ! This is a nice way . +1

Log in to reply

I'm glad someone saw this comment! :D I was thinking this comment would get buried since this question is almost a few months old.

Prasun Biswas - 6 years ago

Log in to reply

@Prasun Biswas Lol

Anyway , I have reshared this question , so all those who have followed me will get to see this question , and hence your method . Cheers!

Cool question!! I couldn't even think of that

Krishna Sharma - 6 years, 8 months ago

Log in to reply

What is { x } \{x\}

Rajdeep Dhingra - 6 years, 3 months ago

Log in to reply

x is the independant variable , if I am not wrong

A Former Brilliant Member - 6 years, 3 months ago

Log in to reply

@A Former Brilliant Member Dude I meant the brackets

Rajdeep Dhingra - 6 years, 3 months ago

Log in to reply

@Rajdeep Dhingra Fractional part of x.

Krishna Sharma - 6 years, 3 months ago

great....such questions can surely come in J E E JEE\quad exam..

manish bhargao - 6 years, 3 months ago

Really, nice one!

Bhargav Upadhyay - 6 years, 2 months ago

great question .... i did it by using the graph of the given function.

A Former Brilliant Member - 3 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...