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) = \begin{cases} 3ax + b, & \text{for } x < 1 \\ 11, & \text{for } x = 1 \\ 5ax - 2b, & \text{for } x > 1 \end{cases}$ is continuous at $x = 1$,then the values of $a$ and $b$ are:

If $f(x) = \begin{cases} \frac{\sin 5x \tan kx}{x^2} & , x \neq 0 \\ 1 & , x = 0 \end{cases}$ is continuous at $x = 0$,then the value of $k$ is . . . . . . . $(\because k \neq 0)$

Let $f(x) = [x]\sin \left( \frac{\pi}{[x + 1]} \right)$,where $[.]$ denotes the greatest integer function. The domain of $f$ is and the points of discontinuity of $f$ in the domain are

If $f: R \rightarrow R$ defined by $f(x) = \begin{cases} a^2 \cos ^2 x+b^2 \sin ^2 x, & x \leq 0 \\ e^{ax+b}, & x>0 \end{cases}$ is a continuous function, then:

If the function $f(x) = \begin{cases} \frac{\sqrt{2 + \cos x} - 1}{(\pi - x)^2}, & x \neq \pi \\ k, & x = \pi \end{cases}$ is continuous at $x = \pi$,then $k$ equals:

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