Discuss the continuity of the function $f$ defined by
$f(x) = \begin{cases} x + 2, & \text{if } x \le 1 \\ x - 2, & \text{if } x > 1 \end{cases}$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) The function $f$ is defined at all points of the real line.
Case $1$: If $c < 1$,then $f(c) = c + 2$. Therefore,$\lim_{x \to c} f(x) = \lim_{x \to c} (x + 2) = c + 2 = f(c)$.
Thus,$f$ is continuous at all real numbers less than $1$.
Case $2$: If $c > 1$,then $f(c) = c - 2$. Therefore,$\lim_{x \to c} f(x) = \lim_{x \to c} (x - 2) = c - 2 = f(c)$.
Thus,$f$ is continuous at all points $x > 1$.
Case $3$: If $c = 1$,then the left-hand limit of $f$ at $x = 1$ is
$\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x + 2) = 1 + 2 = 3$.
The right-hand limit of $f$ at $x = 1$ is
$\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (x - 2) = 1 - 2 = -1$.
Since the left-hand limit and right-hand limit of $f$ at $x = 1$ do not coincide,$f$ is not continuous at $x = 1$. Hence,$x = 1$ is the only point of discontinuity of $f$.

Explore More

Similar Questions

If $[x]$ denotes the greatest integer not exceeding $x$ and if the function $f$ defined by $f(x)= \begin{cases} \frac{a+2 \cos x}{x^2} & , x < 0 \\ b \tan \frac{\pi}{[x+4]} & , x \geq 0 \end{cases}$ is continuous at $x=0$, then the ordered pair $(a, b)$ is equal to

If $a$ is the point of discontinuity of the function $f(x) = \begin{cases} \cos 2 x, & \text{for } -\infty < x < 0 \\ e^{3 x}, & \text{for } 0 \leq x < 3 \\ x^2-4 x+3, & \text{for } 3 \leq x \leq 6 \\ \frac{\log (15 x-89)}{x-6}, & \text{for } x>6 \end{cases}$ Then, $\lim _{x \rightarrow a} \frac{x^2-9}{x^3-5 x^2+9 x-9} =$

The function $f(x) = \begin{cases} x, & \text{if } 0 \le x \le 1 \\ 1, & \text{if } 1 < x \le 2 \end{cases}$ is

If $f:(-7,7) \rightarrow R$ is defined by $f(x)=[x]$ for all $x \in (-7,7)$,then the number of discontinuities of $f$ is

If $f(x) = \begin{cases} -x^2, & \text{when } x \le 0 \\ 5x - 4, & \text{when } 0 < x \le 1 \\ 4x^2 - 3x, & \text{when } 1 < x < 2 \\ 3x + 4, & \text{when } x \ge 2 \end{cases}$,then:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo