All Topics  
Multiplicative inverse

 

   Email Print
   Bookmark   Link






 

Multiplicative inverse



 
 
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 multiplicative inverse or reciprocal for a number x, denoted by 1x or x −1, is a number which when multiplied by x yields the multiplicative identity, 1.






Discussion
Ask a question about 'Multiplicative inverse'
Start a new discussion about 'Multiplicative inverse'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Hyperbola One Over X
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 multiplicative inverse or reciprocal for a number x, denoted by 1x or x −1, is a number which when multiplied by x yields the multiplicative identity, 1. The multiplicative inverse of x is also called the reciprocal of x. The multiplicative inverse of a fraction
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
 pq is qp. For the multiplicative inverse of a real number, divide 1 by the number. For example, the reciprocal of 5 is one fifth (15 or 0.2), and the reciprocal of 0.25 is 1 divided by 0.25, or 4. The reciprocal function, the function ƒ(x) that maps x to 1x, is one of the simplest examples of a function which is self-inverse
Inverse function

In mathematics, if ƒ is a function from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip from A to B to A returns each element of the initial set to itself....
.

The term reciprocal was in common use at least as far back as the third edition of Encyclopaedia Britannica (1797) to describe two numbers whose product is 1; geometrical quantities in inverse proportion are described as reciprocall in a 1570 translation of Euclid
Euclid

Euclid , floruit 300 BC, also known as Euclid of Alexandria, was a Greek mathematics and is often referred to as the Father of Geometry. He was active in Alexandria during the reign of Ptolemy I ....
's Elements
Euclid's Elements

Euclid's Elements is a mathematics and geometry treatise consisting of 13 books written by the Greek mathematics Euclid in Alexandria circa 300 BC....
.

In the phrase multiplicative inverse, the qualifier multiplicative is often omitted and then tacitly understood (in contrast to the additive inverse
Additive inverse

In mathematics, the additive inverse, or opposite, of a number n is the number that, when addition to n, yields 0 .The additive inverse of F is denoted −F....
). Multiplicative inverses can be defined over many mathematical domains as well as numbers. In these cases it can happen that ab ? ba; then "inverse" typically implies that an element is both a left and right inverse
Inverse element

In mathematics, the idea of inverse element generalises the concepts of additive inverse, in relation to addition, and Multiplicative inverse, in relation to multiplication....
.

Examples and counterexamples


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....
 does not have a finite
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...
 reciprocal because no real number multiplied by 0 produces 1. With the exception of zero, reciprocals of every 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:...
 are complex, reciprocals of every 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...
 are real, and reciprocals of every rational number
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
 are rational. Given the imaginary unit
Imaginary unit

In mathematics, physics, and engineering, the imaginary unit is denoted by  or the Latin   or the Greek iota . It allows the real number system, to be extended to the complex number system,   Its precise definition is dependent upon the particular method of extension....
, where = , ± represent the only numbers with additive inverse
Additive inverse

In mathematics, the additive inverse, or opposite, of a number n is the number that, when addition to n, yields 0 .The additive inverse of F is denoted −F....
 equal to multiplicative inverse. For example, additive and multiplicative inverses of are − = − and 1/ = −, respectively.

To approximate the reciprocal of x, using only multiplication and subtraction, one can guess a number y, and then repeatedly replace y with 2y − xy2. Once the change in y becomes (and stays) sufficiently small, y is an approximation of the reciprocal of x.

In constructive mathematics, for a real number x to have a reciprocal, it is not sufficient that x ? 0. There must instead be given a rational number r such that 0 < r < |x|. In terms of the approximation algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
 in the previous paragraph, this is needed to prove that the change in y will eventually become arbitrarily small.

In modular arithmetic
Modular arithmetic

In mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" after they reach a certain value — the modulus....
, the modular multiplicative inverse
Modular multiplicative inverse

The modular multiplicative inverse of an integer a modular arithmetic m is an integer x such thatThat is, it is the multiplicative inverse in the ring of integers modulo m....
 of x is also defined: it is the number a such that ax ≡ 1 (mod n). This multiplicative inverse exists if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 a and n are coprime
Coprime

In mathematics, the integers a and b are said to be coprime or relatively prime if they have no common divisor other than 1 or, equivalently, if their greatest common divisor is 1....
. For example, the inverse of 3 modulo 11 is 4 because it is the solution to 3x ≡ 1 (mod 11). The extended Euclidean algorithm
Extended Euclidean algorithm

The extended Euclidean algorithm is an extension to the Euclidean algorithm for finding the greatest common divisor of integers a and b: it also finds the integers x and y in B?zout's identity...
 may be used to compute it.

The sedenion
Sedenion

In abstract algebra, sedenions form a 16-dimension of a vector space algebra over a field over the real number. The set of sedenions is denoted as ....
s are an algebra in which every nonzero element has a multiplicative inverse, but which nonetheless has divisors of zero, i.e. nonzero elements x, y such that xy = 0.

A square matrix has an inverse if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 its determinant
Determinant

In algebra, a determinant is a function depending on n that associates a scalar , det, to an n?n square matrix A. The fundamental geometric meaning of a determinant is a scale factor for measure when A is regarded as a linear transformation....
 has an inverse in the coefficient 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....
. The linear map that has the matrix A−1 with respect to some base is then the reciprocal function of the map having A as matrix in the same base. Thus, the two distinct notions of the inverse of a function are strongly related in this case, while they must be carefully distinguished in the general case (see below).

The trigonometric
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....
 functions are related by the reciprocal identity: the cotangent is the reciprocal of the tangent; the secant
Secant

Secant is a term in mathematics. It comes from the Latin secare . It can refer to:* a secant line, in geometry* the Trigonometric functions#Reciprocal functions, reciprocal to the cosine....
 is the reciprocal of the cosine; the cosecant is the reciprocal of the sine
Siné

Maurice Sinet, known as Sin? is a France cartoonist.As a young man he studied drawing and graphic arts, earning his life as a cabaret singer....
.

It is important to distinguish the reciprocal of a function ƒ in the multiplicative sense, given by 1ƒ, from the reciprocal or inverse function
Inverse function

In mathematics, if ƒ is a function from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip from A to B to A returns each element of the initial set to itself....
 with respect to composition, denoted by ƒ−1 and defined by ƒ o ƒ−1 = id. Only for linear maps are they strongly related (see above), while they are completely different for all other cases. The terminology difference reciprocal versus inverse is not sufficient to make this distinction, since many authors prefer the opposite naming convention, probably for historical reasons (for example in French
French language

French is a Romance language spoken around the world by around 80 million people as first language, by 190 million as second language, and by about another 200 million people as an acquired tongue, with significant speakers in 54 countries....
, the inverse function is preferably called application réciproque).

A 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....
 in which every nonzero element has a multiplicative inverse is 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 ....
; likewise an algebra
Algebra (ring theory)

In mathematics, specifically in ring theory, an algebra over a commutative ring is a generalization of the concept of an associative algebra, where the base field K is replaced by a commutative ring R....
 in which this holds is a division algebra
Division algebra

In the field of mathematics called abstract algebra, a division algebra is, roughly speaking, an algebra over a field in which division is possible....
.

Practical applications

The multiplicative inverse has innumerable applications in algorithms of computer science, particularly those related to number theory, since many such algorithms rely heavily on the theory of modular arithmetic. As a simple example, consider the exact division problem where you have a list of odd word-sized numbers each divisible by k and you wish to divide them all by k. One solution is as follows:
  1. Use the extended Euclidean algorithm to compute k-1, the modular multiplicative inverse
    Modular multiplicative inverse

    The modular multiplicative inverse of an integer a modular arithmetic m is an integer x such thatThat is, it is the multiplicative inverse in the ring of integers modulo m....
     of k mod 2w, where w is the number of bits in a word. This inverse will exist since the numbers are odd and the modulus has no odd factors.
  2. For each number in the list, multiply it by k-1 and take the least significant word of the result.


On many machines, particularly those without hardware support for division, division is a slower operation than multiplication, so this approach can yield a considerable speedup. The first step is relatively slow but only needs to be done once.

Pseudo-random number generation

The expansion of the reciprocal 1q in any base can also act as a source of pseudo-random numbers, if q is a "suitable" safe prime
Safe prime

A safe prime is a prime number of the form 2p + 1, where p is also a prime. The first few safe primes are5 , 7 , 11 , 23 , 47 , 59 , 83 , 107 , 167 , 179 , 227 , 263 , 347, 359, 383, 467, 479, 503, 563, 587, 719, 839, 863, 887, 983, 1019, 1187, 1283, 1307, 1319, 1367, 1439, 1487, 1523, 1619, 1823, 1907....
, a prime of the form 2p+1 where p is also a prime, subject to certain constraints
Sophie Germain prime

In number theory, a prime number p is a Sophie Germain prime if 2p + 1 is also prime. For example, 23 is a Sophie Germain prime because it is a prime and 2 × 23 + 1 = 47, also prime....
. A stream of random numbers of length q-1 will be produced by the expansion.

Further remarks


If the multiplication is associative, an element x with a multiplicative inverse cannot be a zero divisor
Zero divisor

In abstract algebra, a nonzero element a of a ring is a left zero divisor if there exists a nonzero b such that ab = 0. Right zero divisors are defined analogously, that is, a nonzero element a of a ring is a right zero divisor if there exists a nonzero c such that ca = 0....
 (meaning for some y, xy = 0 with neither x nor y equal to zero). To see this, it is sufficient to multiply the equation xy = 0 by the inverse of x (on the left), and then simplify using associativity. In the absence of associativity, the sedenion
Sedenion

In abstract algebra, sedenions form a 16-dimension of a vector space algebra over a field over the real number. The set of sedenions is denoted as ....
s provide a counterexample.

The converse does not hold: an element which is not a zero divisor
Zero divisor

In abstract algebra, a nonzero element a of a ring is a left zero divisor if there exists a nonzero b such that ab = 0. Right zero divisors are defined analogously, that is, a nonzero element a of a ring is a right zero divisor if there exists a nonzero c such that ca = 0....
 is not guaranteed to have a multiplicative inverse. Within the integers, the nonzero integers provide an example; they are not zero divisors nor do they have inverses in Z. If the ring or algebra is finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
, however, then all elements a which are not zero divisors do have a (left and right) inverse. For, first observe that the map ƒ(x) = ax must be injective: ƒ(x) = ƒ(y) implies x = y:

Distinct elements map to distinct elements, so the image consists of the same finite number of elements, and the map is necessarily surjective. Specifically, ƒ (namely multiplication by a) must map some element x to 1, ax = 1, so that x is an inverse for a.

The multiplicative inverse of a fraction is simply

See also

  • Division (mathematics)
    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:...
  • Fraction (mathematics)
    Fraction (mathematics)

    A fraction is a number that can represent part of a whole.The earliest fractions were reciprocals of integers, symbols representing one half, one third, one quarter, and so on....
  • group (mathematics)
    Group (mathematics)

    In mathematics, a group is an algebraic structure consisting of a set together with an Binary operation that combines any two of its element to form a third element....
  • ring (mathematics)
    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....
  • division algebra
    Division algebra

    In the field of mathematics called abstract algebra, a division algebra is, roughly speaking, an algebra over a field in which division is possible....
  • Exponential decay
    Exponential decay

    A quantity is said to be subject to exponential decay if it decreases at a rate proportional to its value. Symbolically, this can be expressed as the following differential equation, where N is the quantity and ? is a negative and non-negative numbers called the decay constant....
  • Unit fraction
    Unit fraction

    A unit fraction is a rational number written as a vulgar fraction where the numerator is 1 and the denominator is a positive integer. A unit fraction is therefore the Reciprocal of a positive integer, 1/n....
    s – reciprocals of integers
  • Hyperbola
    Hyperbola

    In mathematics a hyperbola is a smooth function planar curve having two connected components or branches, each a mirror image of the other and resembling two infinite bow aimed at each other....