# Thread: Integration of greatest integer function

1. ## Integration of greatest integer function

2. Hello,
Originally Posted by champrock
Separate the integral :
$\displaystyle \int_0^2 [x]^n f'(x) ~dx=\int_0^1 [x]^n f'(x) ~dx+\int_1^2 [x]^n f'(x)~dx$
if x is between 0 and 1, then [x]=0
if x is between 1 and 2, then [x]=1

so your integral is actually $\displaystyle \int_1^2 f'(x) ~dx$, if $\displaystyle n>0$

if n=0, then the integral is $\displaystyle \int_0^2 f'(x) ~dx$

3. but its actually [X]^N whcih is most confusing. (mod raised to Nth power).

so, it cant be seperated that easily.

4. Originally Posted by champrock
but its actually [X]^N whcih is most confusing. (mod raised to Nth power).

so, it cant be seperated that easily.
It is... Because x varies from 0 to 1 and from 1 to 2.

x in [0,1[ => [x]=0 => [x]^n=0^n=0, if n is not equal to 0.
x in [1,2[ => [x]=1 => [x]^n=1^n=1.

5. hmm.. lets just take an example. assume that n=5 and x=1.5, then 1.5^5 = 7.59..

6. Let $\displaystyle k\ge2,$ be an integer then $\displaystyle \int_{0}^{k}{\left\lfloor x \right\rfloor ^{n}f'(x)\,dx}=\sum\limits_{m=0}^{k-1}{\int_{m}^{m+1}{m^{n}f'(x)}\,dx}=\sum\limits_{m= 1}^{k-1}{m^{n}\big(f(m+1)-f(m)\big)}.$

Hence, for $\displaystyle k=2$ it's $\displaystyle \int_{0}^{2}{\left\lfloor x \right\rfloor ^{n}f'(x)\,dx}=f(2)-f(1),$ which is the value of the integral.

7. Originally Posted by champrock
hmm.. lets just take an example. assume that n=5 and x=1.5, then 1.5^5 = 7.59..
But you're working with the greatest integer function !

It's [x]^n, not [x^n], that's certainly not the same...

what I showed you gives the exact same result as Krizalid. (apart from the case n=0)

,

,

,

,

,

,

,

,

,

,

,

,

,

,

# find the integration of greatest integer function [x] limit from 2 to 3

Click on a term to search for related topics.