Question
Show that f(x) = |x - 5| is continuous but not differentiable at x = 5.

Answer

A function f is a differentiable function if and only if $\text{Lf (c)}=\lim\limits_{\text{h}\rightarrow0}\frac{\text{f(a}-\text{h})-\text{f}(\text{a})}{-\text{h}}$ and $\text{Rf}'(\text{c})=\lim\limits_{\text{h}\rightarrow0}\frac{\text{f}(\text{a}-\text{h})-\text{f(a)}}{\text{h}}$ are equal.
Consider, f(x) = |x - 5|
$\therefore\ \text{f(x)}=\begin{cases}-(\text{x}-5),&\text{if x}<5\\\text{x}-5,&\text{if x}\geq5\end{cases}$
For continuity at x = 5,
$\text{L.H.L}=\lim\limits_{\text{x}\rightarrow5^-}(-\text{x}+5)$
$=\lim\limits_{\text{h}\rightarrow0}\big[-(5-\text{h})+5\big]=\lim\limits_{\text{h}\rightarrow0}\text{h}=0$
$\text{R.H.L}=\lim\limits_{\text{h}\rightarrow5^+}(\text{x}-5)$
$=\lim\limits_{\text{h}\rightarrow0}(5+\text{h}-5)=\lim\limits_{\text{h}\rightarrow0}\text{h}=0$
$\text{f}(5)=5-5=0$
$\Rightarrow\ \text{L.H.L}=\text{R.H.L}=\text{f}(5)$
Hence, f(x) is continuous at x = 5
Now, $\text{Lf}'(5)=\lim\limits_{\text{x}\rightarrow5^-}\frac{\text{f(x)}-\text{f}(5)}{\text{x}-5}$
$=\lim\limits_{\text{x}\rightarrow5^-}\frac{-\text{x}+5-0}{\text{x}-5}=-1$
$\text{Rf}'(5)=\lim\limits_{\text{x}\rightarrow5^+}\frac{\text{f(x)}-\text{f}(5)}{\text{x}-5}$
$=\lim\limits_{\text{x}\rightarrow5^+}\frac{\text{x}-5-0}{\text{x}-5}=1$
Lf'(5) ≠ Rf'(5)
So, f(x) = |x - 5| is not differentiable at x = 5.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

If $x^x + y^x = 1$, prove that $\frac{\text{dy}}{\text{dx}}=-\frac{\text{y}(\text{y}+\text{x}\log\text{y})}{\text{x}(\text{y}\log\text{x}+\text{x})}$
Verify mean value theorem for the function:
$\text{f(x)}=\sqrt{25-\text{x}^2}\text{ in }[1,5].$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}0&\text{x}&\text{y}\\-\text{x}&0&\text{z}\\-\text{y}&-\text{z}&0\end{vmatrix}$
If $\vec{\text{a}},\vec{\text{b}}$ are two non-collinear vectors, prove that the points with position vectors $\vec{\text{a}}+\vec{\text{b}},\ \vec{\text{a}}-\vec{\text{b}}$ and $\vec{\text{a}}+\lambda\vec{\text{b}}$ are collinear for all real values of $\lambda$.
Find the angle between the pairs of lines with direction ratios proportional toa, b, c and b - c, c - a, a - b.
Of all the closed cylindrical cans (right circular), which enclose a given volume of $100\ cm^3,$ which has the minimum surface area ?
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}\frac{\sqrt{1+\text{px}}\sqrt{1-\text{px}}}{\text{x}},&\text{if }-1\leq\text{ x}\leq-0\\\frac{2\text{x}+1}{\text{x}-2},&\text{if }0\leq\text{ x}\leq1\end{cases}$
Using differentials, find the approximate values of the following:
$25^{\frac{1}{3}}$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}6&-3&2\\2&-1&2\\-10&5&2 \end{vmatrix}$
$\text{if x} = a \cos\theta + b \sin\theta, y = a\sin\theta - b\cos\theta, \text{show that y} ^{2} \frac{d^{2}y}{dx^{2}}- x \frac{dy}{dx} + y = 0.$