For which x-values does a function equal its inverse?
Question
A function f is defined by f:x→x+11. Write down in similar form expressions for f−1 and ff.
It is required to find the values of x for which (i) f=f−1, (ii) f=ff. Show that, in each case, the values of x are given by the equation x2+x−1=0.
Suggestion
A function f is defined by f:x→x+11. Write down in similar form expressions for f−1...
How can we find the inverse function? What happens if we make x the subject of y=f(x)?
… and ff.
Would it help to view the composite function ff(x) as f(f(x))?
It is required to find the values of x for which (i) f=f−1, (ii) f=ff.
Show that, in each case, the values of x are given by the equation x2+x−1=0.
From the above, we should now know f(x), f−1(x) and ff(x). Can we form equations using these?
Solution
To find the inverse of a function we can write y=f(x) and rearrange to make x the subject. This gives
yx+1x=x+11=y1=y1−1=y1−y
Replacing y with x in the right hand side, we obtain the inverse function f−1:x→x1−x.
… and ff.
The composite function of f with itself can be found by ‘replacing the x in f(x) with f(x)’. This gives f(f(x))=(x+11)+11.
We can now simplify by multiplying top and bottom by x+1, yielding
ff(x)=(x+11)+11×x+1x+1=1+(x+1)x+1=x+2x+1.
Our solution then reads ff:x→x+2x+1.
Using the result from above, we set f(x)=f−1(x), giving
x+111xx2+x−1=x1−x=x(1−x)(1+x)=1−x2=0
as required.
Similarly, setting f(x)=ff(x) we have
x+111x+2x+2x2+x−1=x+2x+1=x+2(x+1)2=(x+1)2=x2+2x+1=0.
The question does not require us to solve this equation for x, but we could do so using the quadratic formula. We have
x2+x−1x=0=2×1−1±12−4×1×−1=2−1±5.