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


Groups > comp.soft-sys.math.mathematica > #6050 > unrolled thread

Re: Problem with Solve and NSolve

Started byAndrzej Kozlowski <akoz@mimuw.edu.pl>
First post2011-10-30 09:37 +0000
Last post2011-10-30 09:37 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Problem with Solve and NSolve Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-30 09:37 +0000

#6050 — Re: Problem with Solve and NSolve

FromAndrzej Kozlowski <akoz@mimuw.edu.pl>
Date2011-10-30 09:37 +0000
SubjectRe: Problem with Solve and NSolve
Message-ID<j8j5rs$fbe$1@smc.vnet.net>
On 29 Oct 2011, at 14:45, Andrzej Kozlowski wrote:

>
> On 29 Oct 2011, at 13:10, Daniel Lichtblau wrote:
>
>> W|A is (probably) using FindRoot in clever ways. You can get solutions
>> in a similar manner.
>
>
> Wolfram Alpha certainly uses Reduce (or Solve) to solve non-algebraic equations,  e.g. try
>
> WolframAlpha["Solve[x Exp[x] == 2 Sin[x]&&Abs[x]<=10,x]"]  in Mathematica (or directly in a browser).
>
> It will show real roots only but if you ask for more you also get the complex ones. If you do not give a bounding condition it will choose one by itself
>
> WolframAlpha["Solve[x Exp[x] == 2 Sin[x],x]"]
>
> and asssume that you want only real roots. I don't see any evidence that it "is using FindRoot in clever ways".
>
> Andrzej Kozlowski

I forgot the add that unlike Mathematica, Wolfram Alpha does not return exact solutions to any equations whose roots cannot be expressed in radicals, e.g. WolframAlpha["Solve[x^6+3x^2+x +1 == 0,x]"] will give only numerical solutions (however WolframAlpha["Solve[x^6+x^2+ 3 == 0,x]"] will return one exact solution as it can be expressed in terms of radicals). Perhaps this makes it look like FindRoot is being used but undoubtedly it is Solve (or Reduce - they seem to mean the same thing to WolframAlpha).

Andrzej Kozlowski

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web