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: Simplify With Assumptions

  • To: mathgroup at
  • Subject: [mg17960] Re: Simplify With Assumptions
  • From: Adam Strzebonski <adams>
  • Date: Mon, 7 Jun 1999 02:51:18 -0400
  • Organization: Wolfram Research, Inc.
  • References: <7jahu5$>
  • Sender: owner-wri-mathgroup at

This actually is a general problem with the Simplify heuristic,
not with the assumptions. Simplify keeps only the best so far
form of the expression, so one simplification may prevent
another better simplification from happening. In this example
the form with expanded base of the radical is simpler than
the original form, but no longer is a Sqrt of a square, so it is
not simplified further. If we replace t in the numerator with x
so that it no longer cancels with the denominator we get the
better simplification:

In[1]:= Simplify[Sqrt[(1 + 2*x^2)^2/t^2], t > 0 && x > 0]

        1 + 2 x
Out[1]= --------

I will keep this example in mind for future improvements
in the Simplify heuristic.

Adam Strzebonski
Wolfram Research

David Park wrote:

> Simplify with assumptions in Version 4 is not everything one might
> hope.
> Simplify[Sqrt[x^2], x > 0]
> x
> But
> Simplify[Sqrt[(1 + 2*t^2)^2/t^2], t > 0]
> Sqrt[4 + 1/t^2 + 4*t^2]
> not
> (1 + 2*t^2)/t
> Of course we can see for ourselves and PowerExpand. Yet one would have
> hoped that Mathematica would have handled this case automatically.
> David Park
> djmp at

  • Prev by Date: NDSolve - large systems of ODE's
  • Next by Date: Re: 2-sided printing
  • Previous by thread: Re: Simplify With Assumptions
  • Next by thread: Re Simplify