Register to reply 
Cos(i) using taylor seriesby piercebeatz
Tags: taylor series 
Share this thread: 
#1
Dec2112, 11:21 AM

P: 232

Is there a way to find the cosine of i, the imaginary unit, by computing the following infinite sum?
[tex]cos(i)=\sum_{n=0}^\infty \frac{(1)^ni^{2n}}{(2n)!}[/tex] Since the value of ##i^{2n}## alternates between 1 and 1 for every ##n\in\mathbb{N}##, it can be rewritten as ##(1)^n##. [tex]\sum_{n=0}^\infty \frac{(1)^n(1)^n}{(2n)!}[/tex] ##(1)^n(1)^n=(1)^{2n}##, which is equal to one for all ##n\in\mathbb{N}##. Thus, [tex]cos(i)=\sum_{n=0}^\infty \frac{1}{(2n)!}[/tex] Is all of this correct? If so, how would the final sum be calculated? Edit: got the inline equations working 


#2
Dec2112, 11:26 AM

P: 232

By the way, can someone remind me how to do inline equations? single dollar signs are not working for some reason. Also, why won't my last equation come out?



#3
Dec2112, 11:41 AM

Sci Advisor
P: 3,254

(Begin a replywithquote to someone's post that has the type of expression you want and you'll see the details of the LaTex.) If you right click on a an expression you can get some menus and one of them gives options to pick the "math renderer". Picking a different renderer can fix some problems with how formulas are displayed. 


#4
Dec2112, 11:47 AM

Mentor
P: 11,617

Cos(i) using taylor series
Looks correct so far. cos(i)=cosh(1) which can be expressed with exponential functions. If you write them as series and simplify, you should get the same result.
You can use ## for inline TeX. 


#5
Dec2112, 12:25 PM

P: 232




#6
Dec2112, 12:46 PM

HW Helper
Thanks
P: 946

\sum_{n=0}^{\infty} \frac{1}{(2n)!} = \frac12 \sum_{m=0}^{\infty} \left(\frac{1}{m!} + \frac{(1)^m}{m!}\right) = \frac12(e + e^{1}). [/tex] 


#7
Dec2112, 01:35 PM

P: 232




#8
Dec2112, 02:10 PM

Mentor
P: 11,617

Clever guessing (based on the known result). Write down the first terms of the second sum and you'll see how it works.
For odd m, both summands cancel each other, for even m, they stay (and get a factor of 2 to cancel the 1/2). 


Register to reply 
Related Discussions  
Shortcut to taylor series of f, given taylor series of g  Calculus  2  
Inverse Laplace Transfrom  Taylor Series/Asymptotic Series?!  Calculus & Beyond Homework  2  
Check my solution to a power series/taylor series problem  Calculus & Beyond Homework  2  
Taylor Series using Geometric Series and Power Series  Calculus & Beyond Homework  5  
Taylor Series without using the builtin MATLAB Taylor's Function  Math & Science Software  1 