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

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Observe that the function is defined at all real numbers except at $x = 0$. The domain of definition of this function is $D = D_1 \cup D_2$,where $D_1 = \{x \in \mathbb{R} : x < 0\}$ and $D_2 = \{x \in \mathbb{R} : x > 0\}$.
Case $1$: If $c \in D_1$,then $\lim_{x \to c} f(x) = \lim_{x \to c} (x + 2) = c + 2 = f(c)$. Hence,$f$ is continuous in $D_1$.
Case $2$: If $c \in D_2$,then $\lim_{x \to c} f(x) = \lim_{x \to c} (-x + 2) = -c + 2 = f(c)$. Hence,$f$ is continuous in $D_2$.
Since $f$ is continuous at all points in its domain,we conclude that $f$ is continuous on its domain. Note that the function is not defined at $x = 0$,so we do not discuss continuity at $x = 0$.

Explore More

Similar Questions

The value of $f(0)$ so that the function $f(x) = \frac{2^x - 2^{-x}}{x}$ for $x \neq 0$ is continuous at $x = 0$ is:

Consider $f(x) = [x]|x^3 - 2x^2 - x + 2|$ in $[-\frac{3}{2}, \frac{9}{2}]$. The number of points where $f(x)$ is discontinuous is (where $[.]$ denotes the greatest integer function).

If $f(x) = \begin{cases} \frac{a + 3\cos x}{x^2}, & x < 0 \\ b\tan \left( \frac{\pi}{[x + 3]} \right), & x \geqslant 0 \end{cases}$ is continuous at $x = 0$,then:

The function $f(x)=\frac{\tan \{\pi[x-\frac{\pi}{2}]\}}{2+[x]^{2}}$,where $[x]$ denotes the greatest integer $\leq x$,is

If $f(x) = \begin{cases} 1 + x^2, & \text{when } 0 \le x \le 1 \\ 1 - x, & \text{when } x > 1 \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