f:R+→[4,∞] is given as f(x)=x2+4
For one-one:
Let f(x)=f(y)
x2+4=y2+4
x2=y2
x=y [asx=y∈R+]
Therefore, f is a one-one function.
For onto:
For yϵ[4,∞], let y=x2+4
x2=y−4≥0 [asy≥4]
x=√y−4≥0
Therefore, for any y∈[4,∞] there exists x=√y−4ϵR+, such that
f(x)=f(√y−4)=(√y−4)2+4=y−4+4=y
Therefore, f is onto.
Thus, f is one-one and onto and therefore, f−1 exists.
Let us define g: [4,∞]→R+ by g(y)=√y−4
Now, (g∘f)(x)=g(f(x))=g(x2+4)=√(x2+4)−4=√x2=x
And (f∘g)(y)=f(g(y))=f(√y−4)=(√y−4)2+4=y−4+4=y
Therefore, g∘f=f∘g=IR
Hence, f is invertible and the inverse of f is given by f−1(y)=g(y)=√y−4