Joe M. answered 05/10/20
Mechanical Engineering Student for Math and Science Tutoring
Given
n = 4
y1 = x
y2 = x3
Step One: Point(s) of Intersection
For two equations to intersect the must be equal, therefore:
x = x3
1 = x2
x = +/- 1 (For the problem we will use an upper bound b of 1)
Step Two: Determine the Top and Bottom Equations
Between (0, 1)
y1 = x > y2 = x3
Therefore the top equation is y1 = x
Step Three: Determine ΔX
Δx = (b - a) / n = (1 - 0) / 4 = 1/4
Which gives the points: x0 = 0, x1 = 1/4, x2 = 2/4 = 1/2, x3 = 3/4, x4 = 1
Step Four: Evaluate the Area of the Top and Bottom Equations
A = 1/n * sum{f((xi + xi-1)/2)}
A = 1/4 * (f( (x1 + x0)/2 ) + f( (x2 + x1)/2 ) + f( (x3 + x2)/2 ) + f( (x4 + x3)/2 ))
Top Equation: f(x) = x
A = 1/4 * [ 1/2(1/4 + 0) + 1/2(1/2 + 1/4) + 1/2(3/4 + 1/2) + 1/2(1 + 3/4) ]
Factor out the 1/2
A = 1/8 * [ 1/4 + 0 + 1/2 + 1/4 + 3/4 + 1/2 + 1 + 3/4 ]
A = 1/2 = 0.5
Bottom Equation: f(x) = x3
A = 1/4 * [ (1/2(1/4 + 0))3 + (1/2(1/2 + 1/4))3 + (1/2(3/4 + 1/2))3 + (1/2(1 + 3/4))3 ]
A = 1/4 * [ (1/8)3 + (3/8)3 + (5/8)3 + (7/8)3 ]
A = 31/128 ≈ 0.2422
Step Five: Area Between the Curves
A = Top - Bottom
A = 1/2 - 31/128 = 33/128 ≈ 0.2578