Carlos Daniel Velázquez Mendoza
  • Home
  • Research
  • Books & Notes
  • Teaching
  • Talks & Events
  • Interactive
    • All laboratories
    • Limits ε–δ
    • Inverse function
    • Darboux
    • Jordan
    • Derivatives & Taylor
    • Multivariable calculus
    • Multiple integrals
    • Vector fields
    • Fourier
    • Optimization
  • Links
  • CV
  • ORCID
  • EN
  • ES

MATHEMATICAL SOFTWARE · IN YOUR BROWSER

Interactive mathematics

Limits, derivatives, local inverses, and integration: tools for studying the definitions and examples in my calculus notes.

Limits ε–δ ↗Inverse function ↗Darboux ↗Jordan ↗Derivatives & Taylor ↗Multivariable calculus ↗Multiple integrals ↗Vector fields ↗Fourier ↗Optimization ↗
FIG. 01Epsilon and delta bands on the graph of a function

01 / CALCULUS I

ε–δ Limit Explorer

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.

Launch explorer ↗Full-screen workspace · ES / EN
FIG. 02An increasing function and its inverse reflected across the line y equals x

02 / DIFFERENTIAL CALCULUS

Inverse function laboratory

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.

Open laboratory ↗Full screen · ES / EN
FIG. 03A partition around a boundary, beside a Cantor curtain

03 / CALCULUS IV

Jordan-Measurable Sets Visualizer

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.

Launch visualizer ↗Full-screen workspace · ES / EN
FIG. 04Lower and upper sums over a partition

04 / CALCULUS IV

Darboux Sums Laboratory

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.

Launch laboratory ↗Full-screen workspace · ES / EN
FIG. 05Derivatives and Taylor polynomials

05 / DIFFERENTIAL CALCULUS

Derivatives and Taylor polynomials

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.

Open laboratory ↗Full screen · ES / EN
FIG. 06Gradient, tangent plane and Hessian

06 / MULTIVARIABLE CALCULUS

Gradient, tangent plane and Hessian

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.

Open laboratory ↗Full screen · ES / EN
FIG. 07Multiple integrals and coordinate changes

07 / INTEGRATION AND COORDINATES

Multiple integrals and coordinate changes

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.

Open laboratory ↗Full screen · ES / EN
FIG. 08Vector fields

08 / ANALYSIS AND GEOMETRY

Vector fields

Explore your own planar and spatial fields, follow trajectories and study divergence and curl. Compare Green, Stokes and Gauss integrals on explicitly oriented regions.

Open laboratory ↗ES / EN
FIG. 09Fourier series

09 / ANALYSIS AND GEOMETRY

Fourier series

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.

Open laboratory ↗ES / EN
FIG. 10Variational methods and optimization

10 / ANALYSIS AND GEOMETRY

Variational methods and optimization

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.

Open laboratory ↗ES / EN

Connections with the calculus notes

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

\[ \underline S(f,P)\leq\underline S(f,Q)\leq\overline S(f,Q)\leq\overline S(f,P). \]

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.

See books and notes

THE DEFINITION

The limit, stated precisely

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\),

\[ 0<\lvert x-x_0\rvert<\delta\quad\Longrightarrow\quad\lvert f(x)-L\rvert<\varepsilon. \]

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\).

\[\delta_*(\varepsilon)=\inf_{x\in B_\varepsilon}\lvert x-x_0\rvert.\]

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\).

Explore this example ↗

A surface and its tangent plane

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

\[ T_{a,b}(x,y)=f(a,b)+\frac a2(x-a)+\frac b2(y-b). \]

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\).

 

© 2026 Carlos Daniel Velázquez Mendoza