Advertisements
Advertisements
Question
Does there exist a function which is continuos everywhere but not differentiable at exactly two points? Justify your answer?
Advertisements
Solution
Let the function be f(x) = |x − 1| + |x − 2|
We redefine f(x) as:
This is continuous at all x ∈ R but not differentiable at x = 1, 2.
f(x) = `{(-(x - 1) - (x - 2)", if" x<1),((x - 1) - (x - 2)", if" 1<= x <=2), ((x - 1) + (x - 2)", if" x>2):}`
i.e., f(x) = `{(-2x + 3", if" x<1),(1", if" 1<= x <=2), ((2x - 3)", if" x>2):}`
f(x) is clearly continuous at all x except possibly at 1, 2.
At x = 1
`lim_(x->1^-)` f(x) = `lim_(h->0)` (−2(1 − h) + 3)
= −2 + 3
= 1
`lim_(x->1^+)` f(x) = `lim_(x->^+)` (1) = 1
Also, f(1) = 1
Thus, `lim_(x->1^-)` f(x) = `lim_(x->1^+) `f(x) = f(1)
Hence, f(x) is continuous at x = 1.
At x = 2
`lim_(x->2^-)` f(x) = `lim_(x->2^-)` 1 = 1
`lim_(x->2^+)` f(x) = `lim_(x->2^+)` (2x − 3)
`lim_(h->0)` (2(2 + h) − 3)
= 2(2) − 3
= 1
Also, f(2) = 1
Thus `lim_(x->2^-)` f(x) = `lim_(x->2^+)` f(x) = f(2)
Hence, f(x) is continuous at x = 2.
Hence, 'f' is continuous at all x ∈ R.
Now, f'(x) = `{(-2", if" x<1),(0", if" 1< x <2), (2", if" x>2):}`
Derivability at x = 1
Lf'(1) = `lim_(h->0) (f (1-h) - f (1))/(-h)`
= `lim_(h->0) (-2 (1 - h) + 3 - 1)/-h`
= `lim_(h->0) (2h)/-h`
= `lim_(h->0)` (−2)
= −2
Lf'(2) = `lim_(h->0) (f(2 - h) - f (2))/h = lim_(h->0) (1 - 1)/h = 0`
Thus, Lf'(1) ≠ Rf'(1)
= 'f' is not derivable.
Derivability at x = 2
Lf'(2) = `lim_(h->0) (f (2 - h) - f(2))/h`
= `lim_(h->0) (1 - 1)/h`
= 0
Rf'(2) = `lim_(h->0) (f (2 + h) - f (2))/h`
= `lim_(h->0) (2 (2 + h) - 3 - 1)/h`
= `lim_(h->0^+) (2h)/h`
= `lim_(h->0^+)` 2
= 2
⇒ Lf'(2) ≠ Rf'(2)
⇒ f is not derivable at x = 2
Hence f(x) = |x − 1| + |x − 2| is continuous everywhere and differentiable at all x ∈ R except at 1, 2.
APPEARS IN
RELATED QUESTIONS
Differentiate the function with respect to x.
cos (sin x)
Differentiate the function with respect to x.
sin (ax + b)
Differentiate the function with respect to x.
cos x3 . sin2 (x5)
Differentiate the function with respect to x.
`cos (sqrtx)`
Differentiate the function with respect to x:
(3x2 – 9x + 5)9
Differentiate the function with respect to x:
`(5x)^(3cos 2x)`
Differentiate the function with respect to x:
`sin^(–1)(xsqrtx), 0 ≤ x ≤ 1`
Differentiate the function with respect to x:
`(cos^(-1) x/2)/sqrt(2x+7)`, −2 < x < 2
Find `dy/dx`, if y = 12 (1 – cos t), x = 10 (t – sin t), `-pi/2 < t < pi/2`.
If y = `[(f(x), g(x), h(x)),(l, m,n),(a,b,c)]`, prove that `dy/dx = |(f'(x), g'(x), h'(x)),(l,m, n),(a,b,c)|`.
If sin y = xsin(a + y) prove that `(dy)/(dx) = sin^2(a + y)/sin a`
If f(x) = x + 1, find `d/dx (fof) (x)`
Let f(x) = x|x|, for all x ∈ R. Discuss the derivability of f(x) at x = 0
If u = `sin^-1 ((2x)/(1 + x^2))` and v = `tan^-1 ((2x)/(1 - x^2))`, then `"du"/"dv"` is ______.
|sinx| is a differentiable function for every value of x.
cos |x| is differentiable everywhere.
Show that the function f(x) = |sin x + cos x| is continuous at x = π.
sinn (ax2 + bx + c)
(sin x)cosx
sinmx . cosnx
(x + 1)2(x + 2)3(x + 3)4
`cos^-1 ((sinx + cosx)/sqrt(2)), (-pi)/4 < x < pi/4`
`tan^-1 (secx + tanx), - pi/2 < x < pi/2`
`tan^-1 (("a"cosx - "b"sinx)/("b"cosx - "a"sinx)), - pi/2 < x < pi/2` and `"a"/"b" tan x > -1`
If k be an integer, then `lim_("x" -> "k") ("x" - ["x"])` ____________.
The differential coefficient of `"tan"^-1 ((sqrt(1 + "x") - sqrt (1 - "x"))/(sqrt (1+ "x") + sqrt (1 - "x")))` is ____________.
If sin y = x sin (a + y), then value of dy/dx is
Let c, k ∈ R. If f(x) = (c + 1)x2 + (1 – c2)x + 2k and f(x + y) = f(x) + f(y) – xy, for all x, y ∈ R, then the value of |2(f(1) + f(2) + f(3) + ... + f(20))| is equal to ______.
If f(x) = `{{:((sin(p + 1)x + sinx)/x,",", x < 0),(q,",", x = 0),((sqrt(x + x^2) - sqrt(x))/(x^(3//2)),",", x > 0):}`
is continuous at x = 0, then the ordered pair (p, q) is equal to ______.
Let S = {t ∈ R : f(x) = |x – π| (e|x| – 1)sin |x| is not differentiable at t}. Then the set S is equal to ______.
If f(x) = `{{:(ax + b; 0 < x ≤ 1),(2x^2 - x; 1 < x < 2):}` is a differentiable function in (0, 2), then find the values of a and b.
The function f(x) = x | x |, x ∈ R is differentiable ______.
If f(x) = | cos x |, then `f((3π)/4)` is ______.
The set of all points where the function f(x) = x + |x| is differentiable, is ______.
