Here is a start. I will assume that for . Note, that if is a function having the above property then will also have the same property where is a real number. Thus, it is safe to assume that . Now define for for a particular integer . Then and by IVT there is an such that and so .

Note: I did not do the general case case when can be positive and negative valued. Are you sure you did not forget this condition?