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


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

Re: "Solve" on polynomial equality results in expressions containing "Root"

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: "Solve" on polynomial equality results in expressions containing "Root"
Date 2012-10-28 06:03 +0000
Message-ID <k6ihrt$ck0$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


On 10/26/12 at 11:48 PM, coder0xff@gmail.com wrote:

>If I do Solve[y==3x^2-2x^3,x] I get expressions containing imaginary
>parts. If I set the domain to the Reals
>(Solve[y==3x^2-2x^3,x,Reals]) then I got stuff like Root[y - 3 #1^2
>+ 2 #1^3 &, 2]. I know there's a solution using only reals (since
>the range and domain are both real, and complex math is performed as
>operations on reals after all) How can I get it to give me the
>actual solution using only reals?

Probably the simplest way to accomplish your goal is to let
Solve return all solutions and delete the complex solutions, i.e.,

Cases[Solve[y == 3 x^2 - 2 x^3, x], _?(FreeQ[#, Complex] &)]

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


Thread

Re: "Solve" on polynomial equality results in expressions containing "Root" Bill Rowe <readnews@sbcglobal.net> - 2012-10-28 06:03 +0000

csiph-web