Skip to content

Inverse of functions ​

Introduction ​

First we need to acknowledge that if we have a function

f(x)=y

then domain of this function

Df={x∈K}

is a set of all possible values of x that can be used as an input for f,
while range of this function

Rf={y∈K}

is a set of all possible values of y that f provides as an output

Domain Df is usually specified in the problem statement.

Injective functions ​

A function f is called injective if for every y∈Rf there is exactly one x∈Df such that

f(x)=y

The formula to check function injectivity property is:

f(x1)=f(x2)⇒x1=x2

Inverse functions ​

Let f be an injective function. Then the inverse function of f is a function f−1 such that

f−1(y)=x⇔f(x)=y

Also the important property of inverse functions is that

Df−1=Rf  and  Rf=Df−1

Example 1 ​

Let

f(x)=x2+2:x∈[2;∞)

be a function.

Let's calculate the inverse function of f and find range of f by using inverse function.

Check injectivity ​

f(x1)=f(x2)⇒x1=x2x12+2=x22+2 ⇒ x12=x22⇓x1=x2  or  x1=−x2

But since the domain of f does not include negative numbers, then

x1=−x2

is impossible.

Therefore, f is injective within Df.

Calculate inverse function ​

f(x)=x2+2y=x2+2x2=y−2x=y−2f−1(y)=y−2

Now we need to determine Df−1 which would be same as Rf. For this we need to consider the domain of f and any restrictions of the inverse function.

In order for f−1 to make sense, y−2 must be non-negative, so

y−2≥0 ⇒ y≥2

also since Df∈[2;∞), then

2≤y−2<∞4≤y−2<∞6≤y<∞

Therefore

Df−1=Rf=[6;∞)

Example 2 ​

Let

f(x)=3x+2x−1:x∈(1;∞)

be a function.

Let's calculate the inverse function of f and find range of f by using inverse function.

Check injectivity ​

f(x1)=f(x2)⇒x1=x23x1+2x1−1=3x2+2x2−13x1+2x1−1−3x2+2x2−1=0(3x1+2)(x2−1)−(3x2+2)(x1−1)(x1−1)(x2−1)=0

Only possible if numerator is equal to zero

(3x1+2)(x2−1)−(3x2+2)(x1−1)=03x1x2−3x1+2x2−2−3x1x2+3x2+2x1−2=05x2−5x1=0x2=x1

Therefore, f is injective within Df.

Calculate inverse function ​

f(x)=3x+2x−1y=3x+2x−1y(x−1)=3x+2yx−y=3x+2yx−3x=y+2x(y−3)=y+2x=y+2y−3f−1(y)=y+2y−3

Now we need to determine Df−1 which would be same as Rf. For this we need to consider the domain of f and any restrictions of the inverse function.

In order for f−1 to make sense, y−3 must be non-zero, so

y−3≠0 ⇒ y≠3

also since Df∈(1;∞), then

y+2y−3>1y+2y−3−1>0y+2−(y−3)y−3>05y−3>0y−3>0y>3

Therefore

Df−1=Rf=(3;∞)

Example 3 ​

Let

f(x)=x2−2x+2:x∈(−∞;1)

be a function.

Let's calculate the inverse function of f and find range of f by using inverse function.

Check injectivity ​

f(x1)=f(x2)⇒x1=x2x12−2x1+2=x22−2x2+2x12−x22−2x1+2x2=0(x1−x2)(x1+x2)−2(x1−x2)=0(x1−x2)(x1+x2−2)=0⇓x1=x2  or  x1+x2−2=0

The only possible value of x within Df that satisfies x1+x2−2=0 is x=1. And if x1=x2=1, then f(x1)=f(x2)⇒x1=x2 holds.

Therefore, f is injective within Df.

Calculate inverse function ​

f(x)=x2−2x+2y=x2−2x+2x2−2x+2−y=0x=2±4−4(1)(2−y)2x=2±4−8+4y2x=2±4y−42x=2±2y−12x=1±y−1f−1(y)=1±y−1

Now we need to determine Df−1 which would be same as Rf. For this we need to consider the domain of f and any restrictions of the inverse function.

In order for f−1 to make sense, y−1 must be non-negative, so

y−1≥0 ⇒ y≥1

also since Df∈(−∞;1), then:

Checking first root

1−y−1<1−y−1<0y−1>0y−1>0y>1

Checking second root

1+y−1<1y−1<0y−1<0y<1

y<1 does not satisfy y≥1, therefore

Df−1=Rf=(1;∞)