Function and its Inverse
The table shows the relationship between the input variable x and the output function g(x).
It can be understood as if x is the independent variable and g(x) depends on the value of x.
For example, for x = 1, g(1) = 2
To compute the inverse of g(x), we go from the function to the input variable x:
Function: from x => g(x)
Inverse: from g(x) => x
It's required to find g^-1(2). The input value must be found in the row of g(x) and then find the corresponding value of x.
Since g(1) = 2, then g^-1(2) = 1