What is a limit?
A limit describes the value a function approaches as the input gets close to a specific point. Written as lim(x→a) f(x) = L, it answers: "What does f(x) get closer to as x gets closer to a?"
Limits are the foundation of calculus. They define derivatives, integrals, and continuity. A function does not need to be defined at a point for its limit to exist there. The classic example is f(x) = sin(x)/x, which is undefined at x = 0 but has a limit of 1.
One-sided limits
Sometimes a function approaches different values from each side of a point.
- **Left-hand limit** (x → a⁻): The value f(x) approaches as x comes from the left, meaning values smaller than a. - **Right-hand limit** (x → a⁺): The value f(x) approaches as x comes from the right, meaning values larger than a.
For a two-sided limit to exist, both one-sided limits must exist and be equal. If they differ, the two-sided limit does not exist (written DNE).
Example: For f(x) = 1/x at x = 0, the left-hand limit is -∞ and the right-hand limit is +∞. These differ, so the two-sided limit does not exist.
Limits at infinity
Limits at infinity describe the behavior of a function as x grows without bound.
- lim(x→∞) f(x) asks what value f(x) approaches as x increases forever. - lim(x→-∞) f(x) asks what happens as x decreases without bound.
These are used to find horizontal asymptotes. For rational functions, compare the degrees of the numerator and denominator:
- If the degree of the numerator is less than the denominator, the limit is 0. - If the degrees are equal, the limit equals the ratio of leading coefficients. - If the numerator degree is greater, the limit is ±∞.
Evaluation techniques
**Direct substitution** is always the first approach. Plug in the value. If you get a defined number, you have your answer.
**Factoring** works when direct substitution gives 0/0. Factor numerator and denominator and cancel the common term, then substitute.
Example: lim(x→1) (x² - 1)/(x - 1) Factor: (x + 1)(x - 1)/(x - 1) = x + 1 Substitute: 1 + 1 = 2
**Rationalization (conjugate method)** is used for expressions involving square roots that produce 0/0. Multiply numerator and denominator by the conjugate of the radical expression.
**Squeeze theorem** works when a function is bounded between two others that share the same limit. If g(x) ≤ f(x) ≤ h(x) and lim g(x) = lim h(x) = L, then lim f(x) = L.
L'Hopital's rule
L'Hopital's rule resolves indeterminate forms such as 0/0 and ∞/∞. If direct substitution into lim(x→a) f(x)/g(x) produces one of these forms, take the derivative of the numerator and denominator separately, then evaluate the limit again.
**When to apply it:** - lim(x→a) f(x)/g(x) gives 0/0 or ∞/∞ - Differentiate f and g separately (not as a quotient) - Evaluate the new limit
L'Hopital's rule can be applied repeatedly if the result is still indeterminate. The rule also applies to other indeterminate forms such as 0·∞, ∞-∞, 0⁰, 1^∞, and ∞⁰ after algebraic manipulation converts them to 0/0 or ∞/∞.
Example: lim(x→0) sin(x)/x gives 0/0. Taking derivatives: lim(x→0) cos(x)/1 = cos(0)/1 = 1.
Common limits to know
Several limits appear frequently in calculus:
- lim(x→0) sin(x)/x = 1 - lim(x→0) (1 - cos(x))/x = 0 - lim(x→∞) (1 + 1/x)^x = e (Euler's number) - lim(x→0) (e^x - 1)/x = 1 - lim(x→0) ln(1 + x)/x = 1 - lim(x→∞) x^(1/x) = 1
These are worth memorizing because they appear as building blocks in more complex limit problems.
How to use
1. Enter the function expression using standard notation (for example: sin(x)/x, (x^2 - 1)/(x - 1), exp(x)/x) 2. Choose the variable (x is the default, but t, n, and h are also available) 3. Enter the approach point (a number, "infinity", or "-infinity") 4. Select the limit type: two-sided, left-hand, or right-hand 5. Click "Evaluate Limit" and wait for the AI to compute the result with full steps
FAQs
Q: What notation should I use for infinity? A: Type "infinity" or "inf" as the approach point. For negative infinity, type "-infinity" or "-inf". The AI understands both forms.
Q: What functions are supported? A: The calculator handles standard mathematical functions including sin, cos, tan, asin, acos, atan, exp, ln, log, sqrt, abs, and algebraic expressions. Use ^ for exponents.
Q: What does "DNE" mean in the result? A: DNE stands for "Does Not Exist." This occurs when the left and right one-sided limits differ, or when the function oscillates without settling on a value (such as sin(1/x) as x approaches 0).
Q: When should I use one-sided limits instead of two-sided? A: Use one-sided limits when a function is only defined on one side of the point (such as sqrt(x) near x = 0), when the two-sided limit does not exist, or when analyzing jump discontinuities in piecewise functions.
Q: Can I use this for sequences? A: Yes. Set the variable to "n" and approach point to "infinity" to evaluate limits of sequences like lim(n→∞) n^(1/n) or lim(n→∞) (1 + 1/n)^n.
Q: What does an indeterminate form mean? A: An indeterminate form (like 0/0 or ∞/∞) means direct substitution is not enough to determine the limit. The result could be any number, zero, or infinity depending on how fast each part grows. Techniques like factoring or L'Hopital's rule are needed to resolve it.
Explore Similar Tools
Explore more tools like this one:
- Derivative Calculator — Compute derivatives with step-by-step solutions using... - Average Rate of Change Calculator — Calculate the average rate of change between two points... - Central Limit Theorem Calculator — Calculate the distribution of sample means using the... - Integral Calculator — Solve definite and indefinite integrals with... - Partial Fraction Decomposition Calculator — Decompose rational expressions into partial fractions...