James's Math Hub
Pre-Calc & Calculus

Lesson 5 / 5 · 13 min read

Integrals (Antiderivatives)

Reverse the derivative, find area under a curve, meet the Fundamental Theorem.

What is an integral?

An integral undoes a derivative. If F(x)=f(x)F'(x) = f(x), then FF is an antiderivative of ff, and we write:

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

The +C+ C is the constant of integration: any constant differentiates to zero, so antiderivatives are only unique up to a constant.

The reverse power rule

Differentiation gives ddxxn=nxn1\frac{d}{dx} x^n = n x^{n-1}. Reversing it:

xndx=xn+1n+1+C(n1)\int x^n\, dx = \frac{x^{n+1}}{n+1} + C \quad (n \neq -1)

Examples.

  • x3dx=x44+C\int x^3\, dx = \frac{x^4}{4} + C
  • xdx=x22+C\int x\, dx = \frac{x^2}{2} + C (with n=1n = 1)
  • 1dx=x+C\int 1\, dx = x + C (with n=0n = 0)
  • 1xdx=lnx+C\int \frac{1}{x}\, dx = \ln|x| + C (the special n=1n = -1 case)

Constants and sums

kf(x)dx=kf(x)dx\int k \cdot f(x)\, dx = k \int f(x)\, dx [f(x)+g(x)]dx=f(x)dx+g(x)dx\int [f(x) + g(x)]\, dx = \int f(x)\, dx + \int g(x)\, dx

Example. (6x24x+5)dx=2x32x2+5x+C\int (6x^2 - 4x + 5)\, dx = 2x^3 - 2x^2 + 5x + C.

Common integrals

f(x)f(x)f(x)dx\int f(x)\, dx
cosx\cos xsinx+C\sin x + C
sinx\sin xcosx+C-\cos x + C
exe^xex+Ce^x + C
1/x1/xlnx+C\ln \lvert x \rvert + C
sec2x\sec^2 xtanx+C\tan x + C

Definite integrals

A definite integral has bounds:

abf(x)dx=F(b)F(a)\int_a^b f(x)\, dx = F(b) - F(a)

This is the Fundamental Theorem of Calculus — integrals and derivatives are inverse operations. Geometrically, the definite integral equals the (signed) area under ff between x=ax = a and x=bx = b.

Example. 023x2dx\int_0^2 3x^2\, dx. Antiderivative is x3x^3. Evaluate: 2303=82^3 - 0^3 = 8.

Key takeaways

  • An integral reverses a derivative; add +C+\, C for indefinite integrals.
  • Reverse power rule: xndx=xn+1n+1+C\int x^n\, dx = \frac{x^{n+1}}{n+1} + C (when n1n \neq -1).
  • Definite integrals use bounds: evaluate the antiderivative at the top, subtract at the bottom.
  • Area under the curve = definite integral.