### Video Transcript

Use the trapezoidal rule to
estimate the definite integral between zero and two of π₯ cubed with respect to π₯
using four subintervals.

Remember, the trapezoidal rule says
that we can find an approximation to the definite integral between the limits of π
and π of π of π₯ by using the calculation Ξπ₯ over two times π of π₯ nought plus
π of π₯ π plus two lots of π of π₯ one plus π of π₯ two all the way through to
π of π₯ π minus one. Where Ξπ₯ is equal to π minus π
over π. And π₯ subscript π is equal to π
plus π times Ξπ₯.

Letβs break this down and just
begin by working out the value of Ξπ₯. Contextually, Ξπ₯ is the width of
each of our subintervals. In this case, weβre working with
four subintervals. So we could say that π is equal to
four. π is the lower limit of our
integral. So π is equal to zero, where π is
the upper limit. And thatβs equal to two. Ξπ₯ is therefore two minus zero
over four, which is one-half or 0.5. The values for π of π₯ nought and
π of π₯ one and so on require a little more work. But we can make this as simple as
possible by adding a table.

Itβs useful to remember that there
will always be π plus one columns required in the table. So here, thatβs four plus one,
which is five. We have five columns in our
table. The π₯-values run from π to
π. Thatβs zero to two. And the ones in between are found
by repeatedly adding Ξπ₯, thatβs 0.5, to π, which is zero. Thatβs 0.5, one, and 1.5. And that gives us our four strips
of width 0.5 units. Weβre then simply going to
substitute each π₯-value into our function. We begin with π of zero. Thatβs zero cubed, which is
zero. Next, we have π of 0.5. Thatβs 0.5 cubed, which is
0.125. π of one is one cubed, which is
still one. And we obtain the final two values
in a similar manner. π of 1.5 is 3.375. And π of two is eight. And thatβs the tricky bit done
with. All thatβs left is to substitute
what we know into our formula for the trapezoidal rule.

Itβs Ξπ₯ over two, which is 0.5
over two, times the first π of π₯ value plus the last π of π₯ value. Thatβs zero plus eight plus two
lots of everything else. Thatβs two times 0.125 plus one
plus 3.375. And that gives us a value of 17
over four. So using four subintervals, the
trapezoidal rule gives us the estimate to the definite integral of π₯ cubed between
zero and two to be 17 over four. Now where possible, this can be
checked in a number of ways. You could evaluate a Riemann or
midpoint sum or here simply perform the integration.

When we integrate π₯ cubed, we get
π₯ to the fourth power divided by four. Evaluating this between the limits
of zero and two gives us two to the fourth power divided by four minus zero to the
fourth power divided by four, which is 16 over four. And thatβs really close to the
answer we got, suggesting weβve probably performed our calculations correctly.