Skip to content

Definite integrals ​

Newton-Leibniz formula ​

Let [a,b]∈R be a closed bounded interval and f∈R[a,b]. Suppose that there exists a function F:[a,b]→R for which

  1. F is continuous on [a,b],
  2. F is differentiable on (a,b),
  3. F′(x)=f(x) for all x∈(a,b).

Then

∫abf(x)dx=F(b)−F(a)=:[F(x)]ab

Improper integrals ​

Definition ​

Let −∞≤a<b≤∞ and I be the interval whose left-hand endpoint is a and right-hand endpoint is b. Let f:I→R be a function and suppose that f is integrable over every closed and bounded suninterval of I. We say that the improper integral

∫abf(x)dx

is convergent if for some c∈(a,b) the following limits exists and finite:

limt→a+∫tcf(x)dxlims→b−∫csf(x)dx

Theorem ​

Using previous notations let f:I→R be a function and suppose that f is integrable over every closed and bounded suninterval of I. Suppose that F:I→R is continuous on I and F′(x)=f(x) (x∈intI). Then

  1. limt→a+∫tcf(x)dx is finite ⟺ limt→a+F(t) is finite,
  2. lims→b−∫csf(x)dx is finite ⟺ lims→b−F(s) is finite.
  3. In this case the improper integral can be computed as follows:
∫abf(x)dx=lims→b−F(s)−limt→a+F(t)

Applications of definite integrals ​

Area of a plane figure ​

For two bounded and integrable functions f,g:[a,b]→R, where g(x)≤f(x) for all x∈[a,b], the area of the plane figure enclosed by the graphs of f and g and the lines x=a and x=b,

B={(x,y)∈R2∣a≤x≤b,g(x)≤y≤f(x)},

is defined by the following definite integral:

Area(B)=∫ab(f(x)−g(x))dx

Length of a curve ​

Let a,b∈R with a<b and f:[a,b]→R. The graph of f is a curve in the plane,

Γf={(x,f(x))∈R2∣a≤x≤b},

and the length of the curve Γf is defined by the following definite integral:

Length(Γf)=∫ab1+(f′(x))2dx

Volume of a solid of revolution ​

Consider a non-negative function f on the bounded and closed interval [a,b]. Then the set

Af={(x,y,z)∈R3∣a≤x≤b,y2+z2≤f(x)2}

is a solid of revolution around the x-axis. The volume of the solid Af is defined by the following definite integral:

Volume(Af)=π∫abf2(x)dx

Example 1 (basic) ​

Find the following definite integral:

∫0π/3sin⁡8xdx

Solution ​

∫sin⁡8xdx=−18cos⁡8x+C

Then

∫0π/3sin⁡8xdx=−18[cos⁡8x]0π/3==−18(cos⁡8π3−cos⁡0)==−18(cos⁡4π3−1)==−18(−12−1)=316

Example 2 (basic) ​

Find the following definite integral:

∫0113x−5dx

Solution ​

∫13x−5dx=13ln⁡|3x−5|+C

Since 3x−5<0 for x∈(0,1), we have

∫0113x−5dx=13[ln⁡(5−3x)]01==13(ln⁡2−ln⁡5)=13ln⁡25

Example 3 (basic) ​

Find the following definite integral:

∫1eln2⁡xxdx

Solution ​

∫ln2⁡xxdx=13ln3⁡x+C

Then

∫1eln2⁡xxdx=13[ln3⁡x]1e==13(ln3⁡e−ln3⁡1)==13ln3⁡e=13

Example 4 (basic) ​

Find the following definite integral:

∫01xe−x2dx

Solution ​

Using reverse differentiation of composite functions

(−x2)′=−2x∫xe−x2dx=−12∫(−2x)e−x2dx==−12e−x2+C

Then

∫01xe−x2dx=−12[e−x2]01==−12(e−1−e0)==−12(1e−1)=e−12e

Example 5 (basic) ​

Find the following definite integral:

∫0πxcos⁡xdx.

Solution ​

Using integration by parts

Let f(x)=x⟹f′(x)=1.

Let g′(x)=cos⁡x⟹g(x)=sin⁡x.

Then

∫xcos⁡xdx=xsin⁡x−∫sin⁡xdx==xsin⁡x+cos⁡x+C

Then

∫0πxcos⁡xdx=[xsin⁡x+cos⁡x]0π==(πsin⁡π+cos⁡π)−(0sin⁡0+cos⁡0)==−1−1=−2

Example 6 (basic) ​

Find the following definite integral:

∫ee2xln⁡xdx

Solution ​

Using integration by parts

Let f(x)=ln⁡x⟹f′(x)=1x.

Let g′(x)=x⟹g(x)=12x2.

Then

∫xln⁡xdx=12x2ln⁡x−12∫xdx==12x2ln⁡x−14x2+C

Then

∫ee2xln⁡xdx=[12x2ln⁡x−14x2]ee2==(12e4ln⁡e2−14e4)−(12e2ln⁡e−14e2)==(12e4⋅2−14e4)−(12e2−14e2)==34e4−14e2

Example 7 (basic) ​

Find the following definite integral:

∫ln⁡4ln⁡8exe2x−4dx

Solution ​

Using substitution rule

Let t=ex⟹x=ln⁡t=:g(t).

ln⁡4≤x≤ln⁡8⟹4=eln⁡4≤t≤eln⁡8=8

The function g is differentiable and

g′(t)=1t>0(4≤t≤8)

So g is strictly increasing, therefore invertible.

g−1(x)=ex=t(ln⁡4≤x≤ln⁡8)

Then

∫exe2x−4dx=∫tt2−4⋅1tdt==∫1t2−4dt=∫1(t−2)(t+2)dt

Decompose into a sum of elementary fractions:

1(t−2)(t+2)=At−2+Bt+2==A(t+2)+B(t−2)(t−2)(t+2)x=2⟹1=4A⟹A=14x=−2⟹1=−4B⟹B=−14

Then

∫1(t−2)(t+2)dt=14∫1t−2dt−14∫1t+2dt==14ln⁡|t−2|−14ln⁡|t+2|+C==14ln⁡(t−2)−14ln⁡(t+2)+C==14ln⁡(t−2t+2)+C

Substitute back t=ex:

∫exe2x−4dx=14ln⁡(ex−2ex+2)+C

Then

∫ln⁡4ln⁡8exe2x−4dx=14[ln⁡(ex−2ex+2)]ln⁡4ln⁡8==14(ln⁡(eln⁡8−2eln⁡8+2)−ln⁡(eln⁡4−2eln⁡4+2))==14(ln⁡(8−28+2)−ln⁡(4−24+2))==14(ln⁡610−ln⁡26)==14ln⁡6⋅610⋅2=14ln⁡3620=14ln⁡95

Example 8 (basic) ​

Find the following definite integral:

∫1/211−x2x2dx

Solution ​

Using substitution rule

Let t=arcsin⁡x⟹x=sin⁡t=:g(t).

12≤x≤1⟹π6=arcsin⁡12≤t≤arcsin⁡1=π2

The function g is differentiable and

g′(t)=cos⁡t>0(π6<t<π2)

So g is strictly increasing, therefore invertible.

g−1(x)=sin−1⁡x=t(12≤x≤1)

Then

∫1−x2x2dx=∫cos⁡tsin2⁡t⋅cos⁡tdt=∫cos2⁡tsin2⁡tdt==∫1−sin2⁡tsin2⁡tdt=∫(1sin2⁡t−1)dt==∫csc2⁡tdt−∫dt=−cot⁡t−t+C

Then

∫1/211−x2x2dx=[−cot⁡t−t]π/6π/2==(−cot⁡π2−π2)−(−cot⁡π6−π6)==(0−π2)−(−3−π6)==−π2+3+π6=3−π3

Example 9 (improper) ​

Find the following improper integral:

∫121x−1dx

Solution ​

Integrand is not bounded on a right neighborhood of 1, but it is continuous on (1,2], so it is integrable on [t,2] ∀t∈(1,2).

Then

∫121x−1dx=limt→1+∫t21x−1dx==limt→1+[2x−1]t2==limt→1+(22−1−2t−1)==21−20=2

Example 10 (improper) ​

Find the following improper integral:

∫0∞xe−2xdx

Solution ​

Integrand is continuous on [0,∞), so it is integrable on [0,t] ∀t∈(0,∞).

But to solve the integral we need to use integration by parts:

Let f(x)=x⟹f′(x)=1.

Let g′(x)=e−2x⟹g(x)=−12e−2x.

Then

∫xe−2xdx=−12xe−2x−∫−12e−2xdx==−12xe−2x+14e−2x+C

Then

∫0∞xe−2xdx=limt→∞∫0txe−2xdx==limt→∞[−12xe−2x+14e−2x]0t==limt→∞(−t2e2t+14e2t−0+14)==(−0+0−0+14)=14

Example 11 (improper) ​

Find the following improper integral:

∫021x(2−x)dx

Solution ​

Since the integrand is not bounded on a right neighborhood of 0 and on a left neighborhood of 2, but it is continuous on (0,2), so we need to split the integral into two parts.

Let's select a convenient point within the interval (0,2), for example 1.

We can see that it is integrable on [t,1] for all 0<t<1 and it is also integrable on [1,t] for all 1<t<2.

Then

∫021x(2−x)dx=∫011x(2−x)dx+∫121x(2−x)dx

Let's solve the first integral.

∫011x(2−x)dx=limt→0+∫t11x(2−x)dx==limt→0+∫t111−(x−1)2dx=(a=1,b=−1)=limt→0+[arcsin⁡(t−1)]t1==limt→0+[arcsin⁡(1−1)−arcsin⁡(t−1)]t1==limt→0+[0−arcsin⁡(t−1)]t1==−arcsin⁡(−1)=π2

Let's solve the second integral.

∫121x(2−x)dx=limt→2−∫1t1x(2−x)dx==limt→2−∫1t11−(x−1)2dx=(a=1,b=−1)=limt→2−[arcsin⁡(x−1)]1t==limt→2−[arcsin⁡(t−1)−arcsin⁡(1−1)]==limt→2−[arcsin⁡(t−1)−0]==arcsin⁡(2−1)=π2

Then

∫021x(2−x)dx=∫011x(2−x)dx+∫121x(2−x)dx==π2+π2=π

Example 12 (improper) ​

Find the following improper integral:

∫01ln⁡xdx

Solution ​

Integrand is not bounded in the neighborhood of 0, but it is continuous on (0,1], so it is integrable on [t,1] ∀t∈(0,1).

Using integration by parts

Let f(x)=ln⁡x⟹f′(x)=1x.

Let g′(x)=1⟹g(x)=x.

Then

∫ln⁡xdx=xln⁡x−∫x⋅1xdx=xln⁡x−∫dx=xln⁡x−x+C

Then

∫01ln⁡xdx=limt→0+∫t1ln⁡xdx==limt→0+[xln⁡x−x]t1==limt→0+(1ln⁡1−1−tln⁡t+t)==0−1−0+0=−1

Since

limt→0+tln⁡t=limt→0+ln⁡t1t=LHlimt→0+1t−1t2=limt→0+−t=0

Example 13 (area) ​

Determine the area bounded by the curves y=x2 and y=1−x2.

Solution ​

First we need to find the points of intersection of the two curves:

x2=1−x2⟹2x2=1⟹x2=12⟹x=±22

Since the curves are symmetric with respect to the y-axis, we can consider only the positive part of the x-axis.

Let f(x)=1−x2 and g(x)=x2.

For all x∈[0,22] we have f(x)≥g(x).

Then the area is given by the following definite integral:

Area=2∫022(1−x2−x2)dx=2∫022(1−2x2)dx==2[x−23x3]022=2(22−4224)==2(22−26)=2(32−26)=223

Example 14 (length of a curve) ​

Compute the arc length of the graph of the function f(x)=4−x2 bounded by the points (0,2) and (2,0).

Solution ​

From the equation of the curve we can tell that it is symmetric with respect to the y-axis, so we can consider only the positive part of the x-axis.

The arc length of the curve is given by the following definite integral:

Length=2∫021+(f′(x))2dx

First we need to find the derivative of the function:

f′(x)=−x4−x2(f′(x))2=x24−x2

Then

Length=2∫021+x24−x2dx=2∫024−x2+x24−x2dx==2∫0244−x2dx=2∫0224−x2dx==∫0211−(x2)2dx

Integrand is not bounded on the left neighborhood of 2, but it is continuous on (0,2), so it is integrable on [0,t] ∀t∈(0,2).

∫0211−(x2)2dx==limt→2−∫0t11−(x2)2dx==limt→2−2[arcsin⁡(x2)]0t==limt→2−2(arcsin⁡(t2)−arcsin⁡0)==2(arcsin⁡1−arcsin⁡0)=2(π2−0)=π

Example 15 (volume of a solid of revolution) ​

Revolve the curve

y=sin⁡x(0≤x≤π)

around the x-axis and compute the volume of the solid.

Solution ​

The volume of the solid is given by the following definite integral:

Volume=π∫0π(sin⁡x)2dx=π∫0πsin2⁡xdx

Using the trigonometric identity

sin2⁡x=1−cos⁡2x2

we have

Volume=π2∫0π(1−cos⁡2x)dx=π2[x−12sin⁡2x]0π==π2(π−12sin⁡2π−0+12sin⁡0)=π22