MathGroup Archive 2005

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

Search the Archive

Re: Simplify[expr] bug?

  • To: mathgroup at
  • Subject: [mg53428] Re: [mg53398] Simplify[expr] bug?
  • From: yehuda ben-shimol <benshimo at>
  • Date: Tue, 11 Jan 2005 01:31:24 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

Hi Ken,
All are syntax problems. Arguments of functions are surrounded by 
brackets []
So test 1:

the expression is already in simplified form so it will not be changed

Test 2:
I couldn't figure out why you wrote a superscript for 1, but again 
change the Cos( .. ) to Cos[.. ]


Ken Tozier wrote:

>I'm a complete newbie to Mathematica and not a math whiz, but the 
>results I got from the following two equations seems like bugs to me.
>Test 1:
>Running: Simplify[Sin(a) - Sin(b)]
>Yeilds: (a - b)Sin
>Looks like it's treating the function "Sin" like a coefficient
>Test 2:
>Running: Simplify[d/s + Cos(2*¹*v/s) - Cos(2*¹*(v - 1)/s)]
>Yeilds: (d + 2 Cos ¹) / s
>Mathematica completely factors out the variable "v" which is critical 
>to the correct solution.
>Are these bugs or am I making an inadvertent syntax error.
>Ken Tozier

  • Prev by Date: Re: Re: Export Animation
  • Next by Date: Re: Simplify[expr] bug?
  • Previous by thread: Re: Simplify[expr] bug?
  • Next by thread: Re: Simplify[expr] bug?