Group Abstract Group Abstract

Message Boards Message Boards

[?] Solve this system of equations with some assumptions?

Posted 8 years ago
POSTED BY: Joe Ford
3 Replies

Another issue is that the system is overdetermined (four equation in three variables) and has no generic solution. When I remove the radicals by squaring I get reasonable speed and an empty solution set.

Solve[{rps^2 == (xs - xp)^2 + (ys - yp)^2 + (zs - 
       zp)^2, (rps Sin[theta] Cos[phi] + xp)^2 == 
   4 f zs + 4 f^2 - ys^2, (rps Sin[theta] Sin[phi] + yp)^2 == 
   4 f zs + 4 f^2 - xs^2, 
  rps Cos[theta] + zp == (xs^2 + ys^2)/(4 f) - f}, {xs, ys, zs}]

(* Out[385]= {} *)
POSTED BY: Daniel Lichtblau
Posted 8 years ago

Thank you for your corrections on my use of "Real" and "Assumptions". However i think the problem must be a bug in my copy of Mathematica, or simply my computer being very slow. I attempted this problem previously with no assumptions at all and it still took forever, i also tried inputting the equations in various forms. On running your example code, the program ran for over ten minutes at which point I aborted :(. Perhaps i need to re-install and/or get a new computer.

POSTED BY: Joe Ford
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard