Misc 20 Does there exist a function which is continuous everywhere but not differentiable at exactly two points? Justify your answer.Consider the function
π(π₯)=|π₯|+|π₯β1|
π is continuous everywhere , but it is not differentiable at π₯ = 0 & π₯ = 1
π(π₯)={β( βπ₯β(π₯β1) π₯β€0@π₯β(π₯β1) 0<π₯<1@π₯+(π₯β1) π₯β₯1)β€
= {β( β2π₯+1 π₯β€0@ 1 0<π₯<1@2π₯β1 π₯β₯1)β€
Checking both continuity and differentiability at
For x < 0
For x > 1
For 0 < x < 1
For x = 0
For x = 1
Case 1: For π₯<0
π(π₯)=β2π₯+1
π(π₯) is polynomial
β΄ π(π₯) is continuous & differentiable
Case 2: For π₯>1
π(π₯)=2π₯β1
π(π₯) is polynomial
β΄ π(π₯) is continuous & differentiable
Case 3: For 0<π₯<1
π(π₯)=1
π(π₯) is a constant function
β΄ π(π₯) is continuous & differentiable
Case 4: At π₯=0
π(π₯) = {β( β2π₯+1 π₯β€0@ 1 0<π₯<1@2π₯β1 π₯β₯1)β€
Checking continuity
A function is continuous at π₯=0
if LHL = RHL = π(0)
i.e. (π₯π’π¦)β¬(π βπ^β ) π(π) = (π₯π’π¦)β¬(π βπ^+ ) π(π) = π(0)
(π₯π’π¦)β¬(π βπ^β ) π(π)=limβ¬(β β0 ) π(0ββ)
=limβ¬(β β0) π (ββ)
= limβ¬(β β0) β2(ββ)+1
= 1
(π₯π’π¦)β¬(π βπ^+ ) π(π)=limβ¬(β β0 ) π(0+β)
= limβ¬(β β0) π(β)
= limβ¬(β β0) 1
= 1
And,
π(0)= β2(0)+1= 1
Hence, LHL = RHL = f (0)
β΄ π is continuous
Checking Differentiability at x = 0
π is differentiable at π₯ = 0
if L.H.D = R.H.D
i.e., limβ¬(β β0 ) (π(0) β π(0 β β))/β = limβ¬(β β0 ) (π(0 + β) β π(0))/β
(π₯π’π¦)β¬(π βπ ) (π(π) β π(π β π))/π
=limβ¬(β β0 ) (π(0) β π(ββ))/(β )
=limβ¬(β β0) ((β2(0) + 1) β (2(ββ)+1))/β
=limβ¬(β β0 ) (1 + 2β β1)/β
=limβ¬(β β0 ) 2β/β
=limβ¬(β β0) 2
= 2
(π₯π’π¦)β¬(π βπ ) (π(π + π) β π(π))/π
=limβ¬(ββ0) (π (β) β π(0))/β
=limβ¬(ββ0 ) (1 β (β2(0) + 1))/β
=limβ¬(ββ0 ) (1 β 1)/β
=limβ¬(ββ0) 0/β
= 0
Since L.H.D β R.H.D
β΄ π(π₯) is not differentiable at π₯=0
Case 5: At π₯=1
π(π₯) = {β( β2π₯+1 π₯β€0@ 1 0<π₯<1@2π₯β1 π₯β₯1)β€
Checking continuity
A function is continuous at π₯=1
if LHL = RHL = π(1)
i.e. (π₯π’π¦)β¬(π βπ^β ) π(π) = (π₯π’π¦)β¬(π βπ^+ ) π(π) = π(1)
(π₯π’π¦)β¬(π βπ^β ) π(π)=limβ¬(β β0 ) π(1ββ)
=limβ¬(β β0) 1
= 1
(π₯π’π¦)β¬(π βπ^+ ) π(π)=limβ¬(β β0 ) π(1+β)
= limβ¬(β β0) 2(1+β)β1
= 2(1 + 0) β 1
= 1
And,
π(0)= 2(1)β1= 1
Hence, LHL = RHL = f (1)
β΄ π is continuous
Checking Differentiability at x = 1
π is differentiable at π₯ =1
if L.H.D = R.H.D
i.e., limβ¬(β β0 ) (π(1) β π(1 β β))/β = limβ¬(β β0 ) (π(1 + β) β π(1))/β
limβ¬(β β0 ) (π(1) β π(1 β β) )/β
=limβ¬(β β0 ) ((2(1) β 1) β 1)/(β )
=limβ¬(β β0 ) (1 β 1)/(β )
=limβ¬(β β0 ) 0/β
= 0
limβ¬(β β0 ) (π(1 + β) β π(1))/β
=limβ¬(β β0 ) ((2(1 + β) β 1) β (2(1) β1))/β
= limβ¬(β β0 ) ((2 + 2β β1) β (2 β1))/β
= limβ¬(β β0 ) ((1 + 2β) β 1)/β
= limβ¬(β β0 ) 2β/β
=limβ¬(β β0 ) 2
= 2Since L.H.D β R.H.D
β΄ π is not differentiable at π₯=1
Thus , π is not differentiable at π₯=0 & π₯=1 , but continuous at all points
Note :- Here we can take function
|π|=|πβπ|+|πβπ|
where a & b can have any constant value .
π will be continuous at all points , but π is not differentiable at π=π & π=π
Made by
Davneet Singh
Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science and Computer Science at Teachoo
Hi, it looks like you're using AdBlock :(
Displaying ads are our only source of revenue. To help Teachoo create more content, and view the ad-free version of Teachooo... please purchase Teachoo Black subscription.
Please login to view more pages. It's free :)
Teachoo gives you a better experience when you're logged in. Please login :)
Solve all your doubts with Teachoo Black!
Teachoo answers all your questions if you are a Black user!