MathGroup Archive 2011

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

Search the Archive

Why Indeterminate?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118516] Why Indeterminate?
  • From: Themis Matsoukas <tmatsoukas at me.com>
  • Date: Sat, 30 Apr 2011 05:53:56 -0400 (EDT)

Consider this expression:

A[a_List, x_] := x (1 - x)  \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(j = 1\), \(2\)]
\*FractionBox[\(a[[j]] 
\*SuperscriptBox[\((1 - 2\ x)\), \(j - 1\)]\), \(1 - 
     a[[3]] \((1 - 2  x)\)\)]\)
a = Range[3];

Evaluation at x=0.5 gives

A[a, 0.5]

Indeterminate

..but I can get the right answer if I use

A[a, x] /. x -> 0.5

0.25

What puzzles me is that there is no obvious indeterminacy in the original expression at x=0.5. 

Thanks

Themis


  • Prev by Date: Dynamic[ImageEffect[CurrentImage[],"Charcoal"]] crashes Mathematica
  • Next by Date: Undo/Redo
  • Previous by thread: Dynamic[ImageEffect[CurrentImage[],"Charcoal"]] crashes Mathematica
  • Next by thread: Undo/Redo