Integrals reverse differentiation. Where a derivative gives the rate of change, an integral recovers the quantity from its rate, or measures the area under a curve. The skill that matters most is reading the integrand first: does it match a basic formula, hide a chain-rule pattern for substitution, or split into a product needing integration by parts? Get the structure right and the computation follows in a few lines. This page covers the core formulas, indefinite vs definite integrals, worked examples, and common mistakes.

Indefinite vs Definite Integrals

An indefinite integral asks for a function: the family of all antiderivatives of f(x)f(x). Since the derivative of a constant is zero, the answer carries an arbitrary constant CC.

f(x)dx=F(x)+CwhereF(x)=f(x)\int f(x)\,dx = F(x) + C \quad\text{where}\quad F'(x) = f(x)

A definite integral asks for a number: the signed area between the curve and the xx-axis from x=ax=a to x=bx=b. No +C+C appears because it cancels when you subtract.

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

This link between antiderivatives and area is the Fundamental Theorem of Calculus, why one set of formulas serves both jobs.

Feature Indefinite Integral Definite Integral
Notation f(x)dx\int f(x)\,dx abf(x)dx\int_a^b f(x)\,dx
Result A function F(x)+CF(x) + C A number
Constant CC Required Cancels, omit it
Meaning Antiderivative family Signed area on [a,b][a,b]

The Core Integration Formulas

These are the building blocks: each is a derivative rule read backwards.

Integral Formula Reminder
Power xnx^n xndx=xn+1n+1+C\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C Valid for n1n \ne -1
Reciprocal 1x\tfrac{1}{x} 1xdx=lnx+C\int \dfrac{1}{x}\,dx = \ln\lvert x\rvert + C The n=1n=-1 exception
Exponential exe^x exdx=ex+C\int e^x\,dx = e^x + C Unchanged form
Sine sinxdx=cosx+C\int \sin x\,dx = -\cos x + C Note the minus sign
Cosine cosxdx=sinx+C\int \cos x\,dx = \sin x + C No minus sign

Two linearity rules break any sum apart before you apply the table:

(f(x)±g(x))dx=f(x)dx±g(x)dx,cf(x)dx=cf(x)dx\int \big(f(x) \pm g(x)\big)\,dx = \int f(x)\,dx \pm \int g(x)\,dx, \qquad \int c\,f(x)\,dx = c\int f(x)\,dx

Why The Power Rule Adds One To The Exponent

The power rule looks arbitrary until you differentiate it back. If F(x)=xn+1n+1F(x) = \dfrac{x^{n+1}}{n+1}, then F(x)=(n+1)xnn+1=xnF'(x) = \dfrac{(n+1)x^{n}}{n+1} = x^n: the n+1n+1 on top and bottom cancel. This is also why n=1n=-1 breaks the rule, forcing division by n+1=0n+1 = 0. That gap is filled by the logarithm, since ddxlnx=1x\dfrac{d}{dx}\ln\lvert x\rvert = \dfrac{1}{x}. Every formula verifies the same way: differentiate and check you recover the integrand.

Reading The Integrand: Which Method?

Classifying the structure first saves more time than any formula.

  • Direct formula — matches the table after splitting a sum or factoring out a constant.
  • u-substitution — an inner function and its derivative both appear; the integral form of the Chain Rule. Look for g(x)g'(x) next to g(x)g(x).
  • Integration by parts — a product of two unrelated pieces, like xexx e^x or xlnxx\ln x.

Worked Example 1: Substitution

Evaluate 2x(x2+1)3dx\displaystyle\int 2x\,(x^2 + 1)^3\,dx. The cube (x2+1)3(x^2+1)^3 has an inner function x2+1x^2 + 1 whose derivative 2x2x sits right in front. That is the substitution signal. Let u=x2+1u = x^2 + 1, so du=2xdxdu = 2x\,dx. The 2xdx2x\,dx becomes exactly dudu, collapsing the integral to a power rule in uu:

u3du=u44+C\int u^3\,du = \frac{u^4}{4} + C

Substitute back u=x2+1u = x^2 + 1:

2x(x2+1)3dx=(x2+1)44+C\int 2x\,(x^2+1)^3\,dx = \frac{(x^2+1)^4}{4} + C

Differentiating with the Chain Rule returns 2x(x2+1)32x(x^2+1)^3, confirming the result.

Worked Example 2: A Definite Integral

Evaluate 13(2x+1)dx\displaystyle\int_1^3 (2x + 1)\,dx. An antiderivative is F(x)=x2+xF(x) = x^2 + x. Apply the Fundamental Theorem by subtracting at the bounds; [F(x)]13\big[\,F(x)\,\big]_1^3 means F(3)F(1)F(3) - F(1):

13(2x+1)dx=[x2+x]13=(9+3)(1+1)=10\int_1^3 (2x+1)\,dx = \big[x^2 + x\big]_1^3 = (9 + 3) - (1 + 1) = 10

The area under y=2x+1y = 2x+1 on [1,3][1,3] is 1010 square units. The +C+C never appeared: it cancels in the subtraction, which is why definite integrals omit it.

Practice Problems

  1. (3x24x+5)dx\displaystyle \int (3x^2 - 4x + 5)\,dx
  2. 02x2dx\displaystyle \int_0^2 x^2\,dx
  3. 6x(x27)5dx\displaystyle \int 6x\,(x^2 - 7)^5\,dx

Solutions. (1) Term by term: x32x2+5x+Cx^3 - 2x^2 + 5x + C. (2) Antiderivative x33\tfrac{x^3}{3}, so 830=83\tfrac{8}{3} - 0 = \tfrac{8}{3}. (3) Let u=x27u = x^2 - 7, du=2xdxdu = 2x\,dx, so 6xdx=3du6x\,dx = 3\,du: 3u5du=(x27)62+C\int 3u^5\,du = \tfrac{(x^2-7)^6}{2} + C.

For more problems with full step-by-step solutions, try the GPAI Solver on any integral you are stuck on.

Common Mistakes

Mistake Why It Is Wrong Fix
Forgetting +C+C Indefinite integrals have infinitely many antiderivatives Write +C+C until you evaluate bounds
Power rule on 1x\tfrac{1}{x} n=1n=-1 makes n+1=0n+1=0, division by zero Use lnx+C\ln\lvert x\rvert + C
Sign on sinxdx\int \sin x\,dx The antiderivative is cosx-\cos x, not cosx\cos x Check: (cosx)=sinx(-\cos x)' = \sin x
Keeping +C+C in a definite integral It cancels in F(b)F(a)F(b)-F(a) Drop it once bounds appear
Substituting but dropping dxdx dudu must replace g(x)dxg'(x)\,dx, not just g(x)g'(x) Solve for dudu including dxdx

Treat every answer as testable: differentiate it, and the integrand should reappear. That habit catches sign slips, missing constants, and botched substitutions before the grader does. Once reading the integrand becomes automatic, integration turns from guesswork into a short, checkable routine.

Frequently Asked Questions

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →