How do I build a Taylor polynomial from the derivatives at a point?
Build a Taylor polynomial from the derivatives at the center, and read derivatives back from the coefficients.
Match the value, the slope, and the bend at the center, and the polynomial stays close longer.
The coefficient of is .
The degree is the highest power, not the number of terms; a term can be .
A coefficient given? Multiply by to get .
An approximation from is written with , not .
Coefficient or derivative
Common mistake
Correction
Idea 1: find the coefficients
Idea one: find the coefficients. We want a polynomial that acts like root x near x equals four. Write it in powers of x minus four, with coefficients we don't know yet: c sub zero, plus c sub one times x minus four, plus c sub two times x minus four squared, plus c sub three times x minus four cubed. A question first. Is root x a polynomial?
No, it isn't. So no polynomial can equal it everywhere.
What we can do is match it at four: the same value, and the same first three derivatives. Start with the value. Put x equals four into P. Every x minus four becomes zero, so P of four is just c sub zero. We want that to be f of four.
So c sub zero is f of four. Now differentiate. The constant c sub zero disappears. P prime of x is c sub one, plus two c sub two times x minus four, plus three c sub three times x minus four squared. Put in four again. Only c sub one is left: P prime of four is c sub one.
We want that to be f prime of four. So c sub one is f prime of four. Differentiate again. P double prime of x is two c sub two, plus three times two, c sub three, times x minus four. At four, only two c sub two is left.
Set it equal to f double prime of four. So c sub two is f double prime of four, over two. And once more. P triple prime of x is three times two, times c sub three. It is a constant now. Set it equal to f triple prime of four.
So c sub three is f triple prime of four, over three times two. See what happened. Each time we differentiate and put in four, the next coefficient comes out, tied to the next derivative of f. Now the numbers. Root x is x to the one half. So f prime is one half, x to the negative one half.
f double prime is negative one fourth, x to the negative three halves. And f triple prime is three eighths, x to the negative five halves. Each time, the exponent comes down in front and drops by one. At four, we need those powers. Four to the negative one half is one over root four, which is one half.
Four to the negative three halves is one over root four, cubed: one eighth. Four to the negative five halves is one over root four, to the fifth: one over thirty-two. Put those in. f of four is two. f prime of four is one half times one half, which is one fourth. For f double prime of four, multiply negative one fourth by one eighth: that's negative one over thirty-two.
For f triple prime of four, multiply three eighths by one over thirty-two: that's three over two hundred fifty-six. Now the coefficients. c sub zero is two. c sub one is one fourth. c sub two is negative one over thirty-two, times one half: negative one over sixty-four.
c sub three is three over two hundred fifty-six, times one sixth: one over five hundred twelve. So the polynomial is two, plus one fourth times x minus four, minus one over sixty-four, times x minus four squared, plus one over five hundred twelve, times x minus four cubed.
Idea 2: stop at degree 1, 2, 3
Idea two: where you stop. You don't have to keep every term. Keep the first two, and you have P sub one: two, plus one fourth times x minus four. Its degree is one, and it is exactly the tangent line at four. Keep three terms, and you have P sub two: P sub one, minus one over sixty-four, times x minus four squared.
This one bends with the curve. Keep all four terms, and you have P sub three: P sub two, plus one over five hundred twelve, times x minus four cubed. Its degree is three. Check them at five where x minus four is just one. So each polynomial is the sum of its coefficients.
P sub one is two plus one fourth, which is two point two five. P sub two is two point two five, minus one over sixty-four: about two point two three four four. P sub three is P sub two, plus one over five hundred twelve: about two point two three six three. And the real value, root five, is about two point two three six one. Each new term matches one more derivative at four, and here the answer gets closer to the real value.
That is the whole idea of a Taylor polynomial, and next we write it for any function.
Idea 3: the pattern
Idea three: the pattern. Nothing in those steps was special to root x, or to four. Take any function f that has the derivatives we need, and any point A, the way we used four. Write the polynomial in powers of x minus A: c sub zero, plus c sub one times x minus A, plus c sub two times x minus A squared, plus c sub three times x minus A cubed, plus c sub four times x minus A to the fourth. Do the same steps: put in A, differentiate, put in A again.
c sub one equals f prime of A. Two c sub two equals f double prime of A. And three times two, c sub three, equals f triple prime of A. Differentiate once more and put in A: four times three times two, c sub four, equals the fourth derivative of f at A. We write the fourth derivative as f with a four in parentheses.
In the same way, f with a k in parentheses is the k-th derivative. The parentheses tell you it is not a power. Look at the numbers in front. Two is two factorial. Three times two is three factorial.
Four times three times two is four factorial. So divide by the factorial: c sub k is the k-th derivative of f at A, over k factorial. The factorial comes from differentiating the power, not from f. Now put the terms together. P sub n of x is f of A, plus f prime of A times x minus A, plus f double prime of A over two factorial, times x minus A, squared, and so on, up to the n-th derivative of f at A, over n factorial, times x minus A, to the n.
This polynomial matches f at A: the same value, and the same first n derivatives. It is called the Taylor polynomial of degree n for f, about x equals A, and the point A is called its center. When the center is zero, it has its own name: a Maclaurin polynomial. One last question. What if the terms never stop?
Then it is not a polynomial any more. That is how functions like sine x, cosine x, and e to the x get written. We'll get there later in the unit.
Idea 4: write one, and a term can be zero
Idea four: write one. Now let's write one, and watch for a trap. Take f of x equals cosine x, with center zero, and find P sub three. Write the function and its derivatives. f is cosine x.
f double prime is negative cosine x. And f triple prime is sine x. Plug in zero. The values are one, zero, negative one, and zero. Divide each value by the factorial of its order.
P sub three of x is one, plus zero times x, minus one over two factorial times x squared, plus zero over three factorial times x cubed. The terms with zero drop out. So P sub three of x is one, minus x squared over two. The x cubed term is there, with coefficient zero. So this is still P sub three, even though its highest power is two.
So P sub n means every term up to the n-th power, and some of them can be zero. The highest power you actually see can be lower than n. So never find n by counting terms.
Idea 5: coefficient and derivative, both ways
Idea five: coefficient and derivative. Start from the pattern. The coefficient of x minus A, to the k, is the k-th derivative of f at A, over k factorial. On the exam, you read it both ways. A derivative is given.
Then the coefficient of x minus one, squared, is six over two factorial, which is three. Now the other way. A coefficient is given. Say the polynomial has the term negative two, times x minus one, to the fourth. That negative two is the fourth derivative of f at one, over four factorial. Multiply both sides by four factorial.
The fourth derivative of f at one is negative two times four factorial. That's negative two times twenty-four, which is negative forty-eight. So, from a derivative to a coefficient, divide by k factorial. From a coefficient back to a derivative, multiply by k factorial. Dividing gives a coefficient, and multiplying gives a derivative. Keep those straight.
Idea 5: read the coefficients off a graph
Idea five, again: reading from a graph. Here's a use for that link. The coefficients of P sub two come from the value, the slope, and the bend of f at the center. So you can read their signs by looking at the curve. Write it out. P sub two of x is f of A, plus f prime of A times x minus A, plus f double prime of A over two, times x minus A, squared.
Center it at zero. The curve is above the axis, so the value is positive. It's rising, so the slope is positive.
And it bends down, so the second derivative is negative. The signs are plus, plus, minus. Now center it at four. The curve is above the axis, it's rising, and now it bends up. So every coefficient is positive: plus, plus, plus.
It's the same function both times. Move the center, and the coefficients change, because they describe the curve at the center.
Example 1: from derivatives to a polynomial
Example one is a free response question. A function f has f of two equals five, f prime of two equals negative one, f double prime of two equals four, and f triple prime of two equals eighteen. In part a, write the third-degree Taylor polynomial for f about x equals two. In part b, use it to approximate f of two point one. The plan: each coefficient is a derivative of f at two, divided by k factorial.
Negative one. Four over two factorial, which is two. And eighteen over three factorial, which is three. This line earns the point. P sub three of x is five, minus the quantity x minus two, plus two times x minus two, squared, plus three times x minus two, cubed. The plan: x minus two is zero point one here.
So every term has a power of zero point one in it, and the powers shrink fast. For part b, P sub three of two point one is five, minus zero point one, plus two times zero point zero one, plus three times zero point zero zero one. That's five, minus zero point one, plus zero point zero two, plus zero point zero zero three, which adds up to four point nine two three. This line earns the point. f of two point one is approximately four point nine two three.
Use the approximately-equal sign: the polynomial gives an approximation, not the exact value.
Example 2: from a coefficient to a derivative
Example two is multiple choice. The third-degree Taylor polynomial for f about x equals one is P sub three of x equals four, minus two times x minus one, plus three times x minus one, squared, plus five times x minus one, cubed. What is f triple prime of one? The plan: f triple prime of one, over three factorial, is the coefficient of x minus one, cubed. So we go backward.
Read that coefficient from the polynomial: f triple prime of one, over three factorial, equals five. Five is the cubic coefficient. To recover the third derivative at one, multiply five by three factorial. Five times six gives thirty. So the answer is D.
Choice B is the coefficient itself, before you multiply by the factorial.
Stay with that polynomial for a moment. The coefficients and the derivatives are easy to mix up, so one wrong reading is very common. This is where people lose points. Five is the coefficient, so a common answer writes f triple prime of one equals five. But that five already has the factorial divided out.
Here's the right reading. Five equals f triple prime of one, over three factorial.
A function has derivatives of all orders, with , , , and . (a) Write the third-degree Taylor polynomial for about . (b) Use the polynomial to approximate . (c) Does have a relative maximum, a relative minimum, or neither at ? Justify your answer.