Assignment 6

course Mth 174

y˻

assignment #006

V˪˵}Ӿ

Physics II

06-23-2008

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

17:25:09

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

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

RESPONSE -->

My order, from least to most, Exact, Right, Trapezoid, Mid, Left

I checked in the back of the book and found out I was wrong. I messed up in figuring the exact value because when I used the Fundamental Theorem I did not create a the correct graph for int( f(x))

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

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

17:27:30

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

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

RESPONSE -->

Right: f(1.5) * 1.5 + f(3) * 1.5

Trapezoid: (Left + Right) / 2

Exact: int[0,3] f'(x) dx = f(3) - f(0)

Mid: f(.75) * 1.5 + f(1.25) * 1.5

Left; f(0) * 1.5 + f(1.5) * 1.5

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 endpoing 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.

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

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

17:27:52

between which approximations does the actual integral lie?

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

RESPONSE -->

Mid and Trapezoid

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

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

17:28:48

Explain your reasoning

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

RESPONSE -->

Well, my reasoning is that T < exact < M

That was kind of a joke answer. I do not really know how to explain why.

I always appreciate a joke.

Do see the explanation I inserted above and let me know if you have questions.

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

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

17:30:02

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

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

RESPONSE -->

Because the trapezoids lie below the graph.

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

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

17:32:08

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

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

RESPONSE -->

If the graph is concave down, the top of the trapezoid (being the tangent line to the curve at the midpoint) lies above the graph, so it is overestimating

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

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

17:32:28

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 -->

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

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

17:32:34

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

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

RESPONSE -->

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

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

17:32:37

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

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

RESPONSE -->

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

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

17:32:39

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

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

RESPONSE -->

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

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

17:32:41

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

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

RESPONSE -->

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

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

17:32:45

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

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

RESPONSE -->

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

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

17:32:48

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

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

RESPONSE -->

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

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

17:32:58

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

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

RESPONSE -->

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

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

17:33:00

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

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

RESPONSE -->

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

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

17:33:02

Is E or F the better approximation to the area?

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

RESPONSE -->

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

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

17:33:04

Is R or C the better approximation to the area?

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

RESPONSE -->

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

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

18:03:28

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

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

RESPONSE -->

I am not sure if this is correct, but this is my attempt.

(T = TRAP, L = Left, E = Exact, R = Right)

f(b) - f(a) = Exact

T(n) = L(n) + (1/2)(E(n))

T(n) = (L(n) + R(n)) / 2

so

(L(n) + R(n)) / 2 = L(n) + (1/2)(E(n))

L(n) + R(n) = 2L(n) + E(n)

R(n) = L(n) + E(n)

Exact = Right - Left

This is as far as I could get.

This is pretty good. Compare with the following:

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.

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

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

18:03:30

Explain why the equation must hold.

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

RESPONSE -->

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

&#

This looks good. Let me know if you have any questions. &#