Every concept in calculus rests on the idea of a limit. Derivatives are limits of difference quotients. Integrals are limits of Riemann sums. Continuity itself is defined in terms of limits. Before you can differentiate or integrate with confidence, you need a solid understanding of what limits are and how they behave.



Informally, the limit of f(x) as x approaches a is L if f(x) gets arbitrarily close to L as x gets arbitrarily close to a. The key insight is that we care about the behavior near a, not at a. The function does not even need to be defined at x = a for the limit to exist. This distinction between the value of a function and its limit is subtle but crucial.



There are several ways a limit can fail to exist. The function might approach different values from the left and right, as with the absolute value function near x = 0 before it was defined to be 0. The function might oscillate without settling down, as with sin(1/x) near x = 0. Or the function might grow without bound, as with 1/x^2 near x = 0.



Evaluating limits algebraically involves several techniques. Direct substitution works when the function is continuous at the point. When direct substitution gives an indeterminate form like 0/0, factoring, rationalizing, or using L’Hopital’s rule can resolve it. L’Hopital’s rule states that if lim f(x)/g(x) gives 0/0 or infinity/infinity, then lim f(x)/g(x) = lim f’(x)/g’(x), provided the limit on the right exists.



Our limit calculator evaluates limits numerically by testing values approaching from both sides. This numerical approach provides strong evidence for the limit’s value, though it cannot prove convergence rigorously. For rigorous proofs, the epsilon-delta definition is the gold standard.



Continuity means the limit equals the function value: lim[x→a] f(x) = f(a). Continuous functions have no jumps, breaks, or holes. They are nice to work with because they preserve limits: the limit of a continuous composition is the composition of the limits. The Intermediate Value Theorem states that a continuous function on a closed interval takes every value between its endpoints. The Extreme Value Theorem guarantees that a continuous function on a closed interval attains both a maximum and a minimum.



Limits at infinity describe end behavior. As x grows large, polynomials are dominated by their highest-degree term. Rational functions behave like the ratio of their leading terms. Exponential functions grow faster than any polynomial, and logarithms grow slower than any polynomial. Understanding these growth rates helps in comparing function behavior and in evaluating improper integrals.



Squeeze theorem is another powerful tool: if g(x) <= f(x) <= h(x) near a, and both g and h approach L, then f must also approach L. This theorem is used to prove that lim[x→0] x*sin(1/x) = 0, since -|x| <= x*sin(1/x) <= |x| and both bounds go to 0.