MathGroup Archive 2007

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

Search the Archive

Re: Re: How to get sqrt(Year^2)===Year?


"Full" in FullSimplify is unnecessary, and Element[Year, Reals] is 
redundant here:

   Simplify[(Year^2)^(1/2),Year>=0]
Year

Jens-Peer Kuska wrote:
> Hi,
> 
> FullSimplify[Year == (Year^2)^(1/2), Element[Year, Reals] && Year > 0]
> 
> gives True
> 
> Regards
>    Jens
> Hatto von Aquitanien wrote:
>> If I have some expression which takes the square root of a square, it
>> evaluates leaving the whole square root expression unchanged.  
>>
>> Year == (Year^2)^(1/2)
>>
>> just returns what I entered when evaluated.
>>
>> Year == Year
>>
>> evaluates to True.
>>
>> How do I persuade Mathematica to evaluate the first expression completely?
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Making sense of Directive[ ]
  • Next by Date: Re: DSolve with DiracDelta
  • Previous by thread: Re: How to get sqrt(Year^2)===Year?
  • Next by thread: Re: Re: Re: How to get sqrt(Year^2)===Year?