|
|
Line 1: |
Line 1: |
| [[Image:Hyperbola one over x.svg|thumbnail|right|300px|Diagrammatic representation of limits approaching infinity|The reciprocal function: ''y'' = 1/''x''. For every ''x'' except 0, ''y'' represents its multiplicative inverse. The graph forms a [[rectangular hyperbola]].]]
| | I am 40 years old and my name is Shay Burbank. I life in Skien (Norway).<br><br>Feel free to visit my page [https://safedietsthatwork.shutterfly.com/22 diet plans] |
| In [[mathematics]], a '''multiplicative inverse''' or '''reciprocal''' for a number ''x'', denoted by 1/''x'' or ''x''<sup>−1</sup>, is a number which when multiplied by ''x'' yields the [[multiplicative identity]], 1. The multiplicative inverse of a [[rational number|fraction]] ''a''/''b'' is ''b''/''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. The '''reciprocal function''', the function ''f''(''x'') that maps ''x'' to 1/''x'', is one of the simplest examples of a function which is its own inverse (an [[Involution_(mathematics)|involution]]).
| |
| | |
| The term ''reciprocal'' was in common use at least as far back as the third edition of ''[[Encyclopædia 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]]'s ''[[Euclid's Elements|Elements]]''.<ref>" In equall Parallelipipedons the bases are reciprokall to their altitudes". ''OED'' "Reciprocal" §3''a''. Sir [[Henry Billingsley]] translation of Elements XI, 34.</ref>
| |
| | |
| In the phrase ''multiplicative inverse'', the qualifier ''multiplicative'' is often omitted and then tacitly understood (in contrast to the [[additive inverse]]). 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 element|inverse]].
| |
| | |
| The notation x<sup>−1</sup> is sometimes also used for the [[inverse function]], which usually is not equal to the multiplicative inverse. For example, 1/sin ''x'' = (sin ''x'')<sup>−1</sup> is very different from the [[Inverse trigonometric functions|inverse of sin ''x'']], denoted sin<sup>−1</sup> ''x'' or arcsin ''x''. Only for linear maps are they strongly related (see below). 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 language|French]], the inverse function is preferably called [[w:fr:application réciproque|application réciproque]]).
| |
| | |
| ==Examples and counterexamples==
| |
| In the real numbers, [[0 (number)|zero]] does not have a reciprocal 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 (mathematics)|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 [[sedenion]]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]] its [[determinant]] has an inverse in the coefficient [[Ring (mathematics)|ring]]. The linear map that has the matrix ''A''<sup>−1</sup> 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 (as noted above).
| |
| | |
| 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 (mathematics)|ring]] in which every nonzero element has a multiplicative inverse is a [[division ring]]; likewise an [[algebra (ring theory)|algebra]] in which this holds is a [[division algebra]].
| |
| | |
| == Complex numbers ==
| |
| As mentioned above, the reciprocal of every nonzero complex number {{math|1=''z'' = ''a'' + ''bi''}} is complex. It can be found by multiplying both top and bottom of 1/''z'' by its [[complex conjugate]] <math>\bar z = a - bi</math> and using the property that <math>z\bar z = \|z\|^2</math>, the [[absolute value]] of ''z'' squared, which is the real number {{math|''a''<sup>2</sup> + ''b''<sup>2</sup>}}:
| |
| | |
| :<math>\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.</math>
| |
| | |
| In particular, if ||''z''||=1 (''z'' has unit magnitude), then <math>1/z = \bar z</math>. Consequently, the [[imaginary unit]]s, ±{{math|''i''}}, have [[additive inverse]] equal to multiplicative inverse, and are the only complex numbers with this property. For example, additive and multiplicative inverses of {{math|''i''}} are −({{math|''i''}}) = −{{math|''i''}} and 1/{{math|''i''}} = −{{math|''i''}}, respectively.
| |
| | |
| For a complex number in polar form {{math|1=''z'' = ''r''(cos φ + ''i'' sin φ)}}, the reciprocal simply takes the reciprocal of the magnitude and the negative of the angle:
| |
| | |
| :<math>\frac{1}{z} = \frac{1}{r}\left(\cos(-\varphi) + i \sin(-\varphi)\right).</math>
| |
| | |
| [[File:Reciprocal integral.svg|thumb|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 scaled vertically down by 50%, then horizontally by 200%. Extending this, the integral from 1 to 2<sup>''k''</sup> is ''k'' times the integral from 1 to 2, just as ln 2<sup>''k''</sup> = ''k'' ln 2.]]
| |
| | |
| == Calculus ==
| |
| In real [[calculus]], the [[derivative]] of {{math|1= 1/''x'' = ''x''<sup>−1</sup>}} is given by the [[power rule]] with the power −1:
| |
| | |
| :<math> \frac{d}{dx} x^{-1} = (-1)x^{(-1)-1} = -x^{-2} = -\frac{1}{x^2}.</math>
| |
| | |
| The power rule for integrals ([[Cavalieri's quadrature formula]]) cannot be used to compute the integral of 1/''x'', as it is an exceptional case. Instead the integral is given by:
| |
| | |
| :<math>\int_1^a \frac{1}{x}\,dx = \ln a,</math>
| |
| :<math>\int \frac{1}{x}\,dx = \ln x + C.</math> | |
| | |
| where ln is the [[natural logarithm]]. To show this, note that <math>\frac{d}{dx} e^x = e^x</math>, so if <math>y = e^x</math> and <math>x = \ln y</math>, we have:<ref>{{cite web|last=Anthony|first=Dr.|title=Proof that INT(1/x)dx = lnx|url=http://mathforum.org/library/drmath/view/53562.html|work=Ask Dr. Math|publisher=Drexel University|accessdate=22 March 2013}}</ref>
| |
| :<math>\frac{dy}{dx} = y\quad \Rightarrow \quad \frac{dy}{y} = dx \quad\Rightarrow\quad \int \frac{1}{y}\,dy = \int 1\,dx \quad\Rightarrow\quad \int \frac{1}{y}\,dy = x + C = \ln y + C.</math>
| |
| | |
| == Algorithms ==
| |
| Computing the reciprocal is important in many [[division algorithm]]s, since the quotient ''a''/''b'' can be computed by first computing 1/''b'' and then multiplying it by ''a''. Noting that <math>f(x) = 1/x - b</math> has a [[Zero of a function|zero]] at ''x'' = 1/''b'', [[Newton's method]] can find that zero, starting with a guess <math>x_0</math> and iterating using the rule:
| |
| | |
| :<math>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).</math>
| |
| | |
| 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 ''x''<sub>0</sub> = 0.1, the following sequence is produced:
| |
| :''x''<sub>1</sub> = 0.1(2 - 17 × 0.1) = 0.03
| |
| :''x''<sub>2</sub> = 0.03(2 - 17 × 0.03) = 0.0447
| |
| :''x''<sub>3</sub> = 0.0447(2 - 17 × 0.0447) ≈ 0.0554
| |
| :''x''<sub>4</sub> = 0.0554(2 - 17 × 0.0554) ≈ 0.0586
| |
| :''x''<sub>5</sub> = 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 shift]]s 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.
| |
| | |
| [[File:X to x power showing minimum.svg|thumb|Graph of f(''x'') = ''x''<sup>''x''</sup> showing the minimum at (1/e, e<sup>-1/e</sup>).]]
| |
| | |
| This iteration can also be generalised to a wider sort of inverses, e.g. [[Invertible_matrix#Newton's method|matrix inverses]].
| |
| | |
| ==Reciprocals of irrational numbers==
| |
| Every number excluding zero has a reciprocal, and reciprocals of certain [[irrational number]]s often can prove useful for reasons linked to the irrational number in question. Examples of this are the reciprocal of [[e (mathematical constant)|e]] (≈ 0.367879), which is special because no other positive number can produce a lower number when put to the power of itself; and the [[Golden ratio#Golden ratio conjugate|golden ratio's reciprocal]] (≈ 0.618034), which is exactly one less than the [[golden ratio]]; the golden ratio is the only positive number with this property.
| |
| | |
| There are an infinite number of irrational reciprocal pairs that differ by an integer (giving the curious effect that the pairs share their infinite mantissa). These pairs can be found by simplifying ''n''+√(''n''<sup>2</sup>+1) for any integer ''n'', and taking the reciprocal. For example, ''n'' = 2 produces 2+√5, whose reciprocal 1/(2+√5) is -2+√5, exactly 4 less.
| |
| | |
| ==Further remarks==
| |
| If the multiplication is associative, an element ''x'' with a multiplicative inverse cannot be a [[zero divisor]] (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]]s 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 set|finite]], 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'':
| |
| :<math>\begin{align}
| |
| ax &= ay &\quad \rArr & \quad ax-ay = 0 \\
| |
| & &\quad \rArr &\quad a(x-y) = 0 \\
| |
| & &\quad \rArr &\quad x-y = 0 \\
| |
| & &\quad \rArr &\quad x = y.
| |
| \end{align}</math>
| |
| 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 act <ref name="Mitchell">Mitchell, Douglas W., "A nonlinear random number generator with known, long cycle length," ''[[Cryptologia]]'' 17, January 1993, 55-62.</ref> as a source of [[pseudo-random numbers]], if ''q'' is a "suitable" [[safe prime]], a prime of the form 2''p'' + 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==
| |
| | |
| * [[Division (mathematics)]]
| |
| * [[Fraction (mathematics)]]
| |
| * [[Group (mathematics)]]
| |
| * [[Ring (mathematics)]]
| |
| * [[Division algebra]]
| |
| * [[Exponential decay]]
| |
| * [[Unit fraction]]s – reciprocals of integers
| |
| * [[Hyperbola]]
| |
| * [[Repeating decimal]]
| |
| | |
| ==Notes==
| |
| | |
| <references/>
| |
| | |
| ==References==
| |
| | |
| *Maximally Periodic Reciprocals, Matthews R.A.J. ''Bulletin of the Institute of Mathematics and its Applications'' vol 28 pp 147–148 1992
| |
| | |
| [[Category:Elementary special functions]]
| |
| [[Category:Abstract algebra]]
| |
| [[Category:Elementary algebra]]
| |
| [[Category:Multiplication]]
| |