Number of points of discontinuity of $1/\log|x|$

continuityfunctional-analysislimitsreal-analysis

I was solving a few questions from limits continuity and discontinuity when I came across a question asking for the number of points of discontinuity of $f(x)=1/\log|x|$.

I could easily observe that at $x=±1$, the limits tend to different infinities so the function was discontinuous at these 2 points.

However on checking the answer key, it said that there were 3 points of discontinuity which included $x=0$.

However I believed that continuity is checked by finding the functional value at a point only for the points within the domain,else the limits to the point are checked (If they exist in the domain too) and $x=0$ was definitely outside it. Also the limits at either side of $0$ tend to $0$. So it should have been continuous.

I also found this solution on several sites like Quora however everyone said there were 3 points including $0$ calling it a removable discontinuity.

Please correct my understanding if faulty.

Best Answer

This function is continuous everywhere in its domain of definition.

Its domain of definition is $\mathbb R\setminus \{-1,0,1\}$. That's because the expression $1/\log(|x|)$ only makes sense on that set, since the expressions $1/\log(|-1|)$, $1/\log(|0|)$, and $1/\log(|1|)$ are meaningless. This does not make these points of discontinuity, it simply means they are not in the domain of the function -- a completely separate concept.

This is not to say, however, that the function doesn't have a continuous extension to include $\{0\}$ in the domain, but that's not the same question.