MathGroup Archive 1990

[Date Index] [Thread Index] [Author Index]

Search the Archive


  • To: <mathgroup at>
  • Subject: Integrate?
  • From: Harald Hanche-Olsen <hanche at>
  • Date: Fri, 2 Nov 90 18:21:48 +0100

Robert Staerk <staerk at> writes ...

   Mathematica gives a wrong answer to the following integral:

			       2 Pi
			       |                  1/2
			       |    (2 - 2 cos(x))    dx

   Is this a known bug?

   In[1]:= Integrate[ Sqrt[2 - 2 Cos[x]], {x, 0, 2 Pi}]

   Out[1]= 0

This is apparently caused by Mathematicas attempts at being clever
about things like complex square roots, branch cuts and the like.
Yes, it is known.  And some people think Mathematica is brain-dead
because of it.  Myself, I haven't decided yet.  I keep alternating
between Mathematica and Maple, just like you seem to do...

- Harald Hanche-Olsen <hanche at>
  Division of Mathematical Sciences
  The Norwegian Institute of Technology
  N-7034 Trondheim, NORWAY

  • Prev by Date: getting Limit[] to evaluate
  • Next by Date: rootfind problem...
  • Previous by thread: getting Limit[] to evaluate
  • Next by thread: Integrate?