Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Different cases in Solve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89605] Re: [mg89575] Different cases in Solve
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 14 Jun 2008 05:31:17 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Your e-mail is unreadable, convert to InputForm before copy and paste.

Reduce[a*x == b, x]

(b == 0 && a == 0) ||
   (a != 0 && x == b/a)

Reduce[{a*x == b, a != 0}, x]

a != 0 && x == b/a

Reduce[{a*x == b, a == 0}, x]

b == 0 && a == 0

Reduce[{a*x == b, b != 0}, x]

a != 0 && x == b/a && b != 0


Bob Hanlon

---- Aaron Fude <aaronfude at gmail.com> wrote:
> Thanks!
>
> Can it be combined with Assuming somehow?
>
> *
>
> Assuming[a=C2=B90,Reduce[a x =C5  b, x]]
>
>
>
> doesn't work...
>
>
>
> Thanks!
>
>
>
> Aaron
> *



  • Prev by Date: Gradient fill as Background for Plot
  • Next by Date: Re: Different cases in Solve
  • Previous by thread: Re: Different cases in Solve
  • Next by thread: Re: Different cases in Solve