Trapezoid rule - approximating definite integrals, Mathematics

Assignment Help:

Trapezoid Rule - Approximating Definite Integrals

For this rule we will do similar set up as for the Midpoint Rule. We will break up the interval [a, b] into n subintervals of width,

Δx = b - a / n

After that on each subinterval we will estimated the function with a straight line that is equivalent to the function values at either endpoint of the interval.  Now here is a sketch of this case for n = 6.

2254_Trapezoid Rule - Approximating Definite Integrals.png

Every object in this is a trapezoid (therefore the rule's name...) and like we can see some of them do a very good job of approximating the actual area within the curve and others don't do such a good job.

The area of the trapezoid in the interval [xi-1, xi] is given by,  

Ai = Δx/2 (f (xi-1) + f (xi))

So, if we employ n subintervals the integral is just about,

ba f(x) dx ≈ Δx/2 (f (x0) + f (x1)) + Δx/2 (f(x1) + f (x2)) +.....+ Δx/2 (f (xn-1) + f (xn))

On doing a little simplification we reach at the general Trapezoid Rule.

 ∫ba f (x) dx ≈ Δx/2 [f (x0) + 2f (x1) + 2f (x2) + .... + 2f (xn-1) + f(xn)]

Note: all the function evaluations along with the exception of the first and last, are multiplied by 2.


Related Discussions:- Trapezoid rule - approximating definite integrals

Geometry, what is the product of the solutions to the equation: x2+4x=-4

what is the product of the solutions to the equation: x2+4x=-4

Properties of dot product - proof, Properties of Dot Product - proof P...

Properties of Dot Product - proof Proof of: If v → • v → = 0 then v → = 0 → This is a pretty simple proof.  Let us start with v → = (v1 , v2 ,.... , vn) a

Determine the average bit rate - huffman codebook, 1. Consider a source wi...

1. Consider a source with 4 symbols {a,b,c,d}. The probability of the 4 symbols are P(a)=0.4, p(b) = 0.1, p(c)=0.2, p(d)= 0.3. a. Design a Huffman codebook for these symbols.

Characteristics and limitations of moving average, Characteristics and Limi...

Characteristics and Limitations of moving average Characteristics of moving average 1) The more the number of periods in the moving average, the greater the smoothing

How many types of integer operatiions explain, How many types of Integer Op...

How many types of Integer Operatiions explain? Adding Integers The rules for adding integers are: 1. A positive number plus a positive number equals the sum of the two pos

#calculus, Ask question #divergent gradient u vector#

Ask question #divergent gradient u vector#

One-to-one function, One-to-one function: A function is called one-to-one ...

One-to-one function: A function is called one-to-one if not any two values of x produce the same y.  Mathematically specking, this is the same as saying,  f ( x 1 ) ≠ f ( x 2

Basic operations on fractions, A simple example of fraction would be ...

A simple example of fraction would be a rational number of the form p/q, where q ≠ 0. In fractions also we come across different types of them. The two fractions

Vector, uses of vector in daly life

uses of vector in daly life

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd