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?

  • 2
    $\begingroup$ Since the floor function is constant where it is differentiable, any power series representation will be a constant. $\endgroup$ – Cheerful Parsnip Mar 14 '12 at 12:49
  • $\begingroup$ Riccardo.Alestra has given a formula when the value is not an integer. Is there a known formula that includes integer values also? $\endgroup$ – Matt Groff Mar 14 '12 at 12:54
  • $\begingroup$ 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. $\endgroup$ – Cheerful 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}$$


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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