David Gwyn J. answered 12/05/20
Highly Experienced Tutor (Oxbridge graduate and former tech CEO)
y = 2x2 is a quadratic equation and the graph is a parabola.
x = 0, y = 0
x = 1, y = 2
x = 2, y = 8
So the vertex of the parabola is at the origin (0,0) and it is symmetrical about the y axis. The parabola passes through (2,8) and (-2,8).
We need to find the area between the graph and the x axis, between x = 0 and x = 2.
This area is the definite integral, written as:
2
∫ (2x2) dx
0
Between (0,0) and (2,8) we can approximate the curve with a triangle with base 2 and height 8. The area is 1/2 hb = 8 units2. So this is my quick (bit over) guesstimate.
To calculate the area accurately, we would need to integrate the function.
The indefinite integral ∫ (2x2) dx = 2/3x3 + C
and the definite integral is [2/3x3 + C]2 - [2/3x3 + C]0
The Midpoint Rule gives us a way to approximate this (using areas of rectangles).
The interval required is 0 to 2, or 2 units. With n = 4, we have 4 rectangles with a base of 1/2.
The bases of the rectangles are 0 to 1/2, 1/2 to 1, 1 to 1 1/2, 1 1/2 to 2.
Next, the midpoints are 1/4. 3/4, 5/4 and 7/4
And then we need the y values (= heights)
2(1/4)2 = 1/8
2(3/4)2 = 9/8
2(5/4)2 = 25/8
2(7/4)2 = 49/8
And now we can calculate the area of each rectangle hb:
1/8.1/2 = 1/16
9/8.1/2 = 9/16
25/8.1/2 = 25/16
49/8.1/2 = 49/16
Total area = 84/16 = 42/8 = 21/4 = 5.25 units2
Evaluating the definite integral (given above) gives 2/3(2)3 - 2/3(0)3 = 16/3 - 0 = 5 1/3, so in this case the Midpoint Rule has given a very close approximation.
You can use Desmos Graphing or similar to see what it looks like.
https://www.desmos.com/calculator/1oq6ndtr7s