a)
Let ϵ>0 be given. We must find a δ=δ(ϵ)>0 such that if∣x−5∣<δ then, ∣f(x)−f(5)∣<ϵ.
Now,
∣f(x)−f(5)∣=∣∣2x−10∣+2−2∣=∣∣2x−10∣∣=2∣x−5∣<2δ=ϵifδ=ϵ/2⟹∣f(x)−f(5)∣<ϵ
Hence, given ϵ>0, choose δ=ϵ/2. Then, ∣f(x)−f(5)∣<ϵ whenever ∣x−5∣<δ, so that f is continuous at x=5.
b)
To show that f is not differentiable at x=5, we must show that the left hand derivative is not equal to the right hand derivative at 5. That is, f′(5−)=f′(5+).
f′(5−)=limx→5−x−5f(x)−f(5)=limh→05−h−5f(5−h)−2=limh→0−h2+2h−2=limh→0−h2h=−2
f′(5+)=limx→5+x−5f(x)−f(5)=limh→05+h−5f(5+h)−2=limh→0h2+2h−2=limh→0h2h=2
−2=2⟹f′(5−)=f(5+)
Hence, f is not differentiable at x=5.
Comments