in mathematics, inverse refers to either the multiplicative inverse, also known as reciprocal, or an inverse function
for function , the function that makes the output be the input would be
for example, if then
if the original function is a one-to-one relation, the inverse function should be able to reverse everything correctly, and
for example, if , then
if the original function is a many-to-one relation, then there would be no possible inverse for the function.
for example, if then we have a inverse function that can input and return what was originally.
however, if we set a constraint and make the function it becomes a one-to-one relation, so the inverse would be
you might realize, you can always get the inverse function by swapping the input and output, like to
also, the inverse function looks like the original function reflected across the line because the axes are swapped.