← Laboratorium
Mathematics · experiment

Calculus

Derivative & integral the mathematics of change and area

The derivative tells you how fast something changes: the slope of a tangent line, a car’s speed, a growth rate. The integral adds up tiny pieces into a whole: the area under a curve, the distance traveled, even the number π. Newton and Leibniz discovered that these are two sides of the same coin.

f′(x) = limh→0f(x+h) − f(x)h ∫baf(x) dx = F(b) − F(a)
←→ pan view ↑↓ pan view +− zoom 0 default view Challenges 0/6

Functions

e.g. 2x^2 − 3, sin(x)/x, |x − 1|

Parameters

Gallery

Show

How to read a graph?

A function is a recipe: it assigns each number x exactly one number f(x). Its graph is the set of all points (x; f(x)).

A zero (root) is an x for which f(x) = 0. A local maximum is the “top of a hill” and a minimum the “bottom of a dip.” At both, the tangent is horizontal, i.e. f′(x) = 0 (provided the derivative exists; |x| has its minimum at a sharp “beak”).

An asymptote is a line that the graph approaches ever more closely. The hyperbola y = 1/x has two: the vertical x = 0 and the horizontal y = 0. We never connect the graph across a vertical asymptote.

The program finds special points numerically (sign changes and golden-section search) within the visible part of the axis.

MathematicsNewton, Leibniz and infinitesimals

Two discoverers

In 1665–1666 Isaac Newton developed his “method of fluxions”: he thought of quantities flowing in time and of their rates of change. Independently, around 1675, Gottfried Wilhelm Leibniz created differential and integral calculus with the notation we still use today, and was the first to publish it (1684 and 1686). A bitter priority dispute broke out; today both are recognized as the founders of calculus.

The notation dy/dx and ∫

Leibniz wrote dy/dx — a ratio of very small increments dy and dx — and ∫ y dx — a sum of the areas of infinitely thin strips of width dx. Newton put a dot over the letter (ẋ), and the notation f′(x) was popularized by Lagrange.

What is a limit?

A limit is a value that something gets arbitrarily close to. The quotient [f(x+h) − f(x)]/h makes no sense for h = 0 (0/0), but for smaller and smaller h its values cluster ever closer to a single number — and that is the derivative. The precise definition (“for every ε there exists a δ”) was given only in the 19th century, by Cauchy and Weierstrass.

Simplifications on this page

Computations use double-precision floating-point numbers (about 16 digits), so for very small h the difference quotient starts to jitter from rounding errors. Special points and discontinuities are detected numerically within the visible part of the graph. The parser understands only the listed set of functions, and symbolic integration covers only simple cases.

Did you know…?

  • The ∫ sign first appeared in Leibniz’s notes dated October 29, 1675. It is an elongated letter “s” from the Latin summa.
  • The series 1 − 1/3 + 1/5 − … was already known to the Indian mathematician Madhava of Sangamagrama around 1400, more than 250 years before Leibniz and Gregory.
  • The 1712 Royal Society report that awarded Newton priority in the dispute with Leibniz was largely written by Newton himself, then the Society’s president.

Challenges

    Challenges check themselves. Your progress is saved in this browser.