The reciprocal function,y = 1/x. For every non-zerox coordinate, the correspondingy coordinate on the graph represents its multiplicative inverse. The graph forms arectangular hyperbola.
Inmathematics, amultiplicative inverse orreciprocal for anumberx, denoted by 1/x orx−1, is a number which whenmultiplied byx yields themultiplicative identity, 1. The multiplicative inverse of afractiona/b isb/a. For the multiplicative inverse of a real number, divide 1 by the number. For example, the reciprocal of 5 is one fifth (1/5 or 0.2), and the reciprocal of 0.25 is 1 divided by 0.25, or 4. Thereciprocal function, thefunctionf(x) that mapsx to 1/x, is one of the simplest examples of a function which is its own inverse (aninvolution).
Multiplying by a number is the same asdividing by its reciprocal and vice versa. For example, multiplication by 4/5 (or 0.8) will give the same result as division by 5/4 (or 1.25). Therefore, multiplication by a number followed by multiplication by its reciprocal yields the original number (since the product of the number and its reciprocal is 1).
The termreciprocal was in common use at least as far back as the third edition ofEncyclopædia Britannica (1797) to describe two numbers whose product is 1; geometrical quantities in inverse proportion are described asreciprocall in a 1570 translation ofEuclid'sElements.[1]
In the phrasemultiplicative inverse, the qualifiermultiplicative is often omitted and then tacitly understood (in contrast to theadditive inverse). Multiplicative inverses can be defined over many mathematical domains as well as numbers. In these cases it can happen thatab ≠ba; then "inverse" typically implies that an element is both a left and rightinverse.
The notationf−1 is sometimes also used for theinverse function of the functionf, which is for most functions not equal to the multiplicative inverse. For example, the multiplicative inverse1/(sinx) = (sinx)−1 is thecosecant of x, and not theinverse sine ofx denoted bysin−1x orarcsinx. The terminology differencereciprocal versusinverse is not sufficient to make this distinction, since many authors prefer the opposite naming convention, probably for historical reasons (for example inFrench, the inverse function is preferably called thebijection réciproque).
In the real numbers,zero does not have a reciprocal (division by zero isundefined) 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 everyreal number are real, reciprocals of everyrational number are rational, and reciprocals of everycomplex number are complex. The property that every element other than zero has a multiplicative inverse is part of the definition of afield, of which these are all examples. On the other hand, nointeger other than 1 and −1 has an integer reciprocal, and so the integers are not a field.
Thesedenions are an algebra in which every nonzero element has a multiplicative inverse, but which nonetheless has divisors of zero, that is, nonzero elementsx,y such thatxy = 0.
Asquare matrix has an inverseif and only if itsdeterminant has an inverse in the coefficientring. The linear map that has the matrixA−1 with respect to some base is then the inverse function of the map havingA 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 ofAx would be (Ax)−1, notA−1x.
Thetrigonometric 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 adivision ring; likewise analgebra in which this holds is adivision algebra.
As mentioned above, the reciprocal of every nonzero complex number is complex. It can be found by multiplying both top and bottom of 1/z by itscomplex conjugate and using the property that, theabsolute value ofz squared, which is the real numbera2 +b2:
The intuition is that
gives us thecomplex conjugate with amagnitude reduced to a value of, so dividing again by ensures that the magnitude is now equal to the reciprocal of the original magnitude as well, hence:
In particular, if ||z||=1 (z has unit magnitude), then. Consequently, theimaginary units,±i, haveadditive inverse equal to multiplicative inverse, and are the only complex numbers with this property. For example, additive and multiplicative inverses ofi are−(i) = −i and1/i = −i, respectively.
For a complex number in polar formz =r(cos φ +i sin φ), the reciprocal simply takes the reciprocal of the magnitude and the negative of the angle:
Geometric intuition for the integral of 1/x. The three integrals from 1 to 2, from 2 to 4, and from 4 to 8 are all equal. Each region is the previous region halved vertically and doubled horizontally. Extending this, the integral from 1 to 2k isk times the integral from 1 to 2, just as ln 2k =k ln 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:Instead the integral is given by:where ln is thenatural logarithm. To show this, note that, so if and, we have:[2]
The reciprocal may be computed by hand with the use oflong division.
Computing the reciprocal is important in manydivision algorithms, since the quotienta/b can be computed by first computing 1/b and then multiplying it bya. Noting that has azero atx = 1/b,Newton's method can find that zero, starting with a guess and iterating using the rule:
This continues until the desired precision is reached. For example, suppose we wish to compute 1/17 ≈ 0.0588 with 3 digits of precision. Takingx0 = 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 roundingb to a nearby power of 2, then usingbit shifts to compute its reciprocal.
Inconstructive mathematics, for a real numberx to have a reciprocal, it is not sufficient thatx ≠ 0. There must instead be given arational numberr such that 0 < r < |x|. In terms of the approximationalgorithm described above, this is needed to prove that the change iny will eventually become arbitrarily small.
Graph of f(x) =xx showing the minimum at (1/e,e−1/e).
This iteration can also be generalized to a wider sort of inverses; for example,matrix inverses.
Every real or complex number excluding zero has a reciprocal, and reciprocals of certainirrational numbers can have important special properties. Examples include the reciprocal ofe (≈ 0.367879) and thegolden 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; is theglobal minimum of. The second number is the only positive number that is equal to its reciprocal plus one:. Itsadditive inverse is the only negative number that is equal to its reciprocal minus one:.
The function can be used to find the irrational number which differs from its reciprocal by an integer, because in general. For example, is the irrational number. Its reciprocal is, exactly less. Such irrational numbers share an evident property: they have the samefractional part as their reciprocal, since these numbers differ by an integer.
The reciprocal function plays an important role insimple continued fractions, which have a number of remarkable properties relating to the representation of (both rational and) irrational numbers.
If the multiplication is associative, an elementx with a multiplicative inverse cannot be azero divisor (x is a zero divisor if some nonzeroy,xy = 0). To see this, it is sufficient to multiply the equationxy = 0 by the inverse ofx (on the left), and then simplify using associativity. In the absence of associativity, thesedenions provide a counterexample.
The converse does not hold: an element which is not azero divisor is not guaranteed to have a multiplicative inverse.WithinZ, all integers except −1, 0, 1 provide examples; they are not zero divisors nor do they have inverses inZ.If the ring or algebra isfinite, however, then all elementsa which are not zero divisors do have a (left and right) inverse. For, first observe that the mapf(x) =ax must beinjective:f(x) =f(y) impliesx =y:
Distinct elements map to distinct elements, so the image consists of the same finite number of elements, and the map is necessarilysurjective. Specifically, ƒ (namely multiplication bya) must map some elementx to 1,ax = 1, so thatx is an inverse fora.
The expansion of the reciprocal 1/q in any base can also act[3] as a source ofpseudo-random numbers, ifq is a "suitable"safe prime, a prime of the form 2p + 1 wherep is also a prime. A sequence of pseudo-random numbers of lengthq − 1 will be produced by the expansion.