Different cases in Solve

*To*: mathgroup at smc.vnet.net*Subject*: [mg89575] Different cases in Solve*From*: Aaron Fude <aaronfude at gmail.com>*Date*: Fri, 13 Jun 2008 06:11:24 -0400 (EDT)

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

**Follow-Ups**:**Re: Different cases in Solve***From:*Andrzej Kozlowski <akoz@mimuw.edu.pl>

**Re: Different cases in Solve***From:*Murray Eisenberg <murray@math.umass.edu>