The better definition of an inverse function from the provided options is:
The function obtained by switching the x- and y-variables.
This definition accurately describes the process of finding the inverse of a function, as it involves interchanging the roles of the input (x) and output (y) values.