Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Multiplicative inverse
Number which when multiplied by x equals 1

In mathematics, the multiplicative inverse or reciprocal of a number x is a number which, when multiplied by x, yields the multiplicative identity 1. For a fraction a/b, the reciprocal is b/a. The reciprocal function mapping x to 1/x is an involution, meaning it is its own inverse. Multiplying by a number is equivalent to dividing by its reciprocal, and vice versa. The term reciprocal dates back to the Encyclopædia Britannica (1797) and earlier referenced in Euclid's Elements. Note that the notation f-1 can denote either the reciprocal or the inverse function, which are generally different concepts (e.g., cosecant vs. arcsin).

Related Image Collections Add Image
We don't have any YouTube videos related to Multiplicative inverse yet.
We don't have any PDF documents related to Multiplicative inverse yet.
We don't have any Books related to Multiplicative inverse yet.
We don't have any archived web articles related to Multiplicative inverse yet.

Examples and counterexamples

In the real numbers, zero does not have a reciprocal (division by zero is undefined) because no real number multiplied by 0 produces 1 (the product of any number with zero is zero). With the exception of zero, reciprocals of every real number are real, reciprocals of every rational number are rational, and reciprocals of every complex number are complex. The property that every element other than zero has a multiplicative inverse is part of the definition of a field, of which these are all examples. On the other hand, no integer other than 1 and −1 has an integer reciprocal, and so the integers are not a field.

In modular arithmetic, the modular multiplicative inverse of a is also defined: it is the number x such that ax ≡ 1 (mod n). This multiplicative inverse exists if and only if a and n are coprime. For example, the inverse of 3 modulo 11 is 4 because 4 ⋅ 3 ≡ 1 (mod 11). The extended Euclidean algorithm may be used to compute it.

The sedenions are an algebra in which every nonzero element has a multiplicative inverse, but which nonetheless has divisors of zero, that is, nonzero elements x, y such that xy = 0.

A square matrix has an inverse if and only if its determinant has an inverse in the coefficient ring. The linear map that has the matrix A−1 with respect to some base is then the inverse 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, but they still do not coincide, since the multiplicative inverse of Ax would be (Ax)−1, not A−1x.

These two notions of an inverse function do sometimes coincide, for example for the function f ( x ) = x i = e i ln ⁡ ( x ) {\displaystyle f(x)=x^{i}=e^{i\ln(x)}} where ln {\displaystyle \ln } is the principal branch of the complex logarithm and e − π < | x | < e π {\displaystyle e^{-\pi }<|x|<e^{\pi }} :

( ( 1 / f ) ∘ f ) ( x ) = ( 1 / f ) ( f ( x ) ) = 1 / ( f ( f ( x ) ) ) = 1 / e i ln ⁡ ( e i ln ⁡ ( x ) ) = 1 / e i i ln ⁡ ( x ) = 1 / e − ln ⁡ ( x ) = x {\displaystyle ((1/f)\circ f)(x)=(1/f)(f(x))=1/(f(f(x)))=1/e^{i\ln(e^{i\ln(x)})}=1/e^{ii\ln(x)}=1/e^{-\ln(x)}=x} .

The trigonometric functions are related by the reciprocal identity: the cotangent is the reciprocal of the tangent; the secant is the reciprocal of the cosine; the cosecant is the reciprocal of the sine.

A ring in which every nonzero element has a multiplicative inverse is a division ring; likewise an algebra in which this holds is a division algebra.

Complex numbers

As mentioned above, the reciprocal of every nonzero complex number z = a + b i {\displaystyle z=a+bi} is complex. It can be found by multiplying both top and bottom of 1/z by its complex conjugate z ¯ = a − b i {\displaystyle {\bar {z}}=a-bi} and using the property that z z ¯ = ‖ z ‖ 2 {\displaystyle z{\bar {z}}=\|z\|^{2}} , the absolute value of z squared, which is the real number a2 + b2:

1 z = z ¯ z z ¯ = z ¯ ‖ z ‖ 2 = a − b i a 2 + b 2 = a a 2 + b 2 − b a 2 + b 2 i . {\displaystyle {\frac {1}{z}}={\frac {\bar {z}}{z{\bar {z}}}}={\frac {\bar {z}}{\|z\|^{2}}}={\frac {a-bi}{a^{2}+b^{2}}}={\frac {a}{a^{2}+b^{2}}}-{\frac {b}{a^{2}+b^{2}}}i.}

The intuition is that

z ¯ ‖ z ‖ {\displaystyle {\frac {\bar {z}}{\|z\|}}}

gives us the complex conjugate with a magnitude reduced to a value of 1 {\displaystyle 1} , so dividing again by ‖ z ‖ {\displaystyle \|z\|} ensures that the magnitude is now equal to the reciprocal of the original magnitude as well, hence:

1 z = z ¯ ‖ z ‖ 2 {\displaystyle {\frac {1}{z}}={\frac {\bar {z}}{\|z\|^{2}}}}

In particular, if ||z||=1 (z has unit magnitude), then 1 / z = z ¯ {\displaystyle 1/z={\bar {z}}} . Consequently, the imaginary units, ±i, have additive inverse equal to multiplicative inverse, and are the only complex numbers with this property. For example, additive and multiplicative inverses of i are −(i) = −i and 1/i = −i, respectively.

For a complex number in polar form z = r(cos φ + i sin φ), the reciprocal simply takes the reciprocal of the magnitude and the negative of the angle:

1 z = 1 r ( cos ⁡ ( − φ ) + i sin ⁡ ( − φ ) ) . {\displaystyle {\frac {1}{z}}={\frac {1}{r}}\left(\cos(-\varphi )+i\sin(-\varphi )\right).}

Calculus

In real calculus, the derivative of 1/x = x−1 is given by the power rule with the power −1:

d d x x − 1 = ( − 1 ) x ( − 1 ) − 1 = − x − 2 = − 1 x 2 . {\displaystyle {\frac {d}{dx}}x^{-1}=(-1)x^{(-1)-1}=-x^{-2}=-{\frac {1}{x^{2}}}.}

The power rule for integrals (Cavalieri's quadrature formula) cannot be used to compute the integral of 1/x, because doing so would result in division by 0: ∫ d x x = x 0 0 + C {\displaystyle \int {\frac {dx}{x}}={\frac {x^{0}}{0}}+C} Instead the integral is given by: ∫ 1 a d x x = ln ⁡ a , {\displaystyle \int _{1}^{a}{\frac {dx}{x}}=\ln a,} ∫ d x x = ln ⁡ x + C . {\displaystyle \int {\frac {dx}{x}}=\ln x+C.} where ln is the natural logarithm. To show this, note that d d y e y = e y {\textstyle {\frac {d}{dy}}e^{y}=e^{y}} , so if x = e y {\displaystyle x=e^{y}} and y = ln ⁡ x {\displaystyle y=\ln x} , we have:2 d x d y = x ⇒ d x x = d y ⇒ ∫ d x x = ∫ d y = y + C = ln ⁡ x + C . {\displaystyle {\begin{aligned}&{\frac {dx}{dy}}=x\quad \Rightarrow \quad {\frac {dx}{x}}=dy\\[10mu]&\quad \Rightarrow \quad \int {\frac {dx}{x}}=\int dy=y+C=\ln x+C.\end{aligned}}}

Algorithms

The reciprocal may be computed by hand with the use of long division.

Computing the reciprocal is important in many division algorithms, since the quotient a/b can be computed by first computing 1/b and then multiplying it by a. Noting that f ( x ) = 1 / x − b {\displaystyle f(x)=1/x-b} has a zero at x = 1/b, Newton's method can find that zero, starting with a guess x 0 {\displaystyle x_{0}} and iterating using the rule:

x n + 1 = x n − f ( x n ) f ′ ( x n ) = x n − 1 / x n − b − 1 / x n 2 = 2 x n − b x n 2 = x n ( 2 − b x n ) . {\displaystyle x_{n+1}=x_{n}-{\frac {f(x_{n})}{f'(x_{n})}}=x_{n}-{\frac {1/x_{n}-b}{-1/x_{n}^{2}}}=2x_{n}-bx_{n}^{2}=x_{n}(2-bx_{n}).}

This continues until the desired precision is reached. For example, suppose we wish to compute 1/17 ≈ 0.0588 with 3 digits of precision. Taking x0 = 0.1, the following sequence is produced:

x1 = 0.1(2 − 17 × 0.1) = 0.03 x2 = 0.03(2 − 17 × 0.03) = 0.0447 x3 = 0.0447(2 − 17 × 0.0447) ≈ 0.0554 x4 = 0.0554(2 − 17 × 0.0554) ≈ 0.0586 x5 = 0.0586(2 − 17 × 0.0586) ≈ 0.0588

A typical initial guess can be found by rounding b to a nearby power of 2, then using bit shifts to compute its reciprocal.

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 described above, this is needed to prove that the change in y will eventually become arbitrarily small.

This iteration can also be generalized to a wider sort of inverses; for example, matrix inverses.

Reciprocals of irrational numbers

Every real or complex number excluding zero has a reciprocal, and reciprocals of certain irrational numbers can have important special properties. Examples include the reciprocal of e (≈ 0.367879) and the golden ratio's reciprocal (≈ 0.618034). The first reciprocal is special because no other positive number can produce a lower number when put to the power of itself; f ( 1 / e ) {\displaystyle f(1/e)} is the global minimum of f ( x ) = x x {\displaystyle f(x)=x^{x}} . The second number is the only positive number that is equal to its reciprocal plus one: φ = 1 / φ + 1 {\displaystyle \varphi =1/\varphi +1} . Its additive inverse is the only negative number that is equal to its reciprocal minus one: − φ = − 1 / φ − 1 {\displaystyle -\varphi =-1/\varphi -1} .

The function f ( n ) = n + n 2 + 1 , n ∈ N , n > 0 {\textstyle f(n)=n+{\sqrt {n^{2}+1}},n\in \mathbb {N} ,n>0} gives an infinite number of irrational numbers that differ with their reciprocal by an integer. For example, f ( 2 ) {\displaystyle f(2)} is the irrational 2 + 5 {\displaystyle 2+{\sqrt {5}}} . Its reciprocal 1 / ( 2 + 5 ) {\displaystyle 1/(2+{\sqrt {5}})} is − 2 + 5 {\displaystyle -2+{\sqrt {5}}} , exactly 4 {\displaystyle 4} less. Such irrational numbers share an evident property: they have the same fractional part as their reciprocal, since these numbers differ by an integer.

The reciprocal function plays an important role in simple continued fractions, which have a number of remarkable properties relating to the representation of (both rational and) irrational numbers.

Further remarks

If the multiplication is associative, an element x with a multiplicative inverse cannot be a zero divisor (x is a zero divisor if some nonzero y, xy = 0). 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 sedenions provide a counterexample.

The converse does not hold: an element which is not a zero divisor is not guaranteed to have a multiplicative inverse. Within Z, all integers except −1, 0, 1 provide examples; they are not zero divisors nor do they have inverses in Z. If the ring or algebra is finite, however, then all elements a which are not zero divisors do have a (left and right) inverse. For, first observe that the map f(x) = ax must be injective: f(x) = f(y) implies x = y:

a x = a y ⇒ a x − a y = 0 ⇒ a ( x − y ) = 0 ⇒ x − y = 0 ⇒ x = y . {\displaystyle {\begin{aligned}ax&=ay&\quad \Rightarrow &\quad ax-ay=0\\&&\quad \Rightarrow &\quad a(x-y)=0\\&&\quad \Rightarrow &\quad x-y=0\\&&\quad \Rightarrow &\quad x=y.\end{aligned}}}

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.

Applications

The expansion of the reciprocal 1/q in any base can also act3 as a source of pseudo-random numbers, if q is a "suitable" safe prime, a prime of the form 2p + 1 where p is also a prime. A sequence of pseudo-random numbers of length q − 1 will be produced by the expansion.

See also

Notes

  • Maximally Periodic Reciprocals, Matthews R.A.J. Bulletin of the Institute of Mathematics and its Applications vol 28 pp 147–148 1992

References

  1. "In equall Parallelipipedons the bases are reciprokall to their altitudes". OED "Reciprocal" §3a. Sir Henry Billingsley translation of Elements XI, 34. /wiki/Henry_Billingsley

  2. Anthony, Dr. "Proof that INT(1/x)dx = lnx". Ask Dr. Math. Drexel University. Retrieved 22 March 2013. http://mathforum.org/library/drmath/view/53562.html

  3. Mitchell, Douglas W., "A nonlinear random number generator with known, long cycle length", Cryptologia 17, January 1993, 55–62. /wiki/Cryptologia