A-level Mathematics/OCR/FP2/Complex Integration

From testwiki
Jump to navigation Jump to search

Midpoint Rule

The Midpoint Rule is more accurate than the Trapezium Rule. It works by finding the mid-points of rectangles drawn to the curve. The Midpoint Rule is:

abf(x)dx=h[f(x1)+f(x2)++f(xn)]

Where: h=ban n is the number of strips.

and xi=12[(a+{i1}h)+(a+ih)]

Example

Use the Midpoint Rule to evaluate 15x2+2x dx using 4 strips.

Firstly, we work out h.

h=514=11=1

Now we begin to set up the Midpoint Rule.

15x2+2x dx1[f(x1)+f(x2)+f(x3)+f(x4)]

x1=12[(1+{11}1)+(1+1×1)]=12[(1)+(2)]=1.5

x2=12[(1+{21}1)+(1+2×1)]=12[(2)+(3)]=2.5

x3=12[(1+{31}1)+(1+3×1)]=12[(3)+(4)]=3.5

x4=12[(1+{41}1)+(1+4×1)]=12[(4)+(5)]=4.5

15x2+2x dx1[f(1.5)+f(2.5)+f(3.5)+f(4.5)]

Now we need to solve f(n)

15x2+2x dx1[5.25+11.3+19.3+29.3]

15x2+2x dx65

As you can see the resultant from the midpoint rule is closer to the true value 6513 than the trapezium rule, but worse than Simpson's Rule.

Template:BookCat