Video Transcript
Given that 𝑓 of 𝑥 is equal to
four cos 𝑥 and that 𝑥 is greater than or equal to zero and less than or equal to
𝜋 by four, evaluate, to the nearest six decimal places, the Riemann sum for 𝑓 with
six subintervals, taking the sample points to be left endpoints.
Remember, we can approximate the
definite integral of a function between the limits of, say, 𝑎 and 𝑏 by splitting
the area between the curve and the 𝑥-axis into 𝑛 subintervals. Where the width of each rectangle,
𝛥𝑥, is equal to the difference between the upper and lower limits divided by 𝑛,
the number of subintervals. In this question, we’re looking to
split the area into six subintervals, so we let 𝑛 be equal to six. We let 𝑎 be equal to zero and 𝑏
be equal to 𝜋 by four. So 𝛥𝑥 here and the width of each
of our rectangles is 𝜋 by four minus zero over six, which is 𝜋 over 24. Let’s now sketch out the curve of
𝑦 equals four cos 𝑥 between 𝑥 equals zero and 𝜋 by four radians and spilt it
into these six subintervals.
This question requires us to use
left endpoints. So the height of each of our
rectangles will be equal to the value of the function at the left of each
subinterval. The sketch is really useful here
because we see that each rectangle sits above the 𝑥-axis. So we just need to find the
positive area of each. Let’s consider our first
rectangle. Its left endpoint is at 𝑥 equals
zero. So we find the height of the
rectangle by evaluating 𝑓 of zero. 𝑓 of zero is four times cos of
zero, which is four. The area of this first rectangle
then is therefore 𝜋 by 24, since that’s the width of each rectangle, times
four. That’s 𝜋 by six square units.
We now need to find the next
endpoint. We achieve this by adding 𝜋 by 24
to zero; that’s 𝜋 by 24. And we can therefore find the
height of this rectangle by evaluating 𝑓 of 𝜋 by 24. That’s four cos of 𝜋 by 24, which
is approximately 3.965779 and so on. The area of our second rectangle
then is width times height or base times height. That’s 𝜋 by 24 times 3.965 and so
on, which is roughly 0.51911931 and so on. Now, of course, this question is
asking us to evaluate till six decimal places, which is why I’ve left the numbers as
I have. We find the next endpoint by adding
another 𝜋 by 24 to 𝜋 by 24 and we get 𝜋 by 12. The height of this third rectangle
then is 𝑓 of 𝜋 by 12 which is four cos of 𝜋 by 12, which gives us root six plus
root two. And then we see that the area of
our third rectangle is 𝜋 by 24 multiplied by this value, which gives us an area of
roughly 0.505 and so on square units.
We repeat this process by
repeatedly adding 𝜋 by 24 to each of our endpoints. And when we do, we find that the
left endpoint of each of our rectangles is 𝜋 by eight, 𝜋 by six, and 𝑥 equals
five 𝜋 by 24. Their heights are respectively
given by 𝑓 of 𝜋 by eight, 𝑓 of 𝜋 by six, and 𝑓 of five 𝜋 by 24. And when we multiply each of these
values by the width, 𝜋 by 24, we find that the area of our fourth rectangle is
roughly 0.4837. Our fifth rectangle is roughly
0.4534. And our sixth is approximately
0.4153. Remember, the Riemann sum is the
total area of these six rectangles. It’s 2.901 and so on. That’s 2.901067 correct to six
decimal places.