inverse of -x^2+1
Consider . The distinct real numbers and have the same value : it is not injective on ℝ, but it is strictly decreasing on and strictly increasing on , on each side of its vertex
From , we obtain , possible only if
On , is nonnegative, so ; on , is nonpositive, so
▶Renaming the output variable as , the inverse of the restriction to is and that of the restriction to is , defined for