Find the Taylor series for f(x) centered at the given value of a. [Assume that f has a power series expansion. Do not show that R(x) → 0.] 4cos(x) at a= 3pi
you should start by creating a list of the derivatives of f(x)
i got the series as this: \[-4 + 0 (x-3 pi) + \frac{4}{2!}(x-3pi)^2 + 0(x-3pi)^3 - \frac{4}{2!}(x-3pi)^4+....\]
derivatives: -4sinx -4cosx 4sinx 4cosx
lets see if that works :) recall that 3pi is the same as pi cos(pi) = -1 ; sin(pi) = 0 cos -sin -cos sin cos -sin -cos ... we can ignore all the sin bits and the cos parts swap signs -4, 4. -4. 4. -4. 4 are the coeefs we are looking for
lets plug those into the standard set up for the taylor: \[T_s=c_0\frac{(x-a)^0}{0!}+c_1\frac{(x-a)^1}{1!}+c_2\frac{(x-a)^2}{2!}+c_3\frac{(x-a)^3}{3!}+...\] \[T_s=-4\frac{(x-3\pi)^0}{0!}+4\frac{(x-3\pi)^1}{1!}-4\frac{(x-3\pi)^2}{2!}+4\frac{(x-3\pi)^3}{3!}+...\]
we can simply that with summation notation
\[T_s=\sum_{0}^{inf}\frac{(-4)^{(n+1)}(x-3pi)^n}{n!}\]
ahh ok. Thank you!
i see an error
i forgot to modify my exponents when I deleted the sins
I was going to say, you want even powers of n...
make the the bottom 2n! and that x^(2n)
:) good catch phi
tyler looks good except for a typo on the last term 4! (not 2!)
Ohh ok, Thank you both!!
Getting the correct sign seems tricky
Yeah in my first answer i had (-1)^n and not n+1. Thanks for the help
tweak amistre's answer, the 4 does not belong inside the exponent (n+1)
Join our real-time social learning platform and learn together with your friends!