MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Solve[] doesn't


  Is your syntax correct? Especially your equal signs are assignments, rather 
than tests for equality. When those are changed, at least in v. 6.0.3 for 
linux, things work fine: 

eqns = {x - y == 1, x^2 + y^2 == 3, x^3 - y^3 == 4}

Solve[eqns, {x, y}]
{{x -> (1/2)*(1 - Sqrt[5]), 
  y -> (1/2)*(-1 - Sqrt[5])}, {x -> (1/2)*(1 + Sqrt[5]), 
  y -> (1/2)*(-1 + Sqrt[5])}}

   OR

Eliminate[eqns, y]
-x + x^2 == 1

Solve[%, x]
{{x -> (1/2)*(1 - Sqrt[5])}, {x -> (1/2)*(1 + Sqrt[5])}}

On Wednesday 16 July 2008 04:29:42 Hauke Reddmann wrote:
> This is extremely annoying.
> I have a very large (this seems to be critical) equation
> system. It's partly linear, partly horror, but already
> after I solve the linear part, a certain solution (which
> is obviously one since substituting it in makes all equations
> identical zero) can't be found anymore. The solution has some
> surds (this also seems critical, the ones without are found)
> but the equations are strictly polynomic.
>
> Faked Example (the real one only PM-ed, since it's a bit
> oversized):
>
> x-y=1
> x^2+y^2=3
> x^3-y^3=4
> and after y was eliminated, it doesn't find x. (=golden mean here)
>
> Huh?



-- 
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================


  • Prev by Date: Problem NSolve
  • Next by Date: Using manipulate with PlotDensities
  • Previous by thread: Solve[] doesn't
  • Next by thread: Re: Solve[] doesn't