home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math.symbolic
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!aicklen
- From: aicklen@utdallas.edu (Greg Aicklen)
- Subject: Re: Mma Solve[] oddity (a much shorter version)
- Message-ID: <1992Sep1.131440.15465@utdallas.edu>
- Sender: usenet@utdallas.edu
- Nntp-Posting-Host: leakey.utdallas.edu
- Organization: Univ. of Texas at Dallas
- References: <28914@option.GBA.NYU.EDU> <1992Aug23.215353.3637@u.washington.edu> <PARKES.92Aug26173241@ptah.itp.ethz.ch>
- Date: Tue, 1 Sep 1992 13:14:40 GMT
- Lines: 76
-
- In article <PARKES.92Aug26173241@ptah.itp.ethz.ch> parkes@itp.ethz.ch (Andrew Parkes) writes:
- >
- >David Petry writes:
- >> In article <28914@option.GBA.NYU.EDU> jcao@option.GBA.NYU.EDU (Jingbin Cao) writes:
- >> >The following log documents some weired Solve[] oddities. They are:
- >> >
- >> > 1. Solve[] cannot find roots in some cases, at least not within
- >> > reasonable period of time. But if you divide the equations
- >> > by something, Solve[] finds some roots!
-
- ... deletions ...
-
- >>
- >> eqs = { a*x*y + b*x + c*y ==0, d*x*y + e*x + f*y + g == 0}
- >>
- >> Solve[ eqs, {x,y}]
-
- ... deletions ...
-
- >> David Petry
- >>
- >Here's an even simpler version of the above
- >
- >eq = (a x^2 + b x + c)/(d1 + d2 x)
- >answer = Solve[ eq == 0 , x]
- >
- >Mma 1.2 gets the answer immediately of course.
- >
- >But I find that our Mma 2.0 gets gets nowhere.
- >I killed the job after 40mins when it got to 30MB.
-
- ... deletions ...
-
- >In case this is version dependent, our system is:-
- >$Version = SPARC 2.0 (July 8, 1991)
- >$VersionNumber = 2
- >
- >Andrew Parkes, | E-mail: parkes@itp.ethz.ch
- >Theoretische Physik, |
- >ETH-Honggerberg, |
- >CH-8093 Zurich, Switzerland.|
-
- With Mma 2.1 on a SPARC, I get quick solutions to both problems given above.
- For Andrew Parkes "even simpler version" I get
-
- /tmp_mnt/home/tulia/aicklen % math
- Mathematica 2.1 for SPARC
- Copyright 1988-92 Wolfram Research, Inc.
- -- X11 windows graphics initialized --
-
- In[1]:= eq = (a x^2 + b x + c)/(d1 + d2 x)
-
- 2
- c + b x + a x
- Out[1]= --------------
- d1 + d2 x
-
- In[2]:= answer = Solve[ eq == 0 , x]
-
- 2 2
- b Sqrt[b - 4 a c] b Sqrt[b - 4 a c]
- -(-) + ---------------- -(-) - ----------------
- a a a a
- Out[2]= {{x -> -----------------------}, {x -> -----------------------}}
- 2 2
-
-
- The original problem posed by David Petry is also solved readily by Mma 2.1,
- but the answer is way too long to post.
-
- This leads to the question ... how can I find out what the changes were from
- version 2.0 to 2.1?
-
- Greg Aicklen
- University of Texas at Dallas
- Erik Jonsson School of Engineering and Computer Science
-