1
$\begingroup$

I need an example please. I am not sure how to provide an example

$\endgroup$
3
  • 10
    $\begingroup$ $f(x) = \lfloor x \rfloor$ $\endgroup$
    – Will Jagy
    Commented Oct 15, 2012 at 20:44
  • 5
    $\begingroup$ $f(x) = \chi_{\mathbb{R}-\mathbb{Z}}$ $\endgroup$
    – Neal
    Commented Oct 15, 2012 at 20:44
  • 2
    $\begingroup$ As you may have realized from the various suggested examples, the idea is to start with a picture of a nice continuous function in your head and then make it jump at every integer. $\endgroup$
    – Atul Ingle
    Commented Oct 15, 2012 at 21:05

1 Answer 1

12
$\begingroup$

An indicator function for integers $I_\mathbb{Z}(x)$:

$f(x)=1$ when $x \in \mathbb{Z}$ i.e. $x$ is an integer

$f(x)=0$ when $x \not\in \mathbb{Z}$ i.e. $x$ is not an integer

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .