MathGroup Archive 2005

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

Search the Archive

Unexpected behavior of Simplify

Hello MathGroup.

What is the explanation for this behavior?

\!\(ClearAll[a, b, c]\[IndentingNewLine]
   \(expr = c\^4\ b\^2 + a\^4\ b\^2 + c\^2\ a\^2\ \((1 - 2\ b\^2)\);\)\
   Simplify[expr /. {a -> b, b -> a}] /. {a -> b, b -> a}\)
\!\(a\^4\ b\^2 + a\^2\ \((1 - 2\ b\^2)\)\ c\^2 + b\^2\ c\^4\)
\!\(a\^2\ c\^2 + b\^2\ \((a\^2 - c\^2)\)\^2\)

The second application of the replacement is merely for clarity; the 
unexpected behavior is present without it.


  • Prev by Date: Re: Replacement equivalence?
  • Next by Date: Re: Re: Gray's Differential Geometry error?
  • Previous by thread: What does it mean to "change the sense of inequality'?
  • Next by thread: Re: Unexpected behavior of Simplify