What do you mean by "prove Taylor's expansion"? Taylor's expansion (by which I take it you mean writing a Taylor's series for the function) is defined to be a specific thing. Do you mean "proving the function is equal to its Taylor's series on the interval of convergence"? If so, what restrictions are you putting on the function. Of course, you must have f infinitely differentiable in order that its Taylor's series exist but there exist infinitely differentiable functionsm, whose Taylor's series converge for all x but that are not equal to their Taylor series anywhere except at the base point. One such is [itex]f(x)= e^{-1/x^2}[/itex] is [itex]x\ne 0[/itex], 0 if x= 0. Its Taylor's series, about x= 0, is identically 0 so converges uniformly for all x but is not equal to f(x) anywhere except at x= 0.