Computation of images and inverse images

Let's consider the function f(x)=x2+1.

From its analytical expression we can compute the image of any element x in the domain. To do so, it is enough to replace the value of x in the expression of the function.

Example

For x=2: f(2)=22+1=4+1=5

Therefore, 5 is the image of 2 in f.

We will write f(2)=5.

We can calculate also the inverse image or the images of any element y of the codomain. To do so, it is enough to replace the value of y=f(x) in the expression of the function and to solve x.

Example

For example, the inverse image of y=10 is: 10=x2+1x2=9x=±3

Therefore, 3 and 3 are inverse images of 10 for the function f. We will write: f1(10)={3,3}

Example

Compute the image of 2 and the inverse image of 11 for the function from the previous example f(x)=3x21.

f1(11): 11=3x2112=3x2x2=4x=±2={2,2}f1(11)={2,2}