Re: Solve...or not
- To: mathgroup at smc.vnet.net
- Subject: [mg128551] Re: Solve...or not
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Fri, 2 Nov 2012 00:46:46 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20121101072008.AE953687B@smc.vnet.net>
On Nov 1, 2012, at 3:20 AM, "Harker, Anthony" <a.harker at ucl.ac.uk> wrote:
> I've seen some discussion of Version 8's Solve[] in this group, but have I missed something explaining this?
>
> I have the following behaviour (both under Windows 7)
>
> Mathematica 8.0.1.0
>
> Solve[{(y-2)/(x-1)==1,y==0},x]
> {}
>
> Mathematica 7.0.1.0
> Solve[{(y-2)/(x-1)==1,y==0},x]
> {{x->-1}}
You'll see same, empty, result with the currently shipping version, Mathematica 8.0.4. The platform is irrelevant; at least you'll see the same thing with Mac OS X, and undoubtedly under Linux as well.
You may use any of the following instead:
Solve[{(y - 2)/(x - 1) == 1, y == 0}, {x, y}]
Solve[{(y - 2)/(x - 1) == 1, y == 0}, x, MaxExtraConditions -> All]
Reduce[{(y - 2)/(x - 1) == 1, y == 0}, x]
Reduce[{(y - 2)/(x - 1) == 1, y == 0}, {x, y}]
---
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2838 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
- References:
- Solve...or not
- From: "Harker, Anthony" <a.harker@ucl.ac.uk>
- Solve...or not