Identifying f, f', and f'' based on graphs