f(x)=2∣∣x−1x−1∣∣ ∀ x& x≠1, What should be the value of f(x) at x=1 so that it is differentiable from (−∞,∞)
(A) Lets look at the graph of f(x), f(x) is discontinuous at x=1
For xϵ(−∞,1)∪(1,∞)f(x)=2
At x=1,Left hand Derivative =lim△x→0+2∣∣x+△x−1x+△x−1∣∣−2∣∣x−1x−1∣∣△x
=0
Right hand Derivative =lim△x→0−2∣∣x+△x−1x+△x−1∣∣−2∣∣x−1x−1∣∣△x
=0
limx→0+f(x)=2,limx→0−f(x)=2,
We need f(x) to be continuous for it be differentiable.
So value of f(x) at x=1 such that its continuous is 2.