MathGroup Archive 1998

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

Search the Archive

Re: (a-b)/(c-d)=!=(b-a)/(d-c) ???


This could fix for you:

Unprotect[Simplify];
Simplify[Equal[x_,y_]]/;(y=!=0):=Equal[Simplify[x-y],0];
Unprotect[TrueQ];
TrueQ[x_]/;(Head[x]=!=Simplify):=If[Simplify[x],True,False];

Tim Dellinger wrote in message <6n4oke$nj7 at smc.vnet.net>...
>How come
>(a-b)/(c-d) === (b-a)/(d-c)
>
>returns False, i.e. TrueQ[ (a-b)/(c-d) =!= (b-a)/(d-c) ]  returns True,
>
>but
>
>(a-b)/(c-d) === Simplify[ (b-a)/(d-c) ]
>
>returns True ???
>
>Why does mere simplification change anything? I'm using Mathematica
>3.0.?  on win95.
>
>
>--
>--
>"Perhaps my most deeply rooted hobby is to understand         Tim
>Dellinger
> the mechanisms of simple and familiar
>tdelling at uiuc.edu
> natural phenomena." Irving Langmuir
>http://www.ews.uiuc.edu/~tdelling
>



  • Prev by Date: Re: How to declare Integers?
  • Next by Date: Re: Importing images
  • Previous by thread: Re: (a-b)/(c-d)=!=(b-a)/(d-c) ???
  • Next by thread: Dynamic Visualizer press release