when does a function have an inverse function
Inverse function Not all functions have inverse functions. In order for a function f: X → Y to have an inverse,[nb 1] it must have the property that for every y in Y there must be one, and only one x in X so that f(x) = y. This property ensures that a function g: Y → X will exist having the necessary relationship with f.
Offer and acceptance An offeror may revoke an offer before it has been accepted, but the revocation must be communicated to the offeree (although not necessarily by the offeror,[16]). If the offer was made to the entire world, such as in Carlill's case,[5] the revocation must take a form that is similar to the offer. However, an offer may not be revoked if it has been encapsulated in an option (see also option contract), or if it is a "firm offer" in which case it is irrevocable for the period specified by the offeror.