Expii

Limits: When Does the Substitution Rule Work? - Expii

Essentially by definition, a function f(x) is continuous at a point x=a if and only if the substitution rule holds at that point. So if you have a continuous function (like a polynomial), you can easily find its limits (at different points of continuity) by substitution.