MathGroup Archive 1991

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

Search the Archive

Re: question about Solve


Paul Schatz writes:

> I want to solve some equations involving the matrix elements of
> u--insuring of course that u be orthogonal.  ... when I use Solve with
> the two conditions orth1 and orth4, I get four solutions. The third of
> these is correct. The others do not keep u orthogonal. Then I use
> Solve again. This time I add the additional condition orth2. It seems
> obvious to me that I should now get only the one correct solution.
> But in fact, Solve reports no solutions.

Solve frequently exhibits the problem of giving no solution.  When you
can get it to give you a list of solutions, one of which you know to be
right (the case at hand) you can use this trick.

	Select[Solve[...], (criterion/.#)&]

where "criterion" is an expresion that is true only for the correct
answer. 

  -- David Jacobson




  • Prev by Date: question about Solve
  • Next by Date: Netlib Mathematical Software Distribution System
  • Previous by thread: question about Solve
  • Next by thread: Netlib Mathematical Software Distribution System