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


Groups > comp.soft-sys.math.mathematica > #13951

Re: cubic equation solver

From "Kevin J. McCann" <kjm@KevinMcCann.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: cubic equation solver
Date 2013-03-29 09:55 +0000
Message-ID <kj3of1$26b$1@smc.vnet.net> (permalink)
References <kj0tko$iiv$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


These ARE the exact roots, although not in a very convenient form. If 
you plug them back in to the LHS, you get {0,0,0}.

Kevin

On 3/28/2013 4:05 AM, Elim Qiu wrote:
> x^3 + (=E2=88=9A6 + 2=E2=88=9A3 + 2=E2=88=9A2 -9)x + 2=E2=88=9A3 -=E2=88=9A2 -2 = 0
> has exact roots =E2=88=9A2-2, =E2=88=9A3-=E2=88=9A2, 2-=E2=88=9A3
>
> But Mathematica says:
>
> Solve[x^3 + (Sqrt[6] + 2 Sqrt[3] + 2 Sqrt[2] - 9) x + 2 Sqrt[3] -
>     Sqrt[2] - 2 == 0, x]
>
> {{x -> (1/
>        2 (18 + 9 Sqrt[2] - 18 Sqrt[3] +
>          I Sqrt[3 (4662 - 1252 Sqrt[2] - 1296 Sqrt[3] -
>              264 Sqrt[6])]))^(1/3)/3^(
>      2/3) - (-9 + 2 Sqrt[2] + 2 Sqrt[3] + Sqrt[
>       6])/(3/2 (18 + 9 Sqrt[2] - 18 Sqrt[3] +
>          I Sqrt[3 (4662 - 1252 Sqrt[2] - 1296 Sqrt[3] -
>              264 Sqrt[6])]))^(
>      1/3)}, {x -> -(((1 + I Sqrt[3]) (1/
>          2 (18 + 9 Sqrt[2] - 18 Sqrt[3] +
>            I Sqrt[3 (4662 - 1252 Sqrt[2] - 1296 Sqrt[3] -
>                264 Sqrt[6])]))^(1/3))/(
>       2 3^(2/3))) + ((1 - I Sqrt[3]) (-9 + 2 Sqrt[2] + 2 Sqrt[3] +
>         Sqrt[6]))/(
>      2^(2/3) (3 (18 + 9 Sqrt[2] - 18 Sqrt[3] +
>           I Sqrt[3 (4662 - 1252 Sqrt[2] - 1296 Sqrt[3] -
>               264 Sqrt[6])]))^(
>       1/3))}, {x -> -(((1 - I Sqrt[3]) (1/
>          2 (18 + 9 Sqrt[2] - 18 Sqrt[3] +
>            I Sqrt[3 (4662 - 1252 Sqrt[2] - 1296 Sqrt[3] -
>                264 Sqrt[6])]))^(1/3))/(
>       2 3^(2/3))) + ((1 + I Sqrt[3]) (-9 + 2 Sqrt[2] + 2 Sqrt[3] +
>         Sqrt[6]))/(
>      2^(2/3) (3 (18 + 9 Sqrt[2] - 18 Sqrt[3] +
>           I Sqrt[3 (4662 - 1252 Sqrt[2] - 1296 Sqrt[3] -
>               264 Sqrt[6])]))^(1/3))}}
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cubic equation solver Elim Qiu <elim.qiu@gmail.com> - 2013-03-28 08:05 +0000
  Re: cubic equation solver Peter Pein <petsie@dordos.net> - 2013-03-28 21:12 +0000
  Re: cubic equation solver "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-03-29 09:55 +0000
  Re: cubic equation solver "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-03-29 09:55 +0000
  Re: cubic equation solver Costa Bravo <q13a27tt@aol.com> - 2013-03-29 09:55 +0000

csiph-web