This question was asked in Ex 5.8, 1

SIR I think we don't use closed interval for differentiation .

ALL in 1's image