Inverse function

From testwiki
Jump to navigation Jump to search

An inverse function is a concept of mathematics. A function will calculate some output y, given some input x. This is usually written f(x)=y. The inverse function does the reverse. Let's say g is the inverse function of f, then g(y)=x. Or otherwise put, g(f(x))=x. An inverse function to f is usually called f1.[1] It is not to be confused with 1/f, which is a reciprocal function.[2]

Examples

If f(x)=x3 over real x, then f1(x)=x3.

To find the inverse function, swap the roles of x and y and solve for y. For example, y=ex would turn to x=ey, and then lnx=y. This shows that the inverse function of y=ex is y=lnx.

Not all functions have inverse functions: for example, function f(x)=|x| has none (because |1|=1=|1|, and f1(x) cannot be both 1 and -1), but every binary relation has its own inverse relation.

In some cases, finding the inverse of a function can be very difficult to do.

References

Template:Math-stub