Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5833
| From | Andrzej Kozlowski <akoz@mimuw.edu.pl> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Full simplify problem |
| Date | 2011-10-24 09:16 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j83ad6$k4p$1@smc.vnet.net> (permalink) |
| References | <201110221009.GAA29840@smc.vnet.net> <201110231026.GAA10607@smc.vnet.net> <op.v3tck4nmtgfoz2@bobbys-imac.local> |
In a sense, yes. But this certianly does not answer the "why" part of the OP's question and I think that was what he really wanted to know.
Andrzej
On 23 Oct 2011, at 18:40, DrMajorBob wrote:
> Far simpler (and equivalent under the covers, I think) would be:
>
> E^x - E^(y + z) /. x -> y + z
>
> 0
>
> Bobby
>
> On Sun, 23 Oct 2011 05:26:01 -0500, Andrzej Kozlowski <akoz@mimuw.edu.pl> wrote:
>
>> Because FullSimplify would have to increase the default complexity to
>> obtain the cancellation. But this works:
>>
>> Assuming[x == y + z,
>> FullSimplify[E^x - E^(y + z),
>> ComplexityFunction -> (Count[#, x, {1, Infinity}] &)]]
>>
>> 0
>>
>> Note that the reason why this works is that:
>>
>> Assuming[x == y + z,
>> FullSimplify[x, ComplexityFunction -> (Count[#, x, {1, Infinity}] &)]]
>>
>> y+z
>>
>>
>> Andrzej Kozlowski
>>
>>
>> On 22 Oct 2011, at 12:09, A. Lapraitis wrote:
>>
>>> Hello,
>>>
>>> Could anyone explain why the following does not give zero?
>>>
>>> In[72]:= Assuming[
>>> x == y + z,
>>> FullSimplify[
>>> E^x - E^(y + z)
>>> ]
>>> ]
>>>
>>> Out[72]= E^x - E^(y + z)
>>>
>>> Thanks!
>>>
>>
>>
>
>
> --
> DrMajorBob@yahoo.com
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Full simplify problem Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-24 09:16 +0000
csiph-web