Professional Documents
Culture Documents
Inverse Function
Inverse Function
Inverse Function
function f if y=f(x) then x=g (y). To put it another way, doing nothing and then applying f and g is
equivalent to doing nothing, also known as an anti function, is a function that can be reversed into
another. In other words, if a function "f" converts x to y, the inverse of same function will convert y to x.
The inverse function is denoted by f-1 or F-1 if the function is denoted by 'f' or 'F'. Here, (-1) should not
be confused with exponent or reciprocal. A function accepts values, performs particular operations on
these values and generates an output. The inverse function agrees with the resultant, operates and
reaches back to the original function. In general, the inverse is calculated by switching the x and y
coordinates. This freshly generated inverse is a relation rather than a function. To ensure that the
inverse is likewise a function, the original function must be a one-to-one function. Only if every second
element corresponds to the first value is a function considered to be one to one (values of x and y are
used only once). The horizontal line test can be used to determine whether a function is one-to-one. The
function is a one-to-one function if a horizontal line intersects the original function in a single area, and
the inverse is likewise a function.
Think of inverse function as reversing something you’ve done. For example, you’re writing a sentence
(producing a sentence is similar to the output/result of a function) and then you change your mind and
decide you don’t need your last sentence. You would just do CTRL + Z in some editor to cancel this
sentence. The CTRL + Z function will take your last sentence as input and return your original text as
output.
This is also how encryption/decryption work: you give a plain text to an encryption algorithm (here the
plain text is the input, like a function variable) and it produces a ciphertext as output. Then you send the
encrypted text to someone else. When the recipient gets the encrypted text, he will just use a
decryption algorithm which is the function inverting the ciphertext back to the original plain text.
Finding the inverse of a function is a straightforward process, though we really need to be careful with a
couple of steps. In this article, we are going to assume that all functions we are going to deal with are
one to one.
3. From step 2, solve the equation for y. Be careful with this step.
5. You can verify your answer by checking if the following two statements are true:
⟹ (f ∘ f−1) (x) = x
Example:
Solution
f(x) = 3x − 2
⟹ y = 3x − 2
Swap x with y
⟹ x = 3y − 2
Solve for y
x + 2 = 3y
1/3(x + 2) = y
x/3 + 2/3 = y
= f (x/3 + 2/3)
⟹ 3(x/3 + 2/3) – 2
⟹x+2–2
=x