query 7

#$&*

course mth 174

5/11 4:30 pm

174assignment # 7

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

*********************************************

Question: Section 7.6 Problem 6

approx using n=10 is 2.346; exact is 4.0. What is n = 30 approximation if original approx used LEFT, TRAP, SIMP?

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

21:44:07

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:

We know that when we used n=10 the value was 2.346 but the exact value is 4 so we subtract 2.346 from 4 and see that there is an error of -1.654

So we can now use formulas

LEFT= n1/n2(error) = 10/30(-1.654)=-.55+4=3.45

TRAP= (n1/n2)^2(error) = (10/30)^2(-1.654) = -.184+4.0=3.82

SIMP= (n1/n2)^4(error) = (10/30)^4(-1.654)=-.021+4.0=3.979

confidence rating #$&*: 3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

Given Solution:

LEFT and RIGHT approach the exact value in proportion to the number of steps used.

MID and TRAP approach the exact value in proportion to the square of the number of steps used.

SIMP approachs the exact value in proportion to the fourth power of the number of steps used.

Using these principles we can work out this problem as follows:

** The original 10-step estimate is 2.346, which differs from the actual value 4.000 by -1.654.

If the original estimate was done by LEFT then the error is inversely proportional to the number of steps and the n = 30 error is (10/30) * -1.654 = -.551, approximately. So the estimate for n = 30 would be -.551 + 4.000 = 3.449.

If the original estimate was done by TRAP then the error is inversely proportional to the square of the number of steps and the n = 30 error is (10/30)^2 * -1.654 = -.184, approximately. So the estimate for n = 30 would be -.184 + 4.000 = 3.816.

If the original estimate was done by SIMP then the error is inversely proportional to the fourth power of the number of steps and the n = 30 error is (10/30)^4 * -1.654 = -.020, approximately. So the estimate for n = 30 would be -.02 + 4.000 = 3.98. **

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):

ok

------------------------------------------------

Self-critique Rating:

*********************************************

Question: Section 7.6 Problem 5

problem 7.6.5 (previously problem 7.6.10) If TRAP(10) = 12.676 and TRAP(30) = 10.420, estimate the actual value of the integral. **** What is your estimate of the actual value and how did you get it?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:

We know that if the error between trap 10 and trap 30 is 10.420-12.676 which is -2.256

We can use this formula to estimate the actual value

{(n1/n2)^2(error)}+ actual = trap 30 value

(10/30)^2(-2.256)+actual = 10.420

-.251+actual =-.251 + 10.420 = 10.671

Actual = 10.671

confidence rating #$&*: 2

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

Given Solution:

** You need to use the inverse square proportionality of the error with the number of steps.

Trap(30) is approximately (10/30)^2 = 1/9 of TRAP(10). So the difference 10.420 - 12.676 = -2.256 between TRAP(10) and TRAP(30) is approximately 8/9 of the error of TRAP(10).

It follows that the error of TRAP(10) is 9/8 * -2.256 = -2.538. Our best estimate of the integral is therefore -2.538 + 12.676 = 10.138. **

Ok I notice that I multiplied by 8/9 and you multiplied by 9/8 where did this come from?????? And why???

If you know 8/9 of a number (as in this case, where you know 8/9 of the difference between the first approximation and the accurate value), then to get that number you take 9/8 of the number you know (so you take 9/8 of the difference between the n = 10 approximation and the n = 30 approximation).

In other words, (trap(30) - trap(10)) is 8/9 * (accurate value - trap(10)), so (accurate value - trap(10)) = 9/8 * (trap(30) - trap(10)).

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):

###I took a different approach and got a slightly different answer although I understand what you did . Is my pattern of thought ok or should I use the method in the solution????

------------------------------------------------

Self-critique Rating:3

@&

If going from 10 to 30 intervals reduces the result by 2.256, then going to a greater number of intervals would be expected to reduce it still further.

You made an arithmetic error. Following your reasoning the result would indeed be

-.251 + 10.420

but

-.251 + 10.420 = 10.169, not 10.671.

This is much closer to the estimate obtained in the given solution.

trap(30) is indeed expected to have about 1/9 the error of trap(10), but your reasoning seems to assume that the entire error of trap(10) is the -2.256 difference between trap(10) and trap(30). The actual error of trap(10) will be more than its difference with trap(30).

*@

*********************************************

Question: Section 7.7 Problem 2

problem 7.7.2 (previously 7.7.12) integrate 1 / (u^2-16) from 0 to 4 if convergent

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:

The integral from 0 to 4 of 1/(u^2-16)

I factor the bottom

Integral 0 to 4 of 1/[(u+4)(u-4)] now I use partial fractions getting

A/(u+4) + B/(u-4) then I multiply the numerators to get a common denominator

A(u-4) + (B(u+4) = Au+4A+Bu+4B=1

So 4(-A+B)=1 and u(A+B)=0

So -A+B=1/4

B=1/4+A

And A=B

So B=1/4-B

2B=1/4

B=1/8 so A=-1/8

Now I can rewrite as 2 integrals

Integral 0 to 4 of (-1/8) / (u+4) and integral 0 to 4 (1/8)/(u-4)

Pulling out -1/8 and 1/8 I get

-1/8 integral 0 to 4 of 1/(u+4) and 1/8 integral 0 ot 4 of 1/(u-4)

x=u+4 x=u-4

dx = du dx=du

-1/8 integral 0 to 4 of 1/x and 1/8 integral 0 ot 4 of 1/x

-1/8lnx 1/8lnx

-1/8ln(u+4) 1/8(u-4)

When evaluating from 0 to 4 I see that in the first u cannot be -4 and in the second u cannot be 4

So the limit for -1/8ln(u+4) is -4

And the limit for 1/8(u-4) is 4

###At this point I do not know what to do or how to set up the limit problem?????

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

Given Solution:

1 / (u^2-16) = 1 / [(u+4)(u-4)] . Since for 0 < x < 4 we have 1/8 < 1 / (u+4) < 1/4, the integrand is at most 1/4 times 1/(u-4) and at least 1/8 of this quantity, so the original integral is at most 1/4 as great as the integral of 1 / (u-4) and at least 1/8 as great. That is,

1/8 int(1 / (u-4), u, 0, 4) < int(1 / (u^2-4), u, 0, 4) < 1/4 int(1 / (u-4), u, 0, 4).

Thus if the integral of 1 / (u-4) converges or diverges, the original integral does the same. An antiderivative of 1 / (u-4) is ln | u-4 |, which is just ln(4) at the limit u=0 of the integral but which is undefined at the limit u = 4.

We must therefore take the limit of the integral of 1/(u-4) from u=0 to u=x, as x -> 4.

The integral of 1 / (u-4) from 0 to x is equal to ln(x-4) - ln(4). As x -> 4, ln(x - 4) approaches -infinity,

Thus the integral diverges.

STUDENT QUESTION

I am lost from the start of this problem I see where the integrand is (1/4) at its most but how can it be 1/8 at its least. Can you show me a step by step as to how we should have found this.

INSTRUCTOR RESPONSE

Since

1 / ( (u + 4) ( u - 4) ) = (1 / (u + 4) ) * ( 1 / (u - 4) ),

and since on this interval

1/8 < 1 / (u + 4) < 1/4

it follows that

1/8 | 1 / (u - 4) | < |1 / (u + 4) ) * ( 1 / (u - 4) | < 1/4 | 1 / (u - 4) |

and therefore that on this interval

1/8 integral | 1 / (u - 4) du | < integral | 1 / ( (u + 4) ( u - 4) ) du | < 1/4 integral | 1 / (u - 4) du |.

Since | 1 / (u - 4) | -> infinity as u -> 4, we proceed as indicated to show that this integral approaches -infinity.

Our previous inequality

1/8 integral | 1 / (u - 4) du | < integral | 1 / ( (u + 4) ( u - 4) ) du | < 1/4 integral | 1 / (u - 4) du |

thereby 'sandwiches' the magnitude of the desired integral between two values, both of which approach infinity.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):

####It appears I have taken a different approach to finding the integral and I am unable to follow the given solution since I took a different method. If my approach is acceptable, can you please tell me what I need to do from my last step in the given solution??? If my approach is unacceptable can you tell me where I went wrong so I can try to better understand what I need to do ??????

------------------------------------------------

Self-critique Rating:

@&

The integral is from u = 0 to u = 4, so you don't have to worry about the fact that u can't be -4. The integral of 1 / (u + 4) is just ln(8) - ln(4) (antiderivative is ln | u + 4 | ).

However an antiderivative of 1 / ( u - 4 ) is ln | u - 4 |, and this presents a problem when u = 4, since ln (0) isn't defined.

As x -> 0, ln (x) -> -infinity.

So as u -> 4, ln | u - 4 | -> -infinity.

This is what makes the integral divergent.

*@

*********************************************

Question: Section 7.7 Problem 7

problem 7.7.7 (previously 7.7.30) rate of infection r = 1000 t e^(-.5t)

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:

First you need to find the derivative

d/dt of 1000te^(-.5t)

1000d/dt=t*e^-.5t

Use product rule

h(x)=t g(x)=e^(-.5t)

h’(x)=1 g’(x)=-.5e^(-.5t)

so 1000[1*e^(-.5t)+ t(-.5e^(-.5t)]

1000e^(-.5t)-500te^(-.5t)

We would set the first derivative equal to zero to determine the maximum

1000e^(-.5t)-500te^(-.5t)

e^(-.5t)(1000-500t)=0

1000-500t=0

-500t=-1000

t=2 is the maximum

so now we can use the 2nd derivative test to determine the point of inflection

d/dt of 1000e^(-.5t)-500te^(-.5t)

1000d/dt e^(-.5t) - 500d/dt te^(-.5t)

1000(-.5e^(-.5t))-500[e^(-.5t)-.5et^(-.5t)]

-500e^-.5t-500[e^(-.5t)-.5et^(-.5t)]

-500e^(-.5t)-500e^(-.5t)+250te^(-.5t)

-1000e^(-.5t)+250te^(-.5t)

Set equal to zero

-1000e^(-.5t)+250te^(-.5t)=0

e^(-.5t)(-1000+250t)=0

-1000+250t=0

250t=1000

t=4 so 4 is point of inflection.

Now we can graph the original r=1000 t e^(-.5t) knowing that the maximum is 2 and the point of inflection is 4

X y

1 606.53

2 735.76

3 669.39

4 541.34

5 410.42

This table of values and graph shows that at 2 days is the maximum and that 2 days is when rate of infection would peak.

To find out how many people get sick we could integrate the original rate function from 0 to infinity

Integral 0 to infinity of 1000te^(-.5t)

1000*integral from 0 to infinity of te^(-.5t)

u=t v’ = e^(-.5t)

u’=1 v=-2e^(-.5t)

t(-2e^(-.5t))- integral (-2e^(-.5t))(1))

-2te^(-.5t) - 4e^(-.5t)

Evaluate now from 0 to x

So f(x) - f(0)

1000{-2te^(-.5x) - 4e^(-.5x) -[2t(1) -4(1)]}

-2000te^(-.5x) - 4000e^(-.5x) +2000t +4000

????This is the point again where I get stuck with the limits I don’t understand what I need to do to figure out the answer??????

confidence rating #$&*: 2

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

Given Solution:

** First graph the function using standard graphing techniques from first-semester calculus:

This graph increases at first as you move to the right from t = 0. However e^(-.5 t) eventually approaches zero much faster than t increases so the graph has an asymptote at the positive t axis. So it increases for small positive t but eventually returns almost to the t axis, and it can't be strictly increasing. Its concavity changes from downward (negative) for small positive t to upward for larger t; the point at which the concavity changes is important.

We use the standard technique from first-semester calculus to find the point at which this function maximizes.

The first derivative is dr/dt = 1000 e^(-.5 t) - 500 t e^(-.5 t).

Setting this derivative equal to 0 we get

• 1000 e^(-.5 t) - 500 t e^(-.5 t) = 0;

dividing through by e^-.5 t we get the equation 1000 - 500 t = 0, which is easily solved to obtain t = 2. A first-or second-derivative test confirms that the t = 2 graph point is a relative maximum.

Concavity is determined by the second derivative r'' = e^(-.5 t) [ -1000 + 250 t ], which is 0 when t = 4. This is a point of inflection because the second derivative changes from negative to positive at this point. So the function is concave downward on the interval (-infinity, 4) and concave upward on (4, infinity).

The first derivative has a critical point where the second derivative is zero. This occurs at x = 4, which was identified in the preceding paragraph as the point of inflection for the original function. Since the second derivative goes from negative to positive, this point is a minimum of the first derivative. The first derivative is a decreasing function from t = 0 to t = 4 (2d derivative is negative) and is then an increasing function with asymptote y = 0, the x axis, which it approaches through negative values. Its maximum value for t >= 0 is therefore at t = 0. **

People are getting sick the fastest when the rate of infection is highest. This occurs at the relative maximum of the rate function, which was found above to occur at t = 2. Thus people are getting sick the fastest 2 days after the epidemic begins.

To find how many people get sick during a time interval, you integrate the rate function over that interval. In this case the interval doesn't end; so you need to integrate the rate function r = 1000 t e^(-.5t) from t = 0 until forever, i.e., from t = 0 to t = infinity.

An antiderivative of the function is F(t) = 1000 int ( t e^(-.5 t)) = 1000 [ -2 t e^(-.5t) - int ( e^(-.5 t) ) ] = 1000 [ -2 t e^(-.5 t) - 4 e^(-.5 t) ].

Integrating from 0 to x gives F(x) - F(0) = 1000 [ -2 t e^(-.5 x) - 4 e^(-.5 x) ] - 1000 [ -2 * 0 e^(-.5 *0 ) - 4 e^(-.5 * 0 ) ] = 1000 e^-(.5 x) [ -2 t - 4 ] - (-4000).

As x -> infinity, e^-(.5 x) [ -2 t - 4 ] -> 0 since the exponential will go to 0 very much faster than (-2 x - 4) will approach -infinity. This leaves only the -(-4000) = 4000.

** The calculator is fine for checking yourself, but you need to use the techniques of calculus to determine inflection points, maxima, minima etc.. The careful use the calculator to enhance rather than replace mathematical understanding. I get a lot of students in these courses who are now at 4-year institutions and who have taken courses based on the graphing calculator, or even TI-92, and many of them tend to have a very difficult time in courses that don't permit them, and in courses were mathematical understanding is required. **

** You have to use the techniques of calculus to determine these behaviors. Plugging values in won't show you the exact location of intercepts, maxima, minima, etc.. **

STUDENT QUESTION

I didn’t know where to go with the antiderivative but I think I understand your conclusion on that as well.

INSTRUCTOR RESPONSE

The infection is the rate-of-change function, so the antiderivative is the change-in-amount function.

Specificly we have the rate of change of the number of people who are or have been sick, with respect to clock time. The 'amount' is the number of people, so the antiderivative function is the change in the number of people (i.e., in the number who have been or are sick).

The definite integral between two clock times therefore tells you how many people are or have been sick between those clock times. If we integrate from some clock time from the initial instant to infinity, we get the total number of people who will get sick.

STUDENT COMMENT

I used the derivatives because this is a rate problem and the antiderivative is just a change in quantity formula.

INSTRUCTOR RESPONSE

You are given the rate.

If you know the average rate of change of change of a quantity with respect to time on an interval, you multiply it by the time interval in order to get the change in the quantity.

This is as opposed to subtracting two quantities and dividing by the time interval, which corresponds to the derivative.

Summing up average rate * time interval corresponds to the integral, which is what should have been used here.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):

#### ????I understand all of the parts of the graphing, using the 1st and second derivatives to find min/max and inflection/concavity. I understand that to find out how many people get sick we have to find integral of original rate function from 0 to infinity and I can get to the last step I have above in my answer but again, this is the point where I get stuck with the limits I don’t understand what I need to do to figure out the answer??????

------------------------------------------------

Self-critique Rating:3

@&

The integral from 0 to x is

-2000 x e^(-.5x) - 4000e^(-.5x) + 4000

The only difference between this and your expression is that I've substituted x for all the t values.

Now the integral doesn't go from 0 to x, but from 0 to infinity. Thus to get the desired integral we have to allow x to approach infinity.

The limiting value of

-2000 x e^(-.5x) - 4000e^(-.5x) + 4000

as x approaches infinity is 4000.

*@

"

Self-critique (if necessary):

------------------------------------------------

Self-critique rating:

"

Self-critique (if necessary):

------------------------------------------------

Self-critique rating:

#*&!

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