Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm wondering if an ordinary power series expansion of the floor function is possible, and what it is if it's possible. Additionally, I'm wondering what some of the most common uses of the floor function are in practice. Additionally, I'd like to know what use a series expansion of a floor function may be.

So, again, what's the series expansion of the floor function?

share|cite|improve this question
Since the floor function is constant where it is differentiable, any power series representation will be a constant. – Grumpy Parsnip Mar 14 '12 at 12:49
Riccardo.Alestra has given a formula when the value is not an integer. Is there a known formula that includes integer values also? – Matt Groff Mar 14 '12 at 12:54
Riccardo's formula is not a power series. I was only responding to the "power series" part of your question, not the more general question of whether there is any series expansion. – Grumpy Parsnip Mar 14 '12 at 12:59

If $x$ is not an integer, you can use the formula:

$$\lfloor x \rfloor=x-\frac{1}{2}+\frac{1}{\pi}\sum_{k=1}^\infty \frac{\sin(2k\pi x)}{k}$$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.