Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2079

Re: anything faster than Solve[] for solving sets of polynomial equations symbolically?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!news-xxxfer.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From David Skulsky <edskulsky@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: anything faster than Solve[] for solving sets of polynomial equations symbolically?
Date Wed, 4 May 2011 10:33:10 +0000 (UTC)
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <ipra16$rh$1@smc.vnet.net> (permalink)
Lines 17
NNTP-Posting-Date 04 May 2011 09:33:59 GMT
NNTP-Posting-Host 98abc764.news.twtelecom.net
X-Trace DXC=1`FHHZ@Leli492K3\KHl;kC_A=>8kQj6mY;@_o827nGc0D3gFL4k0fcEFiONJ7[GofC2;@c^\dLnc
X-Complaints-To abuse@twtelecom.net
Xref x330-a1.tempe.blueboxinc.net comp.soft-sys.math.mathematica:2079

Show key headers only | View raw


I'm not sure why you're not getting a solution (not enough memory, perhaps?, but my machine provides an answer within a few seconds.  However, the solution is a big mess.  To make it a bit more tractable (though still far too large to post here), you could do the following:


eqs = {-k5 x1 x3 + k6 x4 == 0,
   k1 x1 - k4 x2 - 2 k2 x2^2 + 2 k3 x3 + k7 x4 == 0,
   k2 x2^2 - k3 x3 - k5 x1 x3 + k6 x4 == 0, x1 + x4 - Xtot == 0};

sol = Solve[eqs, {x1, x2, x3, x4}, Reals];

solSimple =
 Assuming[{k1 >= 0, k2 >= 0, k3 >= 0, k4 >= 0, k5 >= 0, k6 >= 0,
   k7 >= 0, Xtot >= 0}, Simplify[sol]]

Taking Dimensions[solSimple] yields {3,4} which suggests (I think) that there are 3 solutions to the problem.

David

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: anything faster than Solve[] for solving sets of polynomial equations symbolically? David Skulsky <edskulsky@gmail.com> - 2011-05-04 10:33 +0000

csiph-web