Show that f:[−1,1]→R, given by f(x)=x(x+2),x≠−2, is one-one. Find the inverse of the function f:[−1,1]→ Range f.
Function f:[−1,1]→R is given f(x)=x(x+2)
Let f(x)=f(y)
⇒xx+2=yy+2⇒xy+2x=xy+2y⇒2x=2y⇒x=y
Therefore, f is a one-one function.
Let y=xx+2⇒x=xy+2y⇒x=2y1−y
So, for every y except 1 in the range there exists x in the domain such that f(x)=y, Hence, function f is onto.
Therefore, f:[−1,1]→ Range f , is one-one and onto and therefore, the inverse of the function f:[−1,1]→ Range f exists.
Let y be an arbitrary element of range f.
Since, f:[−1,1]→ Range f is onto, we have y =f(x)for some x∈[−1,1]
⇒y=xx+2⇒xy+2y=x⇒x(1−y)=2y⇒x=2y1−y,y≠1
Now, let us define g:Range f→[−1,1] as g(y)=2y1−y,y≠1
Now, (gof)(x)=g(f(x))=g(xx+2)=2(xx+2)1−xx+2=2xx+2−x=2x2=x(fog)(y)=f(g(y))=f(2y1−y)=2y1−y2y1−y+2=2y2y+2−2y=2y2=y
Therefore, gof =fog=IR, Therefore, f−1=g
Therefore, f−1(y)=2y1−y,y≠1