Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Real roots and other assumptions...

  • To: mathgroup at
  • Subject: [mg19917] Re: [mg19883] Real roots and other assumptions...
  • From: "David Park" <djmp at>
  • Date: Tue, 21 Sep 1999 02:22:50 -0400
  • Sender: owner-wri-mathgroup at


This works for low order polynomials:

Select[Solve[-24 + 4*x - 2*x^2 + x^3 + x^4 == 0], 
  FreeQ[#1, Complex] & ]
{{x -> -3}, {x -> 2}}

David Park
djmp at

>I keep encountering problems of the following type when using mathematica:
>I want to solve some equation(s) under some assumptions about the unknown(s),
>e.g. find the real roots of (x-1)(x^2+1).
>I've tried Solve[{Im[x]==0,(x-1)(x^2+1)==0},x]] for the above problem, but that
>doesn't get me anywhere.
>Is there a general way to let Mathematica know about such additional bounds as
>non-complexness etc? -- if so I would be happy to know it!
>Janus Wesenberg
>Student of Physics.
>PS. I'm using Mathematica from a HP-UX 10 system, and the notebook interface
>have grave difficulties handling large expressions (they scrambled to complete
>nonsense). The local system administrator just says "Use the text access", but
>does anyone know how to make the notebook interface work?

  • Prev by Date: Re: Re: simple Simplify[] question
  • Next by Date: RE: Limits of multi-var. functions
  • Previous by thread: Re: Real roots and other assumptions...
  • Next by thread: Re: Real roots and other assumptions...