Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3810
| From | Richard Fateman <fateman@eecs.berkeley.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Solve never calls Equal? |
| Date | 2011-07-19 11:00 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j03o5a$a6j$1@smc.vnet.net> (permalink) |
| References | (2 earlier) <201107160941.FAA08237@smc.vnet.net> <7BBB2BCC-0234-4BDA-A129-3270EBA623CE@mimuw.edu.pl> <ivuc93$gth$1@smc.vnet.net> <201107181014.GAA26917@smc.vnet.net> <B1F90537-1675-46F3-B1FB-5DB886BCF000@mimuw.edu.pl> |
On 7/18/2011 6:55 AM, Andrzej Kozlowski wrote: > On 18 Jul 2011, at 12:14, Richard Fateman wrote: > >> Clearly one cannot, in general, find an >> exact solution to a transcendental equation using rational arithmetic, >> so I was a little surprised by Reduce working just fine, here. > Of course one does not use "arithmetic". Of course Reduce uses arithmetic in Reduce[Exp[x] - x == 1/2 && Abs[x] < 1, x] // N How else to explain that in it, proven by tracing Equal, it compares numbers like 0 and 0.907560823521493954198929899042. Of course I did not convert all its internal arithmetic to rational arithmetic, just comparisons. So in fact Reduce was doing its regular same-old thing, most of the time; if I had thought of that I wouldn't have been surprised. Testing for termination conditions using rationals didn't seem to hurt. Again, that is not totally surprising since it seems a bit unlikely that Reduce relies, for termination, on loss of precision. But who knows. > You still don't understand what is going on here, but I am now at an airport during a break in a long flight so won't be able to educated you how it is really done (and why your fix "works") just yet. But if you ask nicely, maybe in the future ;-) Sure you write an explanation of how you think Reduce works, you can post it on a web page and provide a link here. Otherwise we would just be left with the documentation, e.g. http://reference.wolfram.com/mathematica/tutorial/SomeNotesOnInternalImplementation.html#25734 RJF
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Numerical accuracy/precision - this is a bug or a feature? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-15 09:07 +0000
Solve never calls Equal? Richard Fateman <fateman@cs.berkeley.edu> - 2011-07-16 09:42 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-17 10:08 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-17 10:06 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-17 10:07 +0000
Re: Solve never calls Equal? Richard Fateman <fateman@cs.berkeley.edu> - 2011-07-18 10:15 +0000
Re: Solve never calls Equal? Richard Fateman <fateman@cs.berkeley.edu> - 2011-07-18 10:17 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-18 10:16 +0000
Re: Solve never calls Equal? Richard Fateman <fateman@cs.berkeley.edu> - 2011-07-19 10:55 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-19 10:56 +0000
Re: Solve never calls Equal? Richard Fateman <fateman@eecs.berkeley.edu> - 2011-07-19 11:00 +0000
Re: Solve never calls Equal? Daniel Lichtblau <danl@wolfram.com> - 2011-07-19 11:01 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-17 10:08 +0000
Re: Solve never calls Equal? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-07-18 10:13 +0000
csiph-web