Generator

Partial sums of sin x

A generator in the analysis library, called 26 times across 4 essays. Below: what it draws at its defaults and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

taylor is one function. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

Partial sums of sin x. sin x with its Taylor partial sums of degree 1, 3, 5, 9 about zero. Each extra term buys agreement over a wider interval and none of them is right everywhere.

show: "remainder"

What the degree-5 sum costs, and what the bound claims. The error of the degree-5 Taylor polynomial of sin x against x, on a logarithmic scale, with Lagrange's bound drawn above it. The bound exceeds the error by a factor of 1.8 at the right-hand end.

show: "xi"

Where the point Taylor's theorem cannot name actually is. The position of the mean-value point ξ, as a fraction of the way from 0 to x, for the degree-1, 2, 3, 4 remainders of eˣ. Each settles on 1/(n+2) as x shrinks.

show: "radius"

A smooth function whose series stops working. 1/(1 + x²) with partial sums of degree 4, 12, 28. Inside |x| < 1 more terms improve the fit; outside it they make it worse, and the function is smooth throughout.

show: "centre"

1/(1 + x²), expanded about 1.2. 1/(1 + x²) with Taylor sums of degree 2, 6, 14 about x = 1.2 rather than about zero. The interval they converge on reaches 1.562 either side of the centre.

show: "discs"

The disc a Taylor series converges on. The complex plane with 2 singularities of 1/(1 + z²) and the disc of convergence about 1 centre, each disc reaching exactly to the nearest of them.

What it checks while it draws

Collected by running the family and recording what it asserted, not written here. The count is how many separate times the claim was put to the test while these drawings were made.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · What the figures prove