Primitives (Antiderivatives)

Basis
Last updated: Tags: Calculus, Integration, Differentiation

Differentiation takes a function and produces its rate of change. Primitives reverse the process: you are given a rate of change and asked to reconstruct the original function. This inverse problem is the starting point for integration theory, and it arises naturally whenever you compute distance from velocity, displacement from acceleration, or a quantity from its known rate of growth.

Definition

Definition. Let ff be defined on an interval I⊆RI \subseteq \mathbb{R}. A differentiable function F:I→RF : I \to \mathbb{R} is called a primitive (or antiderivative) of ff on II if

F′(x)=f(x)for every x∈I.F'(x) = f(x) \quad \text{for every } x \in I.

Examples.

  • F(x)=x33F(x) = \tfrac{x^3}{3} is a primitive of f(x)=x2f(x) = x^2 on R\mathbb{R}, since (x33)′=x2\bigl(\tfrac{x^3}{3}\bigr)' = x^2.
  • F(x)=sin⁡xF(x) = \sin x is a primitive of f(x)=cos⁡xf(x) = \cos x on R\mathbb{R}.
  • F(x)=ln⁡xF(x) = \ln x is a primitive of f(x)=1xf(x) = \tfrac{1}{x} on (0,∞)(0, \infty).
  • The function f(x)=sgn⁡(x)f(x) = \operatorname{sgn}(x) (the sign function) has no primitive on any interval containing 00, because a derivative cannot have a jump discontinuity (by Darboux’s theorem).

Primitives differ by a constant

Once you have one primitive FF, you get infinitely many: F(x)+CF(x) + C is also a primitive for every constant C∈RC \in \mathbb{R}. The following theorem says these are the only primitives.

Theorem. If FF and GG are both primitives of ff on an interval II, then G(x)−F(x)=CG(x) - F(x) = C for some constant C∈RC \in \mathbb{R}.

Proof. Set H≔G−FH \coloneqq G - F. Then for every x∈Ix \in I,

H′(x)=G′(x)−F′(x)=f(x)−f(x)=0.H'(x) = G'(x) - F'(x) = f(x) - f(x) = 0.

Apply Lagrange’s Mean Value Theorem to HH on any sub-interval [x1,x2]⊂I[x_1, x_2] \subset I: there exists c∈(x1,x2)c \in (x_1, x_2) with

H(x2)−H(x1)=H′(c)(x2−x1)=0⋅(x2−x1)=0.H(x_2) - H(x_1) = H'(c)(x_2 - x_1) = 0 \cdot (x_2 - x_1) = 0.

Since x1,x2∈Ix_1, x_2 \in I were arbitrary, HH takes the same value at every two points of II, so HH is constant on II. □\square

Why the interval hypothesis matters. On a disconnected domain (a union of two disjoint open intervals, say), a function with zero derivative need not be globally constant — it can take different constant values on each connected component. Primitives on disconnected domains are unique only up to one constant per component. This checkpoint assumes II is an interval (connected).

The indefinite integral

The notation for the family of all primitives of ff is the indefinite integral:

∫f(x) dx  ≔  F(x)+C,\int f(x)\,dx \;\coloneqq\; F(x) + C,

where FF is any one primitive of ff and C∈RC \in \mathbb{R} is an arbitrary constant. The symbol ∫⋯dx\int \cdots dx is read “the indefinite integral of … with respect to xx”.

The +C+C is not optional decoration: it records the fact that there is a whole family of primitives, all differing by a constant. Dropping it would mean claiming a specific function rather than the general family.

Indefinite vs. definite integral

These two uses of the integral sign refer to fundamentally different objects:

Indefinite integral ∫f(x) dx\int f(x)\,dxDefinite integral ∫abf(x) dx\int_a^b f(x)\,dx
ResultA family of functions F(x)+CF(x) + CA real number
Depends onThe integrand ff and the variable xxThe integrand ff and the bounds a,ba, b
Arbitrary constantYes — CC is undeterminedNo — the value is fixed
RequiresA primitive to existRiemann integrability of ff

The Newton–Leibniz formula (proved in the next checkpoint) connects them: if ff is continuous and FF is any primitive of ff, then ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a).

Basic table of primitives

The following primitives follow directly from differentiating the right-hand side. Each holds on an interval where the right-hand side is defined.

f(x)f(x)∫f(x) dx\int f(x)\,dxNotes
xnx^n (n≠−1n \neq -1)xn+1n+1+C\dfrac{x^{n+1}}{n+1} + CAll n∈Rn \in \mathbb{R}, x>0x > 0 if n∉Zn \notin \mathbb{Z}
1x\dfrac{1}{x}ln⁡∣x∣+C\ln\lvert x\rvert + Cx≠0x \neq 0; one constant per sign of xx
exe^xex+Ce^x + C
sin⁡x\sin x−cos⁡x+C-\cos x + C
cos⁡x\cos xsin⁡x+C\sin x + C
11+x2\dfrac{1}{1+x^2}arctan⁡x+C\arctan x + C
11−x2\dfrac{1}{\sqrt{1-x^2}}arcsin⁡x+C\arcsin x + C∣x∣<1\lvert x\rvert < 1
x\sqrt{x} (x>0x > 0)23x3/2+C\dfrac{2}{3}x^{3/2} + Cspecial case of xnx^n with n=12n = \frac{1}{2}

You can verify each entry by differentiating the right-hand side. For instance, (ln⁡∣x∣)′=1x(\ln\lvert x\rvert)' = \tfrac{1}{x} for x≠0x \neq 0, and (−cos⁡x)′=sin⁡x(-\cos x)' = \sin x.

Linearity of the indefinite integral

Because differentiation is linear, so is taking primitives.

Theorem (Linearity). If FF is a primitive of ff and GG is a primitive of gg on II, then for any constants α,β∈R\alpha, \beta \in \mathbb{R},

∫[αf(x)+βg(x)] dx  =  αF(x)+βG(x)+C.\int \bigl[\alpha f(x) + \beta g(x)\bigr]\,dx \;=\; \alpha F(x) + \beta G(x) + C.

Proof. (αF+βG)′=αF′+βG′=αf+βg(\alpha F + \beta G)' = \alpha F' + \beta G' = \alpha f + \beta g. □\square

Example. Compute ∫(3x2−5cos⁡x) dx\displaystyle\int (3x^2 - 5\cos x)\,dx.

By linearity and the table:

∫(3x2−5cos⁡x) dx  =  3⋅x33−5sin⁡x+C  =  x3−5sin⁡x+C.\int (3x^2 - 5\cos x)\,dx \;=\; 3\cdot\frac{x^3}{3} - 5\sin x + C \;=\; x^3 - 5\sin x + C.

Example. Compute ∫x3+2xx dx\displaystyle\int \frac{x^3 + 2\sqrt{x}}{x}\,dx for x>0x > 0.

Simplify the integrand first:

x3+2xx=x2+2x=x2+2x−1/2.\frac{x^3 + 2\sqrt{x}}{x} = x^2 + \frac{2}{\sqrt{x}} = x^2 + 2x^{-1/2}.

Then by linearity:

∫ ⁣(x2+2x−1/2)dx=x33+2⋅x1/21/2+C=x33+4x+C.\int \!\left(x^2 + 2x^{-1/2}\right)dx = \frac{x^3}{3} + 2\cdot\frac{x^{1/2}}{1/2} + C = \frac{x^3}{3} + 4\sqrt{x} + C.

Summary

  • A primitive (antiderivative) of ff on an interval II is a differentiable function FF with F′=fF' = f on II.
  • Any two primitives of ff on II differ by a constant: if F′=G′=fF' = G' = f, then G=F+CG = F + C for some C∈RC \in \mathbb{R}. This follows from Lagrange’s MVT applied to G−FG - F.
  • The indefinite integral ∫f(x) dx≔F(x)+C\int f(x)\,dx \coloneqq F(x) + C denotes the entire family of primitives; the +C+C is essential.
  • The indefinite integral is a family of functions; the definite integral ∫abf\int_a^b f is a number. The Newton–Leibniz formula connects them.
  • Linearity: ∫(αf+βg) dx=α∫f dx+β∫g dx\int (\alpha f + \beta g)\,dx = \alpha \int f\,dx + \beta \int g\,dx (up to the constant).
  • The standard table of primitives — powers, exe^x, sin⁡\sin, cos⁡\cos, 1/x1/x, inverse trig — is built by reversing known differentiation formulas.