Definite Integral Calculator
This Definite Integral Calculator evaluates an integral between two limits, and shows the working line by line. The antiderivative is found first with the matching integration rule, and the Fundamental Theorem then turns it into a single number by subtracting its value at the lower limit from its value at the upper one. No constant of integration is needed, because it cancels in that subtraction. Following the same pattern every time keeps the two limits the right way round.
Step-by-step method
- Set up the problem.
- Write the Fundamental Theorem of Calculus.
- Find the antiderivative F(x).
- Work out F(b) and F(a), then subtract, as Step 4a, Step 4b and Step 4c.
Formula: Fundamental Theorem of Calculus
Find an antiderivative F(x), then take F at the top limit minus F at the bottom limit.
Useful Tips to Remember
A definite integral is found by integrating and then subtracting, \(F(b) - F(a)\), upper limit minus lower limit. No \(+C\) is needed, because it cancels out. The result is the signed area, so area below the x-axis counts as negative. For the total area, split the integral where the function crosses the x-axis.
Required knowledge
- How to integrate the simpler integral that is left, covered in the Indefinite Integral Calculator.
- How to put a number in place of x and work out the expression, covered in the Evaluating Algebraic Expressions Calculator.
Where Are Definite Integrals Used?
A definite integral adds up a changing quantity between two limits, which is the area under its graph. It turns a rate into a total, so integrating speed gives distance, integrating flow rate gives volume, and integrating power gives energy. Engineers use definite integrals to find the area of irregular shapes, the volume of tanks and the centre of mass of objects. Economists use them for total revenue and consumer surplus, and doctors use them to measure the total exposure to a medicine over time.
- Finding distance travelled from a speed-time graph
- Calculating volumes of tanks, bottles and solids of revolution
- Working out energy used from power over time
- Measuring the area between two curves
- Finding total drug exposure in medicine
Definite Integral Practice Problems
Example 1 evaluates \(\int_0^2 x^3\,dx\), and Example 2 evaluates \(\int_1^5 (4x + 3)\,dx\). Try integrating and substituting the limits yourself before opening each example. For two more free worked examples, check out the Definite Integral Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the Fundamental Theorem of Calculus.
- Find the antiderivative F(x).
- Work out F(b) and F(a), then subtract, as Step 4a, Step 4b and Step 4c.
Formula
Formula: Fundamental Theorem of Calculus
Find an antiderivative F(x), then take F at the top limit minus F at the bottom limit.
Step 1
Step 1 - Set up the problem.
In this problem:
Step 2
Step 2 - Write the Fundamental Theorem of Calculus.
In this problem:
Step 3
Step 3 - Find the antiderivative F(x).
In this problem:
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{3}\), so \(n = 3\).
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Substitute the exponent into the formula.
In this problem: Here \(n = 3\). Put it into the formula, but do not simplify yet.
Step 4
Step 4 - Solve and simplify, adding C.
In this problem: The new exponent is \(3 + 1 = 4\).
Final Answer
Step 4
Step 4 - Put the limits into F(x) and subtract.
In this problem:
Step 4a
Step 4a - Work out F(b).
In this problem:
Problem
Approach
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(\frac{x^{4}}{4}\) and the values given are \(x = 2\). Writing each term as a number times a variable part gives \(\frac{1}{4}x^{4}\).
Step 2
Step 2 - Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
In this problem: Every letter is swapped for its value, so \(x\) becomes \(\left(2\right)\), which turns \(\frac{1}{4}x^{4}\) into \(\frac{1}{4}\left(2\right)^{4}\).
Step 3
Step 3 - Work out each term on its own, dealing with any power before multiplying.
In this problem: The power is worked out first: \(\left(2\right)^{4} = 16\). Multiplying what is left gives \(\frac{1}{4} \cdot 16 = 4\). There is only one term, so \(4\) is the answer.
Final Answer
Step 4b
Step 4b - Work out F(a).
In this problem:
Problem
Approach
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(\frac{x^{4}}{4}\) and the values given are \(x = 0\). Writing each term as a number times a variable part gives \(\frac{1}{4}x^{4}\).
Step 2
Step 2 - Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
In this problem: Every letter is swapped for its value, so \(x\) becomes \(\left(0\right)\), which turns \(\frac{1}{4}x^{4}\) into \(\frac{1}{4}\left(0\right)^{4}\).
Step 3
Step 3 - Work out each term on its own, dealing with any power before multiplying.
In this problem: The power is worked out first: \(\left(0\right)^{4} = 0\). Multiplying what is left gives \(\frac{1}{4} \cdot 0 = 0\). There is only one term, so \(0\) is the answer.
Final Answer
Step 4c
Step 4c - Subtract F(a) from F(b).
In this problem:
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the Fundamental Theorem of Calculus.
- Find the antiderivative F(x).
- Work out F(b) and F(a), then subtract, as Step 4a, Step 4b and Step 4c.
Formula
Formula: Fundamental Theorem of Calculus
Find an antiderivative F(x), then take F at the top limit minus F at the bottom limit.
Step 1
Step 1 - Set up the problem.
In this problem:
Step 2
Step 2 - Write the Fundamental Theorem of Calculus.
In this problem:
Step 3
Step 3 - Find the antiderivative F(x).
In this problem:
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the sum rule for integration.
- Split the integral across the addition signs.
- Integrate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the results and add the constant of integration C.
Step 1
Step 1 - Set up the terms in the sum.
In this problem: We are integrating a sum. The separate terms are \(4 x\), \(3\).
Step 2
Step 2 - Write the sum rule for integration.
In this problem: The integral of a sum is the sum of the integrals.
Step 3
Step 3 - Split the integral across the addition signs.
In this problem: Apply the integral to each separated term, keeping each sign.
Step 4a
Step 4a - Integrate the separated term \(4 x\).
In this problem: The separated term is \(4 x\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x\), so \(n = 1\). The number \(4\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(4\) is a constant, so it moves outside the integral and the power rule only works on \(x\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = 4\) and the function is \(x\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(4\) in front of the integral sign and leave \(x\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 1\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(1 + 1 = 2\).
Final Answer
Step 4b
Step 4b - Integrate the separated term \(3\).
In this problem: The separated term is \(3\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule for integration.
- Multiply the constant by x and add the constant of integration C.
Step 1
Step 1 - Identify the constant k.
In this problem: The constant is \(k = 3\).
Step 2
Step 2 - Write the constant rule for integration.
In this problem: The integral of a constant is the constant times x.
Step 3
Step 3 - Multiply the constant by x and add the constant of integration C.
In this problem: The antiderivative is \(3 x\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each term back together, keeping the signs, and add one constant C.
Final Answer
Step 4
Step 4 - Put the limits into F(x) and subtract.
In this problem:
Step 4a
Step 4a - Work out F(b).
In this problem:
Problem
Approach
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(2x^{2} + 3x\) and the values given are \(x = 5\).
Step 2
Step 2 - Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
In this problem: Every letter is swapped for its value, so \(x\) becomes \(\left(5\right)\), which turns \(2x^{2} + 3x\) into \(2\left(5\right)^{2} + 3\left(5\right)\).
Step 3
Step 3 - Work out each term on its own, dealing with any power before multiplying.
In this problem: The \(2\) terms are worked out one at a time.
Step 3a
Step 3a - Work out the first term.
In this problem: The power is worked out first: \(\left(5\right)^{2} = 25\). Multiplying what is left gives \(2 \cdot 25 = 50\).
Step 3b
Step 3b - Work out the second term.
In this problem: Multiplying the term out gives \(3 \cdot 5 = 15\).
Step 4
Step 4 - Add and subtract the results from left to right.
In this problem: Working left to right through \(50 + 15\) gives \(65\).
Final Answer
Step 4b
Step 4b - Work out F(a).
In this problem:
Problem
Approach
Step-by-step method
- Set up the problem.
- Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
- Work out each term on its own, dealing with any power before multiplying.
- Add and subtract the results from left to right.
Step 1
Step 1 - Set up the problem.
In this problem: The expression is \(2x^{2} + 3x\) and the values given are \(x = 1\).
Step 2
Step 2 - Replace every variable with the value given for it, wrapping a value in brackets so a negative sign is not lost.
In this problem: Every letter is swapped for its value, so \(x\) becomes \(\left(1\right)\), which turns \(2x^{2} + 3x\) into \(2\left(1\right)^{2} + 3\left(1\right)\).
Step 3
Step 3 - Work out each term on its own, dealing with any power before multiplying.
In this problem: The \(2\) terms are worked out one at a time.
Step 3a
Step 3a - Work out the first term.
In this problem: The power is worked out first: \(\left(1\right)^{2} = 1\). Multiplying what is left gives \(2 \cdot 1 = 2\).
Step 3b
Step 3b - Work out the second term.
In this problem: Multiplying the term out gives \(3 \cdot 1 = 3\).
Step 4
Step 4 - Add and subtract the results from left to right.
In this problem: Working left to right through \(2 + 3\) gives \(5\).
Final Answer
Step 4c
Step 4c - Subtract F(a) from F(b).
In this problem:
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Definite Integral Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Definite Integral Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.