Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Reduce[] in version 5.1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52721] Re: [mg52678] Reduce[] in version 5.1
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 11 Dec 2004 05:21:14 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Use LogicalExpand

Reduce[{x^2 - y == 2, x + y == 0}, {x, y}]//LogicalExpand

(x == -2 && y == -x) || (x == 1 && y == -x)


Bob Hanlon

> 
> From: Gianluca Gorni <gorni at dimi.uniud.it>
To: mathgroup at smc.vnet.net
> Date: 2004/12/09 Thu PM 08:22:28 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg52721] [mg52678] Reduce[] in version 5.1
> 
> 
> Hello!
> 
> In Mathematica 5.1 I get the following result from Reduce:
> 
> Reduce[{x^2 - y == 2, x + y == 0}, {x, y}]
> 
> (x == -2 || x == 1) && y == -x
> 
> Sincerely, I preferred the output of version 4.2:
> 
> x==-2 && y==2 || x==1 && y==-1
> 
> To recover this good old form in 5.1 I have to Reduce[] twice:
> 
> Reduce[Reduce[{x^2 - y == 2, x + y == 0}, {x, y}]]
> 
> I think wri should work on this for the next version.
> 
> Best regards,
> 
> Gianluca Gorni
> 
> 


  • Prev by Date: Q:Changing Mathematica default terms arrangement
  • Next by Date: Re: power spectrum
  • Previous by thread: Re: Reduce[] in version 5.1
  • Next by thread: a strange line of code