positive root only using Solve[]
- To: mathgroup at smc.vnet.net
- Subject: [mg41791] positive root only using Solve[]
- From: "seferiad" <seferiad at pacbell.net>
- Date: Thu, 5 Jun 2003 07:31:33 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello, Consider the following equation. Solve[x^2 ==1, x] Mathematica will output 1 and -1 for x. However, I only want Mathematica to output the positive solution (i.e., x -> 1), so I can use this conveniently in a subsequent equation. Is there a way to force the output to produce only the positive solution? Thanks, Jay