Explore the definition of a limit, piecewise functions, and one-sided limits. Adjust ε and δ and inspect points that violate the chosen tolerance. Numerical searches help investigate examples; a proof must account for every point in the domain.
Enter a function, including a piecewise definition or assigned values at isolated points, and a starting point. The program searches for an interval where regularity and a nonzero derivative sign can be justified, computes local inverse values, and plots both graphs. At junctions it checks that values and derivatives agree; at isolated points it studies continuity and differentiability when these can be justified. It includes a proof in one variable and examples where the hypothesis fails.
Compare inner and outer approximations of planar regions using partitions. Study their characteristic functions, dense sets, Cantor curtains, and the Thomae-type function in Example 7.1.11. Separate controls distinguish approximating a function or set from refining the partition.
Study functions of two variables on [0, 1]²: construct product partitions, compare lower and upper sums, and follow a sequence of refinements. View the base in two dimensions and the prisms below the graph in three. Built-in examples use exact formulas for cell extrema; custom functions use numerical estimates.
Compare secants and tangents, examine quotients from both sides, and construct Taylor polynomials through justified orders. Piecewise functions and isolated values are supported; regularity checks are distinguished from numerical estimates.
Explore surfaces and level curves of your own functions. Select a point and a direction, and compare the function with its linear approximation. Critical-point analysis distinguishes the Hessian test, numerical candidates and roots verified by interval bounds.
Define variable-bound regions, build midpoint sums, and compare numerical rules with justified integral bounds. Explore polar substitution and the geometry of cylindrical and spherical coordinates with explicit angle conventions.
Explore your own planar and spatial fields, follow trajectories and study divergence and curl. Compare Green, Stokes and Gauss integrals on explicitly oriented regions.
Build partial sums and Fejér means for your own function. Inspect coefficients, modes, oscillations near jumps and L² error, with an explicit distinction between quadrature and convergence results.
Compare gradient descent, line search, Newton and coordinate descent on functions of one or two variables. Follow iterations and study residuals, the Hessian and observed attraction regions.
The laboratories accompany Cálculo Diferencial e Integral en Variedades: Chapter 4 develops limits and continuity; Section 5.8.1 studies the inverse function theorem; Chapter 7 constructs the integral using partitions and Darboux sums, and Section 7.2 studies Jordan measure. In the visualizer, \(J(A)\) is reserved for Jordan-measurable sets; inner and outer contents also describe sets that are not Jordan-measurable.
For a bounded function \(f\) on a rectangle \(R\) and a product partition \(P\), lower and upper sums use the infimum and supremum of \(f\) on each closed subrectangle. If \(Q\) refines \(P\), then
The gap between the sums measures what remains undetermined by that partition. The integral exists when, for every \(\varepsilon>0\), a partition can be chosen with a gap smaller than \(\varepsilon\). Numerical experiments help identify this behavior; the proofs in the book justify the claims for all relevant partitions or tolerances.
Closeness to \(x_0\) must control closeness to \(L\), for every positive tolerance.
Let \(A\subseteq\mathbb R\), let \(f\colon A\to\mathbb R\), and let \(x_0\in\mathbb R\) be an accumulation point of \(A\). For \(L\in\mathbb R\), we write
\[
\lim_{\substack{x\to x_0\\x\in A}} f(x)=L
\]
if for every \(\varepsilon>0\) there exists \(\delta>0\) such that, for every \(x\in A\),
We do not require \(x_0\in A\): the value of \(f\) at the center does not enter the definition.
Learn more: how the search works ↗
From the definition to the computation
Let \(D\) be the domain of \(f\), restricted to the selected side for a one-sided limit. The point \(x_0\) must be an accumulation point of that domain. Let \(B_\varepsilon\) be the set of points \(x\in D\setminus\{x_0\}\) for which \(\lvert f(x)-L\rvert\geq\varepsilon\).
We use the convention \(\inf\varnothing=+\infty\). If \(0<\delta_*(\varepsilon)<+\infty\), every \(0<\delta\leq\delta_*(\varepsilon)\) satisfies the condition for this \(\varepsilon\). If \(\delta_*=0\), no positive \(\delta\) works; if \(\delta_*=+\infty\), every positive \(\delta\) works.
The program searches for the first obstruction in a finite window, applies a numerical margin, and checks a smaller \(\delta\) by adaptive sampling. It also examines the deviation as points approach the center. Results distinguish estimates, failure witnesses, and inconclusive diagnoses; sampling does not replace a proof.
AN EXAMPLE WITH A PROOF
The function \(f(x)=x^2\) at \(x_0=2\)
For any \(\varepsilon>0\), we may choose
\[\delta=\min\{1,\varepsilon/5\}.\]
If \(0<\lvert x-2\rvert<\delta\), then \(1<x<3\), so \(\lvert x+2\rvert<5\). Factoring \(x^2-4=(x-2)(x+2)\), we obtain
\[\lvert x^2-4\rvert<5\delta\leq\varepsilon.\]
This proves the limit for every \(\varepsilon>0\); we do not need the largest possible \(\delta\).
The derivative describes the linear part of a function’s change. In this example, the error can be computed exactly: it decreases quadratically as the neighborhood shrinks. Move the base point and change the radius, or drag the figure to adjust the viewpoint.
Linear approximationf(x, y) = (x² + y²) / 4
The shaded region lies in the tangent plane. The highlighted curve lies on the surface above the same circle in the domain.
DIFFERENTIAL CALCULUS
A closer look at the derivative
SurfaceTangent plane
Maximum error on the disc: 0.2025 Maximum error / radius: 0.2250
For \(f(x,y)=(x^2+y^2)/4\), the tangent plane at \((a,b,f(a,b))\) is the graph of
Thus \(f(a+h,b+k)-T_{a,b}(a+h,b+k)=(h^2+k^2)/4\). On the disc \(h^2+k^2\leq r^2\), the maximum error is \(r^2/4\), and its ratio to the radius is \(r/4\), which tends to zero as \(r\to0\).