Courses / Computer Science I
Calculus

Integration and Antiderivatives

Computer Science I 232 words Free to read

Undoing the Derivative

Integration is the reverse of differentiation. An antiderivative of ff is a function FF where F(x)=f(x)F'(x) = f(x), recovering original totals from rates of change.

Antiderivatives are not unique. Because the derivative of a constant is zero, adding CC yields the indefinite integral:

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

CaseRulePitfall
Generalxndx=xn+1n+1+C\int x^n\, dx = \frac{x^{n+1}}{n+1} + C (n1n \neq -1)Raising the power, not lowering
Special1xdx=lnx+C\int \frac{1}{x}\, dx = \ln|x| + CFails when n=1n = -1

Common pitfall: Forgetting the constant of integration +C+C. Infinitely many functions share the same derivative, differing only by a vertical shift.

Integration's power rule is differentiation's, run backward ---

Rules and Techniques

Integration rules directly reverse standard differentiation rules. Constants factor out, and the integral of a sum equals the sum of the integrals.

Function f(x)f(x)Indefinite Integral f(x)dx\int f(x)\, dx
cosx\cos xsinx+C\sin x + C
exe^xex+Ce^x + C
1x\frac{1}{x}lnx+C\ln|x| + C

More complex integrals require advanced tools:

Common pitfall: Applying the derivative power rule (bringing the exponent down) instead of the integration power rule (raising the exponent and dividing).

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes

Calculus