Checking Taylor Series Result of 6x^3-3x^2+4x+5

Click For Summary
The discussion centers on verifying the Taylor series expansion of the polynomial f(x) = 6x^3 - 3x^2 + 4x + 5 at x0 = 1 and h = 1, which results in a value of 49. Participants clarify that the teacher demonstrated this by evaluating the original polynomial at x = 2, yielding the same result. It is noted that for a polynomial of degree n, the nth-order Taylor series is the polynomial itself, reinforcing that the calculations align. The confusion arises from understanding why x = 2 was chosen, which is explained as a consequence of the defined parameters where x = 1 + h. Ultimately, the discussion emphasizes the relationship between the Taylor series and the original polynomial's evaluation.
I-aM-Lost
Messages
10
Reaction score
0

Homework Statement


Use zero- through third-order Taylor series expansion
f(x) = 6x3 − 3x2 + 4x + 5
Using x0=1 and h =1.

Once I found that the Taylor Series value is 49. I want to be able to check the value. On the board our teacher plugged in a value into the equation to show that the answer is 49. But I do not know how they were able to do that.

Homework Equations



Taylor Series

The Attempt at a Solution



zero: 12
first: 12 + 16 = 28
second: 12 + 16 + 15 = 43
third: 12 + 16 + 16 + 6 = 49

I am able to find the value of 49 using Taylor Series so that isn't the problem here. I want to be able to find the actual value of 49 without having to do the Taylor Series that way I can make sure what the correct ending value should be.
 
Physics news on Phys.org
I-aM-Lost said:

Homework Statement


Use zero- through third-order Taylor series expansion
f(x) = 6x3 − 3x2 + 4x + 5
Using x0=1 and h =1.

Once I found that the Taylor Series value is 49. I want to be able to check the value. On the board our teacher plugged in a value into the equation to show that the answer is 49. But I do not know how they were able to do that.

Homework Equations



Taylor Series

The Attempt at a Solution



zero: 12
first: 12 + 16 = 28
second: 12 + 16 + 15 = 43
third: 12 + 16 + 16 + 6 = 49

I am able to find the value of 49 using Taylor Series so that isn't the problem here. I want to be able to find the actual value of 49 without having to do the Taylor Series that way I can make sure what the correct ending value should be.

Questions worded a bit weird can you rephrase a bit what you're wanting to know, do you mean he used ##f(2)=6(2)^3-3(2)^2+4(2)+5 = 49##?
 
I too am confused, since Taylor series are about constructing polynomials to approximate functions. Here you are starting with a polynomial itself.
 
WWGD said:
I too am confused, since Taylor series are about constructing polynomials to approximate functions. Here you are starting with a polynomial itself.
Might be an exercise to illustrate that for a polynomial of degree n, the n-th order Taylor series is the polynomial itself.
 
And the nth order Taylor polynomial of a polynomial of degree m< n is just the part of that polynomial of degree less than or equal to m.
 
Samy_A said:
Might be an exercise to illustrate that for a polynomial of degree n, the n-th order Taylor series is the polynomial itself.
Could be, but I don't see where the numerical values come from.
 
WWGD said:
Could be, but I don't see where the numerical values come from.
He calculates the value of the different Taylor series (order 0 to 3) at ##x_0=1## in x=2.
 
Samy_A said:
He calculates the value of the different Taylor series (order 0 to 3) at ##x_0=1## in x=2.
Good catch! I would have never figured it out.
 
The easy way to do this is to "shift" the polynomial from powers of x to powers of x- 1. Let y= x- 1. Then x= y+ 1.
6x^3- 3x^2+ 4x+ 5= 6(y+ 1)^3- 3(y+ 1)^2+ 4(y+ 1)+ 5. Multiply that out to get the polynomial in y. The "0" order Tayor polynomial is just the constant, the "1" order Taylor polynomial is just the constant and x term, the "2" order polynomial is just up to x^2, and the "3" order is the entire polynomial. Apparently those four are to be evaluated at x= 2 (so y= 2+ 1= 3) giving four numerical answers, not just the single "49".
 
  • #10
HallsofIvy said:
And the nth order Taylor polynomial of a polynomial of degree m< n is just the part of that polynomial of degree less than or equal to m.

That's what the teacher wanted us to see that the number of the polynomial would be how many derivatives we would have to take to find the Taylor Series for that polynomial. He then picked some value in order to show that 49 was an answer. I am trying to figure how he decided to plug a certain number into check that our answer was 49. I know if you plug 2 into the original equation you get 49. But how do you know or what to plug in order to get 49.
 
  • #11
Student100 said:
Questions worded a bit weird can you rephrase a bit what you're wanting to know, do you mean he used ##f(2)=6(2)^3-3(2)^2+4(2)+5 = 49##?

He did the Taylor Series. So we did the 0th,1st,2nd,3rd taylor series and found the value to be 49. But he then decided to plug a value into check that 49 was correct. I understand if we plug 2 into the original equation we get 49. But why did you decide to plug 2 into the equation.
 
  • #12
I-aM-Lost said:
He did the Taylor Series. So we did the 0th,1st,2nd,3rd taylor series and found the value to be 49. But he then decided to plug a value into check that 49 was correct. I understand if we plug 2 into the original equation we get 49. But why did you decide to plug 2 into the equation.
Look at Samy_A's second post.
 
  • #13
I-aM-Lost said:
He did the Taylor Series. So we did the 0th,1st,2nd,3rd taylor series and found the value to be 49. But he then decided to plug a value into check that 49 was correct. I understand if we plug 2 into the original equation we get 49. But why did you decide to plug 2 into the equation.

Because ##x = 1+h## and ##h =1##, so you are looking at ##f(2)##.
 
  • Like
Likes Student100
  • #14
I-aM-Lost said:
He did the Taylor Series. So we did the 0th,1st,2nd,3rd taylor series and found the value to be 49. But he then decided to plug a value into check that 49 was correct. I understand if we plug 2 into the original equation we get 49. But why did you decide to plug 2 into the equation.
I can only guess what he did. But when I compute the Taylor series for ##f## at ##x_0=1##, I get:
##T_0(x)=12##
##T_1(x)=12+16(x-1)##
##T_2(x)=12+16(x-1)+15(x-1)²##
##T_3(x)=12+16(x-1)+15(x-1)²+6(x-1)³##

Plug in ##x=2(=1+h)## in these Taylor series, and you get the values from your first post.
As you polynomial ##f## is of degree 3, ##f(x)=T_3(x)##. That's why ##f(2)=T_3(2)=49##.
 

Similar threads

  • · Replies 27 ·
Replies
27
Views
3K
Replies
10
Views
2K
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K