Question Video: Integrating Functions Numerically - Trapezoidal Rule | Nagwa Question Video: Integrating Functions Numerically - Trapezoidal Rule | Nagwa

Question Video: Integrating Functions Numerically - Trapezoidal Rule Mathematics

Calculate the trapezoidal rule estimate of ∫_0^4 π‘₯Β² + 2dπ‘₯ with 𝑛 = 2 subintervals. Is the result an overestimate or underestimate of the actual value?

03:21

Video Transcript

Calculate the trapezoidal rule estimate of the definite integral of π‘₯ squared plus two with respect to π‘₯ evaluated between zero and four with 𝑛 equals two subintervals. Is the result an overestimate or underestimate of the actual value?

Remember, the trapezoidal rule says that we can estimate the value of the definite integral of some function 𝑓 of π‘₯ between π‘Ž and 𝑏 by splitting it into 𝑛 subintervals. And, this approximation is given by Ξ”π‘₯ over two of 𝑓 of π‘₯ nought plus 𝑓 of π‘₯ 𝑛 plus two times 𝑓 of π‘₯ one plus 𝑓 of π‘₯ two all the way up to 𝑓 of π‘₯ 𝑛 minus one. Here, Ξ”π‘₯ is equal to 𝑏 minus π‘Ž over 𝑛. And π‘₯ subscript 𝑖 is equal to π‘Ž plus 𝑖 times Ξ”π‘₯. In other words, to find our values of π‘₯𝑖, we add 𝑖 lots of Ξ”π‘₯ to the lower limit for our integral π‘Ž.

Let’s break this down and just begin by working out the value of Ξ”π‘₯. 𝑛 is equal to two. And the lower limit for our integral is zero, so π‘Ž is equal to zero. And the upper limit is four, so 𝑏 must be equal to four in this example. Ξ”π‘₯ is therefore equal to four minus zero over two, which is equal to two. The values for 𝑓 of π‘₯ nought, 𝑓 of π‘₯ one, and so on require little more work. But we could make this process as simple as possible by adding a table. In this table, the π‘₯-values run from π‘Ž to 𝑏, that’s from zero to four. And, the ones in between are found by repeatedly adding Ξ”π‘₯, here that’s two, to π‘Ž which is zero. So this value here is two. And, we now see that we have our two strips with a width of two units. We’re now going to substitute zero, two, and four into our function to find the 𝑓 of π‘₯ values.

Our function is π‘₯ squared plus two. So, 𝑓 of zero is zero squared plus two, which is two. 𝑓 of two is two squared plus two, which is six. And 𝑓 of four is four squared plus two. Here, that’s 18. So, we have everything we need to perform the trapezoidal rule estimate of the definite integral of π‘₯ squared plus two with respect to π‘₯ between the values of zero and four. It’s Ξ”π‘₯ over two, which is two over two, times our first 𝑓 of π‘₯ value and our last 𝑓 of π‘₯ value, that’s two plus 18, plus two lots of essentially everything else. And here, that’s just two lots of six. That gives us one times 32, which is clearly 32. And so, the approximation for the results of the definite integral of π‘₯ squared plus two evaluated between zero and four is 32.

And all that’s left is for us to decide whether this is an under or an overestimate. And, there are two ways we can perform this. We could actually perform the integral of π‘₯ squared plus two between the limits of zero and four. Or alternatively, we can consider the shape of the curve. We know the graph looks a little something like this. We’re interested in the area between the curve and the π‘₯-axis between zero and four. That’s the two trapeziums shown. Notice how these trapeziums overlap the area we’re actually trying to find. And this means our approximation for the value of the integral of π‘₯ squared plus two between zero and four must be an overestimate of the actual value. The solution here is 32, which is an overestimate.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy