Evaluating Definite Integrals (College Board AP® Calculus AB): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Evaluating definite integrals

How do I evaluate a definite integral?

  • To evaluate a definite integral like abf(x) dx means to find its numerical value

    • Note this difference between definite and indefinite integrals

      • The answer to a definite integral is a number

      • The answer to an indefinite integral is another function

  • The first fundamental theorem of calculus tells us that if f is a continuous function on the closed interval [a, b], and if F is an antiderivative of f, then

    • abf(x) dx=F(b)F(a)

  • The following notation is often used

    • [F(x)]ab=F(b)F(a)

  • This provides a simple way to evaluate a definite integral

    • As long as you can find an antiderivative for the function being integrated!

    • First solve the indefinite integral to find F(x)

      • f(x) dx=F(x)

    • Then substitute in the integration limits

      • abf(x) dx=[F(x)]ab=F(b)F(a)

    • Note that you don't need to worry about constants of integration when calculating definite integrals

      • They would just cancel out

        • [F(x)+C]ab=(F(b)+C)(F(a)+C)=F(b)F(a)

  • Remember that

    • If f(x)>0 on the interval [a, b]

      • then abf(x) dx>0

    • If f(x)<0 on the interval [a, b]

      • then abf(x) dx<0

    • If f(x) is both positive and negative on the interval [a, b]

      • the negative parts of the integral will subtract from the positive parts

        • The total value can therefore be positive, negative, or zero

Worked Example

Evaluate the definite integral π3π4cosx dx.

Answer:

cosx dx=sinx+C, so F(x)=sinx is the antiderivative we can use to evaluate the definite integral

Use abf(x) dx=[F(x)]ab=F(b)F(a)

π3π4cosx dx=[sinx]π3π4=sinπ4sin(π3)=22(32)

π3π4cosx dx=2+32

Worked Example

Consider the function f defined by f(x)=0xt2(2t) dt.

(a) Calculate f(2) and f(3) and confirm that f(3)<f(2).

(b) By considering the properties of the expression being integrated, explain why you would expect f(3)<f(2) to be true.

Answer:

(a)

Start by expanding the brackets and finding the indefinite integral

t2(2t) dt=(2t2t3) dt=23t314t4+C

That gives the antiderivative that can be used for calculating both f(2) and f(3)

f(2)=02t2(2t) dt=[23t314t4]02=(23(2)314(2)4)(23(0)314(0)4)=430=43

f(3)=03t2(2t) dt=[23t314t4]03=(23(3)314(3)4)(23(0)314(0)4)=940=94

f(2)=43 and f(3)=94, so f(3)<f(2)

(b)

Consider the sign of t2(2t) between 0 and 3, and recall that negative values of a function being integrated contribute negative quantities to a definite integral

Note that between 0 and 2, t2 and 2t are both positive; while for t>2, t2 is positive and (2t) is negative

Between 0 and 2, t2(2t)>0, so the value of the definite integral between those values must be positive

For t>2, t2(2t)<0, so the part of the definite integral from 2 to 3 will be negative, and will subtract from the value found between 0 and 2

How do I evaluate a definite integral for a piecewise-defined function?

  • For a piecewise-defined function, you can normally just calculate the definite integrals for each piece separately

    • and then combine the answers if needed

  • The function does not need to be continuous at the 'joins'

    • But only if any discontinuities are either removable or jump discontinuities

    • If there is an essential discontinuity then more advanced methods are needed to evaluate any definite integrals at the discontinuity

Worked Example

Consider the function f defined by f(x)={2x+1x11xx>1.

Evaluate the definite integral 123f(x)dx.

Answer:

This function is not continuous at x=1, because limx1f(x)=3 and limx1+f(x)=1

However, that is a jump discontinuity, so we can just integrate the function separately for each of the pieces

123f(x)dx=121f(x)dx+13f(x)dx=121(2x+1)dx+131xdx=[x2+x]121+[ln|x|]13=(12+1((12)2+(12)))+(ln(3)ln(1))=(2(14))+(ln(3)0)=94+ln3

123f(x)dx=94+ln3

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.