Re: MuPad: solve problem

From: Vladimir Bondarenko (vb_at_cybertester.com)
Date: 01/06/05


Date: 5 Jan 2005 20:49:16 -0800

Marco wrote:

> MuPad shows a very strange behaviour in using solve on
> expressions which contain roots:
> When I try to solve the (trivial) expression
> solve({sqrt(x)=y,y=b},{x,y}) I get the senseless
> solution {[]}.

This bug is fixed in MuPAD 3.1/3.0 but both of them returns now

piecewise([- y + x^(1/2) = 0 and - b + y = 0, {[]}],
[- y + x^(1/2) <> 0 or - b + y <> 0, {}])

which itself constitutes a new bug - because it is trivial to
solve this and Derive 6.1/Maple 9.5.1/Mathematica 5.1 can do it.

SOLVE([SQRT(x) = y, y = b], [x, y])
solve({sqrt(x) = y, y = b}, {x, y});
Solve[{Sqrt[x] == y, y == b}, {x, y}]

[x = IF(b > 0, b^2) AND y = b]
{y = b, x = b^2}
{{x -> b^2, y -> b}}

Best wishes,

Vladimir Bondarenko

http://www.cybertester.com/
http://maple.bug-list.org/
http://www.CAS-testing.org/



Relevant Pages

  • Re: Center myLayer relative to scroll...
    ... it did update in Internet Explorer 5.5 and 6. ... that supposedly works around a bug in IE6 and under. ... more efficient than calling parseInt. ... These expressions are evaluated ...
    (comp.lang.javascript)
  • Re: 6 gfortran bugs
    ... elemental intrinsics (do they usually allow them in specification ... > Bug 1. ... One of my favorite sources of bugs: initialization expressions. ... a specification expression of any stripe! ...
    (comp.lang.fortran)
  • Re: Bug in HP-35S?
    ... Best regards. ... Some minor changes ... in the expressions still demonstrates the error, ... Is this a well-known bug somehow? ...
    (comp.sys.hp48)
  • Column Expression Bug in VS.NET 2003
    ... I could not get aggregate child column expressions to work when they ... were defined in a DataSet using the DataSet designer. ... Expressions that did not use relations seemed to work OK. ... This bug should be more widely documented. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Floating point run time error
    ... between immediate and run time in how the expressions are evaluated, ... the "bug" was elsewhere. ... Danny ... Remove NOSPAMFOR before emailing.) ...
    (microsoft.public.vb.syntax)