MathGroup Archive 2008

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

Search the Archive

How to remove duplicate solutions (Solve)?


Solve[(x - 1)^2 == 0, x]

The above code would give me the solution
{{x -> 1}, {x -> 1}}

But one is a duplicate of the other. I'm wondering how to only produce
the unique solutions.


  • Prev by Date: Re: force variable to be real
  • Next by Date: Re: Use of delayed assignment, :=, with a list
  • Previous by thread: Re: Mathematica and F#
  • Next by thread: Re: How to remove duplicate solutions (Solve)?