i need a mathematical function F which is defined as F(x) = 0 if x equal to zero and F(x) = 1 if x is not equal to zero. can F(x) be represented in the form of a single mathematical expression in terms of x?
Mathematical function to check whether its parameter is zero or not
0
$\begingroup$
functions
-
0Hi Anil. Welcome to stackexchange. Hope you will get an answer soon. (the guy from Vark.com) – 2011-02-25
-
1You can write it as $1_{\mathbb R\setminus\{0\}}(x)$ but that is just a name. What do you mean with "a single mathematical expression"? – 2011-02-25
-
8You have _already_ defined the function. What more do you need? – 2011-02-25
-
2These types of questions usually arise from a limited understanding of functions. A function (in a limited point of view) is a machine which returns a number, if you supply the function a number. As an example you can define the absolute value as $|x|=\sqrt{x^2}$. Is this a better definition than $x=x$ if $x\geq 0$, and $x=-x$ is $x<0$? If you think so, you should ask yourself: how do you define the square root? – 2011-02-25
-
0If you let $S$ be the set containing $0$ then $F(X)$ is often called the characteristic (or indicator) function of $\mathbb R - S$. It already is a single mathematical definition for any $x \in \mathbb R$, but maybe you are looking for a concise way to describe it? – 2011-02-25
-
0Anil has not returned since Feb 25, so no-one knows what he means by "mathematical expression". – 2011-07-23