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 2 of 6

Zooming in until a curve is straight

Any smooth curve looks like a straight line if you zoom in far enough. That straight line's slope is the curve's slope at that point.

A curve does not have one slope: it is steep in some places and flat in others. So what could "the slope at a point" even mean? The answer is a trick you can do with your eyes: zoom in.

Everything smooth is straight up close

Choose x³ − 3x and look near x=0.6x = 0.6x=0.6. From far away it is a wavy S. Now drag the zoom up to ×10, ×100, ×1,000. The curve flattens into a line and sits on top of the grey straight line through the point.

The Earth works the same way. It is a ball, yet the ground under your feet looks flat, because you see a tiny piece of a huge curve.

The slope across a tiny window

The model measures the slope across the window you are looking at: rise ÷ run between its two edges. Watch that number as you zoom:

zoomslope across the window
×1still a rough guess
×10close
×1,000almost exactly the slope at the point

The numbers settle on one value. That value is the slope of the curve at that point, also called the derivative there.

Think of it like this

Measuring a winding road's direction with a long stick gives a poor answer. A very short stick, laid at one spot, points exactly the way the road goes there.

Where it fails

Zooming only works on smooth curves. A sharp corner, like the point of a V, stays a corner no matter how far you zoom, so it has no single slope there. Almost every curve you meet in science is smooth, which is why calculus works so well.

Worked example

For y=x2y = x^2y=x2 at x=1x = 1x=1: across the window from 0.999 to 1.001 the rise is 1.0012−0.9992=0.0041.001^2 - 0.999^2 = 0.0041.0012−0.9992=0.004 and the run is 0.002, so the slope is 2. The derivative of x2x^2x2 at 1 is exactly 2.

What to remember

  • Zoom far enough into a smooth curve and it looks straight.
  • The slope of that straight piece is the slope of the curve at that point.
  • The slope across a smaller and smaller window settles on one number: the derivative.
  • Sharp corners never straighten out, so they have no single slope.
Speed from a graphNext