English

Does there exist a function which is continuos everywhere but not differentiable at exactly two points? Justify your answer?

Advertisements
Advertisements

Question

Does there exist a function which is continuos everywhere but not differentiable at exactly two points? Justify your answer?

Justify
Sum
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.

shaalaa.com
  Is there an error in this question or solution?
Chapter 5: Continuity and Differentiability - Exercise 5.9 [Page 192]

APPEARS IN

NCERT Mathematics Part 1 and 2 [English] Class 12
Chapter 5 Continuity and Differentiability
Exercise 5.9 | Q 21 | Page 192

RELATED QUESTIONS

Differentiate the function with respect to x.

cos (sin x)


Differentiate the function with respect to x.

`sec(tan (sqrtx))`


Differentiate the function with respect to x. 

`2sqrt(cot(x^2))`


Differentiate the function with respect to x.

`cos (sqrtx)`


Prove that the function f given by f(x) = |x − 1|, x ∈ R is not differentiable at x = 1.


Differentiate the function with respect to x:

`sin^(–1)(xsqrtx), 0 ≤ x ≤ 1`


Differentiate the function with respect to x:

`x^(x^2 -3) + (x -3)^(x^2)`, for x > 3


If (x – a)2 + (y – b)2 = c2, for some c > 0, prove that `[1+ (dy/dx)^2]^(3/2)/((d^2y)/dx^2)` is a constant independent of a and b.


If f(x) = |x|3, show that f"(x) exists for all real x and find it.


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 y" = (sec^-1 "x")^2 , "x" > 0  "show that"  "x"^2 ("x"^2 - 1) (d^2"y")/(d"x"^2) + (2"x"^3 - "x") (d"y")/(d"x") - 2 = 0`


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 y = tan(x + y), find `("d"y)/("d"x)`


If y = tanx + secx, prove that `("d"^2y)/("d"x^2) = cosx/(1 - sinx)^2`


|sinx| is a differentiable function for every value of x.


cos |x| is differentiable everywhere.


sinx2 + sin2x + sin2(x2)


`sin^-1  1/sqrt(x + 1)`


(sin x)cosx 


sinmx . cosnx


`tan^-1 (sqrt((1 - cosx)/(1 + cosx))), - pi/4 < x < pi/4`


`sec^-1 (1/(4x^3 - 3x)), 0 < x < 1/sqrt(2)`


If xm . yn = (x + y)m+n, prove that `("d"^2"y")/("dx"^2)` = 0


If `"f"("x") = ("sin" ("e"^("x"-2) - 1))/("log" ("x" - 1)), "x" ne 2 and "f" ("x") = "k"` for x = 2, then value of k for which f is continuous is ____________.


If `y = (x + sqrt(1 + x^2))^n`, then `(1 + x^2) (d^2y)/(dx^2) + x (dy)/(dx)` is


The rate of increase of bacteria in a certain culture is proportional to the number present. If it doubles in 5 hours then in 25 hours, its number would be


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 ______.


Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×