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

If the function $f(x)$ is continuous on its domain $[-2, 2]$,where $f(x) = \begin{cases} \frac{\sin ax}{x} + 3, & -2 \leq x < 0 \\ x + 5, & 0 \leq x \leq 1 \\ \sqrt{x^2 + 8} - b, & 1 < x \leq 2 \end{cases}$,then $7a + b + 1$ is equal to:

If $f(x) = \begin{cases} x \sin x, & 0 < x \le \frac{\pi}{2} \\ \frac{\pi}{2} \sin(\pi + x), & \frac{\pi}{2} < x < \pi \end{cases}$,then

Show that the function defined by $f(x) = \sin(x^{2})$ is a continuous function.

Let $f(x) = \begin{cases} -2 \sin x, & \text{if } x \leq -\frac{\pi}{2} \\ A \sin x + B, & \text{if } -\frac{\pi}{2} < x < \frac{\pi}{2} \\ \cos x, & \text{if } x \geq \frac{\pi}{2} \end{cases}$. For what values of $A$ and $B$ is $f$ continuous?

If $f(x) = \begin{cases} [x] + [-x], & x \neq 2 \\ \lambda, & x = 2 \end{cases}$ is continuous at $x = 2$,then $\lambda = $ (where $[.]$ denotes the greatest integer function).

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