Visually, we can check to see that the following function is discontinuous $$ f(x)=\begin{cases} 3x^2+\cos(2\pi x) & x\lt 3\\ x-3 & x\geq 3 \end{cases} $$
But how do we prove it?
Visually, we can check to see that the following function is discontinuous $$ f(x)=\begin{cases} 3x^2+\cos(2\pi x) & x\lt 3\\ x-3 & x\geq 3 \end{cases} $$
But how do we prove it?
Hence $\lim_{x\to3^+} f(x) = f(3) \ne \lim_{x\to3^-} f(x)$. $f$ is discontinuous at $x=3$.