Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

We use this function to define the boundaries for the product in the denominator:

$$f(\text{n$\_$})\text{:=}\frac{1}{8} \left(2 n (n+2)-(-1)^n+1\right)$$

We calculate the infinite sum:

$$\sum _{n=1}^{\infty } \frac{1}{(f(n)+1)_{f(n+1)-f(n)}}$$

We get this complex number:

$$0.61944\, -\text{5.565802539025895$\grave{ }$*${}^{\wedge}$-19} i$$

Is this a reasonable result?

Note: The calculation takes a very long time in Mathematica, so if this is not reasonable, it's time to perform some debugging.

share|improve this question
5  
$−5.565802539025895\cdot 10^{-19}i$ points to an accuracy error. –  draks ... Jul 10 '12 at 22:08
1  
Yes, that would seem to be roundoff-error. You know of the function Chop[], I presume? –  J. M. Jul 10 '12 at 23:05
add comment

1 Answer

up vote 3 down vote accepted

no, it's not reasonable to get a complex number, when the members of sum are real. We can conclude this, by discussing imaginary parts of both sides.

share|improve this answer
1  
Not reasonable mathematically. From the computational point of view, it is reasonable that machine-precision calculations with real numbers may sometimes produce results with a nonzero (but very small) imaginary part. –  user31373 Jul 10 '12 at 22:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.