All Topics  
Division by zero

 

   Email Print
   Bookmark   Link






 

Division by zero



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, a division
Division (mathematics)

In mathematics, especially in elementary arithmetic, division is an arithmetic operation which is the inverse of multiplication.Specifically, if c times b equals a, written:...
 is called a division by zero if the divisor is zero
0 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
. Such a division can be formally expressed as a/0 where a is the dividend. Whether this expression
Expression (mathematics)

In mathematics, the word expression is a term for any well-formed formula combination of mathematical symbols. For example,is an expression, while...
 can be assigned a well-defined
Well-defined

In mathematics, the term well-defined is used to specify that a certain concept or object is defined in a mathematical or logical way using a set of base axioms in an entirely unambiguous way and satisfies the properties it is required to satisfy....
 value depends upon the mathematical setting. In ordinary (real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
) arithmetic, the expression has no meaning
Defined and undefined

In mathematics, defined and undefined are used to explain whether or not expressions have meaningful, sensible, and unambiguous values. Not all branches of mathematics come to the same conclusion....
.

In computer programming
Computer programming

Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language....
, integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
 division by zero may cause a program to terminate or, as in the case of floating point
Floating point

In computing, floating point describes a system for numerical representation in which a String of digits represents a rational number.The term floating point refers to the fact that the radix point can "float": that is, it can be placed anywhere relative to the Significant figures of the number....
 numbers, may result in a special not-a-number
NaN

In computing, NaN, which stands for Not a Number, is a value or symbol that is usually produced as the result of an operation on invalid input operands, especially in floating point calculations....
 value (see below
Division by zero

In mathematics, a division is called a division by zero if the divisor is 0 . Such a division can be formally expressed as a/0 where a is the dividend....
).

Historically, one of the earliest recorded references to the mathematical impossibility of assigning a value to a/0 is contained in Bishop Berkeley's criticism of infinitesimal calculus
Infinitesimal calculus

Infinitesimal calculus was independently invented by both Gottfried Leibniz and Isaac Newton in the 1660s, drawing on the work of such mathematicians as Isaac Barrow and Rene Descartes....
 in The Analyst
The Analyst

The Analyst, subtitled A DISCOURSE Addressed to an Infidel Mathematician, is a book published by George Berkeley in 1734. The "infidel mathematician" is believed to have been Edmond Halley or Sir Isaac Newton....
, see Ghosts of departed quantities
Ghosts of departed quantities

The expression ghosts of departed quantities, familiar to many students of infinitesimal calculus, was coined by Bishop Berkeley in his work The Analyst....
.

division is explained at the elementary arithmetic
Elementary arithmetic

Elementary arithmetic is the most basic kind of mathematics: it concerns the operations of addition, subtraction, multiplication, and division ....
 level, it is often considered as a description of dividing a set of objects into equal parts.






Discussion
Ask a question about 'Division by zero'
Start a new discussion about 'Division by zero'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, a division
Division (mathematics)

In mathematics, especially in elementary arithmetic, division is an arithmetic operation which is the inverse of multiplication.Specifically, if c times b equals a, written:...
 is called a division by zero if the divisor is zero
0 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
. Such a division can be formally expressed as a/0 where a is the dividend. Whether this expression
Expression (mathematics)

In mathematics, the word expression is a term for any well-formed formula combination of mathematical symbols. For example,is an expression, while...
 can be assigned a well-defined
Well-defined

In mathematics, the term well-defined is used to specify that a certain concept or object is defined in a mathematical or logical way using a set of base axioms in an entirely unambiguous way and satisfies the properties it is required to satisfy....
 value depends upon the mathematical setting. In ordinary (real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
) arithmetic, the expression has no meaning
Defined and undefined

In mathematics, defined and undefined are used to explain whether or not expressions have meaningful, sensible, and unambiguous values. Not all branches of mathematics come to the same conclusion....
.

In computer programming
Computer programming

Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language....
, integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
 division by zero may cause a program to terminate or, as in the case of floating point
Floating point

In computing, floating point describes a system for numerical representation in which a String of digits represents a rational number.The term floating point refers to the fact that the radix point can "float": that is, it can be placed anywhere relative to the Significant figures of the number....
 numbers, may result in a special not-a-number
NaN

In computing, NaN, which stands for Not a Number, is a value or symbol that is usually produced as the result of an operation on invalid input operands, especially in floating point calculations....
 value (see below
Division by zero

In mathematics, a division is called a division by zero if the divisor is 0 . Such a division can be formally expressed as a/0 where a is the dividend....
).

Historically, one of the earliest recorded references to the mathematical impossibility of assigning a value to a/0 is contained in Bishop Berkeley's criticism of infinitesimal calculus
Infinitesimal calculus

Infinitesimal calculus was independently invented by both Gottfried Leibniz and Isaac Newton in the 1660s, drawing on the work of such mathematicians as Isaac Barrow and Rene Descartes....
 in The Analyst
The Analyst

The Analyst, subtitled A DISCOURSE Addressed to an Infidel Mathematician, is a book published by George Berkeley in 1734. The "infidel mathematician" is believed to have been Edmond Halley or Sir Isaac Newton....
, see Ghosts of departed quantities
Ghosts of departed quantities

The expression ghosts of departed quantities, familiar to many students of infinitesimal calculus, was coined by Bishop Berkeley in his work The Analyst....
.

In elementary arithmetic

When division is explained at the elementary arithmetic
Elementary arithmetic

Elementary arithmetic is the most basic kind of mathematics: it concerns the operations of addition, subtraction, multiplication, and division ....
 level, it is often considered as a description of dividing a set of objects into equal parts. As an example, consider having 10 apples, and these apples are to be distributed equally to five people at a table. Each person would receive = 2 apples. Similarly, if there are 10 apples, and only one person at the table, that person would receive = 10 apples.

So for dividing by zero — what if there are 10 apples to be distributed, but no one comes to the table? How many apples does each "person" at the table receive? The question itself is meaningless — each "person" can't receive zero, or 10, or an infinite number of apples for that matter, because there are simply no people to receive anything in the first place. So , at least in elementary arithmetic, is said to be meaningless, or undefined.

Another way to understand the nature of division by zero is by considering division as a repeated subtraction
Subtraction

Subtraction is one of the four basic arithmetic operations; it is the inverse of addition, meaning that if we start with any number and add any number and then subtract the same number we added, we return to the number we started with....
. For example, to divide 13 by 5, 5 can be subtracted twice, which leaves a remainder
Remainder

In arithmetic, when the result of the division of two integers cannot be expressed with an integer quotient, the remainder is the amount "left over."...
 of 3 — the divisor is subtracted until the remainder is less than the divisor. The result is often reported as = 2 remainder 3. But, in the case of zero, repeated subtraction of zero will never yield a remainder less than zero. Dividing by zero by repeated subtraction results in a series of subtractions that never ends. This connection of division by zero to infinity takes us beyond elementary arithmetic (see below).

Early attempts


The Brahmasphutasiddhanta
Brahmasphutasiddhanta

The main work of Brahmagupta, Brahmasphuta-siddhanta , written in the year c.628, contains some remarkably advanced ideas, including a good understanding of the mathematics role of 0 , rules for manipulating both negative and positive numbers, a method for computing square roots, methods of solving linear equation and some quadratic equat...
 of Brahmagupta
Brahmagupta

Brahmagupta was an Indian Indian mathematics and Indian astronomy....
 (598–668) is the earliest known text to treat zero
0 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
 as a number in its own right and to define operations involving zero. The author failed, however, in his attempt to explain division by zero: his definition can be easily proven to lead to algebraic absurdities. According to Brahmagupta,
"A positive or negative number when divided by zero is a fraction with the zero as denominator. Zero divided by a negative or positive number is either zero or is expressed as a fraction with zero as numerator and the finite quantity as denominator. Zero divided by zero is zero."


In 830
830

Events...
, Mahavira
Mahavira (mathematician)

Mahavira was a 9th century Indian mathematician from Gulbarga who asserted that the square root of a negative number did not exist. He gave the sum of a series whose terms are squares of an arithmetical progression and empirical rules for area and perimeter of an ellipse....
 tried unsuccessfully to correct Brahmagupta's mistake in his book in Ganita Sara Samgraha:
"A number remains unchanged when divided by zero."


Bhaskara II tried to solve the problem by defining (in modern notation) . This definition makes some sense, as discussed below, but can lead to paradoxes if not treated carefully. These paradoxes were not treated until modern times.

In algebra


It is generally regarded among mathematicians that a natural way to interpret division by zero is to first define division in terms of other arithmetic operations. Under the standard rules for arithmetic on integers, rational numbers, real numbers and complex numbers, division by zero is undefined. Division by zero must be left undefined in any mathematical system that obeys the axioms of a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
. The reason is that division
Division (mathematics)

In mathematics, especially in elementary arithmetic, division is an arithmetic operation which is the inverse of multiplication.Specifically, if c times b equals a, written:...
 is defined to be the inverse operation of multiplication
Multiplication

Multiplication is the Operation of scaling one number by another. It is one of the four basic operations in elementary arithmetic .Multiplication is defined for Natural number in terms of repeated addition; for example, 4 multiplied by 3 can be calculated by adding 3 copies of 4 together:...
. This means that the value of a/b is the solution x of the equation bx = a whenever such a value exists and is unique. Otherwise the value is left undefined.

For b = 0, the equation bx = a can be rewritten as 0x = a or simply 0 = a. Thus, in this case, the equation bx = a has no solution if a is not equal to 0, and has any x as a solution if a equals 0. In either case, there is no unique value, so is undefined. Conversely, in a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
, the expression is always defined if b is not equal to zero.

Fallacies based on division by zero


It is possible to disguise a special case of division by zero in an algebra
Algebra

Algebra is a branch of mathematics concerning the study of structure , relation , and quantity. Together with geometry, mathematical analysis, combinatorics, and number theory, algebra is one of the main branches of mathematics....
ic argument, leading to spurious proof
Invalid proof

In mathematics, there are a variety of spurious Mathematical proof of obvious contradictions. Although the proofs are flawed, the errors, usually by design, are comparatively subtle....
s that 1 = 2 such as the following:

With the following assumptions:

The following must be true:

Dividing by zero gives:

Simplified, yields:

The fallacy
Fallacy

A fallacy is an argument which may convince some people but is not logically sound. Note that the truth of the conclusions of an argument does not determine whether the argument is a fallacy - it is the argument which is incorrect....
 is the implicit assumption that dividing by 0 is a legitimate operation with 0/0 = 1.

Although most people would probably recognize the above "proof" as fallacious, the same argument can be presented in a way that makes it harder to spot the error. For example, if 1 is denoted by x, then it can be hidden behind x − x and 2 behind x + x. The above mentioned proof can then be displayed as follows:

hence:

Dividing by x − x gives:

and dividing by x gives:

The "proof" above requires the use of the distributive law
Distributivity

In mathematics, and in particular in abstract algebra, distributivity is a property of binary operations that generalises the distributive law from elementary algebra....
. However, this requirement introduces an asymmetry between the two operations in that multiplication distributes over addition, but not the other way around. Thus, the multiplicative identity element, 1, has an additive inverse, −1, but the additive identity element, 0, does not have a multiplicative inverse.

In calculus


Hyperbola One Over X

Extended real line

At first glance it seems possible to define a/0 by considering the limit
Limit (mathematics)

In mathematics, the concept of a "limit" is used to describe the behavior of a Function as its argument or input either "gets close" to some point, or as the argument becomes arbitrarily large; or the behavior of a sequence's elements as their index increases indefinitely....
 of a/b as b approaches 0.

For any positive a, it is known that

and for any negative
Negative and non-negative numbers

A negative number is a real number that is inequality 0 , such as -3. A positive number is a real number that is greater than zero, such as 2....
 a,

Therefore, if as +8 is defined for positive a, and −8 for negative a. However, taking the limit from the right is arbitrary. The limits could be taken from the left as well and defined a/0 to be −8 for positive a, and +8 for negative a. This can be further illustrated using the equation (assuming that several natural properties of reals extend to infinities)

which would lead to the result +8 = −8, inconsistent with standard definitions of limit in the extended real line
Extended real number line

In mathematics, the affinely extended real number system is obtained from the real number system R by adding two elements: +8 and −8 ....
. The only workable extension is introducing an unsigned infinity, discussed below.

Furthermore, there is no obvious definition of 0/0 that can be derived from considering the limit of a ratio. The limit

does not exist. Limits of the form

in which both ƒ(x) and g(x) approach 0 as x approaches 0, may equal any real or infinite value, or may not exist at all, depending on the particular functions ƒ and g (see l'Hôpital's rule
L'Hôpital's rule

In calculus, l'H?pital's rule uses derivatives to help evaluate limit s involving indeterminate forms. Application of the rule often converts an indeterminate form to a determinate form, allowing easy evaluation of the limit....
 for discussion and examples of limits of ratios). These and other similar facts show that the expression 0/0 cannot be well-defined
Well-defined

In mathematics, the term well-defined is used to specify that a certain concept or object is defined in a mathematical or logical way using a set of base axioms in an entirely unambiguous way and satisfies the properties it is required to satisfy....
 as a limit.

Formal operations
A formal calculation
Formal calculation

In mathematical logic, a formal calculation is sometimes defined as a calculation which is systematic, but without a rigorous justification....
 is one which is carried out using rules of arithmetic, without consideration of whether the result of the calculation is well-defined. Thus, as a rule of thumb, it is sometimes useful to think of a/0 as being , provided a is not zero. This infinity can be either positive, negative or unsigned, depending on context. For example, formally:

As with any formal calculation, invalid results may be obtained. A logically rigorous as opposed to formal computation would say only that

and

(Since the one-sided limit
One-sided limit

In calculus, a one-sided limit is either of the two Limit of a function of a function f of a real number variable x as x approaches a specified point either from below or from above....
s are different, the two-sided limit does not exist in the standard framework of the real numbers. Also, the fraction 1/0 is left undefined
Defined and undefined

In mathematics, defined and undefined are used to explain whether or not expressions have meaningful, sensible, and unambiguous values. Not all branches of mathematics come to the same conclusion....
 in the extended real line, therefore it and



are meaningless expressions
Expression (mathematics)

In mathematics, the word expression is a term for any well-formed formula combination of mathematical symbols. For example,is an expression, while...
 that should not rigorously be used in an equation.)

Real projective line

The set is the real projective line
Real projective line

In real analysis, the real projective line , is the set , also denoted by and by .The symbol represents the point at infinity, an idealized point that bridges the two "ends" of the real line....
, which is a one-point compactification of the real line. Here means an unsigned infinity, an infinite quantity which is neither positive nor negative. This quantity satisfies which is necessary in this context. In this structure, can be defined for nonzero a, and . It is the natural way to view the range of the tangent and cotangent functions of trigonometry
Trigonometry

Trigonometry is a branch of mathematics that deals with triangle s, particularly those plane triangles in which one angle has 90 degrees . Trigonometry deals with relationships between the sides and the angles of triangles and with the trigonometric functions, which describe those relationships....
: tan(x) approaches the single point at infinity as x approaches either or from either direction.

This definition leads to many interesting results. However, the resulting algebraic structure is not a field, and should not be expected to behave like one. For example, has no meaning in the projective line.

Riemann sphere

The set is the Riemann sphere
Riemann sphere

In mathematics, the Riemann sphere is a way of extending the plane of complex numbers with one additional point at infinity, in a way that makes expressions such as...
, of major importance in complex analysis
Complex analysis

Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematics investigating Function of complex numbers....
. Here, too, is an unsigned infinity, or, as it is often called in this context, the point at infinity
Point at infinity

The point at infinity, also called ideal point, is a Point which when added to the real number line yields a closed curve called the real projective line, ....
. This set is analogous to the real projective line, except that it is based on the field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
 of complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s. In the Riemann sphere, , but 0/0 is undefined, as well as .

Extended non-negative real number line

The negative real numbers can be discarded, and infinity introduced, leading to the set , where division by zero can be naturally defined as for positive a. While this makes division defined in more cases than usual, subtraction is instead left undefined in many cases, because there are no negative numbers.

In higher mathematics

Although division by zero cannot be sensibly defined with real numbers and integers, it is possible to consistently define it, or similar operations, in other mathematical structures.

Non-standard analysis

In the hyperreal number
Hyperreal number

The system of hyperreal numbers represents a rigorous method of treating the ideas about infinite and infinitesimal numbers that had been used casually by mathematicians, scientists, and engineers ever since the invention of calculus by Isaac Newton and Gottfried Leibniz....
s and the surreal number
Surreal number

In mathematics, the surreal number system is an continuum containing the real number as well as infinite and infinitesimal, respectively larger or smaller in absolute value than any positive real number....
s, division by zero is still impossible, but division by non-zero infinitesimal
Infinitesimal

Infinitesimals have been used to express the idea of objects so small that there is no way to see them or to measure them. For everyday life, an infinitesimal object is an object which is smaller than any possible measure....
s is possible.

Distribution theory


In distribution theory
Distribution (mathematics)

In mathematical analysis, distributions are objects which generalize function s. They extend the concept of derivative to all locally integrable functions and beyond, and are used to formulate generalized solutions of partial differential equations....
 one can extend the function to a distribution on the whole space of real numbers (in effect by using Cauchy principal value
Cauchy principal value

In mathematics, the Cauchy principal value of certain improper integrals, named after Augustin Louis Cauchy, is defined as one of the following:...
s). It does not, however, make sense to ask for a 'value' of this distribution at x = 0; a sophisticated answer refers to the singular support of the distribution.

Linear algebra

In matrix
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
 algebra (or linear algebra
Linear algebra

Linear algebra is the branch of mathematics concerned with the study of Euclidean vectors, vector spaces , linear maps , and system of linear equations....
 in general), one can define a pseudo-division, by setting a/b = ab+, in which b+ represents the pseudoinverse of b. It can be proven that if b−1 exists, then b+ = b−1. If b equals 0, then 0+ = 0; see Generalized inverse
Generalized inverse

In mathematics, a generalized inverse or pseudoinverse of a matrix A is a matrix that has some properties of the inverse matrix of A but not necessarily all of them....
.

Abstract algebra

Any number system which forms a commutative ring
Commutative ring

In ring theory, a branch of abstract algebra, a commutative ring is a Ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra....
 — for instance, the integers, the real numbers, and the complex numbers — can be extended to a wheel
Wheel theory

Wheels are a kind of universal algebra where division is always defined. In particular, division by zero is meaningful. The real numbers can be extended to a wheel, as can any commutative ring....
 in which division by zero is always possible; however, in such a case, "division" has a slightly different meaning.

The concepts applied to standard arithmetic are similar to those in more general algebraic structures, such as ring
Ring (mathematics)

In mathematics, a ring is a type of algebraic structure. There is some variation among mathematicians as to exactly what properties a ring is required to have, as described in detail below....
s and field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
s. In a field, every nonzero element is invertible under multiplication; as above, division poses problems only when attempting to divide by zero. This is likewise true in a skew field (which for this reason is called a division ring
Division ring

In abstract algebra, a division ring, also called a skew field, is a ring in which division is possible. More formally, a ring with 0 ? 1 is a division ring if every non-zero element a has a multiplicative inverse ....
). However, in other rings, division by nonzero elements may also pose problems. For example, the ring Z/6Z of integers mod 6. The meaning of the expression should be the solution x of the equation . But in the ring Z/6Z, 2 is not invertible under multiplication. This equation has two distinct solutions, x = 1 and x = 4, so the expression is undefined
Defined and undefined

In mathematics, defined and undefined are used to explain whether or not expressions have meaningful, sensible, and unambiguous values. Not all branches of mathematics come to the same conclusion....
.

In field theory, the expression is only shorthand for the formal expression ab−1, where b−1 is the multiplicative inverse of b. Since the field axioms only guarantee the existence of such inverses for nonzero elements, this expression has no meaning when b is zero. In modern texts the axiom 0 ? 1 is included in order to avoid having to consider the one-element field where the multiplicative identity coincides with the additive identity. In such 'fields' however, 00 = 1, and 0/0 = 0/1 = 0, and division by zero is actually noncontradictory.

In computer arithmetic


The IEEE floating-point standard
IEEE floating-point standard

The first IEEE Standard for Binary Floating-Point Arithmetic set the standard for floating-point computation for 23 years. It became the most widely-used standard for floating point computation, and is followed by many Central processing unit and floating point unit implementations....
, supported by almost all modern processors, specifies that every floating point
Floating point

In computing, floating point describes a system for numerical representation in which a String of digits represents a rational number.The term floating point refers to the fact that the radix point can "float": that is, it can be placed anywhere relative to the Significant figures of the number....
 arithmetic operation, including division by zero, has a well-defined result. In IEEE 754 arithmetic, a ÷ 0 is positive infinity when a is positive, negative infinity when a is negative, and NaN
NaN

In computing, NaN, which stands for Not a Number, is a value or symbol that is usually produced as the result of an operation on invalid input operands, especially in floating point calculations....
 (not a number) when a = 0. The infinity signs change when dividing by -0
-0 (number)

-0 is the representation of negative zero or minus zero, a number that, in computing, exists in some signed number representations for integers, and in most floating point number representations....
 instead. This is possible because in IEEE 754 there are two zero values, plus zero and minus zero
-0 (number)

-0 is the representation of negative zero or minus zero, a number that, in computing, exists in some signed number representations for integers, and in most floating point number representations....
, and thus no ambiguity.

Integer division by zero is usually handled differently from floating point since there is no integer representation for the result. Some processors generate an exception
Exception handling

Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of exceptions - special conditions that change the normal flow of execution....
 when an attempt is made to divide an integer by zero, although others will simply continue and generate an incorrect result for the division. The result depends on how division is implemented, and can either be zero, or sometimes the largest possible integer.

Because of the improper algebraic results of assigning any value to division by zero, many computer programming language
Programming language

A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer....
s (including those used by calculator
Calculator

A calculator is a device for performing mathematical calculations, distinguished from a computer by having a limited problem solving ability and an interface optimized for interactive calculation rather than programming....
s) explicitly forbid the execution of the operation and may prematurely halt a program that attempts it, sometimes reporting a "Divide by zero" error. In these cases, if some special behavior is desired for division by zero, the condition must be explicitly tested for (for example, using an if statement). Some programs (especially those that use fixed-point arithmetic
Fixed-point arithmetic

In computing, a fixed-point number representation is a real data type for a number that has a fixed number of digits after the radix point . Fixed-point number representation can be compared to the more complicated floating point number representation....
 where no dedicated floating-point hardware is available) will use behavior similar to the IEEE standard, using large positive and negative numbers to approximate infinities. In some programming languages, an attempt to divide by zero results in undefined behavior.

In two's complement
Two's complement

The two's complement of a binary number is defined as the value obtained by subtracting the number from a large power of two .A two's-complement system or two's-complement arithmetic is a system in which negative numbers are represented by the two's complement of the absolute value; this system is the most common Signed number r...
 arithmetic, attempts to divide the smallest signed integer by are attended by similar problems, and are handled with the same range of solutions, from explicit error conditions to undefined behavior.

Most calculators will either return an error or state that 1/0 is undefined, however some TI
Texas Instruments

Texas Instruments , better known in the electronics industry as TI, is an United States company based in Dallas, Texas, Texas, United States, renowned for developing and commercializing semiconductor and computer technology....
 graphing calculators will evaluate 1/02 to 8.

Historical accidents

  • On September 21, 1997, a divide by zero error in the USS Yorktown (CG-48)
    USS Yorktown (CG-48)

    USS Yorktown was a in the United States Navy from 1984 to 2004, named for the American Revolutionary War Battle of Yorktown ....
     Remote Data Base Manager brought down all the machines on the network, causing the ship's propulsion system to fail.


See also

  • Asymptote
    Asymptote

    An asymptote of a real-valued function is a curve which describes the behavior of as either or tends to infinity.In other words, as one moves along the graph of in some direction, the distance between it and the asymptote eventually becomes smaller than any distance that one may specify, and as the x or y values approach infinity, the...
  • Defined and undefined
    Defined and undefined

    In mathematics, defined and undefined are used to explain whether or not expressions have meaningful, sensible, and unambiguous values. Not all branches of mathematics come to the same conclusion....
  • Indeterminate form
    Indeterminate form

    In calculus and other branches of mathematical analysis, an indeterminate form is an algebraic expression obtained in the context of limits. Limits involving algebraic operations are often performed by replacing subexpressions by their limits; if the expression obtained after this substitution does not give enough information to determine th...
  • Zeroth
    Zeroth

    The zeroth item is the initial item of a 0 -based sequence , such as the non-negative integers .This kind of numbering is common in array references in computer systems, so Hacker s, computer science and computer professionals often use zeroth where others might use first, and so forth....
  • Gravitational singularity
    Gravitational singularity

    A gravitational singularity is, approximately, a place where quantities which are used to measure the gravitational field become infinity. Such quantities include the Curvature of Riemannian manifolds of spacetime or the density of matter....


Footnotes


Further reading

  • Jakub Czajko (July 2004) "", Chaos, Solitons and Fractals, volume 21, number 2, pages 261–271.* Metaphysica 6, pp. 91–109, a philosophy paper from 2005, reintroduced the (ancient Indian) idea of an applicable whole number equal to 1/0, in a more modern (Cantorian) style.