youngwerther
Banned
My teacher has a fun habit of giving us homework over things we haven't yet covered in class.
I'm trying to do Taylor polynomial approximations teaching myself with internet videos and as you can imagine it's not going well.
I'll just write out everything, please tell me what I'm doing wrong.
Question -
Find the degree 3 Taylor polynomial approximation to the function f(x) = 2ln(sec(x)) at a = 0.
From what I gather that means I need the first 3 derivatives.
So
f(x) = 2ln(sec(x))
f'(x) = 2tan(x)
f''(x) = 2sec^2(x)
f'''(x) = 4tan(x)sec^2(x)
and then I need the values of these at a = 0
So
f(0) = 0
f'(0) = 0
f''(0) = 2
f'''(0) = 0
Now, the formula I should be using is I guess this
f(a) + (f'(a)/1!)(x-a)^1 + (f''(a)/2!)(x-a)^2 + (f'''(a)/3!)(x-a)^3
When I plug everything in -
0 + (0/1)(x) + (2/2)(x)^2 + (0/6)(x)^3
So as far as I can tell, the zeros kill the 1st and 3rd degree terms, and I'm left with 2x^2.
That isn't correct. Anyone know what's wrong here?
I'm trying to do Taylor polynomial approximations teaching myself with internet videos and as you can imagine it's not going well.
I'll just write out everything, please tell me what I'm doing wrong.
Question -
Find the degree 3 Taylor polynomial approximation to the function f(x) = 2ln(sec(x)) at a = 0.
From what I gather that means I need the first 3 derivatives.
So
f(x) = 2ln(sec(x))
f'(x) = 2tan(x)
f''(x) = 2sec^2(x)
f'''(x) = 4tan(x)sec^2(x)
and then I need the values of these at a = 0
So
f(0) = 0
f'(0) = 0
f''(0) = 2
f'''(0) = 0
Now, the formula I should be using is I guess this
f(a) + (f'(a)/1!)(x-a)^1 + (f''(a)/2!)(x-a)^2 + (f'''(a)/3!)(x-a)^3
When I plug everything in -
0 + (0/1)(x) + (2/2)(x)^2 + (0/6)(x)^3
So as far as I can tell, the zeros kill the 1st and 3rd degree terms, and I'm left with 2x^2.
That isn't correct. Anyone know what's wrong here?