Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5822 > unrolled thread
| Started by | Andrzej Kozlowski <akoz@mimuw.edu.pl> |
|---|---|
| First post | 2011-10-23 10:34 +0000 |
| Last post | 2011-10-23 10:34 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Full simplify problem Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-23 10:34 +0000
| From | Andrzej Kozlowski <akoz@mimuw.edu.pl> |
|---|---|
| Date | 2011-10-23 10:34 +0000 |
| Subject | Re: Full simplify problem |
| Message-ID | <j80qja$ag2$1@smc.vnet.net> |
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!
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web