How do you find the third degree Taylor polynomial for f(x)= ln xf(x)=lnx, centered at a=2?

1 Answer
Jul 21, 2015

ln(2)+1/2(x-2)-1/8(x-2)^2+1/24(x-2)^3ln(2)+12(x2)18(x2)2+124(x2)3.

Explanation:

The general form of a Taylor expansion centered at aa of an analytical function ff is f(x)=sum_{n=0}^oof^((n))(a)/(n!)(x-a)^nf(x)=n=0f(n)(a)n!(xa)n. Here f^((n))f(n) is the nth derivative of ff.

The third degree Taylor polynomial is a polynomial consisting of the first four (nn ranging from 00 to 33) terms of the full Taylor expansion.

Therefore this polynomial is f(a)+f'(a)(x-a)+(f''(a))/2(x-a)^2+(f'''(a))/6(x-a)^3.

f(x)=ln(x), therefore f'(x)=1/x, f''(x)=-1/x^2, f'''(x)=2/x^3. So the third degree Taylor polynomial is:
ln(a)+1/a(x-a)-1/(2a^2)(x-a)^2+1/(3a^3)(x-a)^3.

Now we have a=2, so we have the polynomial:
ln(2)+1/2(x-2)-1/8(x-2)^2+1/24(x-2)^3.