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

In summary: 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)##.
  • #1
I-aM-Lost
10
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
  • #2
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##?
 
  • #3
I too am confused, since Taylor series are about constructing polynomials to approximate functions. Here you are starting with a polynomial itself.
 
  • #4
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.
 
  • #5
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.
 
  • #6
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.
 
  • #7
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.
 
  • #8
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.
 
  • #9
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.
[itex]6x^3- 3x^2+ 4x+ 5= 6(y+ 1)^3- 3(y+ 1)^2+ 4(y+ 1)+ 5[/itex]. 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 [itex]x^2[/itex], 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##.
 

1. How do I check the result of a Taylor series for a polynomial function?

To check the result of a Taylor series for a polynomial function, you can compare it to the original function and see if they match. You can also use the remainder term formula to assess the accuracy of the series.

2. What is the formula for the remainder term in a Taylor series?

The remainder term formula for a Taylor series is given by R_n(x) = f^(n+1)(c) * (x-a)^(n+1) / (n+1)! where f^(n+1)(c) represents the (n+1)th derivative of the function evaluated at some point c between a and x.

3. Can I use a Taylor series to approximate any function?

Yes, a Taylor series can be used to approximate any function that is infinitely differentiable. However, the accuracy of the series may depend on the function and the interval of approximation.

4. How do I calculate the coefficients in a Taylor series?

The coefficients in a Taylor series can be calculated using the formula c_n = f^(n)(a) / n! where f^(n)(a) represents the nth derivative of the function evaluated at a. This formula can be used to find the coefficients for each term in the series.

5. Can a Taylor series be used to find the exact value of a function?

No, a Taylor series can only approximate a function. As the number of terms in the series increases, the approximation becomes more accurate but it will never be an exact value.

Similar threads

  • Calculus and Beyond Homework Help
Replies
27
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
3K
  • Calculus and Beyond Homework Help
Replies
6
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
4K
  • Calculus and Beyond Homework Help
Replies
1
Views
258
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K

Back
Top