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 $f(x)$,defined below,is continuous at $x = 4$,then find the values of $a$ and $b$ given that $f(x)$ is continuous on the interval $[0, 8]$.
$f(x) = \begin{cases} x^2 + ax + b, & 0 \leq x < 2 \\ 3x + 2, & 2 \leq x \leq 4 \\ 2ax + 5b, & 4 < x \leq 8 \end{cases}$

If $f(x) = x^3 + 7x - 1$,then $f(x)$ has a zero between $x = 0$ and $x = 1$. The theorem which best describes this is:

If the function $f(x) = \begin{cases} x + a \sqrt{2} \sin x & \text{if } 0 \leq x \leq \frac{\pi}{4} \\ 2x \cot x + b & \text{if } \frac{\pi}{4} < x \leq \frac{\pi}{2} \\ a \cos 2x - b \sin x & \text{if } \frac{\pi}{2} < x \leq \pi \end{cases}$ is continuous in $[0, \pi]$,then $a - b = $

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

If $f(x) = \begin{cases} \frac{\sqrt{1+kx}-\sqrt{1-kx}}{x}, & \text{for } -1 \leq x < 0 \\ 2x^2+3x-2, & \text{for } 0 \leq x \leq 1 \end{cases}$ is continuous at $x=0$,then $k$ is equal to

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