Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12230 > unrolled thread

Re: Solve...or not

Started byBob Hanlon <hanlonr357@gmail.com>
First post2012-11-02 05:11 +0000
Last post2012-11-02 05:11 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Solve...or not Bob Hanlon <hanlonr357@gmail.com> - 2012-11-02 05:11 +0000

#12230 — Re: Solve...or not

FromBob Hanlon <hanlonr357@gmail.com>
Date2012-11-02 05:11 +0000
SubjectRe: Solve...or not
Message-ID<k6vkms$6iv$1@smc.vnet.net>
$Version

"8.0 for Mac OS X x86 (64-bit) (October 5, 2011)"

eqns = {(y - 2)/(x - 1) == 1, y == 0};

Solve[eqns, {x, y}]

{{x -> -1, y -> 0}}

Solve[eqns, Variables[eqns]]

{{x -> -1, y -> 0}}

Simplify[Solve[eqns[[1]], x], eqns[[2]]]

{{x -> -1}}

Simplify[Solve[#[[1]], x], #[[2]]] &@eqns

{{x -> -1}}

Solve[eqns, x, Integers]

{{x -> ConditionalExpression[-1, y == 0]}}

Reduce[eqns, {x, y}] // ToRules

{x -> -1, y -> 0}

Reduce[eqns, x] // ToRules

{y -> 0, x -> -1}

Eliminate[eqns, y] // ToRules

{x -> -1}


Bob Hanlon


On Thu, Nov 1, 2012 at 3:20 AM, Harker, Anthony <a.harker@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}}
>
>   Tony
>
> Tony Harker
> Department of Physics and Astronomy
> University College London
> Gower Street
> London
> WC1E 6BT
>
> Tel: (within UK)    020 7679 3404
>      (overseas ) +44 20 7679 3404
> E:    a.harker@ucl.ac.uk
>
> [...] clay possesses one considerable advantage: it is resistant to fire, water, and magnetic disturbances. In [...] a few thousand years, our photographs, books and hard disks will no doubt have disappeared, but our collections of cuneiform tablets will still be there.
>
>   Dominique Charpin, Reading and Writing in Babylon (2010) translated by Jane Marie Todd.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web