Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

1200-year-old problem 'easy' [dividing by zero]
BBC ^ | 12/8/06

Posted on 12/08/2006 12:20:06 PM PST by LibWhacker

Schoolchildren from Caversham have become the first to learn a brand new theory that dividing by zero is possible using a new number - 'nullity'. But the suggestion has left many mathematicians cold.

Dr James Anderson, from the University of Reading's computer science department, says his new theorem solves an extremely important problem - the problem of nothing.

"Imagine you're landing on an aeroplane and the automatic pilot's working," he suggests. "If it divides by zero and the computer stops working - you're in big trouble. If your heart pacemaker divides by zero, you're dead."

Computers simply cannot divide by zero. Try it on your calculator and you'll get an error message.

But Dr Anderson has come up with a theory that proposes a new number - 'nullity' - which sits outside the conventional number line (stretching from negative infinity, through zero, to positive infinity).

'Quite cool'

The theory of nullity is set to make all kinds of sums possible that, previously, scientists and computers couldn't work around.

"We've just solved a problem that hasn't been solved for twelve hundred years - and it's that easy," proclaims Dr Anderson having demonstrated his solution on a whiteboard at Highdown School, in Emmer Green.

"It was confusing at first, but I think I've got it. Just about," said one pupil.

"We're the first schoolkids to be able to do it - that's quite cool," added another.

Despite being a problem tackled by the famous mathematicians Newton and Pythagoras without success, it seems the Year 10 children at Highdown now know their nullity.


TOPICS: Culture/Society; United Kingdom
KEYWORDS: anderson; dividing; easy; education; iaresmart; piledhigheranddeeper; publickskool; pythagoras; zero
Navigation: use the links below to view more comments.
first previous 1-20 ... 101-120121-140141-160 ... 321-333 next last
To: Squawk 8888

Loved those TRS-80's. Give me!


121 posted on 12/08/2006 1:19:29 PM PST by gb63
[ Post Reply | Private Reply | To 115 | View Replies]

To: Ingtar
doesn't dividing by zero yield an infinite value?

Yes

Example.

Divide 1 by 1 and the answer is 1
Divide 1 by 1/10 and the answer is 10
Divide 1 by 1/100 and the answer is 100
Divide 1 by 1/1,000 and the answer is 1,000
Divide 1 by 1/10,000 and the answer is 10,000
Divide 1 by 1/100,000 and the answer is 100,000
Divide 1 by 1/1,000,000 and the answer is 1,000,000

This illustrates that as the absolute value of the denominator approaches zero the answer approaches infinity. 1/infinity is almost as close to zero as one can get. Therefore, dividing 1 by 1/infinity is infinity. I trust I won’t have to explain why I said “almost as close”.

122 posted on 12/08/2006 1:19:33 PM PST by MosesKnows
[ Post Reply | Private Reply | To 28 | View Replies]

To: LibWhacker

I would like to know who the first person was who died from his pacemaker dividing by zero.


123 posted on 12/08/2006 1:19:40 PM PST by Right Wing Assault ("..this administration is planning a 'Right Wing Assault' on values and ideals.." - John Kerry)
[ Post Reply | Private Reply | To 1 | View Replies]

To: LibWhacker

Typical BBC empty filler.

This problem has been solved, and you are using the result right now.

http://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html


124 posted on 12/08/2006 1:19:57 PM PST by cynwoody
[ Post Reply | Private Reply | To 1 | View Replies]

To: LibWhacker

Why is that?


125 posted on 12/08/2006 1:21:15 PM PST by RoyStevens
[ Post Reply | Private Reply | To 1 | View Replies]

To: CharlesWayneCT

Even so.


126 posted on 12/08/2006 1:22:31 PM PST by Slings and Arrows ("Nancy [Pelosi] was voted the Number one reason why men in San Francisco are homosexuals."-Wikiality)
[ Post Reply | Private Reply | To 120 | View Replies]

To: JamesP81
Declare the pointer to the value to be null after exception handling the divide by zero error.

What does that have to do with the value of nullity?

Either that, or we determine that the lowest value for a given variable or its highest possible value (either –2,147,483,648 or 2,147,483,647 since we're using 32 bit signed integers) to be a divide by zero condition.

By "divide by zero condition" do you mean "nullity"? If that's the case, we have to do that for all types (signed and unsigned 8-bit, 16-bit, 32-bit, 64-bit integer values, floats, doubles, etc.). Now all of a sudden "nullity" is represented by many different values depending on the data type. That just doesn't make sense!

It doesn't fall on the number line, so it is impossible to represent using binary unless you special case the value, which is what you're doing in your code now to avoid divide by zero errors. So defining "nullity" doesn't help you at all in your programs. You're better off doing precondition checking to insure you don't divide by zero, or handling it after the fact by catching the exception.

127 posted on 12/08/2006 1:22:40 PM PST by vrwc1
[ Post Reply | Private Reply | To 100 | View Replies]

To: billbears

Dividing by zero makes any number equal to any other number. It renders the number system meaningless.

Suppose a=b:

a^2-b^2 = a^2-ab = a(a-b),

but

a^2-b^2 = (a+b)(a-b);

therefore,

a(a-b) = (a+b)(a-b)

and dividing by a-b we have

a = a+b.

Let a = 1. Then 1 = 1+1 = 2.

Isn't that special?


128 posted on 12/08/2006 1:23:08 PM PST by Hostage
[ Post Reply | Private Reply | To 4 | View Replies]

To: gb63

*sniff* I miss my TI-99/4a!


129 posted on 12/08/2006 1:23:35 PM PST by Slings and Arrows ("Nancy [Pelosi] was voted the Number one reason why men in San Francisco are homosexuals."-Wikiality)
[ Post Reply | Private Reply | To 121 | View Replies]

To: Right Wing Assault

I prefer PV=nrT


130 posted on 12/08/2006 1:23:35 PM PST by lepton ("It is useless to attempt to reason a man out of a thing he was never reasoned into"--Jonathan Swift)
[ Post Reply | Private Reply | To 116 | View Replies]

To: Slings and Arrows

Yes, this guy is to mathematics as Rodney's Dr. Vinnie Goombatz is to medicine.


131 posted on 12/08/2006 1:23:37 PM PST by 2 Kool 2 Be 4-Gotten
[ Post Reply | Private Reply | To 87 | View Replies]

To: LibWhacker

Al Gore used it to predict the end of the world! See, it works!


132 posted on 12/08/2006 1:24:58 PM PST by Doc Savage ("You couldn't tame me, but you taught me.................")
[ Post Reply | Private Reply | To 1 | View Replies]

To: MosesKnows

And what is infinity/pi^2? :)


133 posted on 12/08/2006 1:26:43 PM PST by lepton ("It is useless to attempt to reason a man out of a thing he was never reasoned into"--Jonathan Swift)
[ Post Reply | Private Reply | To 122 | View Replies]

To: LibWhacker

"In the LIMIT!"


134 posted on 12/08/2006 1:27:27 PM PST by YouPosting2Me
[ Post Reply | Private Reply | To 1 | View Replies]

To: lepton
And what is infinity/pi^2? :)

A jillion. Plus fifty cents.

135 posted on 12/08/2006 1:27:37 PM PST by Slings and Arrows ("Nancy [Pelosi] was voted the Number one reason why men in San Francisco are homosexuals."-Wikiality)
[ Post Reply | Private Reply | To 133 | View Replies]

To: LibWhacker
My favorite Integral is ex
136 posted on 12/08/2006 1:27:39 PM PST by Alouette (Psalms of the Day: 83-87)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Alouette
I've always found e to be a bit irrational. *rimshot*
137 posted on 12/08/2006 1:28:52 PM PST by Slings and Arrows ("Nancy [Pelosi] was voted the Number one reason why men in San Francisco are homosexuals."-Wikiality)
[ Post Reply | Private Reply | To 136 | View Replies]

To: Glenn

2+2=6 as 2 approaches 3.


138 posted on 12/08/2006 1:29:40 PM PST by AmishDude (I coined "Senator Ass" to describe Jim Webb. He may have already used it as a character in a novel.)
[ Post Reply | Private Reply | To 14 | View Replies]

To: Slings and Arrows
A jillion. Plus fifty cents.

I think you forgot to carry the pineapple-upside-down-beans.

139 posted on 12/08/2006 1:30:38 PM PST by lepton ("It is useless to attempt to reason a man out of a thing he was never reasoned into"--Jonathan Swift)
[ Post Reply | Private Reply | To 135 | View Replies]

To: vrwc1
You're better off doing precondition checking to insure you don't divide by zero, or handling it after the fact by catching the exception.

That's pretty much what I just said.

Exception handling is usually all that's needed unless for some reason you need to retain the fact that you divided by zero later in the code. That's not too common, but not unheard of either.

If you do need to retain a divide by zero in memory, pointers in most programming languages help you out. In most languages, pointers can be set to null (with 'null' being a reserve word). I don't know what the binary code behind this is, but it doesn't matter. What matters is that I can set a pointer to null if I divide by zero, and that's a special case that works no matter what. Most languages that do this also overload the '=' operator so you can test if a pointer's value is null.

As for special casing based on data type, if I absolutely have to do that (and never have, at least not in my professional work that I can remember), I'll try to use the same length (8 bit, 16 bit, etc) for all my variables if memory permits. Not very efficient or clean but it can be done if you have to retain a divide by zero when the language you're using doesn't let you set a pointer equal to null. At least then you only need to set two special cases; one for integers and one for reals.
140 posted on 12/08/2006 1:31:24 PM PST by JamesP81 (If you have to ask permission from Uncle Sam, then it's not a right)
[ Post Reply | Private Reply | To 127 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 101-120121-140141-160 ... 321-333 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson