How to find the cosine of i using Taylor series?

Click For Summary

Discussion Overview

The discussion centers on finding the cosine of the imaginary unit \(i\) using the Taylor series expansion. Participants explore the infinite sum representation of the cosine function and its evaluation, as well as connections to hyperbolic functions.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes using the Taylor series for cosine, specifically \( \cos(i) = \sum_{n=0}^\infty \frac{(-1)^n i^{2n}}{(2n)!} \), and rewrites \(i^{2n}\) as \((-1)^n\).
  • Another participant confirms the correctness of the approach so far and notes that \( \cos(i) = \cosh(1) \), suggesting a connection to exponential functions.
  • Some participants express interest in evaluating the sum without resorting to hyperbolic functions, questioning the need for such an extension.
  • A later reply discusses the transformation of the sum \( \sum_{n=0}^{\infty} \frac{1}{(2n)!} \) into another form involving \( \sum_{m=0}^{\infty} \left(\frac{1}{m!} + \frac{(-1)^m}{m!}\right) \), prompting a request for clarification on this step.
  • Another participant suggests that the transformation is based on known results and hints at the cancellation of terms in the series.

Areas of Agreement / Disagreement

Participants generally agree on the validity of the Taylor series approach but express differing views on the necessity of using hyperbolic functions and the evaluation of the sum. The discussion remains unresolved regarding the best method for evaluating the sum.

Contextual Notes

Some participants note limitations in their understanding of the series transformations and the specific steps involved in evaluating the infinite sums.

pierce15
Messages
313
Reaction score
2
Is there a way to find the cosine of i, the imaginary unit, by computing the following infinite sum?

cos(i)=\sum_{n=0}^\infty \frac{(-1)^ni^{2n}}{(2n)!}

Since the value of ##i^{2n}## alternates between -1 and 1 for every ##n\in\mathbb{N}##, it can be rewritten as ##(-1)^n##.

\sum_{n=0}^\infty \frac{(-1)^n(-1)^n}{(2n)!}

##(-1)^n(-1)^n=(-1)^{2n}##, which is equal to one for all ##n\in\mathbb{N}##. Thus,

cos(i)=\sum_{n=0}^\infty \frac{1}{(2n)!}

Is all of this correct? If so, how would the final sum be calculated?

Edit: got the inline equations working
 
Last edited:
Physics news on Phys.org
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?
 
piercebeatz said:
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?

The forum can use "tags" inclosed in square brackets (with no spaces between the tag and the surrounding brackets). The tag for beginning an expression in-line with text is itex. The tag for ending it is /itex. For writing latex on a separate line, the tags are tex and /tex.

(Begin a reply-with-quote 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.
 
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.
 
mfb said:
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.

I am aware that it is possible to extend trigonometric functions to imaginary values using hyperbolic trig functions. However, I am wondering if this sum can be evaluated without doing so
 
piercebeatz said:
I am aware that it is possible to extend trigonometric functions to imaginary values using hyperbolic trig functions. However, I am wondering if this sum can be evaluated without doing so

<br /> \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}).<br />
 
pasmith said:
<br /> \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}).<br />

How did you change the first sum to the second?
 
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).
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
5K