Taylor polynomial of third degree and error estimation

Click For Summary

Homework Help Overview

The discussion revolves around estimating the error in a third-degree Taylor polynomial for the function z = cos(y) sin(x), centered at the origin. Participants are exploring how to derive the polynomial and the associated error term for given changes in x and y.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss the formulation of the Taylor polynomial and the error term, questioning how to appropriately select values for c1 and c2 in the error estimation. There is also a consideration of the maximum values of sine and cosine functions in the context of error bounds.

Discussion Status

Some participants have provided guidance on the selection of c1 and c2, emphasizing that they should remain within specified intervals. There is an ongoing exploration of the implications of these choices on the accuracy of the error estimation.

Contextual Notes

Participants note that the function evaluates to zero at the origin, which influences their understanding of the error term. There is also mention of the need to consider maximum values for sine and cosine when estimating error.

Telemachus
Messages
820
Reaction score
30

Homework Statement


It seems that I'm a little bit lost about this exercise. It says: Find the taylors polynomial of third degree centered at the origin for [tex]z=\cos y \sin x[/tex]. Estimate the error for: [tex]\Delta x=-0.15,\Delta y=0.2[/tex].

So, I did the first part (the easy one), the taylors polynomial for z at (0,0) looks like this:

[tex]f(x,y)=x+\displaystyle\frac{1}{3!}(-x^3+3xy^2)+R_4((x,y),(0,0))[/tex]

Then I've found the expression for the error:
[tex]R_4=\displaystyle\frac{1}{4!}(\cos c_2 \sin c_1 x^4+4\sin c_2 \cos c_1 x^3y+6\cos c_2 \sin c_1 x^2y^2+4\sin c_2 \cos c_1 xy^3-\cos c_2 \sin c_1 y^4)[/tex]

Now, how do I estimate the error? I have to say that the error will be something like [tex]R_4\leq{}k[/tex], I have to find "k". Should I consider [tex]c_1=0.15, c_2=0.2[/tex]? How do I proceed from there?

Bye and thanks for posting!
 
Last edited:
Physics news on Phys.org
Telemachus said:

Homework Statement


It seems that I'm a little bit lost about this exercise. It says: Find the taylors polynomial of third degree centered at the origin for [tex]z=\cos y \sin x[/tex]. Estimate the error for: [tex]\Delta x=-0.15,\Delta y=0.2[/tex].

So, I did the first part (the easy one), the taylors polynomial for z at (0,0) looks like this:

[tex]f(x,y)=x+\displaystyle\frac{1}{3!}(-x^3+3xy^2)+R_4((x,y),(0,0))[/tex]

Then I've found the expression for the error:
[tex]R_4=\displaystyle\frac{1}{4!}(\cos c_2 \sin c_1 x^4+4\sin c_2 \cos c_1 x^3y+6\cos c_2 \sin c_1 x^2y^2+4\sin c_2 \cos c_1 xy^3-\cos c_2 \sin c_1 y^4)[/tex]

Now, how do I estimate the error? I have to say that the error will be something like [tex]R_4\leq{}k[/tex], I have to find "k". Should I consider [tex]c_1=0.15, c_2=0.2[/tex]? How do I proceed from there?

Bye and thanks for posting!

All of your sine and cosine expressions have a maximum value of 1.

You know what f(0, 0) is, right? You're interested in approximating f(0 - 0.15, 0 + 0.2)
 
With f you reefer to the taylors polynomial? its zero anyway, z its zero at that point, and f is zero too, cause the error its zero at that point.

I've considered [tex]c1=x=-0.5,c2=y=0.2[/tex] and I get an error of 0.000143, which I think its a good approximation, I've evaluated the function at that point, and the polinomial, and it gives an error of 0.00002.

Is this right?

What I did know was that [tex]x\leq{}c_1\leq{}0[/tex] and [tex]0\leq{}c_2\leq{}y[/tex], but I didn't know which value should I take for c_1 and c_2 on the interval. I've just made it equal, but I think I should looked for a maximum. It worked on this case, but I think this wouldn't work in other cases.

Bye there, thanks Mark.
 
Telemachus said:
With f you reefer to the taylors polynomial?
No, I'm not. f is the function you want to approximate by its Taylor polynomial.
Telemachus said:
its zero anyway, z its zero at that point, and f is zero too, cause the error its zero at that point.

I've considered [tex]c1=x=-0.5,c2=y=0.2[/tex] and I get an error of 0.000143, which I think its a good approximation, I've evaluated the function at that point, and the polinomial, and it gives an error of 0.00002.
No, because you should not be setting c1 to -.5 or c2 to .2. c1 and c2 are unknown numbers in the intervals [-.5, 0] and [0, .2] respectively.
Telemachus said:
Is this right?

What I did know was that [tex]x\leq{}c_1\leq{}0[/tex] and [tex]0\leq{}c_2\leq{}y[/tex], but I didn't know which value should I take for c_1 and c_2 on the interval. I've just made it equal, but I think I should looked for a maximum. It worked on this case, but I think this wouldn't work in other cases.

Bye there, thanks Mark.
I would just replace the cosine and sine terms by 1, since they will never be larger than 1.
 
Thanks Mark!
 

Similar threads

Replies
8
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
12
Views
2K
Replies
12
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
5K
Replies
9
Views
2K