MathGroup Archive 2001

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

Search the Archive

Re: ArcTan[x, 0] With Numeric Values


You seem to have discovered a (minor) bug, which causes Simplify to 
misbehave for certain specific numeric inputs: namely Pi or E (and maybe 
others) but not 2Pi, E/2 etc. For example:

In[2]:=
Simplify[{ArcTan[2Pi,0],ArcTan[Pi/2,0],ArcTan[E/2,0],ArcTan[E,0],
     ArcTan[Pi,0]}]

Out[2]=
{0, 0, 0, ArcTan[E, 0], ArcTan[Pi, 0]}

Andrzej Kozlowski
Toyama International University
JAPAN
http://platon.c.u-tokyo.ac.jp/andrzej/

On Tuesday, August 28, 2001, at 05:54  PM, David Park wrote:

> Dear MathGroup,
>
> Why does this two argument form of ArcTan not automatically simplify 
> with
> numeric input? It does simplify with number input.
>
> {ArcTan[5, 0], ArcTan[Sqrt[5], 0], ArcTan[Pi, 0]}
> Simplify[%]
> FullSimplify[%]
>
> {0, ArcTan[Sqrt[5], 0], ArcTan[Pi, 0]}
> {0, 0, ArcTan[Pi, 0]}
> {0, 0, 0}
>
> One would normally expect the same simplification to automatically 
> occur in
> all three of these cases.
>
> David Park
> djmp at earthlink.net
> http://home.earthlink.net/~djmp/
>
>
>



  • Prev by Date: Re: ArcTan[x, 0] With Numeric Values
  • Next by Date: Delete All Output (bug)
  • Previous by thread: Re: ArcTan[x, 0] With Numeric Values
  • Next by thread: Section Grouping?