Integration as inverse process of differentiation

Every differentiation formula you have ever memorised has a hidden twin running in reverse. Differentiate x3x^3 and you get 3x23x^2; ask instead "which function, differentiated, gives 3x23x^2?" and you have crossed from differentiation into integration. This chapter opens Class 12's entire Integrals unit with exactly that reversal: instead of starting with a function and finding its slope-function, you start with a slope-function f(x)f(x) and hunt for the family of curves F(x)F(x) whose derivative is f(x)f(x). The catch is that the hunt never has a single winner — it has infinitely many, all differing by a constant. Understanding why that constant is unavoidable, and how to read any differentiation formula backwards to build an integration formula, is the load-bearing idea underneath every technique — substitution, partial fractions, by parts — that follows in this chapter.

The core insight

Integration is the reverse of differentiation, so if F′(x)=f(x)F'(x) = f(x) on an interval then every anti-derivative of ff has the form F(x)+CF(x) + C, a fact captured in the indefinite integral ∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C.

The core idea

Anti-derivatives undo derivatives. If ddxF(x)=f(x)\dfrac{d}{dx}F(x) = f(x) for every xx in some interval, FF is called an anti-derivative (or primitive) of ff. Finding FF from ff is integration — the operation exactly reverses differentiation, the way "add 5" reverses "subtract 5."

The answer is never one function — it is a family. If F(x)F(x) is an anti-derivative of f(x)f(x), then so is F(x)+CF(x) + C for any constant CC, since ddx[F(x)+C]=f(x)+0=f(x)\dfrac{d}{dx}[F(x)+C] = f(x) + 0 = f(x); differentiation always erases an additive constant, so integration can never recover it. This gives the standard notation for the indefinite integral:

∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C

where: f(x)f(x) is the integrand, xx is the variable of integration, dxdx marks integration with respect to xx, FF is any one anti-derivative, and CC is the arbitrary constant of integration.

Geometrically, F(x)+CF(x) + C is a stack of parallel curves. Every value of CC shifts the graph of FF straight up or down without changing its shape, so at any fixed xx every curve in the family has the identical slope f(x)f(x) — they are vertical translates of one another, never crossing.

Figure
A family of parallel curves shifted vertically by different constants C, each sharing the same slope at a given x-value, illustrating that anti-derivatives differ only by a constant
Anti-derivatives form a family of parallel curves, F(x) + C x y F(x) + C2 F(x) + C1 F(x) same slope f(x) on every curve at this x

Every derivative you know reads backwards into an integral. Since ddx(xn+1n+1)=xn\dfrac{d}{dx}\left(\dfrac{x^{n+1}}{n+1}\right) = x^n for n≠−1n \neq -1, reversing gives ∫xn dx=xn+1n+1+C\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C. Likewise ddx(sin⁡x)=cos⁡x\dfrac{d}{dx}(\sin x) = \cos x reversed gives ∫cos⁡x dx=sin⁡x+C\int \cos x\,dx = \sin x + C, and ddx(ex)=ex\dfrac{d}{dx}(e^x) = e^x gives ∫ex dx=ex+C\int e^x\,dx = e^x + C. This backwards habit rebuilds the entire standard-integrals table on the spot, without rote memorisation, whenever a result is forgotten.

The "same interval" fine print. The uniqueness-up-to-a-constant result needs a connected domain. For f(x)=1/x2f(x) = 1/x^2 (defined for all x≠0x \neq 0, really two separate pieces (−∞,0)(-\infty,0) and (0,∞)(0,\infty)), the constant is allowed to differ across the two pieces — the theorem is stated "on an interval," not "on a domain," for exactly this reason, though it rarely changes a Class 12 exam answer.

Derivation AAny two anti-derivatives of the same function differ only by a constant

The goal is to prove, using the Mean Value Theorem already available from the Continuity and Differentiability chapter, that if F1F_1 and F2F_2 are both anti-derivatives of the same ff on an interval, then F1(x)−F2(x)F_1(x) - F_2(x) is a fixed constant everywhere — which is exactly why "+C" captures every possible anti-derivative and no textbook needs to list them all separately.

Step 1. Build a difference function. Let φ(x)=F1(x)−F2(x)\varphi(x) = F_1(x) - F_2(x). Since F1′(x)=f(x)F_1'(x) = f(x) and F2′(x)=f(x)F_2'(x) = f(x) for every xx in the interval, differentiate φ\varphi: φ′(x)=F1′(x)−F2′(x)=f(x)−f(x)=0\varphi'(x) = F_1'(x) - F_2'(x) = f(x) - f(x) = 0.

Step 2. Read what φ′(x)=0\varphi'(x) = 0 means. The function φ\varphi has zero slope at every point of the interval — it never rises or falls, however slightly, anywhere along its length.

Step 3. Apply the Mean Value Theorem to lock this down rigorously. Take any two points x1<x2x_1 < x_2 in the interval. The MVT guarantees some point cc between them with φ(x2)−φ(x1)=φ′(c)(x2−x1)\varphi(x_2) - \varphi(x_1) = \varphi'(c)(x_2 - x_1). Since φ′(c)=0\varphi'(c) = 0 for every cc in the interval, the right side is zero, so φ(x2)=φ(x1)\varphi(x_2) = \varphi(x_1).

Step 4. Conclude. Because φ(x1)=φ(x2)\varphi(x_1) = \varphi(x_2) for any choice of two points, φ\varphi takes the same value everywhere on the interval — it is a constant, say CC. So F1(x)−F2(x)=CF_1(x) - F_2(x) = C, i.e. F1(x)=F2(x)+CF_1(x) = F_2(x) + C. This is precisely why the indefinite integral is written as one formula plus an arbitrary constant, ∫f(x) dx=F(x)+C\int f(x)\,dx = F(x) + C, rather than as an unlisted collection of unrelated functions.

Worked example

Verify that F(x)=x3−4x+7F(x) = x^3 - 4x + 7 is an anti-derivative of f(x)=3x2−4f(x) = 3x^2 - 4, write the general indefinite integral, and then find the one particular curve in that family passing through the point (0,7)(0, 7).

Step 1. Differentiate F(x)F(x) to check it against f(x)f(x): F′(x)=ddx(x3−4x+7)=3x2−4−0=3x2−4=f(x)F'(x) = \dfrac{d}{dx}(x^3 - 4x + 7) = 3x^2 - 4 - 0 = 3x^2 - 4 = f(x). Since F′(x)=f(x)F'(x) = f(x), FF is indeed an anti-derivative of ff.

Step 2. Write the general family. The constant of integration is arbitrary, so the full indefinite integral is ∫(3x2−4) dx=x3−4x+C\int (3x^2 - 4)\,dx = x^3 - 4x + C, where CC is any real number — the specific value 77 used in F(x)F(x) above is just one member of this family, chosen for a reason that Step 3 makes explicit.

Step 3. Pin down the one curve through (0,7)(0,7). Substitute x=0,y=7x=0, y=7 into y=x3−4x+Cy = x^3 - 4x + C: 7=03−4(0)+C7 = 0^3 - 4(0) + C, so C=7C = 7. Answer: the general integral is x3−4x+Cx^3 - 4x + C, and the particular anti-derivative through (0,7)(0,7) is x3−4x+7x^3 - 4x + 7 — recovering the very F(x)F(x) we started with, and showing exactly how one extra condition (a point on the curve) selects a single member from an infinite family.

Competitive stretch

Find ∫ddx(sin⁡2x) dx\int \dfrac{d}{dx}\big(\sin^2 x\big)\,dx and explain why the answer is sin⁡2x+C\sin^2 x + C, not merely sin⁡2x\sin^2 x. By the very definition of integration as the inverse of differentiation, integrating the derivative of a function returns the function itself up to an arbitrary constant: ∫ddx(sin⁡2x) dx=sin⁡2x+C\int \frac{d}{dx}(\sin^2 x)\,dx = \sin^2 x + C. As a check, ddx(sin⁡2x)=2sin⁡xcos⁡x=sin⁡2x\frac{d}{dx}(\sin^2 x) = 2\sin x \cos x = \sin 2x, so the question is also asking for ∫sin⁡2x dx=−cos⁡2x2+C\int \sin 2x\,dx = -\frac{\cos 2x}{2} + C; using cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x this equals sin⁡2x−12+C=sin⁡2x+C′\sin^2 x - \frac12 + C = \sin^2 x + C', the same family with the constant simply relabelled.

Common traps

  • Writing an anti-derivative without the "+C" — for an indefinite integral this is treated as an incomplete, penalised answer.
  • Assuming there is only one correct-looking anti-derivative; sin⁡2x+C\sin^2 x + C and −cos⁡2x+C′-\cos^2 x + C' can both be correct if they differ by a constant — check by differentiating, not by eyeballing the algebra.
  • Confusing "an anti-derivative" (one specific FF) with "the indefinite integral" (the whole family F(x)+CF(x)+C) — the symbol ∫f(x) dx\int f(x)\,dx always denotes the family.
  • Forgetting the anti-derivative relationship must hold on a single interval; the "differ only by a constant" theorem assumes a connected domain, so a broken domain can carry different constants on each piece.

Ask the tutor: if you are still unsure why "+C" is unavoidable or want to practice turning more differentiation formulas backwards into integrals, ask the AI tutor to walk through extra examples with you.

Why is the plus C so important — cant I just drop it since it's usually zero anyway?

The constant is not "usually zero" — it is genuinely unknown until extra information (like a point the curve passes through) pins it down, as in the worked example above where C=7C=7 came from the condition F(0)=7F(0)=7. Dropping it silently claims your answer is the only anti-derivative, when in fact infinitely many curves, all vertical shifts of each other, share the exact same derivative. Examiners treat a missing "+C" on an indefinite integral as an incomplete answer, even if the rest of the working is correct.

Is every anti-derivative I find the same as "the indefinite integral"?

Not quite — a single anti-derivative F(x)F(x) is one specific function, while "the indefinite integral" ∫f(x) dx\int f(x)\,dx denotes the entire family F(x)+CF(x)+C. Saying "x3−4x+7x^3-4x+7 is an anti-derivative of 3x2−43x^2-4" is correct and specific; saying "∫(3x2−4) dx=x3−4x+7\int(3x^2-4)\,dx = x^3-4x+7" without the +C+C is not, because it wrongly presents one family member as if it were the whole family.

Does every function have an anti-derivative?

Within the Class 12 syllabus, every function you will be asked to integrate — polynomials, trigonometric functions, exponentials, and combinations built from standard techniques — does have one, precisely because you can always check a proposed F(x)F(x) by differentiating it and comparing to f(x)f(x). More generally, any function continuous on an interval is guaranteed to have an anti-derivative there, though writing that anti-derivative in a simple closed form is not always possible; that subtlety sits beyond this chapter's scope.

Before this

Where this leads