Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Explorations › Feel the change › lesson 6 of 6

Limits without the fear

A limit is the value something is heading for as you get closer and closer, even if it never gets there.

Both halves of calculus quietly used the same move: make something smaller and smaller, and see what the answer settles on. That move has a name: a limit.

From a line to a tangent

To find a slope you need two points, but a tangent touches only one. So cheat: take the point on y=x2y = x^2y=x2 at x=1x = 1x=1 and a second point a small gap hhh further along. The line through both is easy:

slope=(1+h)2−12h\text{slope} = \frac{(1+h)^2 - 1^2}{h}slope=h(1+h)2−12​

Shrink the gap with the slider. The second point slides down onto the first, the black line swings round into the tangent, and the slope closes in on 2. You never set h=0h = 0h=0, which would mean dividing by zero. You only ask what it is heading for:

lim⁡h→0(1+h)2−1h=2\lim_{h \to 0} \frac{(1+h)^2 - 1}{h} = 2h→0lim​h(1+h)2−1​=2

A curve with a hole

Switch to A curve with a hole. The formula x2−1x−1\frac{x^2-1}{x-1}x−1x2−1​ has no value at x=1x = 1x=1: it says 00\frac{0}{0}00​. The ring on the graph is the missing point. Yet just either side the values are 1.9, 1.99, 2.001: they are clearly heading for 2. The limit is 2 even though the function never reaches it.

Think of it like this

Walk halfway to a wall, then half the rest, then half again. You never touch it, but there is no doubt where you are heading. The limit is the wall.

Why it matters

Every derivative is a limit of slopes over smaller gaps. Every integral is a limit of sums over thinner slices. Limits make "infinitely small" precise, so the zooming and slicing you did in this module are real maths, not hand-waving.

What to remember

  • A limit is the value a quantity approaches as something gets closer and closer to a point.
  • The function does not need a value at that point for the limit to exist.
  • A derivative is the limit of slopes as the gap shrinks to zero.
  • An integral is the limit of sums as the slices get infinitely thin.
Area under a curve: distance from speedNext module: Odds in real life