# Define Mode function in non continuous region. [closed]

Let $$\Bbb f : R \to R$$ be a function defined as $$f(x)=|x|/2x$$ $$\forall x \in R$$ {0}

Can $$f(0)$$ be defined in a way such that $$f$$ is continuous at 0?

## closed as off-topic by Saad, Clayton, YiFan, Eevee Trainer, ShaileshApr 19 at 0:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Saad, Clayton, YiFan, Eevee Trainer, Shailesh
If this question can be reworded to fit the rules in the help center, please edit the question.

• Actually i was trying to draw graph of different curves and i found out this question.. in every way its a discontinuous function that i found where values would be 1/2 when x>0 and -1/2 when x<0 . but at x=0 its in my opinion its undefined.. but the question has asked otherwise. so after every try i found it unable to define any way.. – Debayan Bairagi Apr 18 at 12:20

The function will be continous in 0 $$\Leftrightarrow f(0)=\lim_{x \rightarrow 0^+ }f(x)=\lim_{x \rightarrow 0^- }f(x)$$.
In your case, $$\lim_{x \rightarrow 0^+ }f(x)=\lim_{x \rightarrow 0^+ }|x|/2x =1/2$$ and $$\lim_{x \rightarrow 0^- }f(x)=\lim_{x \rightarrow 0^- }|x|/2x=-1/2$$.
So the function $$f(x)$$ can't be continuous, regardless the value of $$f(0)$$.