How do you find the Taylor polynomials of orders 0, 1, 2, and 3 generated by f at a f(x) = cos(x), a= pi/4?

Answer 1

#cos(x) = #

#sqrt(2)/2 - (sqrt(2)/(2)(x-pi/4))/(1!) - (sqrt(2)/(2)(x-pi/4)^(2))/(2!)+ (sqrt(2)/(2)(x-pi/4)^(3))/(3!) + ...#

#=sum_(n=0)^(∞) (f^(n)(pi/4) (x-pi/4)^(n))/(n!)#

Remembering that any function #f(x)# can be expressed as an infinite sum centered at a specific point #a# is found using the formula

#f(x) = f(a) + (f^(1)(a) (x-a)^(1))/(1!)+ (f^(2)(a) (x-a)^(2))/(2!)+ ...#

We can compute the required derivatives (in this case three) and find a general formula for our infinite sum.

Calculations:

#f(x) = cos(x) -> f(pi/4) .......................................= sqrt(2)/(2)#

#f^(1)(x) = -sin(x) -> f^(1)(pi/4) ............................... = - sqrt(2)/(2)#

#f^(2)(x) =-cos(x) -> f^(2)(pi/4) ...............................= - sqrt(2)/(2)#

#f^(3)(x) = sin(x) -> f^(3)(pi/4) .....................................= sqrt(2)/(2)#

Now that we have our derivatives at point #x=pi/4#, we can construct our four terms:

#cos(x) = #

#sqrt(2)/2 - (sqrt(2)/(2)(x-pi/4))/(1!) - (sqrt(2)/(2)(x-pi/4)^(2))/(2!)+ (sqrt(2)/(2)(x-pi/4)^(3))/(3!) + ...#

#=sum_(n=0)^(∞) (f^(n)(pi/4) (x-pi/4)^(n))/(n!)#

To check our answer, we can always graph both equations:

Graph of #cos x#

graph{cos x [-7.9, 7.895, -3.95, 3.95]}

Graph of #sqrt(2)/2 - (sqrt(2)/(2)(x-pi/4))/(1!) - (sqrt(2)/(2)(x-pi/4)^(2))/(2!)+ (sqrt(2)/(2)(x-pi/4)^(3))/(3!) #

graph{sqrt(2)/(2) - (sqrt(2)/(2)(x-pi/4))/(1!) - (sqrt(2)/(2)(x-pi/4)^(2))/(2!)+ (sqrt(2)/(2)(x-pi/4)^(3))/(3!) [-7.9, 7.895, -3.95, 3.95]}

Overlapping both graphs gives you the following:

If we increase the number of polynomial terms in our series we automatically make it a better approximation to our function.

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer 2

The Taylor polynomials of orders 0, 1, 2, and 3 generated by ( f ) at ( a ) where ( f(x) = \cos(x) ) and ( a = \frac{\pi}{4} ) are as follows:

Order 0: [ P_0(x) = f(a) = f\left(\frac{\pi}{4}\right) = \cos\left(\frac{\pi}{4}\right) = \frac{\sqrt{2}}{2} ]

Order 1: [ P_1(x) = f(a) + f'(a)(x-a) = \cos\left(\frac{\pi}{4}\right) - \sin\left(\frac{\pi}{4}\right)(x - \frac{\pi}{4}) = \frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2}(x - \frac{\pi}{4}) ]

Order 2: [ P_2(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 = \cos\left(\frac{\pi}{4}\right) - \sin\left(\frac{\pi}{4}\right)(x - \frac{\pi}{4}) - \cos\left(\frac{\pi}{4}\right)\left(x - \frac{\pi}{4}\right)^2 ]

Order 3: [ P_3(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \frac{f'''(a)}{3!}(x-a)^3 ] [ = \cos\left(\frac{\pi}{4}\right) - \sin\left(\frac{\pi}{4}\right)(x - \frac{\pi}{4}) - \cos\left(\frac{\pi}{4}\right)\left(x - \frac{\pi}{4}\right)^2 - \sin\left(\frac{\pi}{4}\right)\left(x - \frac{\pi}{4}\right)^3 ]

Sign up to view the whole answer

By signing up, you agree to our Terms of Service and Privacy Policy

Sign up with email
Answer from HIX Tutor

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

When evaluating a one-sided limit, you need to be careful when a quantity is approaching zero since its sign is different depending on which way it is approaching zero from. Let us look at some examples.

Not the question you need?

Drag image here or click to upload

Or press Ctrl + V to paste
Answer Background
HIX Tutor
Solve ANY homework problem with a smart AI
  • 98% accuracy study help
  • Covers math, physics, chemistry, biology, and more
  • Step-by-step, in-depth guides
  • Readily available 24/7