Examine the following function for continuity: $f(x) = |x - 5|$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
The given function is $f(x) = |x - 5| = \begin{cases} 5 - x, & \text{if } x < 5 \\ x - 5, & \text{if } x \ge 5 \end{cases}$.
This function $f$ is defined for all real numbers.
Let $c$ be any real number. Then $c < 5$,$c = 5$,or $c > 5$.
Case $I$: $c < 5$.
Then $f(c) = 5 - c$.
$\lim_{x \to c} f(x) = \lim_{x \to c} (5 - x) = 5 - c$.
Since $\lim_{x \to c} f(x) = f(c)$,$f$ is continuous for all $c < 5$.
Case $II$: $c = 5$.
Then $f(5) = 5 - 5 = 0$.
Left-hand limit: $\lim_{x \to 5^-} f(x) = \lim_{x \to 5} (5 - x) = 5 - 5 = 0$.
Right-hand limit: $\lim_{x \to 5^+} f(x) = \lim_{x \to 5} (x - 5) = 5 - 5 = 0$.
Since $\lim_{x \to 5^-} f(x) = \lim_{x \to 5^+} f(x) = f(5)$,$f$ is continuous at $x = 5$.
Case $III$: $c > 5$.
Then $f(c) = c - 5$.
$\lim_{x \to c} f(x) = \lim_{x \to c} (x - 5) = c - 5$.
Since $\lim_{x \to c} f(x) = f(c)$,$f$ is continuous for all $c > 5$.
Conclusion: Since $f$ is continuous at all real numbers,it is a continuous function.

Explore More

Similar Questions

Let $f(x) = \begin{cases} \frac{(1 + \tan x)^{\frac{1}{x}} - e}{x} & x \neq 0 \\ k & x = 0 \end{cases}$ be continuous at $x = 0$,then the value of $k$ is:

If $f(x) = \log(\sec^2 x)^{\cot^2 x}$ for $x \neq 0$ and $f(x) = K+1$ for $x=0$ is continuous at $x=0$,then the value of $K$ is

If $f(x) = \frac{e^{x^2} - \cos x}{x^2}$ for $x \neq 0$ is continuous at $x = 0$,then $f(0) = $.

The function $f(t) = \frac{1}{t^2 + t - 2}$,where $t = \frac{1}{x - 1}$,is discontinuous at

Let $f(x) = \begin{cases} \frac{ax^{2}+2ax+3}{4x^{2}+4x-3}, & x \neq -\frac{3}{2}, \frac{1}{2} \\ b, & x = -\frac{3}{2}, \frac{1}{2} \end{cases}$ be continuous at $x=-\frac{3}{2}$. If $f(f(x)) = \frac{7}{5}$,then $x$ 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