Derivatives and antiderivativesFormulBase · formulary masterclass
Formulary · analysis

Derivatives and antiderivatives

Two questions, one single theory. How fast does a curve rise? That is the derivative. What area does it enclose? That is the integral. And the central theorem of the chapter says that one undoes what the other does.

0The symbols

A formula is not difficult. It is a sentence written in shorthand. Here is the dictionary.

SymbolMeaning
f(x) The function: to each x, it assigns a value. The curve you draw.
f′(x) "f prime": the derivative of f. It is a new function, giving the slope of the curve at every point.
Δx "delta x": a gap between two x-values. The big Greek triangle always means "difference".
h A small step. The same role as Δx, only shorter. It is meant to tend toward zero.
dy/dx Another way of writing f′. It recalls where the derivative comes from: a quotient of two differences that have become infinitesimal.
lim The value approached as h becomes infinitely small. You never set h = 0, you approach it.
F(x) An antiderivative of f: a function whose derivative gives back f. The capital letter signals the reverse direction.
C The constant of integration. Every antiderivative is defined up to a constant: the derivative of a constant is zero.
∫ f(x) dx "the integral of f": the set of antiderivatives of f. The elongated S is a summation S, we'll see why.
∫ₐᵇ f(x) dx The definite integral: a number. The area between the curve, the x-axis, and the two bounds a and b.
dx The infinitesimal width of a slice. It also says with respect to which variable you are working.
e Euler's number, about 2.718. The base for which the exponential function is its own derivative.
ln x The natural logarithm: the inverse of eˣ. It answers "e to what power gives x?".
Trap number one
f′(x) is not "a small change in f". It is a function in its own right, with its own curve. At a given point, it is a number: the slope of f there.

1The derivative

A line has a slope: so much height gained per horizontal step. Always the same.

A curve does not have a slope. It has one at every point, and it keeps changing.

All of differentiation lies in this question: how do you measure the slope of a curve at a point?

1.1 · The difference quotient

Slope of the secant
[ f(a + h) − f(a) ] / h
a a + h h f(a+h) − f(a) secant · slope = the ratio
The rise divided by the run: the quotient measures the slope of the segment between the two points.
What

We take two points of the curve: one at a, the other one step h further along.

We divide the rise by the run. That is the slope of the line joining these two points.

Why

Because we only know how to measure slopes of straight lines.

So we cheat: we replace the curve with a line that crosses it. It is crude, but it is a start.

How

The smaller the step h, the more closely the line hugs the curve around a.

The approximation improves. It never becomes exact as long as h remains a real number.

Example f(x) = x², a = 1, h = 0.5: [ f(1.5) − f(1) ] / 0.5 = (2.25 − 1) / 0.5 = 2.5.
With h = 0.1: 2.1. With h = 0.01: 2.01. It's heading toward 2.

1.2 · The definition of the derivative

Derivative at a
f′(a) = limh→0 [ f(a + h) − f(a) ] / h
What

We take the difference quotient. And we let the step tend to zero.

The limiting value is the derivative. The secant becomes the tangent.

Why

You cannot set h = 0: that would mean dividing zero by zero.

The limit is the tool that gets around the obstacle: you watch where the quotient is heading, without ever actually landing there.

It's the same move as in the chapter on series. A limit rescuing an impossible calculation.

How

In practice, you almost never compute this limit by hand.

It has been worked out once and for all for every standard function. The result is the table in section 2.

The definition is there to help you understand the table, not to replace it.

Laboratory · the secant becomes the tangent
f secant (slope = ratio) tangent (slope = f′(a))
ratio [f(a+h)−f(a)]/h·
f′(a) exact·
deviation·
equation of the tangent line·

1.3 · The equation of the tangent line

Tangent line at a
y = f(a) + f′(a) · (x − a)
What

The line that touches the curve at a and has exactly its slope there.

Why

It's a line: a point and a slope are all you need.

The point is (a, f(a)). The slope is f′(a). The formula says nothing more.

How

Three numbers to compute, in order: f(a), then f′(x), then f′(a).

Plug them into the formula. That's it.

Example f(x) = x², a = 1: f(1) = 1, f′(x) = 2x, f′(1) = 2.
y = 1 + 2(x − 1) = 2x − 1.

2The rules of differentiation

Differentiating requires no imagination at all. It's a construction kit.

A small table of ready-made derivatives, and four rules to assemble the pieces.

Every function in the syllabus can be differentiated with this.

2.1 · Standard derivatives

f(x)f′(x)Worth noting
c0 A constant doesn't rise: zero slope.
xⁿn · xⁿ⁻¹ The exponent drops down front, then decreases by one. Also holds for negative or fractional n.
√x = x^½1 / (2√x) A special case of the line above, with n = ½.
1/x = x⁻¹−1/x² Same rule again, with n = −1.
Its own derivative. That is essentially the definition of the number e.
ln x1/x The logarithm grows more and more slowly: its slope melts away like 1/x.
sin xcos x The cosine tells you how fast the sine is rising.
cos x−sin x Watch the minus sign. It's the most common slip in the chapter.
Example (x⁵)′ = 5x⁴ · (x⁻³)′ = −3x⁻⁴ · (x^(1/3))′ = ⅓ · x^(−2/3).
Laboratory · building f′ point by point
f (above) sliding tangent f′ (below, being traced)
x·
slope read above·
ordinate placed below·

2.2 · Sum and constant factor

(f + g)′ = f′ + g′   ·   (c · f)′ = c · f′
What

You differentiate term by term. Multiplicative constants wait out front.

Why

Slopes add up. If two effects overlap, so do their speeds.

And tripling a function triples its rise. Nothing deeper than that.

Example (3x⁴ − 5x² + 7)′ = 12x³ − 10x + 0 = 12x³ − 10x.

2.3 · Product and quotient

Product rule
(f · g)′ = f′ · g + f · g′
Quotient rule
(f / g)′ = ( f′ · g f · g′ ) / g²
What

A product is not differentiated factor by factor.

Each factor gets differentiated in turn, while the other stays untouched, and you add the two contributions.

Why

Think of a rectangle whose two sides are both growing.

Its area gains a strip along one side, and a strip along the other. Two contributions, one sum.

The quotient rule follows from this, with a minus sign and the square of the denominator.

f · g f · Δg g · Δf f Δf g Δg Δf·Δg negligible
Both sides grow: the area gains a green strip (f · Δg) and an ochre strip (g · Δf). The red corner is a second-order infinitesimal, it vanishes in the limit. What remains: (f·g)′ = f′g + fg′.
How

Name the pieces before you calculate: f = …, g = …, then f′ and g′ separately.

Only then assemble them. Half the mistakes come from assembling in your head.

In the quotient, the order in the numerator matters: f′g first, minus fg′.

Example (x² · sin x)′ = 2x · sin x + x² · cos x.
( x / (x+1) )′ = [ 1·(x+1) − x·1 ] / (x+1)² = 1 / (x+1)².

2.4 · The chain rule

Composite function
[ f( g(x) ) ]′ = f′( g(x) ) · g′(x)
x g g(x) f f(g(x)) speed × g′(x) speed × f′(g(x)) total speed: f′(g(x)) · g′(x)
Two machines in series: each multiplies the speed of whatever passes through it. The factors multiply, they never add.
What

A function inside a function: you differentiate the shell, leave the contents untouched, then multiply by the derivative of the contents.

Why

Speeds multiply in cascade.

If g moves three times as fast as x, and f moves twice as fast as g, then f moves six times as fast as x.

How

Spot the shell and the contents. Say it out loud: "sine of something", "e to the power of something".

Differentiate the shell as if the contents were a plain letter. Then multiply by the derivative of the contents.

The reflex to build in: never a composite without its factor g′.

Example [ sin(x²) ]′ = cos(x²) · 2x.   [ e^(3x) ]′ = e^(3x) · 3.   [ (2x+1)⁵ ]′ = 5(2x+1)⁴ · 2.
The classic omission
Writing [ sin(x²) ]′ = cos(x²) and stopping there. It's missing the factor 2x, the derivative of the contents. Quick check: if the contents aren't simply "x", a trace of its derivative must remain in the result.

3Reading f through f′

The sign-to-shape link
f′ > 0 f is increasing  ·  f′ < 0 f is decreasing  ·  f′(a) = 0 horizontal tangent at a
What

The sign of the derivative tells the shape of the curve.

Positive: it's rising. Negative: it's falling. Zero: the curve is momentarily flat.

Why

The derivative is the slope. A positive slope is a rise. By definition.

A maximum is a place where the rise stops and the fall begins: the derivative passes from plus to minus there, crossing zero.

How

To find the extrema: solve f′(x) = 0, then study the sign of f′ around each solution.

The sign table isn't a formality. It's what decides: maximum, minimum, or neither.

Workshop · the sign of f′ colors the curve
f′ > 0 · it's rising f′ < 0 · it's falling f′ = 0
f(x₀)·
f′(x₀)·
state·

f′(a) = 0 is not enough
Take x³ in the workshop: its derivative vanishes at 0, and yet the curve merely crosses a shelf. No extremum. It's the sign of f′ around the point that decides, never the vanishing alone. The parallel with series is exact: a necessary condition is not a sufficient one.

4Antiderivatives

Definition
F is an antiderivative of f F′ = f   ·   ∫ f(x) dx = F(x) + C
What

It's differentiation in reverse. You know the slope everywhere, and you're looking for the curve.

Why the + C

Shift a curve upward: all its slopes stay the same.

So infinitely many curves share the same derivative. They differ only by a constant.

The + C says exactly that: the answer is a family, not a single curve.

How

You read the derivative table from right to left, adjusting the constants.

And you always check in the easy direction: differentiating the result should give back f. This check is free, do it every time.

f(x)∫ f(x) dxCheck
xⁿ (n ≠ −1)xⁿ⁺¹ / (n+1) + C The exponent goes up by one, and then divides.
1/xln |x| + C The forbidden case n = −1 gets its own line. The absolute value covers negative x.
eˣ + C Unchanged, in both directions.
sin x−cos x + C The minus switches sides: (−cos)′ = sin.
cos xsin x + C No minus this time.
Example ∫ (3x² + 4x − 5) dx = x³ + 2x² − 5x + C.
Check: (x³ + 2x² − 5x + C)′ = 3x² + 4x − 5. ✓
Workshop · the family of antiderivatives, the sliding + C
your antiderivative F + C the other members of the family slopes (identical everywhere)
F(1) + C·
slope at x = 1, for every C·

5The definite integral

New question, seemingly unrelated: what is the area between a curve and the x-axis, from a to b?

The idea is the same as for series: cut into pieces you know how to measure, then refine endlessly.

5.1 · Area by strips

Riemann sum
∫ₐᵇ f(x) dx = limn→∞ Σ f(xᵢ) · Δx   with Δx = (b − a)/n
What

You cut the interval into n strips. On each one, you set up a rectangle that touches the curve.

You add up the areas of the rectangles. Then you refine: more strips, thinner ones.

Why

We only know how to measure rectangles. Just as we only knew how to measure slopes of straight lines.

The detour is the same as in chapter 1, in reverse: approximate, then pass to the limit.

And that's why the sign ∫ is an S: it's the sum Σ, stretched out by the passage to the limit.

Laboratory · the rectangles close in on the area
sum of the rectangles·
exact value F(b) − F(0)·
deviation·

5.2 · The fundamental theorem

Newton and Leibniz
∫ₐᵇ f(x) dx = F(b) − F(a)   where F′ = f
What

The area under the curve is computed without a single rectangle.

You take an antiderivative, evaluate it at the two bounds, and subtract. That's it.

Why this is the peak of the chapter

Two seemingly unrelated problems, slope and area, turn out to be inverses of one another.

The area accumulated under f grows at exactly the speed f: differentiating the area gives back the function.

That's why the + C doesn't get in the way: in F(b) − F(a), the constant cancels itself out.

How

Three moves: find F, compute F(b), compute F(a). We write the whole thing [F(x)]ₐᵇ.

Watch the sign: area below the axis counts negatively. An integral can be negative or zero without the visible surface being zero.

Example ∫₀¹ x² dx = [ x³/3 ]₀¹ = 1/3 − 0 = 1/3.
The exact third that the lab above approximates with rectangles.
Laboratory · the accumulating area, and its slope
f (above, area filled from 0 to x) A(x) = ∫₀ˣ f (below)
A(x) accumulated area·
slope of A at x·
f(x)·

6The method

I've been asked to differentiate. What order to look in.

1
Is it a sum of terms?
yesdifferentiate term by term, constants waiting out front.
2
Each term: a table form?
xⁿ, eˣ, ln, sin, costable 2.1, direct.
3
A product? A quotient?
f · g → f′g + fg′ f / g → (f′g − fg′) / g²
4
A function inside a function?
f(g(x)) → f′(g(x)) · g′(x). Never without the factor g′.
5
And to integrate?
The same path in reverse: table 4, + C, and check by differentiating. Definite integral: F(b) − F(a), no C.

7The six mistakes

  • Differentiating a product factor by factor. (f·g)′ is not f′·g′. Rectangle rule: two contributions, one sum.
  • Forgetting the factor g′ in a composite. [sin(x²)]′ = cos(x²) · 2x, never just cos(x²).
  • Concluding "extremum" as soon as f′(a) = 0. x³ has a zero derivative at 0 and no extremum. The sign around the point decides.
  • Forgetting the + C. An antiderivative without + C is just one representative of the family. In a definite integral, however, no C.
  • Integrating 1/x with the power rule. n = −1 is the forbidden case: dividing by n + 1 = 0. The answer is ln |x| + C.
  • Mixing up the sign of cos′ and of ∫ sin. (cos x)′ = −sin x, and ∫ sin x dx = −cos x + C. The minus lives on both sides, but not in the same place.

8Test yourself

Six questions. Instant answer, with explanation.  

9The vocabulary in French and German

This formulary comes from Swiss gymnases (upper secondary schools), where mathematics is taught in French or German depending on the canton. Here are the chapter's key terms in their original languages.

FrançaisDeutschRemark
dériverableitenThe verb of the chapter.
la dérivéedie Ableitung·
la pentedie SteigungWhat the derivative measures.
le taux d'accroissementder DifferenzenquotientThe German name says what it is: a quotient of differences.
la tangente / la sécantedie Tangente / die Sekante·
la règle du produitdie Produktregel·
la règle du quotientdie Quotientenregel·
la règle de la chaînedie KettenregelThe composite: shell times differentiated contents.
croissant / décroissantsteigend / fallend·
un extremum, un maximum, un minimumein Extremum, ein Maximum, ein Minimum·
la primitivedie StammfunktionLiterally "stem function": the one that f descends from.
l'intégrale (définie)das (bestimmte) Integral·
la bornedie Grenzea and b, the ends of the interval.
l'aireder Flächeninhalt·
la constante d'intégrationdie IntegrationskonstanteThe famous + C.
le théorème fondamentalder Hauptsatz der Differential- und IntegralrechnungThe bridge between the two halves of the chapter.

See also the masterclass Sequences, sums and series: the limit, the tool shared by both chapters, is introduced there step by step.