Neither piecewise continuous function nor continuous function examples

91 Views Asked by At

After I read the definition of piecewise continuous function, it seems like either function is piecewise continuous or continuous. Can a function be neither of these two?

1

There are 1 best solutions below

2
On BEST ANSWER

What about a function like $f(x)=\begin{cases} 1, x\in\mathbb Q\\ 0, x\not\in\mathbb Q\end{cases}$?