For what value of the constant c is the function f continuous on (−∞,∞) where

f(x)= c if x=0, and
xsin(1/x) otherwise

1 answer

since |sin(1/x)|<=1 x*sin(1/x) -> 0 as x->0

f(0)=0

will make f defined everywhere.