Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12204 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2012-10-28 06:03 +0000 |
| Last post | 2012-10-28 06:03 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: "Solve" on polynomial equality results in expressions containing "Root" Bill Rowe <readnews@sbcglobal.net> - 2012-10-28 06:03 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2012-10-28 06:03 +0000 |
| Subject | Re: "Solve" on polynomial equality results in expressions containing "Root" |
| Message-ID | <k6ihrt$ck0$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web