In calculus, a branch of mathematics, the limit of a function is the behavior of a certain function near a selected input value for that function. Limits are one of the main calculus topics, along with derivatives, integration, and differential equations.