Calculus
Definite vs Indefinite Integrals
By MathSolver Pro Editorial Team · Published
An indefinite integral is a family of functions, the antiderivatives, written with a constant . A definite integral has limits of integration and produces a single number, a signed area or accumulated total. The Fundamental Theorem of Calculus lets you compute the second from the first.
The difference at a glance
- Notation: indefinite ; definite with a lower limit and an upper limit .
- Result: indefinite gives a function plus a constant; definite gives a number.
- Meaning: indefinite answers which functions have this derivative; definite answers how much accumulates between and .
- Constant: indefinite needs ; in a definite integral the constant cancels.
- Check: differentiate an indefinite answer to recover the integrand; estimate a definite answer from a graph or with rectangles.
If integrals are new to you, start with what is an integral, which builds both ideas from scratch.
Indefinite integrals: families of antiderivatives
The indefinite integral of is the set of all functions whose derivative is . Because adding a constant does not change a derivative, the answer is always a family of curves, each a vertical shift of the others:
To pick one member of the family you need extra information, usually a known value. This is called an initial value problem.
Example 1: find given and
- Integrate: .
- Use the condition: , so .
- Answer: . Check: and .
Physics uses this all the time. If acceleration is constant at m/s², integrating once gives velocity , and integrating again gives height . The two constants are the initial velocity and initial height.
Definite integrals: numbers from limits of sums
A definite integral is defined as a limit of Riemann sums and represents the signed area between the graph and the x-axis from to . The Fundamental Theorem of Calculus provides the shortcut for evaluating it:
Example 2: evaluating definite integrals
- .
- .
- .
Using instead of changes nothing, because . That is why the constant is dropped.
Properties of definite integrals
Sums and constant multiples pass through the integral sign, just as with derivatives. Symmetry can save a lot of work: if is odd, meaning , then . For example, because the negative and positive halves cancel. If is even, , so .
The average value of on is . For on that is : a rectangle of height 3 and width 3 has the same area as the region under the parabola.
Substitution works differently in each
With an indefinite integral, you substitute, integrate, and then substitute back to the original variable. With a definite integral, you can instead change the limits to match the new variable and never go back.
Example 3:
- Let , so .
- Change the limits: when , ; when , .
- .
- The indefinite route gives evaluated from 0 to 1, which is the same .
A common error is substituting but keeping the old limits. Either change the limits or convert back to before evaluating, never half of each.
Where the two meet: accumulation functions
A definite integral with a variable upper limit is a function: . It is a particular antiderivative of , the one that equals 0 at . For example, .
The first part of the Fundamental Theorem says . So , even though that integral has no elementary formula. If the upper limit is itself a function, the chain rule adds a factor: . Rules for differentiating are summarised in derivative rules explained.
Improper integrals
A definite integral over an infinite interval, or of a function that blows up inside the interval, is called improper and is defined as a limit. For example:
So an infinitely long region can have a finite area. By contrast, grows without bound, so it diverges. This comparison is the basis of the integral test in series convergence tests.
Which one does a question want?
Look for limits on the integral sign or words such as from, between, total, area or how much. Those signal a definite integral and a numerical answer. Words such as find a function, general solution or antiderivative signal an indefinite integral with . A question that gives a starting value, such as , wants an indefinite integral followed by solving for .
Use the integral calculator for indefinite integrals with steps, and the definite integral calculator to evaluate over an interval, including improper integrals.
A worked comparison with one function
Seeing both kinds of integral applied to the same function makes the contrast concrete. Take the function that gives the rate at which water flows into a tank, in litres per minute, and suppose it equals after minutes.
The indefinite integral, , describes the amount of water in the tank at any time, but only up to an unknown starting amount. If the tank held 10 litres at the start, then and the volume after minutes is litres. That is a function you can evaluate at any moment.
The definite integral from to answers a different question: how much water flowed in during those five minutes? It equals litres, regardless of how much was in the tank to begin with. The first answer is a formula for a state; the second is a single number for a change. Most applied problems fall clearly into one of those two types once you ask whether the question wants a quantity at a time or a total over an interval.
Common mistakes with each type
With indefinite integrals, the most common error is leaving off the constant. It may seem harmless, but in an initial value problem it removes the very thing you are asked to find, and in differential equations it hides an entire family of solutions. A second error is forgetting to rewrite the answer in terms of the original variable after a substitution.
With definite integrals, typical mistakes are subtracting in the wrong order, mixing up old and new limits after a substitution, and reading a signed area as a total area. Another trap is integrating straight across a point where the function is undefined, such as from to 1. Blindly applying the formula there gives , which is impossible for a positive function; in fact the integral diverges, because the function blows up at 0. Always check that the integrand is continuous on the whole interval before using the Fundamental Theorem.
How the two ideas fit together
It helps to think of the indefinite integral as the tool and the definite integral as the job. Finding an antiderivative is the hard creative step; once you have one, every definite integral of that function on every interval follows by subtraction. That is why textbooks spend so long on techniques of indefinite integration, and why a single good antiderivative can answer a whole set of area, distance and accumulation questions at once.
Frequently asked questions
Why is there no + C in a definite integral?
The constant appears in both and and cancels when you subtract. Any antiderivative gives the same definite integral.
Can a definite integral equal zero when the function is not zero?
Yes. Area above the axis can exactly cancel area below it. and are both examples.
Is an indefinite integral the same as an antiderivative?
Almost. An antiderivative is one function whose derivative is ; the indefinite integral is the whole family of them, written as one antiderivative plus .
What happens if I swap the limits of integration?
The sign flips: . This follows from .
Do I need to know indefinite integrals to compute definite ones?
For exact answers, usually yes, because the Fundamental Theorem needs an antiderivative. When none can be written down, a definite integral can still be approximated numerically with methods such as the trapezoidal or Simpson's rule, which only need function values.