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

Differentiate the following functions with respect to x:
$\frac{\text{e}^\text{x}\sin\text{x}}{(\text{x}^2+2)^3}$
Show that the altitude of the right circular cone of maximum volume that can be inscribed in a sphere of radius r is $\frac{4r}{3}$.
Write the values of 'a' for which the following distribution of probabilities becomes a probability distributioin:
$\text{X}=\text{x}_\text{i}:$ $-2$ $-1$ $0$ $1$
$\text{P}(\text{X}=\text{x}_\text{i}):$ $\frac{1-\text{a}}{4}$ $\frac{1+2\text{a}}{4}$ $\frac{1-2\text{a}}{4}$ $\frac{1+\text{a}}{4}$
If $\text{A}=\begin{bmatrix}3&-5\\-4&2\end{bmatrix},$ find $A^2 - 5A - 14$.
A company produces two types of goods, A and B, that require gold and silver. Each unit of type A requires 3gm of silver and 1 gm of gold while that of type B requires 1 gm of silver and 2gm of gold. The company can produce 9gm of silver and 8gm of gold. If each unit of type A brings a profit of Rs. 40 and that of type B Rs. 50, find the number of units of each type that the company should produce to maximize the profit. What is the maximum profit?
Find the distance of the point (1, -5, 9) from the plane x - y + z = 5 measured along the line x = y = z.
Evaluate the following integrals:
$\int\frac{\text{x}}{3\text{x}^4-18\text{x}^2+11}\text{dx}$
Evaluate the following integrals:
$\int\frac{\cot\text{x}}{\sqrt{\sin\text{x}}}\text{dx}$
Show that the differential equation of $y' = \frac{{x + y}}{x}$, is homogeneous and solve it.
Evaluate $\int e^x\left(\frac{1-x}{1+x}\right)^2 d x$