f(x)={k(x)if x>2,2+(x−2)2if x≤2.
Mmm.
The first thing I notice is that f(2)=2 so this point will be its own inverse (it lies on the line y=x)
That helps becasue it gives me less things I have to think about.
This will work if k(x) is the inverse of f(x)=2+(x−2)2where x≤2
So I need to find the inverse:
lety=2+(x−2)2x≤2,y≥2I need to make x the subjecty−2=(x−2)2±√y−2=x−2±√y−2+2=xBut x has to be less then 2 so it must be the neg square rootx=−√y−2+2x≤2,y≥2Now for the inverse swap the x and y valuesy=−√x−2+2x≥2,y≤2
so
f(x)={−√x−2+2if x>2,2+(x−2)2if x≤2.will be its own inverse
so
g(x)=−√x−2+2wherex>2
Here is the graph: