MathGroup Archive 2008

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

Search the Archive

Re: Different cases in Solve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89595] Re: [mg89575] Different cases in Solve
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 14 Jun 2008 05:29:24 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200806131011.GAA07773@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

    Reduce[a x == b, x]
(b==0&&a==0)||(a!=0&&x==b/a)

Aaron Fude wrote:
> Hi,
> 
> When one does Solve[a x == b, x], one gets {{x -> b/a}}. How does one
> get Mathematica to give you different solutions depending on cases: b/
> a if a nonzero, any number if a==b==0, and no solutions if a=0 and b
> is nonzero?
> 
> Many thanks in advance!
> 
> Aaron
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Different cases in Solve
  • Next by Date: Re: DiffMaps package
  • Previous by thread: Different cases in Solve
  • Next by thread: Re: Different cases in Solve