How to remove duplicate solutions (Solve)?
- To: mathgroup at smc.vnet.net
- Subject: [mg91782] How to remove duplicate solutions (Solve)?
- From: Peng Yu <PengYu.UT at gmail.com>
- Date: Sun, 7 Sep 2008 22:53:57 -0400 (EDT)
Hi,
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.
Thanks,
Peng
- Follow-Ups:
- Re: How to remove duplicate solutions (Solve)?
- From: "Curtis F. Osterhoudt" <cfo@lanl.gov>
- Re: How to remove duplicate solutions (Solve)?