MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Math

How much room a cell takes

Change variables in an integral and a factor appears; everyone learns to write r dr dθ and few are shown where the r comes from. It is the determinant of the map's derivative - the ratio between a tiny cell's area and its image's, measured here on the polygons themselves. Three things that determinant is not: the sign is an orientation and not part of the factor, a vanishing determinant means an edge collapsed rather than cells got small, and the integral of |det J| equals the image's area only when the map covers it once. z → z² covers the unit disc twice and the total is out by exactly two.

How much room a cell takes — Actual application image
Actual application image

What happens

Change variables in a double integral and a factor appears - the r of polar coordinates. It is not a convention: it is the area of the little cell the map makes out of a unit cell, and this module measures it. A grid in the source plane is pushed through the map; each cell lands as a small quadrilateral whose area, divided by the cell's, converges to the Jacobian determinant - exactly for an affine map, to first order for the others. Where the map folds, the factor passes through zero and the cells flip over. Try the maps, shrink the cell, and compare the measured factor with det J on the panel.

Equations used in the module
Equations
∫∫ f dx dy = ∫∫ f(F(u,v)) |det J| du dv
J = [[∂x/∂u, ∂x/∂v], [∂y/∂u, ∂y/∂v]]
measured: signed area of the image of a cell / h² → det J
polar: det J = r;  a fold: det J = 0 along the crease

Related experiments

Back to catalogue
Bounds instead of estimates — Actual application image

Math

Bounds instead of estimates

Every other way of computing gives a number that is probably right. Interval arithmetic gives a pair that is certainly right, and the whole subject is what that costs. It costs sharpness, and the cost has a name: every occurrence of a variable is treated as a different variable, so x − x comes out as an interval two units wide. Which means the enclosure is a property of the FORMULA, not of the function - rewrite x(1 − x) as 0.25 − (x − 0.5)² and the width falls from 1 to the true 0.25; write x·x instead of x² in 1/(1 + 25x²) and the answer becomes the entire real line.

Slicing a surface — Actual application image

Math

Slicing a surface

Cut a surface with a vertical plane and you get a curve; its slope is the derivative in that direction. Turn the plane and watch the slope change, then plot it in polar coordinates: for a differentiable surface that plot is exactly a circle with the gradient as its diameter, so the gradient being the steepest way up stops being a claim and becomes a picture. And one surface here has both partial derivatives, a directional derivative in every direction, and no tangent plane at all - the formula ∇f·u predicts zero while the surface climbs at 0.385, because existing is a weaker thing than differentiable.

How far a Taylor polynomial reaches — Actual application image

Math

How far a Taylor polynomial reaches

Near its centre a Taylor polynomial is indistinguishable from the function, and adding a term always pays. Away from it, three different things go wrong: outside the radius of convergence more terms make the answer worse without limit; exp(−1/x²) has a series that converges everywhere and equals the function at one point; and even inside the radius, summing far from the centre can throw away every digit. The radius itself is the distance to a singularity that is not on the real line at all, so a third scene draws the complex plane, where the answer actually lives.