assignment 14

course Mth 174

Please explain problem 10.1.35

~„µkÝË•šç‹º¶«¾¬Žà¸­îÚƒ€ÇH£²assignment #014

ç°]Áú°‡Øý¦£È|­§•‘ŠÓâ–Ñÿζ

Physics II

07-30-2009

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

17:19:48

query problem 10.1.23 (3d edition 10.1.20) (was 9.1.12) g continuous derivatives, g(5) = 3, g'(5) = -2, g''(5) = 1, g'''(5) = -3

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

RESPONSE -->

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

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

17:26:13

what are the degree 2 and degree 3 Taylor polynomials?

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

RESPONSE -->

for degree 2 = 3-2(g-5)+(g-5)^2/2

For degree 3 = 3-2(g-5)+(g-5)^2/2-(g-5)^3/2

You appear to be treating g as a number rather than as a function with derivatives. You hve the right overall form so you should have a good basis for understanding the corrections neccesary:

The degree-n Taylor polynomial about a is

g(x) = g(a) + g ‘ (a) ( x – a ) + g ‘ ‘ (a) (x – a)^2 / 2! + … + g [n] (a) ( x – a)^n / n!.

The degree-2 polynomial is

g(5) + g ‘ (5) ( x – 5 ) + g ‘ ‘ (5) (x – 5)^2 / 2! =

3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2!

= 3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2

The degree-3 polynomial is

g(5) + g ‘ (5) ( x – 5 ) + g ‘ ‘ (5) (x – 5)^2 / 2! + g ‘ ‘ ‘ (5) (x – 5)^3 / 3!

= 3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2! – 3 ( x – 5)^3 / 3!

= 3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2 – 3 ( x – 5)^3 / 6

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

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

17:32:31

What is each polynomial give you for g(4.9)?

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

RESPONSE -->

For degree 2 = 3.68

For degree 3 = 3.21

for degree 2, the approximation is g(4.9)= 3.205

for degree 3, the approximation is g(4.9)=3.2055

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

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

17:40:07

What would g(4.9) be based on a straight-line approximation using graph point (5,3) and the slope -2? How do the Taylor polynomials modify this tangent-line estimate?

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

RESPONSE -->

using y=mx+b, at 4.9 y=3.2

The straight-line approximation is

y-y1=m(x-x1); for the point (5, 3) and slope -3 this is

y-3=-2(x-5) which we solve for y to obtain

y=-2x+13. Substituting x = 4.9 we obtain

y = -2(4.9)+13

=-9.8+13

=3.2

The degree-2 Taylor polynomial differs from this by .05, which is a small modification for the curvature of the graph.

The degree-3 Taylor polynomial differs by an additional .005 and takes into account the changing curvature of the graph.

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

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

17:54:23

query problem 10.1.35 (3d edition 10.1.33) (was 9.1.36) estimate the integral of sin(t) / t from t=0 to t=1

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

RESPONSE -->

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

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

21:17:13

what is your degree 3 approximation?

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

RESPONSE -->

The degree 4 approximation of sin(t) is sin(t) = t - t^3 / 6, approx.

So the degree 3 approximation of sin(t) / t is P3(t) = 1 - t^2 / 6, approx.

The degree 6 approximations are for sin(t) is t - t^3 - 6 + t^5 / 120 approx.,

so the degree-5 approximation so sin(t) / t is P5(t) = 1 - t^2 / 6 + t^4 / 120.

Antiderivatives would be

integral( sin(t) / t) = t - t^3 / 18 approx. and

integral( sin(t) / t) = t - t^3 / 18 + t^5 / 600, approx.

The definite integrals would be found using the Fund Thm. You would get

1 - 1/18 = .945 approx. and

1 - 1/18 + 1/600 = .947 approx. **

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

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

21:17:16

what is your degree 5 approximation?

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

RESPONSE -->

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

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

21:17:25

What is your Taylor polynomial?

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

RESPONSE -->

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

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

21:20:22

Explain in your own words why a trapezoidal approximation will not work here.

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

RESPONSE -->

Because the function, (sin(t))/t is not defined at x = 0

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

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

17:05:11

Query problem 10.2.25 (3d edition 10.2.21) (was 9.2.12) Taylor series for ln(1+2x)

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

RESPONSE -->

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

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

17:07:12

show how you obtained the series by taking derivatives

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

RESPONSE -->

f'(x)=2/(2x+1), f''(x)=-4/(2x-1)^2, f'''(x)=16/(2x+1)^3, f''''(x)=-96/(2x+1)^4, ...

ln(1 + 2x) is a composite function. Its successive derivatives are a little more complicated than the derivatives of most simple function, but are not difficult to compute, and form a pattern.

ln(1 + 2x) = f(g(x)) for f(z) = ln(z) and g(x) = 1 + 2x.

f ' (z) = 1 / z, and g ' (x) = 2. So the derivative of ln(1 + 2x) is

f ' (x) = (ln(1 + 2x) ) ' = g ' (x) * f ' ( g(x) ) = 2 * (1 / g(x) ) = 2 / ( 1 + 2x).

Then

f ''(x) = (2 / ( 1 + 2x) )' = -1 * 2 * 2 / (1 + 2x)^2 = -4 / (1 + 2x)^2.

f '''(x) = ( -4 / (1 + 2x)^2 ) ' = -2 * 2 * (-4) = 16 / (1 + 2x)^3

etc.. The numerator of every term is equal to the negative of the power in the

denominator, multiplied by 2 (for the derivative of 2 + 2x), multiplied by the previous numerator. A general expression would be

f [n] (x) = (-1)^(n-1) * (n - 1)! * 2^n / ( 1 + 2x) ^ n.

The (n - 1)! accumulates from multiplying by the power of the denominator at each step, the 2^n from the factor 2 at each step, the (-1)^n from the fact that the denominator at each step is negative.

Evaluating each derivative at x = 0 gives

f(0) = ln(1) = 0

f ' (1) = 2 / (1 + 2 * 0) = 2

f ''(1) = -4 / (1 + 2 * 0)^2 = -4

f '''(1) = 16 / (1 + 2 * 0)^2 = 16

f[n](0) = (-1)^n * (n - 1)! * 2^n / ( 1 + 2 * 0) ^ n = (-1)^n * (n-1)! * 2^n / 1^n = (-1)^n (n-1)! * 2^n.

The corresponding Taylor series coefficients are

f(0) / 0! = 0

f'(0) / 1! = 2

f''0) / 2! = -4/2 = -2

...

f[n](0) = (-1)^n (n-1)! * 2^n / n! = (-1)^n * 2^n / n

(this latter since (n-1)! / n! = 1 / n -- everything except the n in the denominator cancels).

So the Taylor series is

f(x) = 0 + 2 * (x-0) - 2 ( x - 0)^2 + 8/3 ( x - 0)^3 - ... + (-1)(^n) * 2^n /n * ( x - 0 ) ^ n

= 0 + 2 x - 2 x^2 + 8/3 x^3 - ... + (-1)(^n) * 2^n /n * x^n + ...

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

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

17:23:01

how does this series compare to that for ln(1+x) and how could you have obtained the above result from the series for ln(1+x)?

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

RESPONSE -->

This series is almost the same except for the fact that the terms do not cancel all the way out, leaving coefficients. One may have gotten the result by noticing that the x is multiplied by 2, instead of 1.

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

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

17:30:36

What is your expected interval of convergence?

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

RESPONSE -->

-.5

** For this function we have | a(n) | = 2 for all n, so | a(n+1) / a(n) | = 2 / 2 = 1 for all n. By the ratio test the interval of convergence is therefore 1 / 1 = 1. *&*&

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

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

17:30:53

Query Add comments on any surprises or insights you experienced as a result of this assignment.

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

RESPONSE -->

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

&#See my notes and let me know if you have questions. &#

assignment 14

course Mth 174

Please explain problem 10.1.35

~„µkÝË•šç‹º¶«¾¬Žà¸­îÚƒ€ÇH£²assignment #014

ç°]Áú°‡Øý¦£È|­§•‘ŠÓâ–Ñÿζ

Physics II

07-30-2009

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

17:19:48

query problem 10.1.23 (3d edition 10.1.20) (was 9.1.12) g continuous derivatives, g(5) = 3, g'(5) = -2, g''(5) = 1, g'''(5) = -3

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

RESPONSE -->

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

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

17:26:13

what are the degree 2 and degree 3 Taylor polynomials?

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

RESPONSE -->

for degree 2 = 3-2(g-5)+(g-5)^2/2

For degree 3 = 3-2(g-5)+(g-5)^2/2-(g-5)^3/2

You appear to be treating g as a number rather than as a function with derivatives. You hve the right overall form so you should have a good basis for understanding the corrections neccesary:

The degree-n Taylor polynomial about a is

g(x) = g(a) + g ‘ (a) ( x – a ) + g ‘ ‘ (a) (x – a)^2 / 2! + … + g [n] (a) ( x – a)^n / n!.

The degree-2 polynomial is

g(5) + g ‘ (5) ( x – 5 ) + g ‘ ‘ (5) (x – 5)^2 / 2! =

3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2!

= 3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2

The degree-3 polynomial is

g(5) + g ‘ (5) ( x – 5 ) + g ‘ ‘ (5) (x – 5)^2 / 2! + g ‘ ‘ ‘ (5) (x – 5)^3 / 3!

= 3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2! – 3 ( x – 5)^3 / 3!

= 3 – 2 ( x – 5) + 1 ( x – 5)^2 / 2 – 3 ( x – 5)^3 / 6

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

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

17:32:31

What is each polynomial give you for g(4.9)?

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

RESPONSE -->

For degree 2 = 3.68

For degree 3 = 3.21

for degree 2, the approximation is g(4.9)= 3.205

for degree 3, the approximation is g(4.9)=3.2055

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

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

17:40:07

What would g(4.9) be based on a straight-line approximation using graph point (5,3) and the slope -2? How do the Taylor polynomials modify this tangent-line estimate?

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

RESPONSE -->

using y=mx+b, at 4.9 y=3.2

The straight-line approximation is

y-y1=m(x-x1); for the point (5, 3) and slope -3 this is

y-3=-2(x-5) which we solve for y to obtain

y=-2x+13. Substituting x = 4.9 we obtain

y = -2(4.9)+13

=-9.8+13

=3.2

The degree-2 Taylor polynomial differs from this by .05, which is a small modification for the curvature of the graph.

The degree-3 Taylor polynomial differs by an additional .005 and takes into account the changing curvature of the graph.

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

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

17:54:23

query problem 10.1.35 (3d edition 10.1.33) (was 9.1.36) estimate the integral of sin(t) / t from t=0 to t=1

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

RESPONSE -->

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

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

21:17:13

what is your degree 3 approximation?

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

RESPONSE -->

The degree 4 approximation of sin(t) is sin(t) = t - t^3 / 6, approx.

So the degree 3 approximation of sin(t) / t is P3(t) = 1 - t^2 / 6, approx.

The degree 6 approximations are for sin(t) is t - t^3 - 6 + t^5 / 120 approx.,

so the degree-5 approximation so sin(t) / t is P5(t) = 1 - t^2 / 6 + t^4 / 120.

Antiderivatives would be

integral( sin(t) / t) = t - t^3 / 18 approx. and

integral( sin(t) / t) = t - t^3 / 18 + t^5 / 600, approx.

The definite integrals would be found using the Fund Thm. You would get

1 - 1/18 = .945 approx. and

1 - 1/18 + 1/600 = .947 approx. **

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

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

21:17:16

what is your degree 5 approximation?

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

RESPONSE -->

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

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

21:17:25

What is your Taylor polynomial?

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

RESPONSE -->

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

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

21:20:22

Explain in your own words why a trapezoidal approximation will not work here.

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

RESPONSE -->

Because the function, (sin(t))/t is not defined at x = 0

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

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

17:05:11

Query problem 10.2.25 (3d edition 10.2.21) (was 9.2.12) Taylor series for ln(1+2x)

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

RESPONSE -->

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

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

17:07:12

show how you obtained the series by taking derivatives

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

RESPONSE -->

f'(x)=2/(2x+1), f''(x)=-4/(2x-1)^2, f'''(x)=16/(2x+1)^3, f''''(x)=-96/(2x+1)^4, ...

ln(1 + 2x) is a composite function. Its successive derivatives are a little more complicated than the derivatives of most simple function, but are not difficult to compute, and form a pattern.

ln(1 + 2x) = f(g(x)) for f(z) = ln(z) and g(x) = 1 + 2x.

f ' (z) = 1 / z, and g ' (x) = 2. So the derivative of ln(1 + 2x) is

f ' (x) = (ln(1 + 2x) ) ' = g ' (x) * f ' ( g(x) ) = 2 * (1 / g(x) ) = 2 / ( 1 + 2x).

Then

f ''(x) = (2 / ( 1 + 2x) )' = -1 * 2 * 2 / (1 + 2x)^2 = -4 / (1 + 2x)^2.

f '''(x) = ( -4 / (1 + 2x)^2 ) ' = -2 * 2 * (-4) = 16 / (1 + 2x)^3

etc.. The numerator of every term is equal to the negative of the power in the

denominator, multiplied by 2 (for the derivative of 2 + 2x), multiplied by the previous numerator. A general expression would be

f [n] (x) = (-1)^(n-1) * (n - 1)! * 2^n / ( 1 + 2x) ^ n.

The (n - 1)! accumulates from multiplying by the power of the denominator at each step, the 2^n from the factor 2 at each step, the (-1)^n from the fact that the denominator at each step is negative.

Evaluating each derivative at x = 0 gives

f(0) = ln(1) = 0

f ' (1) = 2 / (1 + 2 * 0) = 2

f ''(1) = -4 / (1 + 2 * 0)^2 = -4

f '''(1) = 16 / (1 + 2 * 0)^2 = 16

f[n](0) = (-1)^n * (n - 1)! * 2^n / ( 1 + 2 * 0) ^ n = (-1)^n * (n-1)! * 2^n / 1^n = (-1)^n (n-1)! * 2^n.

The corresponding Taylor series coefficients are

f(0) / 0! = 0

f'(0) / 1! = 2

f''0) / 2! = -4/2 = -2

...

f[n](0) = (-1)^n (n-1)! * 2^n / n! = (-1)^n * 2^n / n

(this latter since (n-1)! / n! = 1 / n -- everything except the n in the denominator cancels).

So the Taylor series is

f(x) = 0 + 2 * (x-0) - 2 ( x - 0)^2 + 8/3 ( x - 0)^3 - ... + (-1)(^n) * 2^n /n * ( x - 0 ) ^ n

= 0 + 2 x - 2 x^2 + 8/3 x^3 - ... + (-1)(^n) * 2^n /n * x^n + ...

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

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

17:23:01

how does this series compare to that for ln(1+x) and how could you have obtained the above result from the series for ln(1+x)?

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

RESPONSE -->

This series is almost the same except for the fact that the terms do not cancel all the way out, leaving coefficients. One may have gotten the result by noticing that the x is multiplied by 2, instead of 1.

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

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

17:30:36

What is your expected interval of convergence?

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

RESPONSE -->

-.5

** For this function we have | a(n) | = 2 for all n, so | a(n+1) / a(n) | = 2 / 2 = 1 for all n. By the ratio test the interval of convergence is therefore 1 / 1 = 1. *&*&

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

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

17:30:53

Query Add comments on any surprises or insights you experienced as a result of this assignment.

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

RESPONSE -->

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

&#See my notes and let me know if you have questions. &#