Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8135 > unrolled thread

Re: How to look for this kind of error

Started byDrMajorBob <btreat1@austin.rr.com>
First post2012-01-25 12:01 +0000
Last post2012-01-25 12:01 +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.


Contents

  Re: How to look for this kind of error DrMajorBob <btreat1@austin.rr.com> - 2012-01-25 12:01 +0000

#8135 — Re: How to look for this kind of error

FromDrMajorBob <btreat1@austin.rr.com>
Date2012-01-25 12:01 +0000
SubjectRe: How to look for this kind of error
Message-ID<jfoqv3$5ob$1@smc.vnet.net>
Even without Simplify or FullSimplify, Mathematica frequently makes  
assumptions that don't hold in individual cases.

A trivial case is

x/x

1

which is wrong for x == 0.

Your expressions probably involve a more complicated form of the very same  
cancellation.

Bobby

On Tue, 24 Jan 2012 04:08:48 -0600, Sam Takoy <sam.takoy@yahoo.com> wrote:

> Hi,
>
> Suppose I have a very complicated function TestCodazzi and
>
> TestCodazzi[0,2,3]
>
> returns one answer while
>
> TestCodazzi[0, x, y] //FullSimplify /. {x->2, y->3}
>
> returns a totally different answer. Now, there is a lot going on and I
> could start testing different parts of my code. However, could
> Mathematica show me the instances where it was making certain
> assumptions that may not be true, and so help me in tracking down this
> discrepancy?
>
> Many thanks in advance,
>
> Sam
>


-- 
DrMajorBob@yahoo.com

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web