Limits
What “as close as you want” really means, without the fog of ε–δ.
Interactive calculus guide
Start from the idea of a limit, watch a secant line become a tangent, then explore derivatives and integrals of 100 classic functions with plain-language intuition — not just formulas to memorize.
What “as close as you want” really means, without the fog of ε–δ.
The limit of the difference quotient — rate of change, built carefully.
Interactive secant → tangent demo: slope as a visual limit.
Step-by-step differentiation & integration walkthroughs for each — with live sketches.
Chapter 1
Differentiation is not magic. It is the answer to one question: what is the instantaneous rate of change? To make “instantaneous” precise, we need limits.
Imagine walking toward a door. You can get 1 meter away, then 10 cm, then 1 mm… You never need to be at the door to talk about “where you’re heading.” A limit is that destination of the process — the value the expression approaches when the input approaches something (even if it never quite arrives).
Notation
“As \(x\) approaches \(a\), \(f(x)\) approaches \(L\).” We care about the neighborhood of \(a\), not necessarily \(f(a)\) itself.
Consider a speedometer reading averaged over a shorter and shorter interval. The average over 1 hour, then 1 minute, then 1 second — those averages can settle on a number even if “speed at exactly one instant” is hard to define with a stopwatch. Limits let us define that settled number rigorously.
Approaching from below (\(x \to a^-\)) or above (\(x \to a^+\)). The two-sided limit exists only if both agree.
\(f(x)\to\infty\) means values grow without bound (vertical asymptote vibe). \(x\to\infty\) means we look farther and farther along the domain.
If the individual limits exist, you may combine them:
Plugging in sometimes gives nonsense like \(0/0\) or \(\infty/\infty\). That does not mean the limit fails — it means the expression is written in a form that hides the true behavior. Factoring, conjugates, rationalizing, or L’Hôpital’s rule are tools to rewrite until the limit is visible.
At \(x=2\) the original fraction is undefined. After canceling the common factor (valid for \(x\neq 2\)), the simplified function is continuous and the limit is 4. The hole in the graph sits at height 4 — that height is the limit.
Chapter 2
The derivative is not a list of rules. The rules are shortcuts for computing one definition: the limit of average rates of change.
Over an interval from \(x\) to \(x+h\), the function changes by \(f(x+h)-f(x)\). The average rate of change is the slope of the secant line connecting those two points on the graph:
Difference quotient — “rise over run” between two nearby inputs.
Instantaneous rate of change is what that average becomes when \(h\) shrinks to 0 — not by setting \(h=0\) (division by zero), but by taking the limit:
Definition of the derivative (first principles)
If this limit exists, \(f\) is differentiable at \(x\). The number \(f'(x)\) is the slope of the tangent line and the instantaneous rate of change of \(f\) at \(x\).
Sometimes it is clearer to fix the point \(a\) and let the other end \(x\) approach \(a\):
Compute \(f'(x)\) from the definition — no power rule allowed yet.
The \(h\) in the denominator cancels against a factor of \(h\) in the numerator. What remains is continuous at \(h=0\), so the limit is just plug-in: \(2x\). The power rule \( (x^n)' = nx^{n-1} \) is this pattern, generalized.
If \(s(t)\) is position, \(s'(t)\) is velocity. If \(C(q)\) is cost, \(C'(q)\) is marginal cost. Units of \(f'\) are units of \(f\) per unit of input.
Near \(a\), \(f(x)\approx f(a)+f'(a)(x-a)\). The graph looks like a straight line when you zoom in enough — differentiability is “zoom flat to a line.”
Continuity is necessary for differentiability, but not sufficient. A continuous “V” is continuous everywhere and not differentiable at the tip.
Every differentiation rule is a theorem proved from the limit definition:
Once proved, you never need to return to limits for routine work — but first principles remain the meaning of every derivative you write.
Chapter 3
Drag the free point. Watch the secant become the tangent. The slope number is exactly the difference quotient — and its limit is \(f'(a)\).
Geometry motivates; the limit definition makes it precise. Two different sequences of points \(B_n\to A\) must produce the same limiting slope (or the derivative does not exist). The formal \(\varepsilon\)–\(\delta\) definition of a limit encodes that uniqueness and stability under all approaches of \(h\to 0\).
Integration asks a dual geometric question: what is the signed area under \(y=f(x)\)? The Fundamental Theorem of Calculus links the two: the derivative of the area-so-far function is the original height \(f\). Differentiation undoes accumulation; accumulation undoes differentiation (up to a constant).
Chapter 4
Open any function for a guided differentiation and integration walkthrough — not just the final formula. Filter by family or search by name.
Chapter 5
If the derivative asks “how fast?”, the integral asks “how much total?” Geometrically: signed area. Analytically: antiderivative.
Limit of Riemann sums: slice \([a,b]\) into thin rectangles of width \(\Delta x\), height \(f(x_i^*)\), sum the areas, refine the mesh. Signed: below the axis counts negative.
Any \(F\) with \(F'=f\). The “\(+C\)” is the family of vertical shifts — all share the same derivative.
Accumulating from a fixed start up to \(x\), then differentiating, recovers \(f\). Evaluating net change of an antiderivative recovers definite area.
Differentiation is mechanical for elementary combinations (chain + product + table). Integration is inverse search: “which function has this derivative?” Many elementary functions have no elementary antiderivative (classic: \(e^{-x^2}\), \(\frac{\sin x}{x}\)). That is why special functions and numerical methods exist — see erf, Si, Ei in the catalog.