Distinguish between linear functions and exponential functions