Explore calculusLesson 29 of 48 · 8 min

Integrate and check by differentiating

Distinguish an antiderivative family from a definite accumulated quantity.

Maths refresher: Accumulation and antiderivatives

Integration connects a rate with accumulation. Adding a constant to an antiderivative does not change its derivative.

∫2x dx=x2+C,∫032x dx=9\int2x\,dx=x^2+C,\qquad\int_0^3 2x\,dx=9
Worked example

The definite result is x2x^2 evaluated at 33 minus x2x^2 evaluated at 00. The arbitrary constant cancels.

Maths prerequisite map ↗

An antiderivative F of f has derivative f. Indefinite integration finds one representative, while adding an arbitrary constant describes the family on a suitable interval. Definite integration instead accumulates signed contributions between specified bounds.

See the mathematics
00.8751.752.623.5-0.31.653.65.557.5xy
00.8751.752.623.5-0.31.653.65.557.5xy
∫032x dx=9\int_0^3 2x\,dx=9
Starter reference. The shaded triangle has base 3 and height 6, so its area is 9. This agrees with the exact integral.

SymPy integrate can perform either operation depending on the arguments. Integral retains an unevaluated mathematical object until doit is requested, which is useful for keeping the problem definition visible.

The example integrates a polynomial, differentiates the result to check it, and evaluates a bounded integral. The derivative check cannot determine an additive constant. For functions with singularities, inspect the integration interval and convergence rather than assuming a symbolic expression guarantees a finite ordinary integral.

Does the derivative check distinguish FF from F+7F+7?

Write a prediction (optional)

Exact symbolic investigation

Select Run Python with the code unchanged.

Tools
About Python

Python and the course packages can load while you read. Each run starts with fresh user variables; imported modules stay loaded. Stop replaces the worker. Runtime details ↗

Ctrl+Enter or ⌘+Enter runs Python.

Compare with the worked example

Executed from the published Python during the site build. Your own run appears above. Build environment ↗

Antiderivative family
C+x2C + x^{2}
Derivative residual
00
Defined accumulation
∫032x dx\int\limits_{0}^{3} 2 x\, dx
Definite value
99
Worked text output
Antiderivative family: C + x**2
Derivative residual: 0
Defined accumulation: Integral(2*x, (x, 0, 3))
Definite value: 9

Read the starter result

Antiderivative family includes the arbitrary constant C. Derivative residual checks that differentiating removes it and gives back the rate. Definite value gives the separate accumulation over the displayed bounds.

Edit and compare

Replace rate = 2*x with rate = 3*x**2 and upper = 3 with upper = 2. Select Run Python. Read Definite value for the interval from 0 to 2 and use Derivative residual to check the new antiderivative separately.

Return to the editor

Scope. General integrals may remain unevaluated or require convergence conditions and piecewise domains.

Try a fresh case

What does differentiating an antiderivative verify?

Choose an answer
Need a hint?
Hint 1

The derivative of every constant is zero.

Hint 2

Separate a derivative identity from a bounded or improper accumulation.

Your notesNotes save in this browser when storage is available.