For a function defined on domain , its endpoints are and , with the corresponding function value and