Assignment 6

course Mth174

???????J??????assignment #006?????S??B+???Physics II

03-09-2009

......!!!!!!!!...................................

11:32:13

Query problem 7.5.13 (3d edition #10) graph concave DOWN and decreasing (note changes indicated by CAPS)

......!!!!!!!!...................................

RESPONSE -->

Right < Trap < exact < Mid < Left

.................................................

......!!!!!!!!...................................

11:32:37

list the approximations and their rules in order, from least to greatest

......!!!!!!!!...................................

RESPONSE -->

Right < Trap < exact < Mid < Left

.................................................

......!!!!!!!!...................................

11:34:11

between which approximations does the actual integral lie?

......!!!!!!!!...................................

RESPONSE -->

Between Trap < Mid

.................................................

......!!!!!!!!...................................

11:50:25

Explain your reasoning

......!!!!!!!!...................................

RESPONSE -->

This is where the exact value is.

.................................................

......!!!!!!!!...................................

11:51:52

if you have not done so explain why when a function is concave down the trapezoidal rule UNDERestimates the integral

......!!!!!!!!...................................

RESPONSE -->

When a function is concave down the trapezoidal rule underestimates the integral because the curve of the function comes slightly above the shaded region (rectangle) that is being measured.

.................................................

......!!!!!!!!...................................

11:52:39

if you have not done so explain why when a function is concave down the midpoint rule OVERrestimates the integral

......!!!!!!!!...................................

RESPONSE -->

When a function is concave down the midpoint rule overestimates the integral because the curve of the function comes slightly below the shaded region, allowing part of the rectangle to not be measured.

.................................................

If the graph is decreasing then we know that the left end of an interval gives us a higher estimate than the right.

The trapezoidal estimate is the mean of the left and right estimates, so it will lie between the two. The trapezoidal estimate also corresponds to a straight-line estimate between the graph points at the left and right endpoint of each interval.

Since the graph is concave down, any straight line between two graph points will lie below the graph. In particular the value of the function at the midpoint will lie above the straight line. The trapezoidal estimate corresponds to the straight-line, estimate so in this case the midpoint estimate exceeds the trapezoidal estimate.

The straight-line trapezoidal area is also clearly less than the area beneath the curve, so the trapezoidal estimate is lower than the actual value of the integral.

The midpoint rule uses the function value at the midpoint for the altitude of the rectangle. Thus we imagine a rectangle whose top is a horizontal line segment through the midpoint value of the graph. You should sketch this.

If the function is concave downward, the part of the actual graph that lies between the endpoints and above the midpoint-value rectangle (this segment lies to the left of the midpoint) represents graph area under the actual graph which is left out of the midpoint approximation. The area under the horizontal segment at the midpoint which lies above the graph (this are lies to the right of the midpoint) represents area included in the midpoint approximation but which is not part of the area under the curve.

Since the function is concave down, the average altitude of the ‘left-out’ area to the right is greater than that of the ‘wrongly-excluded’ area to the left. Since the widths of the two regions are equal, the wrongly excluded area must be less than the wrongly-included area and the midpoint estimate must therefore be high. We conclude that the actual area is less than the midpoint area.

Since the trapezoidal approximation is less than the actual area, we have our final ordering:

RIGHT < TRAP < exact < MID < LEFT.

......!!!!!!!!...................................

11:56:21

Query NOTE: this problem has been left out of the new edition of the text, which is a real shame; you can skip on to the next problem (was problem 7.5.18) graph positive, decreasing, concave upward over interval 0 < x < h

......!!!!!!!!...................................

RESPONSE -->

Using right approximation would guarantee an overstimated value, while left approximation would guarantee an underestimated value.

.................................................

......!!!!!!!!...................................

11:57:49

why is the area of the trapezoid h (L1 + L2) / 2?

......!!!!!!!!...................................

RESPONSE -->

When you take the average of the right and left values of a trapezoid, it balances out the overestimating and underestimating errors.

.................................................

......!!!!!!!!...................................

11:59:11

Describe how you sketched the area E = h * f(0)

......!!!!!!!!...................................

RESPONSE -->

I do not understand this question

.................................................

......!!!!!!!!...................................

12:00:25

Describe how you sketched the area F = h * f(h)

......!!!!!!!!...................................

RESPONSE -->

.................................................

......!!!!!!!!...................................

12:01:40

Describe how you sketched the area R = h*f(h/2)

......!!!!!!!!...................................

RESPONSE -->

I sketched the right approximation by making small rectangles beginning at the line of the funciton, going outward to the right.

.................................................

......!!!!!!!!...................................

12:02:39

Describe how you sketched the area C = h * [ f(0) + f(h) ] / 2

......!!!!!!!!...................................

RESPONSE -->

I cannot find this problem in the book.

.................................................

......!!!!!!!!...................................

12:03:42

Describe how you sketched the area N = h/2 * [ f(0) + f(h/2) ] / 2 + h/2 * [ f(h/2) } f(h) ] / 2

......!!!!!!!!...................................

RESPONSE -->

.................................................

......!!!!!!!!...................................

12:05:38

why is C = ( E + F ) / 2?

......!!!!!!!!...................................

RESPONSE -->

Is this still from 7.5? I'm not sure how to solve this.

.................................................

......!!!!!!!!...................................

12:06:29

Why is N = ( R + C ) / 2?

......!!!!!!!!...................................

RESPONSE -->

.................................................

......!!!!!!!!...................................

12:06:44

Is E or F the better approximation to the area?

......!!!!!!!!...................................

RESPONSE -->

.................................................

......!!!!!!!!...................................

12:06:47

Is R or C the better approximation to the area?

......!!!!!!!!...................................

RESPONSE -->

.................................................

......!!!!!!!!...................................

12:11:27

query problem 7.5.24 show trap(n) = left(n) + 1/2 ( f(b) - f(a) ) `dx

......!!!!!!!!...................................

RESPONSE -->

trap(n) = left(n) + 1/2 ( f(b) - f(a) )

left(n) + right(n) /2 = left(n) + 1/2 ( f(b) - f(a) )

.................................................

......!!!!!!!!...................................

12:11:58

Explain why the equation must hold.

......!!!!!!!!...................................

RESPONSE -->

The equation must hold because both sides balance out the errors of left and right approximation.

.................................................

......!!!!!!!!...................................

12:15:36

In terms of a graph describe how trap(n) differs from left(n) and what this difference has to do with f(b) - f(a).

......!!!!!!!!...................................

RESPONSE -->

trap(n) differs from left(n) because with left approximation you find the area acording to the left side of each small rectangle and trap(n) is the average of the left and right approximations. This difference changes the values of f(b) - f(a) depending on if you are useing left, right, or both with trap.

GEOMETRIC SOLUTION:

First suppose n = 1. You have only one trapezoid. In this case left(n) represents the altitude of a rectangle constructed on the left-hand side of the trapezoid, so left(n) * `dx represents the area of this rectangle.

| f(b) - f(a) | is the altitude of the triangle formed by the top part of the trapezoid. Assuming b > a then if the slope of the top of the trapezoid is positive the area of the triangle is added to that of the rectangle to get the area of the trapezoid. If the slope is negative the area is subtracted.

The area of the triangle is 1/2 * | f(b) - f(a) | * `dx.

1/2 ( f(b) - f(a) ) * `dx is equal to the area if the slope is positive so that f(b) > f(a), and to the negative of the area if the slope is negative so that f(b) < f(a).

It follows that left(n) * `dx + 1/2 ( f(b) - f(a) ) * `dx = area of the trapezoid.

If you have n trapezoids then if a = x0, x1, x2, ..., xn = b represents the partition of the interval [ a, b ] then the contributions of the small triangles at the tops of the trapezoids are 1/2 ( f(x1) - f(x0) ), 1/2 ( f(x2) - f(x1) ), ..., 1/2 ( f(xn) - f(x(n-1)) ). These contributions add up to

1/2 ( (f (x1) - f(x0)) + (f (x2) - f(x1)) + ... + (f (xn) - f(x(n-1))) ). Rearranging we find that all terms except f(x0) and f(xn) cancel out:

1/2 ( -f(x0) + f(x1) - f(x1) + f(x2) - f(x2) + ... + f(x(n-1)) - f(x(n-1) + f(xn) ) =

1/2 (f(xn) - f(x0) ) = 1/2 ( f(b) - f(a) ).

Left(n) is the sum of all the areas of the left-hand rectangles, so left(n) + 1/2 ( f(b) - f(a) ) * `dx represents the areas of all the rectangles plus the contributions of all the small triangles, which gives us the trapezoidal approximation.**

SYMBOLIC SOLUTION: Assuming a < b and partition a = x0, x1, x2, ..., xn = b we have

left(n) = [ f(x0) + f(x1) + ... + f(x(n-1) ] * `dx

and

trap(n) = 1/2 [ f(x0) + 2 f(x1) + 2 f(x2) + ... + 2 f(x(n-1)) + f(xn) ] * `dx.

So

trap(n) - left(n) = [-1/2 f(x0) + 1/2 f(xn) ] * `dx. Since x0 = a and xn = b this gives us

trap(n) = left(n) + 1/2 ( f(b) - f(a) ) * `dx.

.................................................

Your answers were generally good; I've inserted complete explanations for your further information.