Question
Question: How do you find the third degree Taylor polynomial for f(x) = lnx, centered at a = 2?...
How do you find the third degree Taylor polynomial for f(x) = lnx, centered at a = 2?
Solution
In the above question we have to find the third-degree Taylor polynomial. Given a function f, a specific point x = a (called the centre), and a positive integer n, the Taylor polynomial of f at a, of degree n, is the polynomial T of degree n that best fits the curve y = f(x) near the point a, in the sense that T and all its first n derivatives have the same value at x = a as f does. So, let us see how we can solve this problem.
Complete step by step solution:
We have to solve this problem using Taylor polynomials. The general form of Taylor expansion centered at a of an analytical function f is :
⇒f(x)=n=0∑∞n!f(n)(a)(x−a)n . In this equation, f(x) is a derivative of f.
In the third degree of Taylor polynomial, the polynomial consists of the first four terms ranging from 0 to 3.
Therefore, the polynomial term is
=f(a)+f′(a)(x−a)+2f′′(a)(x−a)2+6f′′(a)(x−a)3.
Given, f(x) = lnx
Therefore, ⇒f′(x)=x1,f′′(x)=−x21,f′′′(x)=x32.
So, the third-degree polynomial will be
=ln(a)+a1(x−a)−2a21(x−a)2+3a21(x−a)3
So, now we have a = 2, then the polynomial will be
=ln(2)+21(x−2)−81(x−2)2+241(x−2)3
Note:
In the above solution we used the general form of the Taylor formula that is ⇒f(x)=n=0∑∞n!f(n)(a)(x−a)n . Then we find the third-degree Taylor polynomial in which we put a = 2 and f(x) = lnx. And therefore, we get ln(2)+21(x−2)−81(x−2)2+241(x−2)3 as the answer.