Tool to calculate the reciprocal of a function f, i.e. the inverse function f-1 which applied to the first function returns the initial value x.
Reciprocal Function - dCode
Tag(s) : Functions
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The reciprocal of a function $ f $ is written $ f^{(-1)} $ is such that the following equation is true: $$ f^{(-1)}(f(x)) = x $$
That is to say that it is the mathematical function which cancels the effects of another function.
Example: The reciprocal of the exponential function $ \exp(x) $ is the natural logarithm function $ \ln(x) $ because $ \exp( \ln (x) ) = x $
Although the reciprocal function is denoted with $ ^{-1} $ as the inverse $ 1/x $ function, be careful not to confuse the two.
To find the expression of the inverse of a function $ f(x) $, express $ x $ as a function of $ f(x) $ (to facilitate calculations, write $ f(x) = y $ and express $ f^{(-1)}(y) $)
Example: To calculate the reciprocal of $ f(x) = y = 2x $, it is to calculate $ x = y/2 $ therefore the reciprocal of $ f^{(-1)}(y) = y/2 $ which checks $ f^{(-1)}(f(x)) = (2x)/2 = x $
Here are some of the most common reciprocal functions:
Function $ f(x) $ | Inverse $ f^{(-1)}(x) $ |
---|---|
$ x + a $ | $ x − a $ |
$ k.x $ | $ x/k $ |
$ x^2 $ | $ \sqrt{x} $ |
$ x^k $ | $ \sqrt[k]{x} $ |
$ \exp(x) $ | $ \ln(x) $ |
$ a^x $ | $ \log_a(x) $ |
$ \sin(x) $ | $ \arcsin(x) $ |
$ \cos(x) $ | $ \arccos(x) $ |
$ \tan(x) $ | $ \arctan(x) $ |
Yes, it has been shown that if the reciprocal of a function exists then there is only one, it is unique.
The 1/x inverse function $ f(x) = 1/x $ is its own reciprocal function, it is said to be involutive.
Example: $ f(1/x) = 1/(1/x) = x $
On a graph, the curve of an inverse function $ f^{(-1)} $ is the symmetrical curve of the curve $ f $ with respect to the diagonal axis $ y = x $
The inverse function of a constant function $ f(x) = a $ is the linear function of equation $ x = a $
For a function to have a reciprocal function on an interval, it must be bijective, continuous and strictly monotonic on this interval.
dCode retains ownership of the "Reciprocal Function" source code. Any algorithm for the "Reciprocal Function" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Reciprocal Function" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Reciprocal Function" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Reciprocal Function" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Reciprocal Function on dCode.fr [online website], retrieved on 2025-04-16,