Skip to content

prod(numeric(0)) surprise

4 messages · Liaw, Andy, Duncan Murdoch, Martin Morgan +1 more

#
If you haven't seen this in your math courses, perhaps this would help:

http://en.wikipedia.org/wiki/Empty_set

which says, in part:

Operations on the empty set

Operations performed on the empty set (as a set of things to be operated
upon) can also be confusing. (Such operations are nullary operations.) For
example, the sum of the elements of the empty set is zero, but the product
of the elements of the empty set is one (see empty product). This may seem
odd, since there are no elements of the empty set, so how could it matter
whether they are added or multiplied (since "they" do not exist)?
Ultimately, the results of these operations say more about the operation in
question than about the empty set. For instance, notice that zero is the
identity element for addition, and one is the identity element for
multiplication.


Andy


From: Martin Morgan
#
On 1/9/2006 1:27 PM, Liaw, Andy wrote:
This is what is so great about Wikipedia:  it gives certainty where I'd 
only call it a fairly standard convention.  ;-)

Duncan Murdoch
#
Duncan Murdoch <murdoch at stats.uwo.ca> writes:
Yes, thanks for the refresher and sorry for the noise. Martin
#
Since the virtue and reliability of Wikis was brought up, I created a R 
Wiki page for this at 
http://www.sciviews.org/_rgui/wiki/doku.php?id=beginners:surprises:emptysetfuncs
:-)

Anyone: please correct errors and improve it!

Tony Plate
Duncan Murdoch wrote: