[TASK] Handle case where derivative doesn't exist.