Re: [sage-support] solve - algebraic solution?

2010-04-02 Thread bb
William Stein schrieb: On Fri, Apr 2, 2010 at 10:11 AM, bb wrote: Why does Sage not solve the equation? (The quadratic equation is just a test.) sage: x,y,a,b = var('x, y, a, b') sage: solve([x - 2*y == a, x + 3*y == b],[x,y]); sage: solve([x^2 + a*x + b == 0],x) [x == -1/2*a - 1/2*sqrt(a

Re: [sage-support] solve - algebraic solution?

2010-04-02 Thread William Stein
On Fri, Apr 2, 2010 at 10:11 AM, bb wrote: > Why does Sage not solve the equation? (The quadratic equation is just a > test.) > > sage: x,y,a,b = var('x, y, a, b') > sage:  solve([x - 2*y == a,  x + 3*y == b],[x,y]); > sage: solve([x^2 + a*x + b == 0],x) > [x == -1/2*a - 1/2*sqrt(a^2 - 4*b), x ==

[sage-support] solve - algebraic solution?

2010-04-02 Thread bb
Why does Sage not solve the equation? (The quadratic equation is just a test.) sage: x,y,a,b = var('x, y, a, b') sage: solve([x - 2*y == a, x + 3*y == b],[x,y]); sage: solve([x^2 + a*x + b == 0],x) [x == -1/2*a - 1/2*sqrt(a^2 - 4*b), x == -1/2*a + 1/2*sqrt(a^2 - 4*b)] sage: solve([x - 2*y - a