Why Average Height and Average Slope Connect Integrals and Derivatives

3Blue1Brown uses the average of sin x to derive an intuitive link between area and the slope of an antiderivative.

Chaîne
3Blue1Brown
Publié
6 mai 2017
Vidéo
12:39
Lecture
2 min
Original
anglais
Ouvrir sur YouTube
En faisant défiler, la vidéo se réduit en bas à droite et continue. Les sous-titres suivent votre langue de lecture.
Langue de lectureDisponible en 2 langues
Cet article n’est pas encore disponible en français ; il s’affiche dans l’original en anglais.
RÉSUMÉ

En 30 secondes

The video begins with finite samples, turns their average into an integral and finds the average of sin x on [0,π]. It then relates average tangent slope to an antiderivative’s endpoint change.

  1. 1A finite average becomes an integralEven spacing connects the sample count to Δx and interval width.
  2. 2Average sine heightThe area is 2, so the average on [0,π] is 2/π.
  3. 3Average tangent slopeThe average derivative equals the antiderivative’s endpoint change divided by width.
  4. 4Signed areaValues below the axis contribute negatively to the integral.

À retenir

  1. A continuous average can be approached with finite, evenly spaced samples.
  2. Average value is the integral divided by interval length.
  3. The average of sin x on [0,π] is 2/π.
  4. An antiderivative turns the average derivative into an endpoint secant slope.
TEXTE INTÉGRAL

Lire le texte remanié, chapitre par chapitre

Transcription seule
01

A continuous average

3Blue1Brown uses the average value of a continuous function to give another perspective on the relationship between integrals and derivatives. The example is the height of sin x on the interval from 0 to π.

3Blue1Brown uses the average value of a continuous function to give another perspective on the relationship between integrals and derivatives. The example is the height of sin x on the interval from 0 to π.

Sine waves can model cyclic behavior, so an average over part of a cycle can be useful. The video simplifies the application to the pure sine function before adding real-world constants.

A finite average adds values and divides by their count. There are infinitely many inputs in a continuous interval, so the expression cannot simply be an ordinary sum divided by infinity.

02

From samples to area

Instead, sample a finite number of evenly spaced points and average their heights. As the spacing shrinks, these finite averages approach the continuous average for this well-behaved function.

Instead, sample a finite number of evenly spaced points and average their heights. As the spacing shrinks, these finite averages approach the continuous average for this well-behaved function.

An integral also starts from a finite approximation, but adds height times width: sin x Δx. The integral is the limit of these sums as the partition becomes finer.

With sample spacing Δx over a width of π, the number of samples is approximately π/Δx. Substituting this into the finite average turns its numerator into a sum of heights times Δx.

Taking the limit gives the integral of sin x from 0 to π divided by π. Geometrically, it is the area under the curve divided by the interval’s width: an average height.

03

Evaluating the sine integral

To evaluate the integral, use an antiderivative: the derivative of −cos x is sin x. Its value changes from −1 at zero to 1 at π.

To evaluate the integral, use an antiderivative: the derivative of −cos x is sin x. Its value changes from −1 at zero to 1 at π.

The change in the antiderivative is 2, so the integral is 2 and the average height is 2/π, approximately 0.64. The average is lower than the peak height of 1.

04

Average slope

The same calculation can be read as a slope: the change in −cos x divided by the change in x is the slope of the secant line between the endpoints.

The same calculation can be read as a slope: the change in −cos x divided by the change in x is the slope of the secant line between the endpoints.

At each point, sin x gives the tangent slope of −cos x. Averaging those slopes over the interval produces the overall change divided by the interval length.

05

The general rule

For a general integrable function f on [a,b], its average value is (1/(b−a)) times the integral from a to b. Areas below the axis contribute negatively, so the integral is a signed area.

For a general integrable function f on [a,b], its average value is (1/(b−a)) times the integral from a to b. Areas below the axis contribute negatively, so the integral is a signed area.

If F is an antiderivative of f under the usual conditions, the fundamental theorem of calculus gives the integral as F(b) − F(a). Dividing by b − a gives the secant slope of F.

Adding a constant to an antiderivative moves its graph vertically but leaves the endpoint difference unchanged. The average slope therefore does not depend on which vertical shift is chosen.

06

When to look for an integral

The final lesson is a useful signal for integration: when a finite idea involves summing many values and must be extended to a continuous range, approximate it with finite sums and examine the limit.

The final lesson is a useful signal for integration: when a finite idea involves summing many values and must be extended to a continuous range, approximate it with finite sums and examine the limit.

Sur la même chaîne

20 diapositives40:44EN
3Blue1Brown· 16 oct. 2026Grant Sanderson: There's never been a better time to go into mathGrant Sanderson, Constantin Kogler · 3Blue1BrownStudents fear AI has solved mathematics. Grant Sanderson argues the opposite: even if machines prove theorems better than we do, the institution of math stays valuable—and this is a rare moment when newcomers can reshape it.MathematicsAI for scienceHuman-AI Collaboration+2
29 diapositives51:55EN
3Blue1Brown· 18 sept. 2026The last IMO problem AI could not solveGrant Sanderson · 3Blue1BrownGrant Sanderson walks through IMO 2025 Problem 6 — a tiling puzzle that frontier models missed — and the visual patience it takes to prove a construction is optimal.MathematicsAI researchReasoning & test-time compute+2
0:55EN
3Blue1Brown· 24 juil. 2026The 64 Sugar Cubes Puzzle: Six Equal DistancesA 4×4×4 block has three colors; prove that six same-colored pairs share a distance.MathematicsEducation
33:51EN
3Blue1Brown· 16 juil. 2026What Cross-Entropy Connects: Compression, Language Models and KL DivergenceGrant Sanderson · 3Blue1BrownGrant Sanderson builds cross-entropy from code lengths and uses it to explain next-token training and distillation.MathematicsMachine LearningFoundation Models+1
Diapositives2:25EN
3Blue1Brown· 12 juin 2026How Shannon Measured the Entropy of EnglishA guessing game helped Claude Shannon estimate how much information English text contains, and why prediction is central to compression.MathematicsAI History
Diapositives1:02EN
3Blue1Brown· 10 juin 2026A Robot Walk and the Puzzle of Optimal Binary EncodingHow few bits does it take to send directions that occur with unequal frequencies?MathematicsScience Communication