Calculating integrals involving floor function

  • Context: Undergrad 
  • Thread starter Thread starter smatik
  • Start date Start date
  • Tags Tags
    Function Integrals
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 3K views
smatik
Messages
14
Reaction score
1
Is it possible to claculate ∫[cot(x)]dx from x=0 to x=[itex]\pi[/itex]where [.] represents floor functon or the greatest integer function??
it seems impossible to me but can we use the properties of definite integrals to somehow evaluate the area?
 
Physics news on Phys.org
It is possible to convert this to a series (involving arctan), but I have no idea if this series can be evaluated analytically. It is possible to get a numeric approximation, of course.
 
smatik said:
Is it possible to claculate ∫[cot(x)]dx from x=0 to x=[itex]\pi[/itex]where [.] represents floor functon or the greatest integer function?
Impossible because this defined integral is not converging.
 
Well, we can consider
$$\lim_{\delta \to 0} \int_\delta^{\pi-\delta} [\cot(x)] dx$$
This should be well-defined and finite.
 
Yes, if both limits of the integral tend respectively to 0 and pi, with the same gap (delta), this is similar to the Cauchy integral (Principal Value). Then the limit of the value of the integral is finite : -pi/2 in case of the floor function and pi/2 in case of the ceiling function.